Mercurial > hg > evolve
changeset 201:94360b577857
qsync: display short node repr on error
author | David Douard <david.douard@logilab.fr> |
---|---|
date | Tue, 03 Apr 2012 17:47:15 +0200 |
parents | 4df233db5d42 |
children | 83b7e2c62ac3 |
files | hgext/qsync.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/qsync.py +++ b/hgext/qsync.py @@ -151,6 +151,7 @@ if newnodes: newnodes = [n for n in newnodes if n] # remove killing if len(newnodes) > 1: + newnodes = [short(nodes[0]) for nodes in newnodes] raise util.Abort('%s have more than one newer version: %s'% (oldname, newnodes)) if newnodes: # else, changeset have been killed