I am trying to learn how to use subversion. On my mac os x server I have:
~/public_html (lots of files)
I also have /var/svn/myproject (this is the svn directory where I used svnadmin ~/public_html /var/svn/myproject)
On my MacBook Pro, I used svn checkout svn checkout svn://myserver/mysvnpath
It checks out the files.
I edit a file and put something simple in.
I commit and it gives no error and says I am at revision 2.
My question:
When I committed the updated file, where did it go on the server? I never see it changed in ~/public_html.
Where is my updated file on the server? I looked in the revision files and I can see 2 in revs has my change (which is just the addition of one line, phpinfo();).
Thank you for any help.
EDIT: based on comments I can see I really don't understand.
EDIT: I tried svn update in ~/public_html but my index.php file is never changed. Interestingly, I have another machine that I checked out the code and it shows the new revision (2). I just can't get it back into ~/public_html. If I have to manually copy it back to ~/public_html then how can I be sure the most current version is being used. What good is the repository at this point? I know it tracks changes but I want it to push out the latest version if I update my web directory on the server.