mercurial/commands.py
changeset 758 c5db9581bfa6
parent 757 7000825ef3ba
child 761 0fb498458905
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"""