Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commandserver.py @ 16114:acfca07a8f26 stable
cmdserver: invalidate the dirstate when running commands (issue3271)
The dirstate is invalidated separately outside of invalidate() which is
already being called (other callers of invalidate() seems to suggest the
separation is there for a reason).
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Wed, 15 Feb 2012 23:44:10 +0200 |
parents | b4c06b97dfe0 |
children | 525fdb738975 |
line wrap: on
line diff
--- a/mercurial/commandserver.py Wed Feb 15 23:49:15 2012 +0200 +++ b/mercurial/commandserver.py Wed Feb 15 23:44:10 2012 +0200 @@ -186,6 +186,7 @@ self.repo.baseui = copiedui self.repo.ui = self.repo.dirstate._ui = self.repoui.copy() self.repo.invalidate() + self.repo.invalidatedirstate() req = dispatch.request(args[:], copiedui, self.repo, self.cin, self.cout, self.cerr)