##// END OF EJS Templates
mq: add qnew --git option
Patrick Mezard -
r5025:7041869a default
parent child Browse files
Show More
@@ -635,7 +635,7 b' class queue:'
635 r = self.qrepo()
635 r = self.qrepo()
636 if r: r.add([patch])
636 if r: r.add([patch])
637 if commitfiles:
637 if commitfiles:
638 self.refresh(repo, short=True)
638 self.refresh(repo, short=True, git=opts.get('git'))
639 self.removeundo(repo)
639 self.removeundo(repo)
640 finally:
640 finally:
641 del wlock
641 del wlock
@@ -2183,6 +2183,7 b' cmdtable = {'
2183 (new,
2183 (new,
2184 [('e', 'edit', None, _('edit commit message')),
2184 [('e', 'edit', None, _('edit commit message')),
2185 ('f', 'force', None, _('import uncommitted changes into patch')),
2185 ('f', 'force', None, _('import uncommitted changes into patch')),
2186 ('g', 'git', None, _('use git extended diff format')),
2186 ('I', 'include', [], _('include names matching the given patterns')),
2187 ('I', 'include', [], _('include names matching the given patterns')),
2187 ('X', 'exclude', [], _('exclude names matching the given patterns')),
2188 ('X', 'exclude', [], _('exclude names matching the given patterns')),
2188 ] + commands.commitopts,
2189 ] + commands.commitopts,
General Comments 0
You need to be logged in to leave comments. Login now