[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `about-emacs' - what about the revno?

From: Eli Zaretskii
Subject: Re: `about-emacs' - what about the revno?
Date: Mon, 30 Aug 2010 20:50:50 +0300

> Date: Mon, 30 Aug 2010 19:27:44 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
> > From: Stefan Monnier <address@hidden>
> > Cc: Drew Adams <address@hidden>,  address@hidden
> > Date: Mon, 30 Aug 2010 17:41:28 +0200
> > 
> > Maybe we should try and provide the revno of the common ancestor on
> > the trunk.  I only see two problems with it:
> > 1- you'll probably need Internet access to find this info (might be
> >    problematic during a build, for instance).
> > 2- I don't know how to tell Bzr to give me this info.
> The answer to 2 is "bzr version-info", it accepts options that define
> the format in which to produce the output.  Unfortunately, in a bound
> branch it hits the network.  Maybe we should ask Bazaar developers to
> add a --local switch.

Actually, in the trunk we don't need anything but the revno, right?
So the question is how to find the revno of the trunk from which the
current branch branched, right?

How about "bzr log --short -r ancestor:../trunk", then take only the
revno from the result?  The only problem is that this is quite slow:
it takes 21 seconds on my Windows XP box and 11 seconds on fencepost,
and that's with a warm cache -- probably too long for doing that
during the build.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]