David Douard committed 94360b5

qsync: display short node repr on error

  • Participants
  • Parent commits 4df233d
  • Branches default

Comments (0)

Files changed (1)

File hgext/

         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