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.