opener: rename _can_symlink to _cansymlink
authorAdrian Buehlmann <adrian@cadifra.com>
Sat, 07 May 2011 20:22:32 +0200
changeset 14261 e3649bcca3f6
parent 14260 00a881581400
child 14262 23cd7eeff678
opener: rename _can_symlink to _cansymlink
mercurial/scmutil.py
--- a/mercurial/scmutil.py	Sun May 08 17:48:31 2011 +0200
+++ b/mercurial/scmutil.py	Sat May 07 20:22:32 2011 +0200
@@ -176,7 +176,7 @@
         self._trustnlink = None
 
     @util.propertycache
-    def _can_symlink(self):
+    def _cansymlink(self):
         return util.checklink(self.base)
 
     def _fixfilemode(self, name):
@@ -243,7 +243,7 @@
         if not os.path.exists(dirname):
             util.makedirs(dirname, self.createmode)
 
-        if self._can_symlink:
+        if self._cansymlink:
             try:
                 os.symlink(src, linkname)
             except OSError, err: