feature requests for loggerhead

Erik Bågfors zindar at gmail.com
Mon Jun 18 20:14:23 BST 2007


On 6/18/07, John Arbash Meinel <john at arbash-meinel.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Erik Bågfors wrote:
> > On 6/18/07, Michael Hudson <michael.hudson at canonical.com> wrote:
> >> Aaron Bentley wrote:
> >>
> >> > It would be nice to provide "bzr viz"-style output.  I understand the
> >> > mercurial guys ported bzr viz to their web interface.
> >>
> >> Using dot or similar?  That occurred to me to.
> >>
> >
> > If you do this, do you think it would be possible to create a bzr
> > plugin easily that creates this visualization to a file.  Basically,
> > on my Mac, I don't have bzr viz installed at all, but I would love to
> > be able to create some other way of visualizing branches.
> > Doc/Graphviz would be perfect for it.
> >
> > /Erik
> >
> >
>
> If you have bzrtools installed you have "bzr graph-ancestry" Which will
> generate .png, or .html (which uses a .png and an HTML map).
>
> However it:
>
> 1) Always graphs the whole ancestry, which for bzr is 14k revisions
> 2) This makes the png renderer die if the ancestry is too big
> 3) Shows all merges, whereas 'bzr viz' uses a different algorithm to
> ignore "uninteresting" merges.
> 4) Can also be used to show 2 ancestries, and will color code based on
> what is common, versus what is in left/right and even show the merge base.
>
> It can be useful, the #1 problem is just (1). Having a way to say "bzr
> graph-ancestry -r OLD..NEW" would probably make it very useful.
>


I keep forgetting about graph-ancestry.  Mainly because when I tried
it last, I very much preferred bzr viz...

So I just did "bzr branch lp:bzrtools" and tried to use it...

This is the result...

: [erik at zmaco]$ ; bzr graph-ancestry test.dot
bzr: ERROR: exceptions.TypeError: run() takes at least 3 non-keyword
arguments (2 given)

Traceback (most recent call last):
  File "/Users/erik/Source/bzr/bzr.dev/bzrlib/commands.py", line 717,
in run_bzr_catch_errors
    return run_bzr(argv)
  File "/Users/erik/Source/bzr/bzr.dev/bzrlib/commands.py", line 678, in run_bzr
    ret = run(*run_argv)
  File "/Users/erik/Source/bzr/bzr.dev/bzrlib/commands.py", line 375,
in run_argv_aliases
    return self.run(**all_cmd_args)
TypeError: run() takes at least 3 non-keyword arguments (2 given)

bzr 0.18.0dev0 on python 2.4.3.final.0 (darwin)
arguments: ['/Users/erik/bin/bzr', 'graph-ancestry', 'test.dot']

** please send this report to bazaar at lists.ubuntu.com

This is with a brand new bzr.dev

/Erik



More information about the bazaar mailing list