Changeset 9cb8bbaac162…
Parent 7f3218bd6428…
by
Changes to one file · Browse files at 9cb8bbaac162 Showing diff from parent 7f3218bd6428 Diff from another changeset...
@@ -341,7 +341,10 @@ if cacheinfo is None:
cacheinfo = (repoid, {})
self.cache[root] = cacheinfo
- key = target + item + ctx.hex() + str(custom)
+ revid = ctx.hex()
+ if not revid and hasattr(ctx, '_path'):
+ revid = ctx._path
+ key = target + item + revid + str(custom)
try:
return cacheinfo[1][key]
except KeyError:
|
Loading...