diff -r 69a37d56c7fb -r cd9407400ced hgext/obsolete.py --- a/hgext/obsolete.py Mon Apr 23 18:54:17 2012 +0200 +++ b/hgext/obsolete.py Tue Apr 24 15:58:19 2012 +0200 @@ -364,7 +364,6 @@ opull = repo.pull opush = repo.push o_rollback = repo._rollback - ocancopy = repo.cancopy o_updatebranchcache = repo.updatebranchcache # /!\ api change in Hg 2.2 (97efd26eb9576f39590812ea9) /!\ @@ -512,11 +511,6 @@ finally: lock.release() - ### local clone support - - def cancopy(self): - """wrapper on cancopy that deny copy if there is obsolete relation""" - return ocancopy() and not bool(self._obsobjrels) # you can't copy if there is obsolete ### pull // push support