rebase: remove bailifchanged check from pullrebase (BC)
authorSiddharth Agarwal <sid0@fb.com>
Fri, 20 Sep 2013 16:32:05 -0700
changeset 19774 7805cb8030e0
parent 19773 51799a965446
child 19775 0c626b68c5c6
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.
hgext/rebase.py
--- a/hgext/rebase.py	Sun Jul 14 12:16:40 2013 -0500
+++ b/hgext/rebase.py	Fri Sep 20 16:32:05 2013 -0700
@@ -769,7 +769,6 @@
                      'the update flag\n')
 
         movemarkfrom = repo['.'].node()
-        cmdutil.bailifchanged(repo)
         revsprepull = len(repo)
         origpostincoming = commands.postincoming
         def _dummy(*args, **kwargs):