Re: how to update a file's copy in another directory
From: <pmarek_at_users.sourceforge.net>
Date: 2003-10-17 08:41:59 CEST
> pmarek@users.sourceforge.net writes:
here comes the script:
#!/bin/bash
DATA=`pwd`/data.$$
# initialization
mkdir $DATA
svnadmin create --bdb-txn-nosync repos
svn mkdir dir1
for x in A B C D E F G
# Now I'd like to have a copy of dir1/file revision 4 in dir2
svn mkdir dir2
# so far, so good.
# The problem:
# how can I get dir2/file to be dir1/file revision 2?
# I tried:
# svn up -r 2 dir2/file
# svn cp -r 2 dir1/file dir2/file
# svn co -r2 file:///home/p107/test/svn/data.20548/repos/dir1/file dir2/
I believe that I can delete the file and cp another revision - but that's
Maybe something could be done with "svn merge"?
Although I believe that since svn has complete historical information about
Thanks for all hints.
Regards,
P.Marek
---------------------------------------------------------------------
|
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.