# HG changeset patch # User Adrian Buehlmann # Date 1243492180 -7200 # Node ID cb74433f9b41db368619c4335b977541e85218cb # Parent 60f9e574b6ebc8cf6ec6e6583568ca155334a5e5 localrepo: move comment diff -r 60f9e574b6eb -r cb74433f9b41 mercurial/localrepo.py --- a/mercurial/localrepo.py Wed May 27 14:16:13 2009 +0200 +++ b/mercurial/localrepo.py Thu May 28 08:29:40 2009 +0200 @@ -972,10 +972,10 @@ # 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: