diff mercurial/store.py @ 17621:1a42f19ad958

store: fix _hashencode call in _dothybridencode Fixes 7840d81a80ec
author Adrian Buehlmann <adrian@cadifra.com>
date Wed, 19 Sep 2012 11:39:07 +0200
parents 7840d81a80ec
children 448e6ed7c557
line wrap: on
line diff
--- a/mercurial/store.py	Wed Sep 19 12:29:12 2012 +0200
+++ b/mercurial/store.py	Wed Sep 19 11:39:07 2012 +0200
@@ -427,7 +427,7 @@
     def _dothybridencode(f):
         ef = _pathencode(f)
         if ef is None:
-            return _hashencode(dotencode(f), True)
+            return _hashencode(encodedir(f), True)
         return ef
 else:
     def _dothybridencode(f):