Mercurial > hg-stable
changeset 14261:e3649bcca3f6
opener: rename _can_symlink to _cansymlink
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Sat, 07 May 2011 20:22:32 +0200 |
parents | 00a881581400 |
children | 23cd7eeff678 |
files | mercurial/scmutil.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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: