# HG changeset patch # User Thomas Arendsen Hein # Date 1122019096 -3600 # Node ID c5db9581bfa6d527c68412ff8c183638941cd3df # Parent 7000825ef3babf61bde4413912cb0d505c41f70f There was an extra space after 'hg id' when there are no tags. diff -r 7000825ef3ba -r c5db9581bfa6 mercurial/commands.py --- a/mercurial/commands.py Fri Jul 22 08:47:35 2005 +0100 +++ b/mercurial/commands.py Fri Jul 22 08:58:16 2005 +0100 @@ -615,7 +615,8 @@ parenttags = ['/'.join(tags) for tags in map(repo.nodetags, parents) if tags] # tags for multiple parents separated by ' + ' - output.append(' + '.join(parenttags)) + if parenttags: + output.append(' + '.join(parenttags)) ui.write("%s\n" % ' '.join(output))