* bitkeeper question
@ 2002-05-15 19:34 Cameron, Steve
2002-05-15 21:41 ` Tom Rini
2002-05-28 22:01 ` Val Henson
0 siblings, 2 replies; 3+ messages in thread
From: Cameron, Steve @ 2002-05-15 19:34 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
I'm not sure if this is the right place
to ask. I'm wondering about how (and if) tags
are being used for the bk://ppc.bkserver.net/linuxppc_2_4_devel
tree.
I would like to be able to clone and
export a "known" state (lets call it "state_1")
of the tree, then later be able to get another
known state of the tree ("state_2") and have
(or be able to generate) a patch that can take
me from "state_1" to "state_2".
I guess I can do this by doing
bk export -r state_1 state_1
then, later after some "bk pulls" have been done,
bk export -r state_2 state_2
provided that "state_1" and "state_2" are
the two tags.
But, i don't know what the tags are that people
are using, if any. Or am I grossly misunderstanding
bitkeeper? Is it up to me to tag my own clone of
the repository whenever I want, and just use "bk pull"
to get "the latest stuff", whatever that might be?
If there is a regular tagging scheme already in use,
I think I'd rather just use those existing tags, as
long as I can stay reasonably up to date that way.
Thanks for any info.
-- steve
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bitkeeper question
2002-05-15 19:34 bitkeeper question Cameron, Steve
@ 2002-05-15 21:41 ` Tom Rini
2002-05-28 22:01 ` Val Henson
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2002-05-15 21:41 UTC (permalink / raw)
To: Cameron, Steve; +Cc: linuxppc-embedded
On Wed, May 15, 2002 at 02:34:54PM -0500, Cameron, Steve wrote:
> I'm not sure if this is the right place
> to ask. I'm wondering about how (and if) tags
> are being used for the bk://ppc.bkserver.net/linuxppc_2_4_devel
> tree.
The only tags on that repository are the kernel.org tags. IE:
bk export -rv2.4.18
Will get you kernel.org as of 2.4.18. If you do some looking w/ bk
changes, you can see when that was merged into the repository, and
export that changeset.
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bitkeeper question
2002-05-15 19:34 bitkeeper question Cameron, Steve
2002-05-15 21:41 ` Tom Rini
@ 2002-05-28 22:01 ` Val Henson
1 sibling, 0 replies; 3+ messages in thread
From: Val Henson @ 2002-05-28 22:01 UTC (permalink / raw)
To: Cameron, Steve; +Cc: linuxppc-embedded
On Wed, May 15, 2002 at 02:34:54PM -0500, Cameron, Steve wrote:
>
> Hi,
>
> I'm not sure if this is the right place
> to ask. I'm wondering about how (and if) tags
> are being used for the bk://ppc.bkserver.net/linuxppc_2_4_devel
> tree.
>
> I would like to be able to clone and
> export a "known" state (lets call it "state_1")
> of the tree, then later be able to get another
> known state of the tree ("state_2") and have
> (or be able to generate) a patch that can take
> me from "state_1" to "state_2".
>
> I guess I can do this by doing
>
> bk export -r state_1 state_1
>
> then, later after some "bk pulls" have been done,
>
> bk export -r state_2 state_2
>
> provided that "state_1" and "state_2" are
> the two tags.
>
> But, i don't know what the tags are that people
> are using, if any. Or am I grossly misunderstanding
> bitkeeper? Is it up to me to tag my own clone of
> the repository whenever I want, and just use "bk pull"
> to get "the latest stuff", whatever that might be?
> If there is a regular tagging scheme already in use,
> I think I'd rather just use those existing tags, as
> long as I can stay reasonably up to date that way.
>
> Thanks for any info.
You might be grossly misunderstanding bk, let's see if this makes any
sense...
Every time you do a commit, you've created the equivalent of a CVS
tag. It's just a number, but it is a "known state" of the entire
repository, not just the files you checked in. You can add a
non-numeric tag to some versions for convenience, but a non-numeric
tag is not required to do the kind of operations you're looking for.
The easiest way to export a patch is to find the two changeset numbers
you're interested in and run:
bk export -tpatch -r<rev1,rev2> > ../patchfile
Does that help or did I grossly misunderstand you? :)
-VAL
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-05-28 22:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-15 19:34 bitkeeper question Cameron, Steve
2002-05-15 21:41 ` Tom Rini
2002-05-28 22:01 ` Val Henson
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 NNTP newsgroup(s).