comparison tests/test-keyword.out @ 8496:a21605de1509

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)
author Matt Mackall <mpm@selenic.com>
date Mon, 18 May 2009 17:36:24 -0500
parents 9c7ca86fc658
children 3f4f14eab085
comparison
equal deleted inserted replaced
8495:5b7596b142ad 8496:a21605de1509
110 % status 110 % status
111 A a 111 A a
112 A b 112 A b
113 % default keyword expansion including commit hook 113 % default keyword expansion including commit hook
114 % interrupted commit should not change state or run commit hook 114 % interrupted commit should not change state or run commit hook
115 a
116 b
117 transaction abort!
118 rollback completed
119 abort: empty commit message 115 abort: empty commit message
120 % status 116 % status
121 A a 117 A a
122 A b 118 A b
123 % commit 119 % commit
279 do not process $Id: 275 do not process $Id:
280 xxx $ 276 xxx $
281 ignore $Id$ 277 ignore $Id$
282 a 278 a
283 % interrupted commit should not change state 279 % interrupted commit should not change state
284 transaction abort!
285 rollback completed
286 abort: empty commit message 280 abort: empty commit message
287 % status 281 % status
288 M a 282 M a
289 ? log 283 ? log
290 % commit 284 % commit