Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

stable csinfo: fix to prevent errors if ctx doesn't have node ID

Changeset 9cb8bbaac162

Parent 7f3218bd6428

by Yuki KODAMA

Changes to one file · Browse files at 9cb8bbaac162 Showing diff from parent 7f3218bd6428 Diff from another changeset...

 
341
342
343
344
 
 
 
 
345
346
347
 
341
342
343
 
344
345
346
347
348
349
350
@@ -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: