Skip to contentSkip to conversation

SN update

PATCH David Mosberger 3 participants 6 messages May 16, 2003

lore
Share & tools
lore
#0 lore raw

[Forgot to cc the list.]

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Jesse Barnes

Jesse> Ok, this is my first 'bksend' cset, so please let me know if Jesse> you need something different.

Please don't do that. Either send regular patches or point me to a tree I can pull from (actually, I still need to learn how to do this "safely").

	--david
#1 lore raw
Quoted 8 lines · David Mosberger

[Forgot to cc the list.]

Jesse> Ok, this is my first 'bksend' cset, so please let me know if Jesse> you need something different.

Please don't do that. Either send regular patches or point me to a tree I can pull from (actually, I still need to learn how to do this "safely").

I think it's "safe" to bk pull from anywhere. There is always bk unpull if you want to reverse the last pull.

mh

Signature · 1 line
Wild Open Source Inc.                  [email protected]
#2 lore raw
In reply to David Mosberger
Quoted 10 lines · David Mosberger

[Forgot to cc the list.]

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Jesse Barnes

Jesse> Ok, this is my first 'bksend' cset, so please let me know if Jesse> you need something different.

Please don't do that. Either send regular patches or point me to a tree I can pull from (actually, I still need to learn how to do this "safely").

Since I can't legally put a tree up, I'll send you a patch.

Thanks,
Jesse

#3 lore raw
In reply to David Mosberger
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Martin Hicks

Martin> On Thu, May 15, 2003 at 11:37:00PM -0700, David Mosberger

Quoted 2 lines · Martin> wrote:
Quoted 2 lines

[Forgot to cc the list.]

Jesse> Ok, this is my first 'bksend' cset, so please let me know if Jesse> you need something different.

Quoted 3 lines
Quoted 3 lines

Please don't do that. Either send regular patches or point me
to a tree I can pull from (actually, I still need to learn how to do this "safely").

Martin> I think it's "safe" to bk pull from anywhere. There is Martin> always bk unpull if you want to reverse the last pull.

That's not safe in my mind. What I'd like is an efficient way to preview a pull (see a diff -u between the remote tree and where I'm pulling into). Note the "efficient" part. Having to do a full clone first doesn't qualify.

	--david
#4 lore raw
In reply to David Mosberger
Quoted 12 lines · David Mosberger
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Martin Hicks

Martin> On Thu, May 15, 2003 at 11:37:00PM -0700, David Mosberger

Quoted 2 lines · Martin> wrote:
Quoted 2 lines

[Forgot to cc the list.]

Jesse> Ok, this is my first 'bksend' cset, so please let me know if Jesse> you need something different.

Quoted 3 lines
Quoted 3 lines

Please don't do that. Either send regular patches or point me
to a tree I can pull from (actually, I still need to learn how to do this "safely").

Quoted 7 lines

Martin> I think it's "safe" to bk pull from anywhere. There is Martin> always bk unpull if you want to reverse the last pull.

That's not safe in my mind. What I'd like is an efficient way to preview a pull (see a diff -u between the remote tree and where I'm pulling into). Note the "efficient" part. Having to do a full clone first doesn't qualify.

I found myself wishing the same thing as I tried to get together a patch for you. I noticed that 'bk import' has a -C option which will let you mess with the changeset before you commit it, but 'bk receive' doesn't, AFAIK. It would be nice if it did (or if it was easier to modify an existing changeset).

Jesse

#5 lore raw
In reply to David Mosberger
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line · Jesse Barnes

That's not safe in my mind. What I'd like is an efficient way to preview a pull (see a diff -u between the remote tree and where I'm pulling into). Note the "efficient" part. Having to do a full clone first doesn't qualify.

Jesse> I found myself wishing the same thing as I tried to get together a Jesse> patch for you.

Pulling from upstream is a bit easier: since there is only one upstream, what I do clone the upstream locally and then do an unconditional pull. Then I do a diff between the last version of the tree and the current one. It does require maintaining two trees, but that's not too bad.

The scheme doesn't work well if you pull from many places, though (I don't know about you, but somehow I'm _always_ short of diskspace, no matter how big the drives are getting...).

	--david