Mercurial > evolve
comparison hgext/evolve.py @ 1279:064cf9ee4460 stable
debugobsrelsethashtree: get the command to work again
The command was untested and became broken when we introduced the new discovery
hashing.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Wed, 22 Apr 2015 14:30:23 +0200 |
parents | 5ff8a5d85b2b |
children | af7b455a7ebd |
comparison
equal
deleted
inserted
replaced
1278:5ff8a5d85b2b | 1279:064cf9ee4460 |
---|---|
2834 elif v0: | 2834 elif v0: |
2835 treefunc = _obsrelsethashtreefm0 | 2835 treefunc = _obsrelsethashtreefm0 |
2836 else: | 2836 else: |
2837 treefunc = _obsrelsethashtreefm1 | 2837 treefunc = _obsrelsethashtreefm1 |
2838 | 2838 |
2839 treefunc = _obsrelsethashtree | |
2840 for chg, obs in treefunc(repo): | 2839 for chg, obs in treefunc(repo): |
2841 ui.status('%s %s\n' % (node.hex(chg), node.hex(obs))) | 2840 ui.status('%s %s\n' % (node.hex(chg), node.hex(obs))) |
2842 | 2841 |
2843 _bestformat = max(obsolete.formats.keys()) | 2842 _bestformat = max(obsolete.formats.keys()) |
2844 | 2843 |