On Jun 14, 2007, at 03:04, B. Smith-Mannschott wrote:
> On 6/14/07, Rahul wrote:
>
>> I want to migrate an existing repository which is there on
>> svn://protocol to http:// with all its revision intact. dont want
>> to change
>> anything expect the portocol and the server. I have a setu for
>> http://
>> already which is running for other repositories which are created
>> from
>> scratch but this one needs to be migrated
>> Can some one help me or even let me know some relevant doc so that
>> i can
>> proceed with it
>
> Have a look in "Version Control with Subversion" [1] at the svnadmin
> commands dump [2] and load [3].
>
> If you are using svn:externals to refer *to* the repository you are
> migrating, you'll want to rewrite those as well. 'revisionist' [4], a
> small python library I wrote, can help there.
>
> [1] http://svnbook.red-bean.com/
> [2] http://svnbook.red-bean.com/nightly/en/
> svn.ref.svnadmin.c.dump.html
> [3] http://svnbook.red-bean.com/nightly/en/
> svn.ref.svnadmin.c.load.html
> [4] <http://cheeseshop.python.org/pypi?%
> 3Aaction=search&term=revisionist&submit=search>
In fact, rewriting svn:externals with such a script is the only
reason I can think of why you might want to dump and re-load. If you
don't use any svn:externals that point to this repository, then all
you need to do is move the repository on disk to the place where
Apache is expecting them, and change the ownership of the files to
the user under which Apache runs. If you have any existing working
copies of that repository that you would like to re-point to the http
URL, just use "svn switch --relocate svn://old/url/to/repo http://new/
url/to/repo"
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 14 10:27:22 2007