[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Files missing after checkout

From: Jeremy Cohoe <Jeremy_at_IlluminatedTechnologies.com>
Date: 2005-01-09 06:10:52 CET

Hi
 
I've recently setup subversion in order to track changes made to my
Knoppix customization. I've had some problems import and checking out
all the files though. I'm not sure if the problem exists with the import
or with the checkout.
 
This is what I did for the setup/import:
svnadmin create /subversion/
svn import /KNOPPIX/SOURCE file:///subversion -m "Initial import"
 
I then moved /KNOPPIX/SOURCE to /KNOPPIX/SOURCE-imported so I could
compare the import/checkout later.
 
Then I did the checkout:
cd /KNOPPIX/
svn checkout file:///subversion/ SOURCE
 
The problem is that not all files were either imported or checked-out.
I did a find on both SOURCE and SOURCE-imported are there are
discrepancies. The find on SOURCE has 90492 lines, and the find from
SOURCE-imported has 92056 lines. A difference of 1564 files.
 
To remove the .svn files so I can compressed the linux filesystem, I run
this line:
cd /KNOPPIX/SOURCE; for found in `find . -name ".svn*"`;do rm -rf
$found;done
After that runs, another script is called to compress the SOURCE and
produce an iso. Once the iso is done successfully the SOURCE directory
is deleted (to prevent changes being made to the non-version controlled
source). When it's time to make changes the SOURCE will be checked out.
The reason the .snv directories are removed is because they double the
size of the code, doubling the size of the iso too.
 
I noticed that a bunch of files in /lib/modules were not there after the
checkout. In SOURCE-imported there are 1267 files in /lib/modules and in
the newly checked-out SOURCE there are 193 files. It seems that all the
".o" files are not there.
 
I hope all of this isn't too confusing!
If someone could let me know what I'm doing wrong, or not doing right,
that would be great!
 
Aside from this problem, I am VERY impressed with subversion.
 
Thank you all for your time,
 
  - Jeremy Cohoe
 
Received on Sun Jan 9 06:12:44 2005

This is an archived mail posted to the Subversion Users mailing list.