[PATCH 3 of 4] icasefs: rewrite comment to explain situtation precisely
FUJIWARA Katsunori
foozy at lares.dti.ne.jp
Fri Dec 23 10:03:02 CST 2011
# HG changeset patch
# User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
# Date 1324655526 -32400
# Node ID 3bcfea777efc41c87918c1bb594615ff4fb6a34b
# Parent 1dd60426b0611d23db184a8210b56ccbb6c3ea9d
icasefs: rewrite comment to explain situtation precisely
diff -r 1dd60426b061 -r 3bcfea777efc mercurial/util.py
--- a/mercurial/util.py Sat Dec 24 00:51:14 2011 +0900
+++ b/mercurial/util.py Sat Dec 24 00:52:06 2011 +0900
@@ -646,7 +646,8 @@
found = find(part, contents)
if not found:
- # retry once for the corner case: add files after dir walking
+ # retry "once per directory" per "dirstate.walk" which
+ # may take place for each patches of "hg qpush", for example
contents = os.listdir(dir)
_fspathcache[dir] = contents
found = find(part, contents)
More information about the Mercurial-devel
mailing list