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

Re: SVN Migration

From: Fabio Rampazzo Mathias <fmathias_at_lbhc.hcancer.org.br>
Date: Tue, 22 Sep 2009 13:12:53 -0300

Ryan,

After some tricks, i did :

svnadmin dump /var/www/vhosts/svn.lbhc.hcancer.org.br/data/ >
svndump_today
cat svndump_today | ./svndumpfilter3 -u /var/www/vhosts/
svn.lbhc.hcancer.org.br/data/ <project> > step1
cat step1 | ./svndumpfilter2 --drop-empty-revs --renumber-revs /var/
www/vhosts/svn.lbhc.hcancer.org.br/data/ <project> > step2
svndumptool.py merge -i step2 -r "<project>" "" -o step3
(edit step3 and remove the lines manually

Node-path:
Node-kind: dir
Node-action: add
Prop-content-length: 10
Content-length: 10

PROPS-END
)

After all of this to work, I've discovered that some files are missing.

Almost 3 weeks to migrate a couple of repositories without any
success. And SVN can't handle LDAP. And WebDAV's SVN plugin for apache
has a lots of bugs.

I'm quitting SUBVERSION. It's not a usable tool.

Thanks for the attention,
Fábio Rampazzo Mathias

---
Hospital A.C. Camargo
Laboratório de Biotecnologia do Hospital do Câncer - LBHC
tel.: +55 (11) 2189 5000 ramal 1134
cel.: +55 (11) 8244-7894
On 31/08/2009, at 11:10, Fabio Rampazzo Mathias wrote:
> Ryan,
>
> Thanks for the help. I'm going to checkout svndumptool. I didn't  
> know it.
>
> Att,
> Fábio Rampazzo Mathias
>
> ---
> Hospital A.C. Camargo
> Laboratório de Biotecnologia do Hospital do Câncer - LBHC
> tel.: +55 (11) 2189 5000 ramal 1134
> cel.: +55 (11) 8244-7894
>
> On 31/08/2009, at 10:31, Ryan Schmidt wrote:
>
>>
>> On Aug 31, 2009, at 08:22, Fabio Rampazzo Mathias wrote:
>>
>>> I'm going to migrate my SVN repositories but I have an issue.
>>>
>>> At this moment, we use a single repository with projects as folders,
>>> and we want to use a single repository to each project.
>>> But, when I load the dump file in the single repo, I get a duplicate
>>> project name.
>>> I mean, at old repository /<project> is a directory and on the new
>>> one, i don't want this folder. When I load it on the single project
>>> repo, i get /<project>/<project>. The first is the repo and the  
>>> second
>>> is a folder.
>>>
>>> How can I strip the first /<project> folder at the dump process ???
>>>
>>> I've tried to use svndumpfilter, svndumpfilter2, etc without any  
>>> success
>>
>> I'm sure svndumptool can do this. If you have difficulties, show us  
>> exactly what commands you tried and what happened.
>>
>> You could also just "svn mv" things to their right places after the  
>> migration.
>>
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2398551
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-22 18:18:01 CEST

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.