Re: how to delete a file and submit that change as a patch?
Rick Smith <[email protected]> Wed, 27 Oct 2004 12:51:34 -0700
| Newsgroups | gmane.comp.version-control.bitkeeper.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Oct 27, 2004 at 03:47:38PM -0400, Robert P. J. Day wrote: > On Wed, 27 Oct 2004, Larry McVoy wrote: > > > 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? > > that is, by running "bk cset"? is that what you're referring to? > i'll take a look at it -- until now, i've submitted my patches using > "bk -r diffs -u", but i'm open to other techniques. bk send -r<revs> email-address bk send -r<revs> - > file see bk help send _______________________________________________ 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.