如果没有管理员权限,如何备份远程SVN仓库?

时间:2010-06-17 11:35:26

标签: svn backup codeplex

我的意思是你无法访问svnadmin,也无法访问其文件系统。我将在codeplex.com上备份我的项目源。

非常感谢

更新

我用过:

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

但得到了错误:

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

2 个答案:

答案 0 :(得分:3)

要使用svnsync,首先必须在本地存储库中创建一个pre-revprop-change挂钩脚本。

如果您已在d:\ fardis_repo上创建了本地存储库,请转到 d:\ fardis_repo \ hooks,并在该文件夹中创建名为“pre-revprop-change.bat”的文件。 “pre-revprop-change.bat”应包含一行:

exit 0

这就是全部。之后,你的命令

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

工作得很好。

答案 1 :(得分:0)

相关问题