Re: how to "reload" a file for editing?
Greg KH <[email protected]> Sun, 31 Oct 2004 08:24:31 -0800
| Newsgroups | gmane.comp.version-control.bitkeeper.user |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Oct 31, 2004 at 08:17:13AM -0800, Larry McVoy wrote: > On Sun, Oct 31, 2004 at 08:13:37AM -0800, Greg KH wrote: > > On Sun, Oct 31, 2004 at 07:50:49AM -0800, Larry McVoy wrote: > > > bk park is a thorn in my side, it's not documented because it doesn't > > > work right. Don't use it until we document it because I guarentee you > > > the semantics are going to change. > > > > Is 'bk park' sane enough to use to just drop all changes in the current > > tree? I don't care about saving them for later, I just want to clean > > everything that's been changed in the tree back to the last checked in > > state, and use park as it's a quick and easy way to do it. > > > > Or is there an easier way? > > Hmm. Park is probably what you want. What you are doing, I think, is > tossing all new files and all modifications, correct? Yes, the "new files" portion I've just been deleting by hand so far. > cd `bk root` > bk extras | xargs rm -f > bk sfiles -c | bk unedit - > > is what you want. That won't toss any checked in but uncommitted changes. Ah, very nice, thanks. Had forgotten about the 'extras' command. greg k-h _______________________________________________ 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.