discovery: removed unused oldgetitem
authorSean Farley <sean@farley.io>
Mon, 21 Mar 2016 21:25:04 -0700
changeset 1920 2a28bd7eab31
parent 1919 769b2b271422
child 1921 4898296d7d25
discovery: removed unused oldgetitem
hgext3rd/topic/discovery.py
--- a/hgext3rd/topic/discovery.py	Mon Mar 21 21:07:41 2016 -0700
+++ b/hgext3rd/topic/discovery.py	Mon Mar 21 21:25:04 2016 -0700
@@ -10,7 +10,6 @@
                   or bool(remote.listkeys('phases').get('publishing', False)))
     if publishing or not remote.capable('topics'):
         return orig(repo, remote, outgoing)
-    oldgetitem = repo.__getitem__
     oldrepo = repo.__class__
     oldbranchcache = branchmap.branchcache
     oldfilename = branchmap._filename