Skip to contentSkip to conversation

BK2CVS problem (fixed)

DISCUSSION Larry McVoy 2 participants 2 messages Aug 5, 2003

lore
Share & tools
lore
#0 lore raw

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
Signature · 2 lines
---
Larry McVoy              lm at bitmover.com          http://www.bitmover.com/lm
#1 lore raw
Quoted 4 lines · Larry McVoy

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?

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