[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Svn copy does not work if destination file already exist

From: Steve Bakke <steven.bakke_at_amd.com>
Date: Tue, 27 Jan 2009 08:58:20 -0500

On Jan 26, 2009, at 11:39 PM, Vishal Gangwal wrote:

> Hi
> Let me further explain our requirement. We are trying to achieve
> file sharing concept in subversion.We have same file in multiple
> locations in repository.
> So when file at any of the location changes , we want to update it
> at all the locations so that all are identical files ( that is what
> shared files is ).
> So we are using post-commit hook script to automatically update all
> the locations.
> We have media (binary) files which are shared.
> So when one of the file is modified we use svn del and svn copy to
> achieve this , because if the files already exist then svn does not
> allow to copy it .
> But repository history shows that the files was deleted and also
> there are 2 operations required to achieve this - svn del and svn
> copy.
> We want to know is there any other way than svn del and svn copy to
> achieve this ?
> Thanks & Regards
> Vishal Gangwal

I guess I don't understand why you are keeping multiple copies within
the repository in synch. Are you attempting to bring a series of
branches up-to-date with a trunk version? Perhaps if you more fully
explain your usage model it would make more sense.



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-27 14:59:33 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.