[PATCH] largefiles: remove bailifchanged check from overridepull

Siddharth Agarwal sid0 at fb.com
Fri Sep 20 17:26:57 CDT 2013


# HG changeset patch
# User Siddharth Agarwal <sid0 at fb.com>
# Date 1379715990 25200
#      Fri Sep 20 15:26:30 2013 -0700
# Node ID bc5cc8470bbee5c4cee08cec8c00417932347a85
# Parent  86f62a28e24c9a0107d28059247335e60083c09e
largefiles: remove bailifchanged check from overridepull

If we were performing an hg pull --rebase in a repo with largefiles, we'd check
for a clean working directory before even doing the pull. That is overkill
because rebase would check for a clean working directory anyway.

diff --git a/hgext/largefiles/overrides.py b/hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py
+++ b/hgext/largefiles/overrides.py
@@ -717,7 +717,6 @@
                 ui.debug('--update and --rebase are not compatible, ignoring '
                          'the update flag\n')
             del opts['rebase']
-            cmdutil.bailifchanged(repo)
             origpostincoming = commands.postincoming
             def _dummy(*args, **kwargs):
                 pass


More information about the Mercurial-devel mailing list