hgext/graphlog.py
changeset 6970 f7f0388f7bce
parent 6762 f67d1468ac50
parent 6969 d76f64cd4cb2
child 7280 810ca383da9c
equal deleted inserted replaced
6968:91f6370c433c 6970:f7f0388f7bce
   214     stop_rev = max(stop_rev, start_rev - limit + 1)
   214     stop_rev = max(stop_rev, start_rev - limit + 1)
   215     if start_rev == nullrev:
   215     if start_rev == nullrev:
   216         return
   216         return
   217     cs_printer = show_changeset(ui, repo, opts)
   217     cs_printer = show_changeset(ui, repo, opts)
   218     if path:
   218     if path:
   219         cpath = canonpath(repo.root, os.getcwd(), path)
   219         path = canonpath(repo.root, os.getcwd(), path)
   220         grapher = filelog_grapher(repo, cpath, start_rev, stop_rev)
   220     if path:
       
   221         grapher = filelog_grapher(repo, path, start_rev, stop_rev)
   221     else:
   222     else:
   222         grapher = revision_grapher(repo, start_rev, stop_rev)
   223         grapher = revision_grapher(repo, start_rev, stop_rev)
   223     repo_parents = repo.dirstate.parents()
   224     repo_parents = repo.dirstate.parents()
   224     prev_n_columns_diff = 0
   225     prev_n_columns_diff = 0
   225     prev_node_index = 0
   226     prev_node_index = 0