Mercurial > 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 Mon Apr 02 17:40:26 2012 +0200 +++ b/hgext/qsync.py Tue Apr 03 17:47:15 2012 +0200 @@ -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