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

Re: windows svn to linux svn migration

From: Jay Jesus Amorin <jay.amorin_at_gmail.com>
Date: Fri, 27 Jun 2008 19:46:27 +0800

Thanks, this could help.

On Fri, Jun 27, 2008 at 7:12 PM, Ryan Schmidt
<subversion-2008b_at_ryandesign.com> wrote:
> On Jun 27, 2008, at 05:54, Jay Jesus Amorin wrote:
>> On Fri, Jun 27, 2008 at 6:49 PM, Jay Jesus Amorin wrote:
>>> On Fri, Jun 27, 2008 at 6:44 PM, Ryan Schmidt wrote:
>>>> On Jun 27, 2008, at 05:32, Jay Jesus Amorin wrote:
>>>>> On Wed, Jun 25, 2008 at 5:12 PM, Ryan Schmidt wrote:
>>>>>> On Jun 25, 2008, at 03:16, Jay Jesus Amorin wrote:
>>>>>>> On Wed, Jun 25, 2008 at 2:49 PM, Ryan Schmidt wrote:
>>>>>>>> On Jun 25, 2008, at 01:28, Jay Jesus Amorin wrote:
>>>>>>>>> Can you please help me on how to migrate my windows svn repository
>>>>>>>>> to
>>>>>>>>> linux svn repository?
>>>>>>>> You just need to "svnadmin dump" the repository on the Windows
>>>>>>>> machine,
>>>>>>>> move
>>>>>>>> the dumpfile to the Linux machine, create a new empty repository,
>>>>>>>> and
>>>>>>>> "svnadmin load" the dumpfile into the new repository.
>>>>>>>> If you made changes in the repository's conf directory, copy this to
>>>>>>>> the
>>>>>>>> new
>>>>>>>> repository manually.
>>>>>>>> If you have hook scripts in the old repository, move these as well,
>>>>>>>> though
>>>>>>>> your hooks may need to be rewritten (for example, if your hooks were
>>>>>>>> written
>>>>>>>> using Windows batch scripting, that won't work on Linux).
>>>>>>>> If you had any locks on any items in the old repository, these will
>>>>>>>> not
>>>>>>>> be
>>>>>>>> carried over to the new repository.
>>>>>>> I have already done that by why i am also prompt for my
>>>>>>> username/password on my windows subversion server instead on my linux
>>>>>>> subversion alone.
>>>>>> I'm not sure I understand the question... You've dumped your Windows
>>>>>> repository and loaded it into a new repository on a Linux machine. And
>>>>>> what
>>>>>> happened next? Are you trying to check out a new working copy, and
>>>>>> it's
>>>>>> failing in some way? (If so, in what way?) Or are you trying to use an
>>>>>> existing working copy and it's still pointing at the old repository?
>>>>>> (If
>>>>>> so,
>>>>>> have you used "svn switch --relocate"?) Can you be more specific about
>>>>>> the
>>>>>> problem? Maybe start by telling us what you did, what happened, and
>>>>>> what
>>>>>> you
>>>>>> expected to happen instead.
>>>>> When is update my repository,
>>>> You mean when you update your working copy?
>>> When i update my local working copy from my linux svn server, im
>>> redirected to my windows svn server and prompted for a username and
>>> passoword.
>>>>> i'm still prompt for my credentials on
>>>>> the windows repository server instead of the linux repository server
>>>>> alone.
>>>>> I think it has to do with the svn:externals. How will i get rid of the
>>>>> svn:externals? Thanks please shed light.
>>>> Ah yes. That's very possible. Everywhere in your repository where you
>>>> have
>>>> an svn:externals definition, you will need to change it to point it to
>>>> the
>>>> new repository URL.
>>>> In fact, Subversion 1.5 includes a relative URL format for externals
>>>> (actually several relative URL formats) so that it's no longer necessary
>>>> to
>>>> include the URL to the repository in the externals definition. If you
>>>> are
>>>> using 1.5 or can upgrade to it, this may be what you really want to do.
>>>> Or, if you just want to get rid of the externals entirely, you can do
>>>> that
>>>> too. You will still need to manually figure out all the directories on
>>>> which
>>>> you set svn:externals, and then use svn propdel to delete that property.
>> I have done editing the svn dumpfile and change the url of the
>> svn:externals pointing to my linux svn server and load it to my empty
>> repository but still i experience svnadmin: Dumpstream data appears to
>> be malformed
> You should not edit the dumpfile manually. But there is a tool called
> svndumptool with which you may be able to do this surgery.
> http://svn.borg.ch/svndumptool/

Ang nagtanong ay tanga. Ang hindi nagtanong ay nanatiling tanga. -jayamorin
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-27 13:46:47 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.