Re: how to delete a file and submit that change as a patch?

Larry McVoy <[email protected]> Wed, 27 Oct 2004 07:11:34 -0700
Newsgroups gmane.comp.version-control.bitkeeper.user
Message-ID <[email protected]>
On Wed, Oct 27, 2004 at 04:53:35AM -0400, Robert P. J. Day wrote:
>   i've checked the FAQ and helptool and i don't see the explanation
> for what should be (i hope) a simple task:  i want to delete a file
> from a cloned repo, and submit that deletion as a unified patch
> upstream to the powers that be.  (there will be some editing as part
> of that patch, but that i can handle.  it's the file deletion i'm not
> how to make part of the patch.)

Unfortunately, the current BK doesn't generate deletions as diffs.  When
we wrote the diff tools for BK we were thinking about BK which handles 
moves and deletions as first class operations.

Regular diff will present a remove as a diff against the file and /dev/null.
You could simulate that with a script.  It's a bit awkward, I admit, and
I have an internal tree where this is fixed but that doesn't do you much 
good right now.

Can't you send your diff as a BK patch?
-- 
---
Larry McVoy                lm at bitmover.com           http://www.bitkeeper.com
_______________________________________________
Bitkeeper-users mailing list
[email protected]
http://bitmover.com/mailman/listinfo/bitkeeper-users
To unsubscribe from this list, go to the above URL, follow instruction at the bottom of the web page.