Show More
@@ -3933,7 +3933,7 b' def _dograft(ui, repo, *revs, **opts):' | |||||
3933 | except IOError as inst: |
|
3933 | except IOError as inst: | |
3934 | if inst.errno != errno.ENOENT: |
|
3934 | if inst.errno != errno.ENOENT: | |
3935 | raise |
|
3935 | raise | |
3936 | raise error.Abort(_("no graft state found, can't continue")) |
|
3936 | cmdutil.wrongtooltocontinue(repo, _('graft')) | |
3937 | else: |
|
3937 | else: | |
3938 | cmdutil.checkunfinished(repo) |
|
3938 | cmdutil.checkunfinished(repo) | |
3939 | cmdutil.bailifchanged(repo) |
|
3939 | cmdutil.bailifchanged(repo) |
@@ -46,6 +46,13 b' Create a repo with some stuff in it:' | |||||
46 | | |
|
46 | | | |
47 | o test@0.public: 0 |
|
47 | o test@0.public: 0 | |
48 |
|
48 | |||
|
49 | Can't continue without starting: | |||
|
50 | ||||
|
51 | $ hg rm -q e | |||
|
52 | $ hg graft --continue | |||
|
53 | abort: no graft in progress | |||
|
54 | [255] | |||
|
55 | $ hg revert -r . -q e | |||
49 |
|
56 | |||
50 | Need to specify a rev: |
|
57 | Need to specify a rev: | |
51 |
|
58 |
General Comments 0
You need to be logged in to leave comments.
Login now