diff hgext/largefiles/lfcommands.py @ 23706:3314664606e6

merge with stable
author Matt Mackall <mpm@selenic.com>
date Thu, 01 Jan 2015 16:47:14 -0600
parents 4be754832829 1265a3a71d75
children f21a0d6d6efd
line wrap: on
line diff
--- a/hgext/largefiles/lfcommands.py	Wed Dec 24 03:26:48 2014 -0800
+++ b/hgext/largefiles/lfcommands.py	Thu Jan 01 16:47:14 2015 -0600
@@ -519,19 +519,6 @@
 
             lfutil.synclfdirstate(repo, lfdirstate, lfile, normallookup)
 
-        if filelist is not None:
-            # If "local largefile" is chosen at file merging, it is
-            # not listed in "filelist" (= dirstate syncing is
-            # omitted), because the standin file is not changed before and
-            # after merging.
-            # But the status of such files may have to be changed by
-            # merging. For example, locally modified ("M") largefile
-            # has to become re-added("A"), if it is "normal" file in
-            # the target revision of linear-merging.
-            for lfile in lfdirstate:
-                if lfile not in filelist:
-                    lfutil.synclfdirstate(repo, lfdirstate, lfile, True)
-
         lfdirstate.write()
         if lfiles:
             statuswriter(_('%d largefiles updated, %d removed\n') % (updated,