Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To manage my source code I have created SVN subversion server by using command

svnadmin create /myrepos
svn import /root/MySourceCode file:///myrepos

I have created user and provided rw access to him. User can easily commit their changes in repository. How can I update my sourcecode (/root/MySourceCode) used in command svn import ? Is there any svn command to update my MySourceCode with commited code?

share|improve this question

Having imported the source into a repo, you generally need to check out the code again from the repo version. For info try svn help checkout

Having done so, you will then be able to use svn update to take changes.

share|improve this answer
That means to update my server code I have to act like a client? and there is no way to update my /root/MySourceCode – alam Dec 30 '10 at 12:02
No - think of SVN as versioned, audited storage. Regardless of the code you put in it, the SVN repo is the master store. You checkout and update from the repo, and commit your changes back into it. Have you used any SCM system before? – Danny Staple Dec 30 '10 at 12:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.