How can I access a subversion repository using a local path in Windows?

41,978

Solution 1

Common mistake. You have to use the file:// pseudo-protocol like this:

file:///C:/repositories/repository

SVN repository paths have to be URIs.

Solution 2

Try:

svn checkout "file:///C|/repositories/repository"

and see if you can see the files inside the repo.

Solution 3

You should be able to use file:///c:\repositories\repository to access a repository via path.

Share:
41,978
Chris
Author by

Chris

I do stuff on the internet.. but I don't really like it.

Updated on November 28, 2020

Comments

  • Chris
    Chris over 3 years

    I have CollabNet Subversion server and client installed, running off of Apache that came with it. From the command line on the server, I can easily access the repository using a path like

    http://server:port/svn/repository
    

    but I can't access it using its actual location on the disk, like

    c:\repositories\repository
    

    I just get "[path] is not a working copy." What am I misunderstanding?

  • Renato Back
    Renato Back over 7 years
    Keep in mind the three slashes in file:///, because putting only two didn't work for me.
  • Fil
    Fil about 4 years
    Remember to specify also 'trunk' or the right branch at the end of the full path of the repository, otherwise you'll get too many folders you don't expect :P