Changeset aa1c1f1f0fc8…
Parent 0563f76e0575…
by
Changes to one file · Browse files at aa1c1f1f0fc8 Showing diff from parent 0563f76e0575 Diff from another changeset...
@@ -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
|
Loading...