bazaar web interface

Aaron Bentley aaron.bentley at utoronto.ca
Thu Jan 5 01:52:39 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel wrote:
| I don't know when you introduced it, but I never realized that browsing
| contents gave you the annotated lines. Very nice.
|
| The only problem being bandwith, since each line is prefixed with:
| <tr class="parity0"><td class="annotate"><a
| title="ghigo at therra.bhome-20051101184844-78e20f6fdc4d9dae"
|
href="?cmd=revision;rev=ghigo at therra.bhome-20051101184844-78e20f6fdc4d9dae">55</a>:<a
| title="ghigo at therra.bhome-20051101184844-78e20f6fdc4d9dae"
|
href="?cmd=revision;rev=ghigo at therra.bhome-20051101184844-78e20f6fdc4d9dae">&#103;&#104;&#105;&#103;&#111;&#64;&#116;</a></td><td><pre></pre></td></tr>
|
| I wonder if there would be a way to do that more cleanly. Maybe with
| javascript which rewrites the document. Or maybe just expect people do
| have mod_gzip enabled :)

At least some of these could be annotated using revnos.  Also, it
doesn't seem necessary to repeat the revision for every sequential line
for that revision.

Or you could do something evil like:
href="?branch=bzr-fileid-involved&revno=264&path=bzrlib%2ftests%2f__init__.py&line=5"

Or if the URL included the revno & path, you could do:
"?revision_of_line=5"

I'm not sure whether this kind of optimization is worth pursuing.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDvHvn0F+nu1YWqI0RAhmeAJ9dnkIItCCOTGhvox60W+FseU7k6wCghe/f
eMWIGANKQcVA7kKFsKp1JOo=
=7/s+
-----END PGP SIGNATURE-----




More information about the bazaar mailing list