Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

hgemail: add -rREV option in accordance with patchbomb

Changeset 3c3e96fe0394

Parent f228eb0987cc

by Yuya Nishihara

Changes to 2 files · Browse files at 3c3e96fe0394 Showing diff from parent f228eb0987cc Diff from another changeset...

 
297
298
299
 
 
 
 
 
300
301
 
297
298
299
300
301
302
303
304
305
306
@@ -297,5 +297,10 @@
  # TODO: same options as patchbomb   # TODO: repo should be specified as an argument?   # TODO: if no revs specified? + if opts.get('rev'): + if revs: + raise util.Abort(_('use only one form to specify the revision')) + revs = opts.get('rev') +   repo = hg.repository(ui, paths.find_root())   return EmailDialog(repo.ui, repo, revs)
 
642
643
644
645
 
 
 
 
646
647
648
 
642
643
644
 
645
646
647
648
649
650
651
@@ -642,7 +642,10 @@
  _('thg clone [OPTION]... SOURCE [DEST]')),   "bug": (bug, [], _('thg bug [MESSAGE]')),   "^grep|search": (grep, [], _('hgtk grep')), - "^email": (email, [], _('thg email [REVS]')), + "^email": + (email, + [('r', 'rev', [], _('a revision to send')),], + _('thg email [REVS]')),   "^log|history|explorer|workbench":   (log,   [('l', 'limit', '', _('limit number of changes displayed'))],