Skip to content
Snippets Groups Projects
Commit 73cf8d29 authored by Siddharth Agarwal's avatar Siddharth Agarwal
Browse files

getremotechanges: drop support for Mercurial < 1.7

parent f9c6a92e
No related branches found
No related tags found
No related merge requests found
......@@ -173,11 +173,7 @@
cleanup = None
return r, c, cleanup
return orig(ui, repo, other, *args, **opts)
try:
extensions.wrapfunction(bundlerepo, 'getremotechanges', getremotechanges)
except AttributeError:
# 1.7+
pass
extensions.wrapfunction(bundlerepo, 'getremotechanges', getremotechanges)
def peer(orig, uiorrepo, *args, **opts):
newpeer = orig(uiorrepo, *args, **opts)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment