# HG changeset patch # User Pierre-Yves David # Date 1335275899 -7200 # Node ID cd9407400ced9cf5426b00eb7b785a62c5517e9b # Parent 69a37d56c7fb297f2c3f351532965e541e01d7c3 obsolete: to not overwrite cancopy This does not bring anything and this confuse verify. 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