##// END OF EJS Templates
tests: update test-dirstate to pass our import checker
Augie Fackler -
r33956:b9765319 default
parent child Browse files
Show More
@@ -66,7 +66,12 b' Verify that exceptions during a dirstate'
66 coherent (issue4353)
66 coherent (issue4353)
67
67
68 $ cat > ../dirstateexception.py <<EOF
68 $ cat > ../dirstateexception.py <<EOF
69 > from mercurial import merge, extensions, error
69 > from __future__ import absolute_import
70 > from mercurial import (
71 > error,
72 > extensions,
73 > merge,
74 > )
70 >
75 >
71 > def wraprecordupdates(orig, repo, actions, branchmerge):
76 > def wraprecordupdates(orig, repo, actions, branchmerge):
72 > raise error.Abort("simulated error while recording dirstateupdates")
77 > raise error.Abort("simulated error while recording dirstateupdates")
General Comments 0
You need to be logged in to leave comments. Login now