hgext/largefiles/overrides.py
changeset 16449 874a680a3e23
parent 16439 290850e7aa43
child 16515 12dabc22de77
--- a/hgext/largefiles/overrides.py	Sun Apr 15 16:05:53 2012 +0200
+++ b/hgext/largefiles/overrides.py	Sun Apr 15 16:05:57 2012 +0200
@@ -172,6 +172,11 @@
     finally:
         wlock.release()
 
+# For overriding mercurial.hgweb.webcommands so that largefiles will
+# appear at their right place in the manifests.
+def decodepath(orig, path):
+    return lfutil.splitstandin(path) or path
+
 # -- Wrappers: modify existing commands --------------------------------
 
 # Add works by going through the files that the user wanted to add and