2

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
Afshar Mohebi
  • 10,479
  • 17
  • 82
  • 126
  • duplicate of [Can you backup/create a dump of a subversion repository without direct access to the server?](https://stackoverflow.com/questions/1984237/can-you-backup-create-a-dump-of-a-subversion-repository-without-direct-access-to) – milahu Dec 02 '21 at 17:36

2 Answers2

3

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.

Stefan
  • 43,293
  • 10
  • 75
  • 117
  • may tnks to your solution. But by following your instruction I got error: svnsync: Storage of non-regular property 'svn:wc:ra_dav:version-url' is disallow ed through the repository interface, and could indicate a bug in your client – Afshar Mohebi Jun 19 '10 at 05:07
  • Make sure you use svnsync with the same version as you used to create the repository. Or use the latest version. the error indicates a bug in svnsync. – Stefan Jun 19 '10 at 07:18
  • 1
    My source repository is codeplex.com, that is originally a TFS source control management it just have a SVN bridge, may it be the root cause of problem? – Afshar Mohebi Jun 19 '10 at 14:01
  • 1
    That might be it. You could search whether this issue has been reported already or if not, file a new issue about this: http://svnbridge.codeplex.com/workitem/list/basic – Stefan Jun 19 '10 at 14:46
  • on linux, the file is `hooks/pre-revprop-change` (no extension) and it must be executable – milahu Dec 02 '21 at 14:15
0

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

Bart van Heukelom
  • 43,244
  • 59
  • 186
  • 301