RE: Svn copy does not work if destination file already exist
From: Vishal Gangwal <vishalgangwal_at_waterford.org>
Date: Tue, 27 Jan 2009 21:40:52 -0700
Thanks for the prompt response !!
From: Bob Archer [mailto:Bob.Archer_at_amsi.com]
Can you use svn:externals? Granted you can only specify a directory.
From: Vishal Gangwal [mailto:vishalgangwal_at_waterford.org]
Let me further explain our requirement. We are trying to achieve file
So when file at any of the location changes , we want to update it at
So we are using post-commit hook script to automatically update all the
We have media (binary) files which are shared.
So when one of the file is modified we use svn del and svn copy to
But repository history shows that the files was deleted and also there
We want to know is there any other way than svn del and svn copy to
Thanks & Regards
>Svn copy does not work if destination file already exist . For example
>It will copy file trunk/a.txt into tags directory as a.txt .
>Now we modify file trunk/a.txt and again we want to use " svn copy
>But svn gives following error :
>svn: Failure opening '/tags/a.txt/a.txt'
>So we are using " svn del tags/a.txt " and then " svn copy trunk/a.txt
>Is there any other way to achieve this ?
>So that we don't have to delete the file and save one revision number .
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
This is an archived mail posted to the Subversion Users mailing list.