mercurial/localrepo.py
changeset 15888 2072e4031994
parent 15886 a5917346c72e
child 15889 816209eaf963
--- a/mercurial/localrepo.py	Fri Jan 13 02:30:43 2012 +0100
+++ b/mercurial/localrepo.py	Wed Jan 11 17:26:27 2012 +0100
@@ -626,6 +626,10 @@
     def local(self):
         return self
 
+    def cancopy(self):
+        return (repo.repository.cancopy(self)
+                and not self._phaseroots[phases.secret])
+
     def join(self, f):
         return os.path.join(self.path, f)