Re: how to "reload" a file for editing?
Larry McVoy <[email protected]> Sun, 31 Oct 2004 08:17:13 -0800
| Newsgroups | gmane.comp.version-control.bitkeeper.user |
|---|---|
| Message-ID | <[email protected]> |
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? 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. -- --- 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.