[PATCH 1 of 2] store: fix _hashencode call in _dothybridencode
Adrian Buehlmann
adrian at cadifra.com
Wed Sep 19 09:41:31 UTC 2012
# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1348047547 -7200
# Node ID 7762639e511c36a4bff4954b8989200e3f2ce683
# Parent 431e3e827ab08dbb7a40e79af57f271c3928ec07
store: fix _hashencode call in _dothybridencode
Fixes 7840d81a80ec
diff --git a/mercurial/store.py b/mercurial/store.py
--- a/mercurial/store.py
+++ b/mercurial/store.py
@@ -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):
More information about the Mercurial-devel
mailing list