mercurial/dirstate.py
changeset 26294 1ffc61c4e32e
parent 26293 3d24f31c6b8f
child 26492 3a0bb61371c5
equal deleted inserted replaced
26293:3d24f31c6b8f 26294:1ffc61c4e32e
    40         self._validate = validate
    40         self._validate = validate
    41         self._root = root
    41         self._root = root
    42         # ntpath.join(root, '') of Python 2.7.9 does not add sep if root is
    42         # ntpath.join(root, '') of Python 2.7.9 does not add sep if root is
    43         # UNC path pointing to root share (issue4557)
    43         # UNC path pointing to root share (issue4557)
    44         self._rootdir = pathutil.normasprefix(root)
    44         self._rootdir = pathutil.normasprefix(root)
       
    45         # internal config: ui.forcecwd
       
    46         forcecwd = ui.config('ui', 'forcecwd')
       
    47         if forcecwd:
       
    48             self._cwd = forcecwd
    45         self._dirty = False
    49         self._dirty = False
    46         self._dirtypl = False
    50         self._dirtypl = False
    47         self._lastnormaltime = 0
    51         self._lastnormaltime = 0
    48         self._ui = ui
    52         self._ui = ui
    49         self._filecache = {}
    53         self._filecache = {}