Mercurial > hg
comparison hgext/convert/cvsps.py @ 18375:cfbd33020066
convert: report cvsps branchpoints sorted
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 15 Jan 2013 02:59:14 +0100 |
parents | 762f12b8ebae |
children | c8c3887a24c1 |
comparison
equal
deleted
inserted
replaced
18374:942ecb55b1de | 18375:cfbd33020066 |
---|---|
825 ui.write(('Author: %s\n' % cs.author)) | 825 ui.write(('Author: %s\n' % cs.author)) |
826 ui.write(('Branch: %s\n' % (cs.branch or 'HEAD'))) | 826 ui.write(('Branch: %s\n' % (cs.branch or 'HEAD'))) |
827 ui.write(('Tag%s: %s \n' % (['', 's'][len(cs.tags) > 1], | 827 ui.write(('Tag%s: %s \n' % (['', 's'][len(cs.tags) > 1], |
828 ','.join(cs.tags) or '(none)'))) | 828 ','.join(cs.tags) or '(none)'))) |
829 if cs.branchpoints: | 829 if cs.branchpoints: |
830 ui.write(('Branchpoints: %s \n') % ', '.join(cs.branchpoints)) | 830 ui.write(('Branchpoints: %s \n') % |
831 ', '.join(sorted(cs.branchpoints))) | |
831 if opts["parents"] and cs.parents: | 832 if opts["parents"] and cs.parents: |
832 if len(cs.parents) > 1: | 833 if len(cs.parents) > 1: |
833 ui.write(('Parents: %s\n' % | 834 ui.write(('Parents: %s\n' % |
834 (','.join([str(p.id) for p in cs.parents])))) | 835 (','.join([str(p.id) for p in cs.parents])))) |
835 else: | 836 else: |