# HG changeset patch # User mpm@selenic.com # Date 1120206109 28800 # Node ID 2f515dcfbc2411901be3e1f4aec59c51e795c154 # Parent f2442a6a589355e6c29b01882acaa8e439611ee0 Fix some linewrapping -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fix some linewrapping manifest hash: 3be515e65adeb9652e646059fb6dc8d23b0a7a72 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCxP0dywK+sNU5EO8RAoSCAJ9kOtNnkesCD/QplxujNJxvb8JJowCeJb0Q q58TYLTbZ8wnuFwagBABVds= =CN45 -----END PGP SIGNATURE----- diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -29,7 +29,8 @@ def relfilter(repo, files): def relpath(repo, args): if os.getcwd() != repo.root: p = os.getcwd()[len(repo.root) + 1: ] - return [ util.pconvert(os.path.normpath(os.path.join(p, x))) for x in args ] + return [ util.pconvert(os.path.normpath(os.path.join(p, x))) + for x in args ] return args def dodiff(ui, repo, files = None, node1 = None, node2 = None): @@ -362,7 +363,8 @@ def debugcheckdirstate(ui, repo): print "%s in state %s, but also listed in manifest1" % (f, state) errors += 1 if state in "m" and f not in m1 and f not in m2: - print "%s in state %s, but not listed in either manifest" % (f, state) + print "%s in state %s, but not listed in either manifest" % \ + (f, state) errors += 1 for f in m1: state = repo.dirstate.state(f) @@ -370,7 +372,7 @@ def debugcheckdirstate(ui, repo): print "%s in manifest1, but listed as state %s" % (f, state) errors += 1 if errors: - print ".hg/dirstate inconsistent with current parent's manifest, aborting" + print ".hg/dirstate inconsistent with current parent's manifest" sys.exit(1) def debugdumpdirstate(ui, repo):