Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 9198:061eeb602354
coding style: use a space after comma
I left a cases like 'lambda x,y:' alone -- the lack of a space does
not bother me as much when the variables are single letters.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 22 Jul 2009 23:12:54 +0200 |
parents | a05aa192a00a |
children | 3f650f6aa130 |
comparison
equal
deleted
inserted
replaced
9197:a05aa192a00a | 9198:061eeb602354 |
---|---|
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 |