Skip to content
Snippets Groups Projects
Commit 7805cb8030e0 authored by Siddharth Agarwal's avatar Siddharth Agarwal
Browse files

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.
parent 51799a965446
No related branches found
No related tags found
No related merge requests found
......@@ -769,7 +769,6 @@
'the update flag\n')
movemarkfrom = repo['.'].node()
cmdutil.bailifchanged(repo)
revsprepull = len(repo)
origpostincoming = commands.postincoming
def _dummy(*args, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment