Re: Svn copy does not work if destination file already exist
From: Stephen Butler <sbutler_at_elego.de>
Date: Fri, 23 Jan 2009 18:18:16 +0100
Quoting Vishal Gangwal <vishalgangwal_at_waterford.org>:
> Hi
If path B does not exist, 'svn copy A B' works as you expect.
If B is a directory, A will be copied to B/A.
If B is a file, you will get the error you found.
To solve your problem:
If A was copied to B, and in the meantime you have made changes
Merging is a powerful feature. See the SVN Book for more info.
Regards,
-- Stephen Butler | Software Developer elego Software Solutions GmbH Gustav-Meyer-Allee 25 | 13355 Berlin | Germany fon: +49 30 2345 8696 | mobile: +49 163 25 45 015 fax: +49 30 2345 8695 | http://www.elegosoft.com Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194 -- Stephen Butler | Software Developer elego Software Solutions GmbH Gustav-Meyer-Allee 25 | 13355 Berlin | Germany fon: +49 30 2345 8696 | mobile: +49 163 25 45 015 fax: +49 30 2345 8695 | http://www.elegosoft.com Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194Received on 2009-01-23 18:19:10 CET |
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.