Re: A modest proposal -- We need a patch penguin

Larry McVoy
2002-01-31T05:09:16Z

On Wed, Jan 30, 2002 at 11:58:11PM -0500, Alexander Viro wrote:
> Suppose I have 5 deltas - A, B, C, D, E. I want to kill A.

If you just want to make A's changes go away, that's trivial:

bk get -e -xA foo.c
bk delta -y"kill A's changes"

all done.

If you want to make A go away out of the graph, that's only possible if
you have the only copy of the graph containing A. Since BK replicates
the history, you only get to do what you want before you push your changes
to someone else. No surgery after you let the cat out of the bag.

You have a repository and you haven't propogated all this stuff to
someplace else, then this is easy, we'll just rebuild the history minus A.
You or I could write a shell script using BK commands to do it in about
10 minutes.

It's a distributed, replicated file system which uses the revision history
to propogate changes. If you don't care about talking to anyone else,
you can do whatever you want. If you want to give someone your history
and then change it, no way. That's rewriting what happened.

Now does it make more sense?
--
---
Larry McVoy lm at bitmover.com http://www.bitmover.com/lm