# HG changeset patch # User Matt Mackall # Date 1121033190 28800 # Node ID 3662e3d6b6906bd28a1127386c0c96b44ed50b13 # Parent f8098ae9f5b6d7686863df68f5e4da210490e103 Whitespace cleanup -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Whitespace cleanup manifest hash: 7abcbe23247dd5b7dea6fa44fb80d9f909cf6829 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFC0ZvmywK+sNU5EO8RAhhDAJ0YXOx5B2F/3NjFB+5YcUtkHqVyuQCgnNyp tWbRrjDz/SbKz/tFAsxJDqo= =xB66 -----END PGP SIGNATURE----- diff -r f8098ae9f5b6 -r 3662e3d6b690 mercurial/hg.py --- a/mercurial/hg.py Sun Jul 10 10:38:50 2005 -0800 +++ b/mercurial/hg.py Sun Jul 10 14:06:30 2005 -0800 @@ -214,7 +214,7 @@ start = bs if fn != f: # item not found, insert a new one - end = bs + end = bs if w[1] == 1: sys.stderr.write("failed to remove %s from manifest" % f) sys.exit(1) @@ -556,7 +556,7 @@ except TypeError: bin_n = '' self.tagscache[k.strip()] = bin_n - + try: # read each head of the tags file, ending with the tip # and add each tag found to the map, with "newer" ones @@ -571,7 +571,7 @@ addtag(self, k, n) except KeyError: pass - + try: f = self.opener("localtags") for l in f: @@ -579,9 +579,9 @@ addtag(self, k, n) except IOError: pass - + self.tagscache['tip'] = self.changelog.tip() - + return self.tagscache def tagslist(self): @@ -878,7 +878,7 @@ for f in list: p = self.wjoin(f) if not os.path.exists(p): - self.ui.warn("%s does not exist!\n" % f) + self.ui.warn("%s does not exist!\n" % f) elif not os.path.isfile(p): self.ui.warn("%s not added: mercurial only supports files currently\n" % f) elif self.dirstate.state(f) == 'n': @@ -911,7 +911,7 @@ if not os.path.exists(dest): self.ui.warn("%s does not exist!\n" % dest) elif not os.path.isfile(dest): - self.ui.warn("copy failed: %s is not a file\n" % dest) + self.ui.warn("copy failed: %s is not a file\n" % dest) else: if self.dirstate.state(dest) == '?': self.dirstate.update([dest], "a")