[PATCH] localrepo: move comment

Adrian Buehlmann adrian at cadifra.com
Thu May 28 01:33:26 CDT 2009


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1243492180 -7200
# 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:


More information about the Mercurial-devel mailing list