comparison mercurial/commands.py @ 758:c5db9581bfa6

There was an extra space after 'hg id' when there are no tags.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 22 Jul 2005 08:58:16 +0100
parents 7000825ef3ba
children 0fb498458905
comparison
equal deleted inserted replaced
757:7000825ef3ba 758:c5db9581bfa6
613 if not ui.quiet: 613 if not ui.quiet:
614 # multiple tags for a single parent separated by '/' 614 # multiple tags for a single parent separated by '/'
615 parenttags = ['/'.join(tags) 615 parenttags = ['/'.join(tags)
616 for tags in map(repo.nodetags, parents) if tags] 616 for tags in map(repo.nodetags, parents) if tags]
617 # tags for multiple parents separated by ' + ' 617 # tags for multiple parents separated by ' + '
618 output.append(' + '.join(parenttags)) 618 if parenttags:
619 output.append(' + '.join(parenttags))
619 620
620 ui.write("%s\n" % ' '.join(output)) 621 ui.write("%s\n" % ' '.join(output))
621 622
622 def import_(ui, repo, patch1, *patches, **opts): 623 def import_(ui, repo, patch1, *patches, **opts):
623 """import an ordered set of patches""" 624 """import an ordered set of patches"""