# HG changeset patch # User FUJIWARA Katsunori # Date 2011-12-23 15:52:06 # Node ID 3bcfea777efc41c87918c1bb594615ff4fb6a34b # Parent 1dd60426b0611d23db184a8210b56ccbb6c3ea9d icasefs: rewrite comment to explain situtation precisely diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -646,7 +646,8 @@ def fspath(name, root): 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)