mercurial/store.py
changeset 11790 ba9957bcfb7c
parent 10577 d5bd1beff794
child 12171 cc39d07d2212
--- a/mercurial/store.py	Sat Jul 17 00:47:06 2010 +0900
+++ b/mercurial/store.py	Thu Aug 12 16:45:47 2010 +0900
@@ -22,7 +22,7 @@
             .replace(".d/", ".d.hg/"))
 
 def decodedir(path):
-    if not path.startswith('data/'):
+    if not path.startswith('data/') or ".hg/" not in path:
         return path
     return (path
             .replace(".d.hg/", ".d/")