Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Changes to /browser/locales/en-US etc

0 views
Skip to first unread message

Mark Tyndall

unread,
Sep 10, 2008, 9:10:09 AM9/10/08
to
Hi,

with bonsai I could look for changes in the en-US strings (ie in a list
of specific directories) that had occurred in the last two days, and get
a list of files.

hg.mozilla.org doesn't seem to be able to do that (the "changes in the
last day/week/month" links go to what appears to be the global changeset
list).

Am I missing something?

Mark..

Axel Hecht

unread,
Sep 10, 2008, 12:09:36 PM9/10/08
to

There's a bug filed on that,
https://bugzilla.mozilla.org/show_bug.cgi?id=448709. Doesn't seem to
make a lot of progress, though :-(

Axel

Asrail

unread,
Sep 12, 2008, 10:25:45 PM9/12/08
to
Mark Tyndall, 10-09-2008 10:10:

Assuming you have the en-US files under mercurial revision control, you
can run:
hg log -d "-2" browser/locales/en-US/

or

hg log --date "-2" browser/locales/en-US/

Axel Hecht

unread,
Sep 13, 2008, 11:20:55 AM9/13/08
to

Note that the dates refer to check-ins, not pushes. So you might not see
the changes that you pull.

Axel

Asrail

unread,
Sep 13, 2008, 5:39:22 PM9/13/08
to
Axel Hecht, 13-09-2008 12:20:

Thanks for the tip.

In the meantime I've seen he wants more detailed information about the
files, so he can use:

hg log -v --date "-2" browser/locales/en-US/

So it shows the list of changed files.

For showing changed files since the last time you updated, you would
have to do:
hg pull
hg diff -r tip browser/locales/en-US

and look at lines starting with "+++".

Then, for updating the tree itself, you run:
hg update

Mark Tyndall

unread,
Sep 16, 2008, 10:49:23 AM9/16/08
to
Asrail wrote:
> Axel Hecht, 13-09-2008 12:20:
>> Asrail wrote:
>>>
>>> Assuming you have the en-US files under mercurial revision control,
>>> you can run:
>>> hg log -d "-2" browser/locales/en-US/
[...]

>>
>> Note that the dates refer to check-ins, not pushes. So you might not see
>> the changes that you pull.
>
> Thanks for the tip.
>
> In the meantime I've seen he wants more detailed information about the
> files, so he can use:
>
> hg log -v --date "-2" browser/locales/en-US/
>
> So it shows the list of changed files.
>
> For showing changed files since the last time you updated, you would
> have to do:
> hg pull
> hg diff -r tip browser/locales/en-US
>
> and look at lines starting with "+++".
>
> Then, for updating the tree itself, you run:
> hg update

So, diff between pull and update. That sounds scriptable. (I really
need to actually start using Python...)

Many thanks,

Mark.

0 new messages