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 revgraph: abort filelog search on unrevisioned files

Fixes #646

Changeset aa1c1f1f0fc8

Parent 0563f76e0575

by Steve Borho

Changes to one file · Browse files at aa1c1f1f0fc8 Showing diff from parent 0563f76e0575 Diff from another changeset...

 
420
421
422
423
 
 
 
 
424
425
426
 
420
421
422
 
423
424
425
426
427
428
429
@@ -420,7 +420,10 @@
  Graph the ancestry of a single file (log). Deletions show   up as breaks in the graph.   ''' - paths = { path : len(repo.file(path))-1 } + fctx = repo.file(path) + if not len(fctx): + return + paths = { path : len(fctx)-1 }   revs = []   rev_color = {}   nextcolor = 0