> Could I create a new repository in a different server, which starts with a 
> revision different than 0? I wanted to have a new repository with the 
> revision number same as the one I lost.


I'd say "don't do that" because that will lead to a whole lot of problems: 
most svn clients are not prepared for that, and the automatic tests of the 
svn library don't test for that, so if commands work with such a repository 
it's pure luck.
https://stackoverflow.com/questions/7030041/can-i-create-a-subversion-repository-starting-at-another-number

Another thing:
You can also create a backups on client machines if you like. First create 
an empty repository, then enable the pre-revprop-change hook.

$ svnadmin create backuprepo
$ echo exit 0; > backuprepo/hooks/pre-revprop-change.bat

now you can use svnsync to synchronize your repo on the server with the 
local one:

$ svnsync init https://server/repo file:///d:/backuprepo

now, all you have to do is run
$ svnsync sync file:///d:/backuprepo

every day and you'll have a mirror of the repository on the server.

I do that with all my opensource repos as well - sourceforge lost once my 
repo and their backup was corrupt as well, so now I keep a mirror of my 
repos just to be save.

Stefan

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/dd2103b1-f671-4403-9a82-a03c894d0ca0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • SVN serve... Rafael Rodriguez via TortoiseSVN
    • Re: ... Stefan via TortoiseSVN
      • ... tortoisesvn+APn2wQdFCspX1pk7B1Sh6u9-7_goQobRC1ESgbIm_AZCJ6jmmJYa
        • ... Stefan via TortoiseSVN
          • ... tortoisesvn+APn2wQdFCspX1pk7B1Sh6u9-7_goQobRC1ESgbIm_AZCJ6jmmJYa
            • ... Stefan via TortoiseSVN
              • ... tortoisesvn+APn2wQdFCspX1pk7B1Sh6u9-7_goQobRC1ESgbIm_AZCJ6jmmJYa
                • ... Stefan via TortoiseSVN
                • ... Stefan via TortoiseSVN

Reply via email to