# HG changeset patch # User Thomas Arendsen Hein # Date 1119792048 -3600 # Node ID 84d5ddf8285655b78aed2f82ccdab908185fd2b7 # Parent 2705d20f77c9f109c953f9d74ef7bb53c59f82b6 Removed some unused variables. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Removed some unused variables. manifest hash: 89f5eba2fb642276b32d13dc12fe4c72448e47e4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCvquwW7P1GVgWeRoRAuLCAJ4lzcbSrQT2m+Kqxgktvih5FRlM9wCgmYDh a8QVhV8JyZBi5BbRNV2RHSo= =YpXM -----END PGP SIGNATURE----- diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -239,8 +239,6 @@ def annotate(u, repo, file, *files, **op node = repo.changelog.lookup(ops['revision']) change = repo.changelog.read(node) mmap = repo.manifest.read(change[0]) - maxuserlen = 0 - maxchangelen = 0 for f in relpath(repo, (file,) + files): lines = repo.file(f).annotate(mmap[f]) pieces = [] @@ -778,7 +776,6 @@ table = { norepo = "init version help debugindex debugindexdot" def find(cmd): - i = None for e in table.keys(): if re.match("(%s)$" % e, cmd): return table[e]