[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Updating the WC from an non svn directory

From: <Peter_at_locotel>
Date: Wed, 13 Apr 2011 12:28:39 +0300

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 11:29:29 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.