obsolete: remove unused variable in rebase wrapping
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 25 Jun 2012 12:40:42 +0200
changeset 304 7c68899b521e
parent 303 8529b4b95f5d
child 305 0b444d7c5c96
obsolete: remove unused variable in rebase wrapping
hgext/obsolete.py
--- 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