This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Details for svn test repository
Daniel Berlin wrote:
Because svn keeps an extra pristine copy for checkouts, I'll have to use
svn export for
automatic regression tests.
I don't understand why.
Is this because of the amount of space the working copy takes up?
Yes. Sometimes stuff breaks and you don't notice it right away (E.g.
because the
feature is not automatically tested, or because of noise from other test
failures).
So it is useful to keep several month worth of test builds around.
Doubling the
amount of space taken up by this is not acceptable.
Ideally, you could do an read-only checkout, and iin addition to the
actual files
you'd only store the repository location and revision numbers of the
checkedout
files, and maybe an md5 od SHA1 hash.
When you then later decide that you want to work on some of the source, you
could tell svn to create the pristine copies in for a set of files
and/or sub-trees
and change the files to read-write (taking umask into account where
available).