How to copy verified SVN folder between local machines?
I have two machines at home (laptop and server) and recently checked out the SVN folder in the laptop - now I would like to make a copy on my server machine so that I can update the contents of the source folders on any machine. [The specified folder is about 8 GB, so just checking for a new copy on my second computer is not an option]
source to share
It should be as easy as copying a directory from one location to another.
Departure:
svn co SVN-URL a
A a/episodes.py
A a/episodes1.py
A a/check-contractors.sh
A a/list-titles.sh
A a/get-titles.py
A a/get-titles.sh
U a
Checked out revision 514.
Copy from a
to b
(however you copy directories, I am using BSD command cp
with "archive" options):
~ zyoung$ cp -pPR a b
~ zyoung$ ll b
total 64
drwxr-xr-x 9 zyoung staff 306 May 15 08:37 .
drwxr-xr-x+ 64 zyoung staff 2176 May 15 08:37 ..
drwxr-xr-x 7 zyoung staff 238 May 15 08:37 .svn
-rwxr-xr-x 1 zyoung staff 112 May 15 08:37 check-contractors.sh
-rwxr-xr-x 1 zyoung staff 2053 May 15 08:37 episodes.py
-rwxr-xr-x 1 zyoung staff 7152 May 15 08:37 episodes1.py
-rwxr-xr-x 1 zyoung staff 4649 May 15 08:37 get-titles.py
-rwxr-xr-x 1 zyoung staff 1291 May 15 08:37 get-titles.sh
-rwxr-xr-x 1 zyoung staff 80 May 15 08:37 list-titles.sh
Edit b
:
~ zyoung$ cd b
b zyoung$ echo "Hello" > new.txt
b zyoung$ svn add new.txt
A new.txt
b zyoung$ svn ci new.txt -m "Initial revision"
Adding new.txt
Transmitting file data ...
Committed revision 515.
Update a
to reflect changes:
b zyoung$ cd ../a
a zyoung$ svn up
Updating '.':
A new.txt
Updated to revision 515.
source to share