hgext/largefiles/lfcommands.py
branchstable
changeset 23696 1265a3a71d75
parent 22296 650b5b6e75ed
child 23706 3314664606e6
--- a/hgext/largefiles/lfcommands.py	Wed Dec 31 14:46:02 2014 +0100
+++ b/hgext/largefiles/lfcommands.py	Wed Dec 31 14:46:03 2014 +0100
@@ -513,19 +513,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 printmessage and lfiles:
             ui.status(_('%d largefiles updated, %d removed\n') % (updated,