Mercurial > hg > hg-git
changeset 678:73cf8d292dcb
getremotechanges: drop support for Mercurial < 1.7
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Wed, 19 Feb 2014 15:54:04 -0800 (2014-02-19) |
parents | f9c6a92e0566 |
children | c1ac1c34378f |
files | hggit/__init__.py |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/hggit/__init__.py +++ b/hggit/__init__.py @@ -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)