[PATCH] largefiles: fix commit of both largefiles and non-largefiles (issue3354)

Na'Tosha Bard natosha at unity3d.com
Thu May 3 08:27:19 CDT 2012


# HG changeset patch
# User Na'Tosha Bard <natosha at unity3d.com>
# Date 1336051485 -7200
# Branch stable
# Node ID a74632f4731bf2743985dbc93445eec84fbca708
# Parent  979b1b7340fba32b4d7f499e6d89093758147520
largefiles: fix commit of both largefiles and non-largefiles (issue3354)

This bug was caused by some old code that should have been removed long ago.

diff -r 979b1b7340fb -r a74632f4731b hgext/largefiles/reposetup.py
--- a/hgext/largefiles/reposetup.py	Tue May 01 16:40:31 2012 -0500
+++ b/hgext/largefiles/reposetup.py	Thu May 03 15:24:45 2012 +0200
@@ -398,10 +398,6 @@
                     if not fstandin.endswith(os.sep):
                         fstandin += os.sep
 
-                    # prevalidate matching standin directories
-                    if util.any(st for st in match._files
-                                   if st.startswith(fstandin)):
-                        continue
                     actualfiles.append(f)
                 match._files = actualfiles
 


More information about the Mercurial-devel mailing list