rebase: remove bailifchanged check from pullrebase (BC)

This saves us a relatively superfluous status check for pull --rebase (if
rebase runs, it'll check for a clean working directory anyway), and brings hg
pull --rebase closer to hg pull && hg rebase.

This is a behavior change because pull --rebase with a dirty working directory
will now abort after performing the pull rather than before.
This commit is contained in:
Siddharth Agarwal 2013-09-20 16:32:05 -07:00
parent e9de00a5cf
commit 139b4eb522

View File

@ -769,7 +769,6 @@ def pullrebase(orig, ui, repo, *args, **opts):
'the update flag\n')
movemarkfrom = repo['.'].node()
cmdutil.bailifchanged(repo)
revsprepull = len(repo)
origpostincoming = commands.postincoming
def _dummy(*args, **kwargs):