Mercurial > evolve
diff hgext/evolution.py @ 94:780a222d547d
[evolution:evolve] use short hex instead of rev number
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 21 Sep 2011 03:49:59 +0200 |
parents | 5b23cdf998d0 |
children | 23c232a81fbe |
line wrap: on
line diff
--- a/hgext/evolution.py Tue Sep 20 18:17:08 2011 +0200 +++ b/hgext/evolution.py Wed Sep 21 03:49:59 2011 +0200 @@ -150,7 +150,7 @@ assert obs.obsolete() newer = obsolete.newerversion(repo, obs.node()) target = newer[-1] - repo.ui.status('hg relocate --rev %s %s\n' % (next, repo[target].rev())) + repo.ui.status('hg relocate --rev %s %s\n' % (repo[next], repo[target])) @command('^relocate', [