This error propably is the result of specifying an invalid URL for the source repository. Svnsync: Destination repository has not been initialized # Windows # The quotes around %cd% are required for directory names containing spaces > svnsync init file: /// "%cd%" http: ///source /repository $ svnsync init file: //` pwd ` http: ///source /repository On Windows (name it pre-revprop-change.cmd): off exit 0 On Linux/Mac (name it pre-revprop-change and make it executable via chmod +x pre-revprop-change): #!/bin/sh exit 0 Then you need to create a file in the directory hooks (which was created by svnadmin create) with the following contents. Execute the following commands: # Linux/Mac First, we need to create an empty Subversion repository. To achieve this, we’ll use one of Subversion’s command line programms: svnsync. So it’s recommended to first create a local copy of the Subversion repository. Creating a local copy ∞Īlthough it’s possible to convert a Subversion repository directly over the internet/network, the whole process may not succeed on the first attempt. Note: The Subversion version doesn’t really matter here. Mercurial: TortoiseHg comes with a command line client otherwise go to and download the client there. Linux users can use their packaging system. Subversion: Windows users can download SlikSVN.Unfortunately, the functionality required for this tutorial hasn’t been implemented in the popular graphical clients yet (such as TortoiseSVN), so we’ll need to stick with the command line. And that’s what this post is about.įor this tutorial to work, you need a Subversion client and a Mercurial client. Coming from Subversion, it’s sometimes necessary to convert an existing Subversion repository to Mercurial. Mercurial (like GIT or Bazaar) is a distributed version control system (DVCS). I’ve been working for quite some time now with Subversion but recently fell in love with Mercurial.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |