Less Than Mere-Moments Installation of Subversion

Inspired by Joe’s Mere-Moments Guide to installing a Subversion server on Windows, I have created an installer that will walk you through the steps that are required for installing Subversion on Windows. You can find my project here: http://svn1clicksetup.tigris.org. It still has room for some refinements, but it should make the installation process even easier. If you haven’t tried SVN yet, I would highly recommend doing so.

20 Responses to “Less Than Mere-Moments Installation of Subversion”

  1. Melody Says:

    I’m not sure where to get help but I am desperate (really). I just started this job and they need me to upgrade SVN from version 0.34 to 1.30. I read everything I could find. Finally with shaking hands I made a dump file (svnadmin dump /location/of/repos >dumpfile), then installed svn1.30 and BDB 4.3.29, created an empty repository (svnadmin creat /newrep/dir) and then loaded the dump file to that (svnadmin load /dir/to/new/repos). I edited to current apache.conf file to point to the new repos, restarted apache, went to the targetr folder on my computer, right cliked and continue to get - Error: PROPFIND request failed on ‘/svn/repos’
    Error: Expected version ‘3′ of repository; found version ‘1′
    I have tried for a week now (programmers are starting to do tribal war dances now). What am I doing wrong? Help please or direct me to where I can get help with this issue.

    Thank you so much…I’ll be waiting and dodging programmers spears,
    Melody

  2. Keith Says:

    Good work! A suggestion for future versions: Options to include the Apache (or IIS?) server links, perhaps with wwwsvn etc so new svn Windows users can experience the power of accessing subversion through the web interface…

  3. Swing as You are Dreaming » Blog Archive » Learning and Using Subversion Says:

    […] http://blog.briankohrs.com/2005/09/06/less-than-mere-moments-installation-of-subversion/ […]

  4. Chris Says:

    Great tool! Makes the install a quick 5 minute job! You da man! :)

  5. Menasoft Blog » Version Control Systems - Subversion, CVS, SourceSafe Says:

    […] Blogs: http://blog.briankohrs.com/2005/09/06/less-than-mere-moments-installation-of-subversion/ http://excastle.com/blog/archive/2005/09/07/2113.aspx - Jo Whites blog on this subject […]

  6. Yuvi Says:

    Man, I’ve been scared of SVN for a long time: It’s a mysterious tool used by Linux Hackers. But, after this installer, I’m regularly using SVN for all my development work. Thanks a lot dude… As Chris said, “You’re da man!”:D

  7. charlie arehart Says:

    Bummer. There’s a bug that’s left me unable to use the installer. I was running the tool and when on the screen (I think the 3rd) to choose an editor to edit the config files, I made one choice and proceeded, then thought I should change it.

    When I hit the back button, though, it skipped all the way back to the beginning. That wouldn’t be tragic, but when I hit “next” to start over, it instead skipped ahead, not only past what I had done, but also past the that had followed the editor screen (where I first hit the back button). I hadn’t paid attention to what was on it, so now that I can’t see it, I’m reluctant to proceed with the installer.

    I’ve cancelled it and started over, but again it seems to always want to continue where it left off, which I’ve frankly never seen any windows installer do. (And no, all the “skip next step” check boxes are unchecked and I never checked them at any point in this.) Was really hoping to enjoy this one-click approach. Thanks for offering it.

    Does anyone know if there is some config file that it’s looking at to pick up where it left off, so I can delete it? I will, of course, reboot the machine eventually in case it’s just in memory somewhere.

    But I thought I should share this here in case anyone else trips over it.

  8. itsnotvalid Says:

    I also get an error just after installing subversion, stating that the pare script was failed.

    With that, the installer stays there and would not proceed to the next step unless I check the skip box.

  9. charly Says:

    I had the same problem (~ couldn’t parse svn version).
    It seems the installer tries to parse the output from some svn command which is translated to local language.

    changing system language to english fixed it.

  10. john Says:

    works great for me!!! thank you so much for writing this, you really saved me a few hours (possibly days) of getting svn setup on windows.

    i had everything on a network share, and accessing it through file:///j:/svnroot/ did actually corrupt it. i lost everything

    so now that won’t happen anymore since i can do svn://computer-name/ !

    thanks!

  11. Brutuscat Says:

    Thank you very much!!! saved me some headeaches.

  12. Bashmohandes : SVN 1-Click Setup Says:

    […] SVN 1-Click Setup If you are tired of configuring SVN, Brian Kohrs developed a tool to make your life easier, download it from here Published Tuesday, March 20, 2007 6:26 PM by Mohammed Hossam Filed Under: News, Tips & Tricks […]

  13. Chris Says:

    Hi man, great tutorial. one question: You create a default project: project1, with subfolders: branches/tag/trunk. Were can I specify my own default project, so whenever user create a new project, it will include a set of subfolders

  14. Johnny Says:

    It wont let me create a repository when i run from command prompt and type: svnadmin create “c:\Documents and Settings\Subversion Repository” and this is what i get:

    ’svnadmin’ is not recognized as an internal or external commanc, operable prgram or batch files.

  15. Dan Says:

    Wow! I just got SVN 1.4.3 working through the Windows NT Service on WinXP Pro SP2. I had it working through the svnserve daemon quite easily but had some unnecessary headaches with the service. After reading the installed guide thoroughly on the Windows Service install, and the document online, here’s what I found (I have yet to try to connect remotely - all of this has been locally).

    Follow the document precisely!: http://svn.collab.net/repos/svn/trunk/notes/windows-service.txt

    Two problems I was having:

    1. I must have had a missing space after an ‘=’ or a missing ‘”‘ in my arguments to the sc command. I was getting Windows Error 1053 indicating that the svnserve was not responding in a timely manner. Event viewer gave it in detail. After doing a copy paste from the Subversion Guide (installed on the Subversion system) for the appropriate sc command, I got the service to startup and remain started after refreshes. Second problem…

    2. Attempting to connect using: ’svn ls svn://localhost/‘ gave the common problem described above, “Can’t connect to host ‘localhost’: No connection could be made because the target machine actively refused it.” At first, I remembered having to tell Windows Firewall to make an exception for my svnserve daemon (when I wasn’t using the service to verify my svn configuration), so I thought that I had to open the port (since it was service control manager starting the process now). But that didn’t solve it. What solved it was changing the arguments to the command, ’svnserve’ in the sc command from -r to –root . This allowed the connection to proceed without rejection. (btw, I’m keeping the Firewall port open for remote clients).

    Hope this helps somebody.

    ~dan

  16. Dan Says:

    Bummer. Wish I would have seen this blog and the Svn1Click project before! Oh well.

    ~dan

  17. Rich Mercer Says:

    Wow, I can’t believe how easy this was! The installer ran through the steps and using all the default values, I ended up with a working Subversion installation in about 2 minutes. Thanks!!

  18. Installing Subversion Server on Windows - RichMercer.com Says:

    […] If like me you want to install your own Subversion server on Windows, you might want to look at Brian Kohr’s installer. It does everything you need to get Subversion working with no hassle. I was very impressed and had subversion running on my server in about 2 minutes. Last time I tried to install Subversion around a year ago, I think I gave up after 20-odd minutes with all the hoops I had to jump through and the small issues I was having. I wish I’d found this back then. Filed under: Subversion, Development, Source control […]

  19. Akshat Sharma » I got SubVersion!!! Says:

    […] look at the oneclick svn setup by Brian at http://svn1clicksetup.tigris.org/. Or, head over to his blog to know more about this little bundle of […]

  20. Derek Says:

    Will this be updated soon for 1.4?

Leave a Reply