Skip to content
Snippets Groups Projects
Commit 08f2177b authored by Katsunori FUJIWARA's avatar Katsunori FUJIWARA
Browse files

record: omit meaningless 'qrefresh' suggestion at 'hg qrefresh -i'

Before this patch, 'hg qrefresh -i' under non-interactive mode
suggests 'use qrefresh instead', and it obviously meaningless.

To omit meaningless 'qrefresh' suggestion at 'hg qrefresh -i', this
patch specifies 'None' for 'cmdsuggest' argument of 'cmdutil.dorecord()'.
parent cc9fb459
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@
mq.refresh(ui, repo, **opts)
# backup all changed files
cmdutil.dorecord(ui, repo, committomq, 'qrefresh', True,
cmdutil.dorecord(ui, repo, committomq, None, True,
cmdutil.recordfilter, *pats, **opts)
# This command registration is replaced during uisetup().
......
......@@ -177,6 +177,9 @@
partial qrefresh
$ hg qrefresh -i --config ui.interactive=false
abort: running non-interactively
[255]
$ hg qrefresh -i -d '0 0' <<EOF
> y
> y
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment