changeset 17157 | 87e8440964a0 |
parent 17104 | 5a9acb0b2086 |
child 17161 | be016e96117a |
--- a/mercurial/scmutil.py Fri Jul 06 18:45:26 2012 +0900 +++ b/mercurial/scmutil.py Fri Jul 06 18:45:27 2012 +0900 @@ -196,7 +196,9 @@ This class is used to hide the details of COW semantics and remote file access from higher level code. ''' - def __init__(self, base, audit=True): + def __init__(self, base, audit=True, expand=False): + if expand: + base = os.path.realpath(util.expandpath(base)) self.base = base self._audit = audit if audit: