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

Re: Building up baseline repository with old builds

From: Lars Duening <lars_at_bearnip.com>
Date: 2005-10-20 08:45:28 CEST

On Oct 19, 2005, at 6:45 PM, Jennifer Kesterson wrote:

>> Take a look at svn_load_dirs.pl.
>> http://svn.collab.net/repos/svn/trunk/contrib/client-side/
>> svn_load_dirs.README
>>
>
> I read through the README file and I understand most of it but I
> have a question:
>
> In Step 1 (of README) it says to untar the tar files into a
> directory. But if I untar all the tar files into the same
> directory, files will be overwritten by newer files of the same
> name in subsequent deliveries (tar files). Is this step assuming
> multiple versions of the same file don't exist in more than one tar
> file? What I'm left with is only one version of each file.

You have to make sure that you unpack each build into a separate
directory. For example, if you have two archives cookie-1.0.tar.gz
and cookie-1.1.tar.gz, and both unpack into a directory 'cookie/',
you will have to do something like this:

   tar xvfz cookie-1.0.tar.gz; mv cookie cookie-1.0
   tar xvfz cookie-1.1.tar.gz; mv cookie cookie-1.1

With this, you can now use the script on the directories in parallel.

Alternatively (I haven't tried this, but it might work), unpack and
import each build in sequence:

   tar xvfz cookie-1.0.tar.gz
   svn_load_dirs.pl -t tags/1.0 URL cookie
   rm -r cookie

   tar xvfz cookie-1.1.tar.gz
   svn_load_dirs.pl -t tags/1.1 URL cookie
   rm -r cookie

Cheers,
   Lars

-- 
Lars Duening; lars@bearnip.com
GPG Key: http://www.bearnip.com/lars/lars-duening.gpgkey
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 20 08:47:44 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.