On 2/17/06, Jojakim Stahl <joja.lists@jojakim.de> wrote:
> I'm wondering whether svn supports something like
> svn replace
> svn copy --replace
> svn mode --replace
>
> I searched the issue tracker and found some items reffering to replaced
> files, i.e. <http://subversion.tigris.org/issues/show_bug.cgi?id=571>. But I
> don't know a way to replace somethind. I tried this by svn rm followed with
> a svn cp, but without success.
>
> You may want to look at my question on the users list, where I also posted a
> script to show that svn rm/cp sequence does not work.
>
> <http://svn.haxx.se/users/archive-2006-02/0845.shtml>
Working copy replacements (using svn rm + svn rm) implemented in trunk
and will be available in Subverison 1.4.x. In older versions
replacements can be achivied only by creating new files:
svn rm foo.txt
echo "New foo" >foo.txt
svn add foo.txt
svn ci -m "Replace foo.txt"
--
Ivan Zhakov
Received on Fri Feb 17 15:06:40 2006