Afshar
Afshar

Reputation: 11483

How to backup a remote SVN repo while you have not had admin rights?

I mean you have not access to svnadmin, neither you have access to its files system. I'm going to backup source of my project in codeplex.com.

Many Thanks

UPDATE:

I used:

svnsync initialize file:///d:/fardis_repo https://fardis.svn.codeplex.com/svn

but got error:

svnsync: Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook

Upvotes: 2

Views: 2235

Answers (2)

Stefan
Stefan

Reputation: 43575

To use svnsync, you first must create a pre-revprop-change hook script in your local repository.

If you've created your local repository on d:\fardis_repo, then go to d:\fardis_repo\hooks, and create a file named "pre-revprop-change.bat" in that folder. The "pre-revprop-change.bat" should contain one single line:

exit 0

That's all. After that, your command

svnsync initialize file:///d:/fardis_repo https://fardis.svn.codeplex.com/svn

will work just fine.

Upvotes: 3

Related Questions