##// END OF EJS Templates
shelve: omit incorrect 'commit' suggestion at 'hg shelve -i'...
FUJIWARA Katsunori -
r25799:0eb093e4 default
parent child Browse files
Show More
@@ -279,7 +279,7 b' def createcmd(ui, repo, pats, opts):'
279 279 if not interactive:
280 280 node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
281 281 else:
282 node = cmdutil.dorecord(ui, repo, interactivecommitfunc, 'commit',
282 node = cmdutil.dorecord(ui, repo, interactivecommitfunc, None,
283 283 False, cmdutil.recordfilter, *pats, **opts)
284 284 if not node:
285 285 stat = repo.status(match=scmutil.match(repo[None], pats, opts))
@@ -860,6 +860,9 b' Test interactive shelve'
860 860 $ cat foo/foo
861 861 foo
862 862 a
863 $ hg shelve --interactive --config ui.interactive=false
864 abort: running non-interactively
865 [255]
863 866 $ hg shelve --interactive << EOF
864 867 > y
865 868 > y
General Comments 0
You need to be logged in to leave comments. Login now