##// END OF EJS Templates
phases: fix missing "error" module import (issue3707)
André Sintzoff -
r17979:b3ec0b5f stable
parent child Browse files
Show More
@@ -103,7 +103,7 b' Note: old client behave as a publishing '
103 import errno
103 import errno
104 from node import nullid, nullrev, bin, hex, short
104 from node import nullid, nullrev, bin, hex, short
105 from i18n import _
105 from i18n import _
106 import util
106 import util, error
107 import obsolete
107 import obsolete
108
108
109 allphases = public, draft, secret = range(3)
109 allphases = public, draft, secret = range(3)
@@ -337,8 +337,17 b' test that phase are displayed in log at '
337 description:
337 description:
338 A
338 A
339
339
340
341
342 (Issue3707)
343 test invalid phase name
344
345 $ mkcommit I --config phases.new-commit='babar'
346 transaction abort!
347 rollback completed
348 abort: phases.new-commit: not a valid phase name ('babar')
349 [255]
340
350
341
342 Test phase command
351 Test phase command
343 ===================
352 ===================
344
353
General Comments 0
You need to be logged in to leave comments. Login now