Commits

Pierre-Yves David committed cd94074

obsolete: to not overwrite cancopy

This does not bring anything and this confuse verify.

Comments (0)

Files changed (1)

hgext/obsolete.py

     opull = repo.pull
     opush = repo.push
     o_rollback = repo._rollback
-    ocancopy = repo.cancopy
     o_updatebranchcache = repo.updatebranchcache
 
     # /!\ api change in  Hg 2.2 (97efd26eb9576f39590812ea9) /!\
             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