changeset 212:cd9407400ced

obsolete: to not overwrite cancopy This does not bring anything and this confuse verify.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Tue, 24 Apr 2012 15:58:19 +0200
parents 69a37d56c7fb
children ea4aa1890b16
files hgext/obsolete.py
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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