commit: move editor outside transaction stable
authorMatt Mackall <mpm@selenic.com>
Mon, 18 May 2009 17:36:24 -0500
branchstable
changeset 545 c937a2e35411
parent 543 72477fcc575b
child 546 3fbd03b215e6
child 547 e44b46c85b72
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 ]
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