diff -r 7034365089bf -r 87e8440964a0 mercurial/scmutil.py --- 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: