bazaar web interface
Goffredo Baroncelli
kreijack at alice.it
Thu Jan 5 00:17:56 GMT 2006
On Thursday 05 January 2006 00:52, you (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">ghigo@t</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.
This will happen only when wget will support javascript :-)
> Actually, I would say the problem is that you are separately doing a
> reference for the digit, and then the short revision name. Probably
> because you didn't want to annotate the ':'. I think it is worth the
> bandwidth savings to just annotate them both with the same <a> block.
If a revision isn't a merged revision, you are right and the Anchor link
should be only one. But if the revision is a merged revision, then the
revision is different from revno ( == rev which merge the revision ).
For example in the Martin Pool bzr.dev repository the revision
robertc at robertcollins.net-20051215083203-07b824bae89674c1
is merged in the revision mbp at sourcefrog.net-20051216003931-476d497e6dbd21b9
which has the revno = 1490
( see http://goffredo-baroncelli.homelinux.net/bazaar/bazaar-NG, the 3rd entry )
In this case the revno is between the '[' and ']' in order to highlight the fact
that is not the real revno associated to the revision, but it is the revno of the
revision that merge the revision which follows the ':'
If you in the page
http://goffredo-baroncelli.homelinux.net/bazaar/bazaar-NG?cmd=content;path=NEWS;pathrevid=mbp@sourcefrog.net-20051216003931-476d497e6dbd21b9;rev=mbp@sourcefrog.net-20051216003931-476d497e6dbd21b9
search the line which contains '--dry-run', you can note that at the left there is
[1490]:robertc
if you move the mouse over the 1490, you will see a tooltip which indicates that the
revno 1490 refers to the revision 'mbp at sourcefrog.net-20051216014735-906c2145b95924eb'; but
if you leave the mouse over 'robertc' you will see a tooltip which indicates that the
revid refers to the revision 'robertc at robertcollins.net-20051215032958-9ca8405f44373730'
> I'm also not sure why you are html escaping all of the revision id
> characters. 'ghigo at th' is perfectly reasonable in ascii.
It is a simple obfuscation of the email address :-)
> But in general, *very* nice.
Thanks
Goffredo
--
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack at inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87 87C0 BB86 505C 6B2A CFF9
More information about the bazaar
mailing list