mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
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:
parent
e9de00a5cf
commit
139b4eb522
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user