[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Git mirrors
From: |
Óscar Fuentes |
Subject: |
Re: Git mirrors |
Date: |
Thu, 13 Oct 2011 01:06:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
John Wiegley <address@hidden> writes:
>>>>>> Eli Zaretskii <address@hidden> writes:
>
>> bzr revision-info address@hidden
>
>> produces output that is easier to parse:
>
>> 96032 address@hidden
>
> Wow. On my VPS, doing this a single time takes 16 seconds. Plus, I have to
> do it within the right branch, which means that programmatically, I'll have to
> do everyone within every branch. That would take a little over a year.
>
> Is there not a better to do this?
As mentioned on my previous post, do a `bzr log --show-ids' and harvest
the revision numbers and revision ids from there. Here, a single `bzr
revision-info ...' takes 8 seconds, but a full `bzr log --show-ids'
takes only 30. Add a few seconds more for retrieving the numbers/ids,
and you are done in less than a minute (which still seems a lot to me,
but YMMV)
> Maybe with some Python code that accesses
> the repository info directly and can turn a file full of rev-info's into the
> corresponding output? Then I could add a method that only outputs the new
> ones.
This is an interesting path. Hacking the bzr sources is easy and
fun. But this is not the right place for your question. When I
participated there, the guys on the bazaar ml used to be quite
collaborative with this sort of questions.
However, as confirmed by Eli, what you already provided is good enough.
- Re: Git mirrors, (continued)
- Re: Git mirrors, Óscar Fuentes, 2011/10/12
- Re: Git mirrors, Andreas Schwab, 2011/10/12
- Re: Git mirrors, John Wiegley, 2011/10/12
- Re: Git mirrors, Andreas Schwab, 2011/10/12
- Re: Git mirrors, John Wiegley, 2011/10/12
- Re: Git mirrors, Andreas Schwab, 2011/10/12
- Re: Git mirrors, Óscar Fuentes, 2011/10/12
- Re: Git mirrors, Óscar Fuentes, 2011/10/12
- Re: Git mirrors, Eli Zaretskii, 2011/10/12
- Re: Git mirrors, John Wiegley, 2011/10/12
- Re: Git mirrors,
Óscar Fuentes <=
- Re: Git mirrors, John Wiegley, 2011/10/12
- Re: Git mirrors, Óscar Fuentes, 2011/10/12
- Re: Git mirrors, John Wiegley, 2011/10/12
- Re: Git mirrors, Óscar Fuentes, 2011/10/12
- Re: Git mirrors, John Wiegley, 2011/10/12
- Re: Git mirrors, Óscar Fuentes, 2011/10/12
- Re: Git mirrors, Eli Zaretskii, 2011/10/13
- Re: Git mirrors, Eli Zaretskii, 2011/10/13
- Re: Git mirrors, Ted Zlatanov, 2011/10/11
- Re: Git mirrors, Stephen J. Turnbull, 2011/10/11