changeset 304:7c68899b521e

obsolete: remove unused variable in rebase wrapping
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Mon, 25 Jun 2012 12:40:42 +0200
parents 8529b4b95f5d
children 0b444d7c5c96
files hgext/obsolete.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/obsolete.py	Sat Jun 23 11:46:06 2012 +0200
+++ b/hgext/obsolete.py	Mon Jun 25 12:40:42 2012 +0200
@@ -276,7 +276,6 @@
     # added from this state after a successful call.
     repo._rebasestate = {}
     repo._rebasetarget = None
-    maxrev = len(repo) - 1
     try:
         res = orig(ui, repo, *args, **kwargs)
         # Filter nullmerge or unrebased entries