# HG changeset patch # User Matt Mackall # Date 1242686184 18000 # Node ID c937a2e35411eb1b492418278e747b844be2afbf # Parent 72477fcc575b65e01298d5d92ef4a4f2728a9a86 commit: move editor outside transaction The commit editor is now invoked before files and manifest are committed. The editor is now run with only the wlock held and aborting an edit no longer requires rolling back a transaction. Changes to files during a commit still result in undefined behavior. (This is preliminary work for committing subrepositories) [ original upstream message ] diff -r 72477fcc575b -r c937a2e35411 tests/test-keyword.out --- a/tests/test-keyword.out Thu May 14 13:20:40 2009 -0500 +++ b/tests/test-keyword.out Mon May 18 17:36:24 2009 -0500 @@ -112,10 +112,6 @@ A b % default keyword expansion including commit hook % interrupted commit should not change state or run commit hook -a -b -transaction abort! -rollback completed abort: empty commit message % status A a @@ -281,8 +277,6 @@ ignore $Id$ a % interrupted commit should not change state -transaction abort! -rollback completed abort: empty commit message % status M a