##// END OF EJS Templates
mq: Add --git option to qrefresh
Brendan Cully -
r3086:17747e80 default
parent child Browse files
Show More
@@ -995,6 +995,8 b' class queue:'
995 r = list(util.unique(dd))
995 r = list(util.unique(dd))
996 a = list(util.unique(aa))
996 a = list(util.unique(aa))
997 filelist = filter(matchfn, util.unique(m + r + a))
997 filelist = filter(matchfn, util.unique(m + r + a))
998 if opts.get('git'):
999 self.diffopts().git = True
998 patch.diff(repo, patchparent, files=filelist, match=matchfn,
1000 patch.diff(repo, patchparent, files=filelist, match=matchfn,
999 fp=patchf, changes=(m, a, r, [], u),
1001 fp=patchf, changes=(m, a, r, [], u),
1000 opts=self.diffopts())
1002 opts=self.diffopts())
@@ -1966,6 +1968,7 b' cmdtable = {'
1966 [('e', 'edit', None, _('edit commit message')),
1968 [('e', 'edit', None, _('edit commit message')),
1967 ('m', 'message', '', _('change commit message with <text>')),
1969 ('m', 'message', '', _('change commit message with <text>')),
1968 ('l', 'logfile', '', _('change commit message with <file> content')),
1970 ('l', 'logfile', '', _('change commit message with <file> content')),
1971 ('g', 'git', None, _('use git extended diff format')),
1969 ('s', 'short', None, 'short refresh'),
1972 ('s', 'short', None, 'short refresh'),
1970 ('I', 'include', [], _('include names matching the given patterns')),
1973 ('I', 'include', [], _('include names matching the given patterns')),
1971 ('X', 'exclude', [], _('exclude names matching the given patterns'))],
1974 ('X', 'exclude', [], _('exclude names matching the given patterns'))],
General Comments 0
You need to be logged in to leave comments. Login now