Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 8111:dbf20df40eb1
document the locking pattern in localrepo.status
author | Ronny Pfannschmidt <Ronny.Pfannschmidt@gmx.de> |
---|---|
date | Wed, 22 Apr 2009 02:01:22 +0200 |
parents | 496ae1ea4698 |
children | bbc24c0753a0 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Wed Apr 22 02:01:22 2009 +0200 +++ b/mercurial/localrepo.py Wed Apr 22 02:01:22 2009 +0200 @@ -1068,6 +1068,8 @@ wlock = None try: try: + # updating the dirstate is optional + # so we dont wait on the lock wlock = self.wlock(False) for f in fixup: self.dirstate.normal(f)