Submitter | Idan Kamara |
---|---|
Date | Jan. 10, 2013, 10:10 p.m. |
Message ID | <d2822705c5bd7b1cf36b.1357855857@idan> |
Download | mbox | patch |
Permalink | /patch/524/ |
State | Accepted |
Commit | 948f495fb2302a6241787a2d5924ef328f2f4967 |
Delegated to: | Kevin Bullock |
Headers | show |
Comments
Patch
diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1033,9 +1033,7 @@ def unlock(): self.dirstate.write() - ce = self._filecache.get('dirstate') - if ce: - ce.refresh() + self._filecache['dirstate'].refresh() l = self._lock(self.join("wlock"), wait, unlock, self.invalidatedirstate, _('working directory of %s') %