equal
deleted
inserted
replaced
661 len(cl.heads(cl.node(parents[0]))) > 1 and |
661 len(cl.heads(cl.node(parents[0]))) > 1 and |
662 (parents[1] == nullrev or len(cl.heads(cl.node(parents[1]))) > 1)): |
662 (parents[1] == nullrev or len(cl.heads(cl.node(parents[1]))) > 1)): |
663 ui.status(_('created new head\n')) |
663 ui.status(_('created new head\n')) |
664 |
664 |
665 if ui.debugflag: |
665 if ui.debugflag: |
666 ui.write(_('committed changeset %d:%s\n') % (rev,hex(node))) |
666 ui.write(_('committed changeset %d:%s\n') % (rev, hex(node))) |
667 elif ui.verbose: |
667 elif ui.verbose: |
668 ui.write(_('committed changeset %d:%s\n') % (rev,short(node))) |
668 ui.write(_('committed changeset %d:%s\n') % (rev, short(node))) |
669 |
669 |
670 def copy(ui, repo, *pats, **opts): |
670 def copy(ui, repo, *pats, **opts): |
671 """mark files as copied for the next commit |
671 """mark files as copied for the next commit |
672 |
672 |
673 Mark dest as having copies of source files. If dest is a directory, copies |
673 Mark dest as having copies of source files. If dest is a directory, copies |