unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: `about-emacs' - what about the revno?
Date: Mon, 30 Aug 2010 20:50:50 +0300	[thread overview]
Message-ID: <83wrr8j8g5.fsf@gnu.org> (raw)
In-Reply-To: <834oeckqv3.fsf@gnu.org>

> Date: Mon, 30 Aug 2010 19:27:44 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: emacs-devel@gnu.org
> 
> > From: Stefan Monnier <monnier@iro.umontreal.ca>
> > Cc: Drew Adams <drew.adams@oracle.com>,  emacs-devel@gnu.org
> > 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	other threads:[~2010-08-30 17:50 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-28 15:38 `about-emacs' - what about the revno? Drew Adams
2010-08-28 15:57 ` Eli Zaretskii
2010-08-28 16:05   ` Drew Adams
2010-08-28 16:13     ` Eli Zaretskii
2010-08-28 16:34     ` Jason Rumney
2010-08-28 17:12   ` Óscar Fuentes
2010-08-28 19:06   ` Christoph
2010-08-29  4:56   ` Teemu Likonen
2010-08-30 15:41   ` Stefan Monnier
2010-08-30 16:22     ` Lennart Borgman
2010-08-30 16:27     ` Eli Zaretskii
2010-08-30 17:50       ` Eli Zaretskii [this message]
2010-08-30 19:20         ` Óscar Fuentes
2010-08-30 22:07           ` Stefan Monnier
2010-08-31  6:34         ` Andreas Schwab
2010-08-31 10:35           ` Stefan Monnier
2010-08-31 10:41             ` Andreas Schwab
2010-08-31 13:01               ` Stefan Monnier
2010-08-31 20:08                 ` Óscar Fuentes
2010-09-01  6:20                   ` Stefan Monnier
2010-08-31 14:02               ` Miles Bader
2010-08-31 16:56             ` Eli Zaretskii
2010-09-01  6:25               ` Stefan Monnier
2010-09-01  6:42                 ` Eli Zaretskii
2010-09-01  7:45                   ` Stefan Monnier
2010-09-01  8:41                     ` Eli Zaretskii
2010-08-31 16:58             ` Eli Zaretskii
2010-08-30 17:39     ` Óscar Fuentes
2010-08-30 17:58       ` Lennart Borgman
2010-08-30 22:08       ` Stefan Monnier
2010-08-30 22:45         ` Óscar Fuentes
2010-08-31  8:22           ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83wrr8j8g5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).