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

Re: Subversion Migration Issue

From: Ryan Schmidt <subversion-2010a_at_ryandesign.com>
Date: Fri, 22 Jan 2010 02:24:31 -0600

On Jan 22, 2010, at 02:17, Sirisha Meda (WT01 - BANKING & FINANCIAL SERVICES) wrote:

> I sucessfully migrated one clearcase directory to SVN repo with the help of
> load_svn_dirs.pl script.
>
> To the same SVN repo, when I tried to migrate second directory then
> load_svn_dirs.pl script deleted first directory elements in trunk and migrated
> second directory elements.
> In HEAD, I can see only second directory elements but in old revisions I can
> see first directory elements.
>
> I used svn copy command to copy the first directory elements to latest
> revision. Instead of this workaround, is there any possible way to migrate
> clearcase directories one after the other to the same SVN repo.
>
> Commands I used to migrate first and second directory
> /usr/bin/svn/svn_load_dirs.pl https://svnrepo/ trunk -
> t 'tags/REL1.0' /view/my_view/vobs/vbtag/dir1
>
> /usr/bin/svn/svn_load_dirs.pl https://svnrepo/ trunk -
> t 'tags/REL1.0' /view/my_view/vobs/vbtag/dir2

The purpose of svn_load_dirs.pl is to load multiple successive versions of a single project into a repository. For example, if you've kept a makeshift version control system by hand, by duplicating your source directory before every major change, and now want to import that history properly into a repository.

If instead you just want to import a number of different projects into a new repository, without history, you just use "svn import" and don't need svn_load_dirs.pl.
Received on 2010-01-22 09:25:09 CET

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.