Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
17620:efd1a4378b64 | 17621:1a42f19ad958 |
---|---|
425 _pathencode = getattr(parsers, 'pathencode', None) | 425 _pathencode = getattr(parsers, 'pathencode', None) |
426 if _pathencode: | 426 if _pathencode: |
427 def _dothybridencode(f): | 427 def _dothybridencode(f): |
428 ef = _pathencode(f) | 428 ef = _pathencode(f) |
429 if ef is None: | 429 if ef is None: |
430 return _hashencode(dotencode(f), True) | 430 return _hashencode(encodedir(f), True) |
431 return ef | 431 return ef |
432 else: | 432 else: |
433 def _dothybridencode(f): | 433 def _dothybridencode(f): |
434 return _hybridencode(f, True) | 434 return _hybridencode(f, True) |
435 | 435 |