Mercurial > hg
comparison hgext/record.py @ 25798:08f2177b15c7
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()'.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Wed, 15 Jul 2015 04:45:58 +0900 |
parents | cc9fb45986d4 |
children | 56b2bcea2529 |
comparison
equal
deleted
inserted
replaced
25797:cc9fb45986d4 | 25798:08f2177b15c7 |
---|---|
77 # We can't pass *pats here since qrefresh will undo all other | 77 # We can't pass *pats here since qrefresh will undo all other |
78 # changed files in the patch that aren't in pats. | 78 # changed files in the patch that aren't in pats. |
79 mq.refresh(ui, repo, **opts) | 79 mq.refresh(ui, repo, **opts) |
80 | 80 |
81 # backup all changed files | 81 # backup all changed files |
82 cmdutil.dorecord(ui, repo, committomq, 'qrefresh', True, | 82 cmdutil.dorecord(ui, repo, committomq, None, True, |
83 cmdutil.recordfilter, *pats, **opts) | 83 cmdutil.recordfilter, *pats, **opts) |
84 | 84 |
85 # This command registration is replaced during uisetup(). | 85 # This command registration is replaced during uisetup(). |
86 @command('qrecord', | 86 @command('qrecord', |
87 [], | 87 [], |