Mercurial > hg
changeset 9187:7bb1dbfd3082
update: allow -c to jump branches if clean
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 22 Jul 2009 17:59:11 -0500 |
parents | f783bb979fb3 |
children | 4c287332e03b |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Jul 22 17:53:23 2009 -0500 +++ b/mercurial/commands.py Wed Jul 22 17:59:11 2009 -0500 @@ -3045,7 +3045,7 @@ raise util.Abort(_("you can't specify a revision and a date")) rev = cmdutil.finddate(ui, repo, date) - if clean: + if clean or check: return hg.clean(repo, rev) else: return hg.update(repo, rev)