comparison hgext/graphlog.py @ 7435:5e13df32fb74

bundlerepo doesn't really have a dirstate, throw AttributeError if requested
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Thu, 27 Nov 2008 16:07:17 +0100
parents df0962f6c54e
children b8c4ba0fd7c4
comparison
equal deleted inserted replaced
7434:cf7741aa1e96 7435:5e13df32fb74
433 # use the created uncompressed bundlerepo 433 # use the created uncompressed bundlerepo
434 other = bundlerepo.bundlerepository(ui, repo.root, fname) 434 other = bundlerepo.bundlerepository(ui, repo.root, fname)
435 435
436 chlist = other.changelog.nodesbetween(incoming, revs)[0] 436 chlist = other.changelog.nodesbetween(incoming, revs)[0]
437 revdag = incoming_revs(other, chlist, opts) 437 revdag = incoming_revs(other, chlist, opts)
438 other_parents = other.dirstate.parents() 438 other_parents = []
439 displayer = show_changeset(ui, other, opts, buffered=True) 439 displayer = show_changeset(ui, other, opts, buffered=True)
440 def graphabledag(): 440 def graphabledag():
441 for (ctx, parents) in revdag: 441 for (ctx, parents) in revdag:
442 # log_strings is the list of all log strings to draw alongside 442 # log_strings is the list of all log strings to draw alongside
443 # the graph. 443 # the graph.