Announcement

Collapse
No announcement yet.

How to switch from remote repository to local?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to switch from remote repository to local?

    Hi. I have an SVN repository on a remote server. My local working copy accesses it through the svn:// protocol. I want to move the repository to my local PC. I've copied the repository over, but when I try to switch (relocate) my working copy to use the local repository (accessing it just through the file system - no server running), svn complains that it's not a valid relocation.

    I.e. the Windows command 'svn switch --relocate svn://diskstation/svnrepository c:\Users\Bob\Documents\svnrepository' gives the error 'svn: E200004: 'svn://diskstation/svnrepository' to 'C:/Users/Bob/Documents/svnrepository' is not a valid relocation'

    How can I get my working copy to start using the local repository?

    Thank you,
    Bob

  • #2
    That 2nd one should start with "file:///c:/..." (it might need to be "file://c:/...").

    Comment


    • #3
      Thank you. That did it.

      Comment


      • #4
        Glad to help. Cheers.

        Comment

        Working...
        X