##// 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 if not interactive:
279 if not interactive:
280 node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
280 node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
281 else:
281 else:
282 node = cmdutil.dorecord(ui, repo, interactivecommitfunc, 'commit',
282 node = cmdutil.dorecord(ui, repo, interactivecommitfunc, None,
283 False, cmdutil.recordfilter, *pats, **opts)
283 False, cmdutil.recordfilter, *pats, **opts)
284 if not node:
284 if not node:
285 stat = repo.status(match=scmutil.match(repo[None], pats, opts))
285 stat = repo.status(match=scmutil.match(repo[None], pats, opts))
@@ -860,6 +860,9 b' Test interactive shelve'
860 $ cat foo/foo
860 $ cat foo/foo
861 foo
861 foo
862 a
862 a
863 $ hg shelve --interactive --config ui.interactive=false
864 abort: running non-interactively
865 [255]
863 $ hg shelve --interactive << EOF
866 $ hg shelve --interactive << EOF
864 > y
867 > y
865 > y
868 > y
General Comments 0
You need to be logged in to leave comments. Login now