开发者

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 s开发者_运维技巧ystem. 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


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.


Use svnsync: http://svnbook.red-bean.com/en/1.4/svn.ref.svnsync.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜