Re: BK, deltas, snapshots and fate of -pre...

Jeff Garzik
2002-04-21T18:26:20Z

On Sun, Apr 21, 2002 at 11:14:50AM -0700, Larry McVoy wrote:
> On Sun, Apr 21, 2002 at 02:07:53PM -0400, Jeff Garzik wrote:
> > Triggers are completely useless for "show me what the next-to-last
> > 'bk pull' downloaded, in GNU patch style."

> All you need to do is save the starting and ending cset revs as keys,
> and then send those into bk export -tpatch. So a trigger which saved
> top of trunk on a stack is all you need, the rest is a tiny amount of
> perl/shell. Write it, send it to me, if people like it, we'll roll it
> into the mainline release.

In order to implement multiple 'bk undo' stack as you described, you
need to store or deduce that info anyway. If I wrote it, wouldn't I be
duplicating work (or doing work for you)?

Jeff