Mercurial > public > mercurial-scm > hg
comparison mercurial/context.py @ 17055:8b7cd9a998f0
copies: re-include root directory in directory rename detection (issue3511)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 27 Jun 2012 13:41:04 -0500 |
parents | 1093ad1e8903 |
children | 75f4180509a4 |
comparison
equal
deleted
inserted
replaced
17054:125ff5654b72 | 17055:8b7cd9a998f0 |
---|---|
1052 self._repo.dirstate.copy(source, dest) | 1052 self._repo.dirstate.copy(source, dest) |
1053 finally: | 1053 finally: |
1054 wlock.release() | 1054 wlock.release() |
1055 | 1055 |
1056 def dirs(self): | 1056 def dirs(self): |
1057 return self._repo.dirstate.dirs() | 1057 return set(self._repo.dirstate.dirs()) |
1058 | 1058 |
1059 class workingfilectx(filectx): | 1059 class workingfilectx(filectx): |
1060 """A workingfilectx object makes access to data related to a particular | 1060 """A workingfilectx object makes access to data related to a particular |
1061 file in the working directory convenient.""" | 1061 file in the working directory convenient.""" |
1062 def __init__(self, repo, path, filelog=None, workingctx=None): | 1062 def __init__(self, repo, path, filelog=None, workingctx=None): |