store: fix _hashencode call in _dothybridencode
authorAdrian Buehlmann <adrian@cadifra.com>
Wed, 19 Sep 2012 11:39:07 +0200
changeset 17621 1a42f19ad958
parent 17620 efd1a4378b64
child 17622 57bf86677daa
store: fix _hashencode call in _dothybridencode Fixes 7840d81a80ec
mercurial/store.py
--- 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):