Hi
Svn copy does not work if destination file already exist . For example
if we have file trunk/a.txt and we use " svn copy trunk/a.txt tags/a.txt
" .
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
trunk/a.txt tags/a.txt " , so that a.txt in tags directory is updated
copy of a.txt in trunk directory.
But svn gives following error :
svn: Failure opening '/tags/a.txt/a.txt'
svn: '/trunk/a.txt' is not a directory in filesystem '/repos/test/db'
So we are using " svn del tags/a.txt " and then " svn copy trunk/a.txt
tags/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 .
And also we don't want repository history showing file deleted .
Thanks & Regards
Vishal Gangwal
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1044747
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com
----------------------------------------
The information contained in this electronic communications is
intended solely for the addressee. Access to this email by anyone
else is unauthorized by the sender. If you are not the intended
recipient, you are hereby notified that any disclosure, copying, or
distribution of the contents of this email transmission or the taking
or omission of any action in reliance thereon or pursuant thereto is
prohibited, and may be unlawful. If you received this email in error,
please notify the sender immediately of your receipt of this message
by email and destroy this communication, any attachments, and all
copies thereof. Your cooperation is greatly appreciated.
----------------------------------------
Received on 2009-01-23 17:03:46 CET