Mercurial > hg-stable
changeset 700:d01b93efecd6
Removed extra spaces for default parameters according to PEP8.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Removed extra spaces for default parameters according to PEP8.
manifest hash: 0f6bcc95adf406c8f6dafd92b7c7d3523b6dfe2c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFC1oNhW7P1GVgWeRoRAn76AJ4m8rFUeeUDRC0qVEmjjmPClmAFsQCdE3rN
Juv2dSoGteRm0DBXz7xnF4c=
=PMki
-----END PGP SIGNATURE-----
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 14 Jul 2005 16:23:13 +0100 |
parents | 64046575a6f7 |
children | 80ed193efff7 |
files | mercurial/commands.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Thu Jul 14 15:56:11 2005 +0100 +++ b/mercurial/commands.py Thu Jul 14 16:23:13 2005 +0100 @@ -115,7 +115,7 @@ i += 1 return ''.join(newname) -def dodiff(fp, ui, repo, files = None, node1 = None, node2 = None): +def dodiff(fp, ui, repo, files=None, node1=None, node2=None): def date(c): return time.asctime(time.gmtime(float(c[2].split(' ')[0]))) @@ -763,7 +763,7 @@ for f in files: ui.write("%40s %3s %s\n" % (hg.hex(m[f]), mf[f] and "755" or "644", f)) -def parents(ui, repo, node = None): +def parents(ui, repo, node=None): '''show the parents of the current working dir''' if node: p = repo.changelog.parents(repo.lookup(hg.bin(node))) @@ -995,7 +995,7 @@ for f in u: ui.write("? ", f, "\n") -def tag(ui, repo, name, rev = None, **opts): +def tag(ui, repo, name, rev=None, **opts): """add a tag for the current tip or a given revision""" if name == "tip":