Hi All,
I want to know if that is possible and how should I do it.
My repository has the been imported with the contents (/var/www) of my
web server.
After a checkout my working copy also has been updated with the same
content.
The development in not done on my working copy. It is done by my
developers and
testing programs are uploaded to the web server preview directory so
they can be
tested in real scenarios and test users. If tests are successful, these
program are copied
to the public part of the web server and used by all other users.
I want periodically to update repository and keep revisions
from /var/www of the web server.
Can I copy using (on my svn server)
cp /var/www /home/svn/repository
or (on my svn server)
svn import /var/www http://myserver/svn/repository -m "date-101010"
--username=peanut
or (on my workstation)
cp /var/www /home/peanut/workingcopy
svn stat /home/peanut/workingcopy | grep "^?" | awk -F " " '{print
$2}' | xargs svn add
and the checkin to central repositoty?
I will be grad if you can guide me there. My main misunderstanding is
that I don't know what happens
when you copy a new version of programs (same name dirs etc) to working
copy.
What shall I do for subversion to understand that these files have been
changed somehow.
Thanks in advance,
Peter
Received on 2011-04-13 10:34:14 CEST