mercurial/context.py
changeset 17055 8b7cd9a998f0
parent 16867 1093ad1e8903
child 17076 75f4180509a4
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):