public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andy Isaacson <adi@bitmover.com>
To: "Randy.Dunlap" <rddunlap@osdl.org>
Cc: Christian Kujau <evil@g-house.de>, linux-kernel@vger.kernel.org
Subject: Re: [OT] "bk pull" does not update my sources...?
Date: Mon, 17 May 2004 10:45:02 -0700	[thread overview]
Message-ID: <20040517174501.GC8322@bitmover.com> (raw)
In-Reply-To: <20040516102936.0c0df511.rddunlap@osdl.org>

On Sun, May 16, 2004 at 10:29:36AM -0700, Randy.Dunlap wrote:
> On Sun, 16 May 2004 19:13:41 +0200 Christian Kujau <evil@g-house.de> wrote:
> | walt schrieb:
> | |> evil@sheep:/usr/src/linux-2.6-BK$ head -n5 Makefile
> | |> VERSION = 2
> | |> PATCHLEVEL = 6
> | |> SUBLEVEL = 6
> | |> EXTRAVERSION =
> | |
> | | This is correct.  Linus does not include the 'bk' in the 'extraversion'
> | | field.
> | 
> | so, the Makefile from the -bk snapshots (e.g. patch-2.6.6-bk1.bz2) was
> | edited and will show an EXTRAVERSION of "-bk1", while the original
> | Makefile does not? this is insane!
> 
> Right.  The bk tree does not contain -bkN or anything in the
> EXTRAVERSION string.  The bk snapshots do add that string.
> 
> I don't find it hard to keep them separated, but, yeah, that's the
> way it is.

Perhaps a kernel built from BK sources should have the :UTC: or :MD5KEY:
in the version output.  "bk changes -r+ -d:UTC:" is the command to get
the current UTC string; that's an all-numeric representation of the date
of the current top cset.

The downside is that if you just do something like
BKEXTRAVERSION := `bk changes -r+ -d:UTC:`
then there is no way to distinguish "clean, everything corresponds to
BK" from "I edited some files, or applied a patch, and haven't created a
cset yet".  Of course you can do something like "bk -r diffs -u|wc -l"
to get an indication of diff size, but that's pretty hackish.

-andy

      parent reply	other threads:[~2004-05-17 17:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-14 19:24 [OT] "bk pull" does not update my sources...? Christian
2004-05-15 17:59 ` walt
2004-05-16 17:13   ` Christian Kujau
2004-05-16 17:29     ` Randy.Dunlap
2004-05-16 18:41       ` Christian Kujau
2004-05-17 17:45       ` Andy Isaacson [this message]

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

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

  git send-email \
    --in-reply-to=20040517174501.GC8322@bitmover.com \
    --to=adi@bitmover.com \
    --cc=evil@g-house.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rddunlap@osdl.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox