# HG changeset patch # User Adrian Buehlmann # Date 2009-05-28 06:29:40 # Node ID cb74433f9b41db368619c4335b977541e85218cb # Parent 60f9e574b6ebc8cf6ec6e6583568ca155334a5e5 localrepo: move comment diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -972,10 +972,10 @@ class localrepository(repo.repository): # update dirstate for files that are actually clean if fixup: try: + # updating the dirstate is optional + # so we don't wait on the lock wlock = self.wlock(False) try: - # updating the dirstate is optional - # so we don't wait on the lock for f in fixup: self.dirstate.normal(f) finally: