Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 24359:521fe8287dd5
revert: add flag to make revert interactive
author | Laurent Charignon <lcharignon@fb.com> |
---|---|
date | Mon, 16 Mar 2015 16:33:59 -0700 |
parents | fefcafda10b8 |
children | 135b23868f45 |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Mar 16 15:37:00 2015 -0700 +++ b/mercurial/commands.py Mon Mar 16 16:33:59 2015 -0700 @@ -5375,6 +5375,7 @@ ('d', 'date', '', _('tipmost revision matching date'), _('DATE')), ('r', 'rev', '', _('revert to the specified revision'), _('REV')), ('C', 'no-backup', None, _('do not save backup copies of files')), + ('i', 'interactive', None, _('interactively select the changes')), ] + walkopts + dryrunopts, _('[OPTION]... [-r REV] [NAME]...')) def revert(ui, repo, *pats, **opts):