2003-08-05 15:41:35

by Larry McVoy

[permalink] [raw]
Subject: BK2CVS problem (fixed)

Several people pointed out problems in the BK2CVS trees. I spent this
morning checking things over and there were indeed some out of date files.
I've fixed those up and put in place validation tools which should ensure
that this does not happen again.

Here's a validation run:

+ rm -rf /tmp/cmp-tmp
+ mkdir -p /tmp/cmp-tmp/cvs
+ cd /tmp/cmp-tmp/cvs
+ cvs -Q -d /tmp/linux-2.4-cvs checkout -P .
+ cd /tmp/linux-2.4
+ bk export -tplain /tmp/cmp-tmp/bk
+ cd /tmp/cmp-tmp
+ diff -r --exclude=CVS --exclude=BitKeeper --exclude=ChangeSet cvs/linux-2.4 bk
+ test -s DIFFS
+ rm -rf /tmp/cmp-tmp
+ mkdir -p /tmp/cmp-tmp/cvs
+ cd /tmp/cmp-tmp/cvs
+ cvs -Q -d /tmp/linux-2.5-cvs checkout -P .
+ cd /tmp/linux-2.5
+ bk export -tplain /tmp/cmp-tmp/bk
+ cd /tmp/cmp-tmp
+ diff -r --exclude=CVS --exclude=BitKeeper --exclude=ChangeSet cvs/linux-2.5 bk
+ test -s DIFFS
+ cd /tmp/linux-2.4-cvs
+ find linux-2.4 -type f -name '*,v'
+ PID=3553
+ sort
+ xargs sum
+ ssh root@kernel 'cd /home/cvs; find linux-2.4 -type f -name '\''*,v'\'' | xargs sum'
+ sort +2
+ wait 3553
+ diff SUMS SUMS.k
+ test -s DIFFS
+ cd /tmp/linux-2.5-cvs
+ find linux-2.5 -type f -name '*,v'
+ sort
+ PID=3594
+ xargs sum
+ ssh root@kernel 'cd /home/cvs; find linux-2.5 -type f -name '\''*,v'\'' | xargs sum'
+ sort +2
+ wait 3594
+ diff SUMS SUMS.k
+ test -s DIFFS

real 13m8.225s
user 0m23.742s
sys 0m18.830s
--
---
Larry McVoy lm at bitmover.com http://www.bitmover.com/lm


2003-08-05 17:27:40

by Ben Collins

[permalink] [raw]
Subject: Re: BK2CVS problem (fixed)

On Tue, Aug 05, 2003 at 08:41:31AM -0700, Larry McVoy wrote:
> Several people pointed out problems in the BK2CVS trees. I spent this
> morning checking things over and there were indeed some out of date files.
> I've fixed those up and put in place validation tools which should ensure
> that this does not happen again.

Does this only affect 2.5, and do I need to make bkcvs2svn rebuild from
scratch?

--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/