SVN: How to switch from remote repository to local?
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:UsersBobDocumentssvnrepository' 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
svn repository
add a comment |
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:UsersBobDocumentssvnrepository' 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
svn repository
BTW, switch--relocate
deprecated a lot of versions ago. You must to usesvn relocate
in up-to-date SVN-client. And running svnserve local will be better solution technicaly
– Lazy Badger
Jan 12 at 12:42
add a comment |
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:UsersBobDocumentssvnrepository' 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
svn repository
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:UsersBobDocumentssvnrepository' 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
svn repository
svn repository
asked Jan 10 at 22:31
BobBob
1
1
BTW, switch--relocate
deprecated a lot of versions ago. You must to usesvn relocate
in up-to-date SVN-client. And running svnserve local will be better solution technicaly
– Lazy Badger
Jan 12 at 12:42
add a comment |
BTW, switch--relocate
deprecated a lot of versions ago. You must to usesvn relocate
in up-to-date SVN-client. And running svnserve local will be better solution technicaly
– Lazy Badger
Jan 12 at 12:42
BTW, switch
--relocate
deprecated a lot of versions ago. You must to use svn relocate
in up-to-date SVN-client. And running svnserve local will be better solution technicaly– Lazy Badger
Jan 12 at 12:42
BTW, switch
--relocate
deprecated a lot of versions ago. You must to use svn relocate
in up-to-date SVN-client. And running svnserve local will be better solution technicaly– Lazy Badger
Jan 12 at 12:42
add a comment |
1 Answer
1
active
oldest
votes
To specify a file path, use file:/// e.g. file:///C:/Users/Bob/Documents/svnrepository
This seems more like a comment than an answer. Perhaps explaining how this answers the specific question posed by OP will make it more clear how this answers the question.
– music2myear
Jan 12 at 19:13
Instead of using 'C:/Users/Bob/Documents/svnrepository' in the switch command, use 'file:///C:/Users/Bob/Documents/svnrepository'.
– Bob
Jan 12 at 23:15
Bob, please read the help section to learn how Superuser works. This information should be added to your answer rather than be placed in a comment. It should not be necessary to read the comments to learn the answr
– music2myear
Jan 13 at 0:24
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1392952%2fsvn-how-to-switch-from-remote-repository-to-local%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
To specify a file path, use file:/// e.g. file:///C:/Users/Bob/Documents/svnrepository
This seems more like a comment than an answer. Perhaps explaining how this answers the specific question posed by OP will make it more clear how this answers the question.
– music2myear
Jan 12 at 19:13
Instead of using 'C:/Users/Bob/Documents/svnrepository' in the switch command, use 'file:///C:/Users/Bob/Documents/svnrepository'.
– Bob
Jan 12 at 23:15
Bob, please read the help section to learn how Superuser works. This information should be added to your answer rather than be placed in a comment. It should not be necessary to read the comments to learn the answr
– music2myear
Jan 13 at 0:24
add a comment |
To specify a file path, use file:/// e.g. file:///C:/Users/Bob/Documents/svnrepository
This seems more like a comment than an answer. Perhaps explaining how this answers the specific question posed by OP will make it more clear how this answers the question.
– music2myear
Jan 12 at 19:13
Instead of using 'C:/Users/Bob/Documents/svnrepository' in the switch command, use 'file:///C:/Users/Bob/Documents/svnrepository'.
– Bob
Jan 12 at 23:15
Bob, please read the help section to learn how Superuser works. This information should be added to your answer rather than be placed in a comment. It should not be necessary to read the comments to learn the answr
– music2myear
Jan 13 at 0:24
add a comment |
To specify a file path, use file:/// e.g. file:///C:/Users/Bob/Documents/svnrepository
To specify a file path, use file:/// e.g. file:///C:/Users/Bob/Documents/svnrepository
answered Jan 12 at 16:05
BobBob
1
1
This seems more like a comment than an answer. Perhaps explaining how this answers the specific question posed by OP will make it more clear how this answers the question.
– music2myear
Jan 12 at 19:13
Instead of using 'C:/Users/Bob/Documents/svnrepository' in the switch command, use 'file:///C:/Users/Bob/Documents/svnrepository'.
– Bob
Jan 12 at 23:15
Bob, please read the help section to learn how Superuser works. This information should be added to your answer rather than be placed in a comment. It should not be necessary to read the comments to learn the answr
– music2myear
Jan 13 at 0:24
add a comment |
This seems more like a comment than an answer. Perhaps explaining how this answers the specific question posed by OP will make it more clear how this answers the question.
– music2myear
Jan 12 at 19:13
Instead of using 'C:/Users/Bob/Documents/svnrepository' in the switch command, use 'file:///C:/Users/Bob/Documents/svnrepository'.
– Bob
Jan 12 at 23:15
Bob, please read the help section to learn how Superuser works. This information should be added to your answer rather than be placed in a comment. It should not be necessary to read the comments to learn the answr
– music2myear
Jan 13 at 0:24
This seems more like a comment than an answer. Perhaps explaining how this answers the specific question posed by OP will make it more clear how this answers the question.
– music2myear
Jan 12 at 19:13
This seems more like a comment than an answer. Perhaps explaining how this answers the specific question posed by OP will make it more clear how this answers the question.
– music2myear
Jan 12 at 19:13
Instead of using 'C:/Users/Bob/Documents/svnrepository' in the switch command, use 'file:///C:/Users/Bob/Documents/svnrepository'.
– Bob
Jan 12 at 23:15
Instead of using 'C:/Users/Bob/Documents/svnrepository' in the switch command, use 'file:///C:/Users/Bob/Documents/svnrepository'.
– Bob
Jan 12 at 23:15
Bob, please read the help section to learn how Superuser works. This information should be added to your answer rather than be placed in a comment. It should not be necessary to read the comments to learn the answr
– music2myear
Jan 13 at 0:24
Bob, please read the help section to learn how Superuser works. This information should be added to your answer rather than be placed in a comment. It should not be necessary to read the comments to learn the answr
– music2myear
Jan 13 at 0:24
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1392952%2fsvn-how-to-switch-from-remote-repository-to-local%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
BTW, switch
--relocate
deprecated a lot of versions ago. You must to usesvn relocate
in up-to-date SVN-client. And running svnserve local will be better solution technicaly– Lazy Badger
Jan 12 at 12:42