Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

First off I would like to link to a question that pertains to how I go to this question, so that those who may be able to help might follow my work flow. See my last question here:

Installed SVN -- Possible to create a repository from a directory that already exists

I will share with you what I have done, and then share my question.

I have installed SVN and created a directory for my repo located at /svn/dts_staging. Then, per my question above, I have checked out and imported my /vaw/www... I can now remotely connect to my Linux server (where SVN is installed) from any SVN client. I can check out, update and commit. So .. All appears well. Except...

When I go to the physical directory /var/www... and look at the file I have checked out, changed and committed ... The changes do not appear there. However if I re-open said file with the client, the changes are there, and the notes for file version are there.

With that said, why are my changes not being saved to the physical files once committed? Am I missing a step in the file checkout/checkin process? Or did I make a mistake when creating the Working Copy?

Any help appreciated!

share|improve this question

1 Answer 1

The imported directories are not in sync with svn ( this it the case with mercurial or git). You will need to remove it and checkout as on any client. Let say you have /var/www imported into SVN. Now you have to remove or rename the original directory and checkout a new one:

 # mv /var/www /var/www.original
 # cd /var
 # svn co /svn/path/to/repo www

Now on you can modify+commit the files on other clients and update to the latest version here.

NOTICE - www here is an example only!

share|improve this answer
    
remove "it" .. Forgive me, but can you elaborate? Remember that I am new to the concept of version control. –  Zak Jun 4 '13 at 22:55
    
ok ,updated the answer to be more complete. –  tigran Jun 5 '13 at 11:40

Your Answer

 
discard

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.