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 ]
--- 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