During Lightning translation, I've found a problem which afflict lxr and
CVS for sure, and I don't know what else.
Il you look at this:
http://lxr.mozilla.org/l10n/source/it/calendar/installer/custom.properties
and this:
http://bonsai-l10n.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&root=/l10n&subdir=l10n/it/calendar/installer&command=DIFF_FRAMESET&root=/l10n&file=custom.properties&rev1=1.2.2.1&rev2=1.2.2.2
you can notice (apart from my name written thousands of times, i think
this is a Mozilla Translator problem) that the string in light blue in
the second link doesn't appear on the first one, which shows the entire
file.
Moreover, if I do a CVS checkout of the italian translation of calendar
(use LIGHTNING_0_3_BRANCH if you want to try) that string doesn't appear
in custom.properties file, even if I've committed it before.
Am I doing something wrong here or some tools are being fooled?
hoping it helps, bye
Iacopo Benesperi
P.S. to calendar team: why that string appears only on
LIGHTNING_0_3_BRANCH and not on SUNBIRD_0_3_BRANCH even if it is in the
/installer folder (I imagine it is part of Sunbird installer)?
So, there are a number of things about lxr, bonsai, and cvs.
cvs has support for multiple branches. you mentioned the
lightning_0_3_branch.
mxr is (and recently lxr was made) aware of branches (and versions in
general) to the extent that the link it makes to cvs blame includes
the version it's using, so that you don't have to ask questions like
"am I looking at the same version of the file".
lxr unfortunately has very little support for multiple bonsai servers,
lxr.mozilla.org pretty much assumes that everything will be found on
bonsai.mozilla.org, for l10n as you know, things are on bonsai-l10n,
and the general root directory is l10n/ not mozilla/.
for comparison, here's something that looks approximately the same,
but from mxr on landfill (for some reason mxr on landfill didn't have
this tree even though mxr-test did, i fixed that in order to write
this email - the reason relates to support for the multiple bonsais
and such as described in the previous paragraph, since mxr was
basically lxr and the user experience was wrong, i didn't add such
roots -- recently mxr is a staging version of mxr-test which i intend
to commit, so it has the support for the roots, and I just forgot to
set up the link):
http://mxr.landfill.bugzilla.org/l10n/source/it/calendar/installer/custom.properties
anyway, clicking cvs blame leads me to:
http://bonsai-l10n.mozilla.org/cvsblame.cgi?file=/l10n/it/calendar/installer/custom.properties&rev=1.2
if you look at the tail of your url:
&rev1=1.2.2.1&rev2=1.2.2.2
(or the title or top line of the page to which it links)
you'll see:
Version 1.2.2.1 Version 1.2.2.2
the page is comparing 1.2.2.1 to 1.2.2.2, but the l10n lxr/mxr's are
all showing version 1.2, presumably because no one told me or someone
else who maintains the roots that there's some reason to track some
branch. the roots i have on landfill for mxr mostly track trunk.... if
there's some specific version you need tracked, you can file a bug in
mozilla.org:server ops or something asking for it.
note that your reference to "light blue" is confusing.
I'd suggest when referencing html that you copy the source, afaict
you're referencing to this:
<TD BGCOLOR=LightGreen><PRE># Iacopo
Benesperi