hgext/largefiles/overrides.py
branchstable
changeset 17847 1e4eb1faba6e
parent 17835 08d11b82d9fc
child 17878 d1d0140287b8
--- a/hgext/largefiles/overrides.py	Mon Oct 22 12:00:21 2012 -0700
+++ b/hgext/largefiles/overrides.py	Sat Oct 20 21:43:46 2012 -0400
@@ -681,9 +681,9 @@
             def _dummy(*args, **kwargs):
                 pass
             commands.postincoming = _dummy
-            repo.lfpullsource = source
             if not source:
                 source = 'default'
+            repo.lfpullsource = source
             try:
                 result = commands.pull(ui, repo, source, **opts)
             finally:
@@ -694,9 +694,9 @@
         finally:
             repo._isrebasing = False
     else:
-        repo.lfpullsource = source
         if not source:
             source = 'default'
+        repo.lfpullsource = source
         oldheads = lfutil.getcurrentheads(repo)
         result = orig(ui, repo, source, **opts)
         # If we do not have the new largefiles for any new heads we pulled, we