##// END OF EJS Templates
update: allow -c to jump branches if clean
Matt Mackall -
r9187:7bb1dbfd default
parent child Browse files
Show More
@@ -3045,7 +3045,7 b' def update(ui, repo, node=None, rev=None'
3045 raise util.Abort(_("you can't specify a revision and a date"))
3045 raise util.Abort(_("you can't specify a revision and a date"))
3046 rev = cmdutil.finddate(ui, repo, date)
3046 rev = cmdutil.finddate(ui, repo, date)
3047
3047
3048 if clean:
3048 if clean or check:
3049 return hg.clean(repo, rev)
3049 return hg.clean(repo, rev)
3050 else:
3050 else:
3051 return hg.update(repo, rev)
3051 return hg.update(repo, rev)
General Comments 0
You need to be logged in to leave comments. Login now