You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Emilis Panovas <ep...@epista.com> on 2008/01/24 14:37:12 UTC
Unable to commit files to svn, because they refer to same URL
Hi,
When I try to commit two different configuration files to the subversion
I get the following error.
Attempting to commit to a URL more than once
svn: Commit failed (details follow):
svn: Cannot commit both 'C:\Program
Files\Eclipse\workspaces\MatBuilder\install4j\resources\WebServer\tomcat
cfg\sp\bin\autoservice.bat' and 'C:\Program
Files\Eclipse\workspaces\MatBuilder\install4j\resources\WebServer\tomcat
cfg\matbuilder\bin\autoservice.bat' as they refer to the same URL
As you can see the two files come from different sources, so I don't
really understand why the problem occurs. If I try to commit one file,
then the other, the first one get overwritten by the second one. Is
there something I am doing wrong or is it a bug in subversion?
PS. Subversion is running on Linux.
Emilis Panovas
Epista Software A/S
Phone: +45 43 39 66 00
Re: Unable to commit files to svn, because they refer to same URL
Posted by Kris Deugau <kd...@vianet.ca>.
Emilis Panovas wrote:
> Attempting to commit to a URL more than once
>
> svn: Commit failed (details follow):
>
> svn: Cannot commit both 'C:\Program
> Files\Eclipse\workspaces\MatBuilder\install4j\resources\WebServer\tomcat
> cfg\sp\bin\autoservice.bat' and 'C:\Program
> Files\Eclipse\workspaces\MatBuilder\install4j\resources\WebServer\tomcat
> cfg\matbuilder\bin\autoservice.bat' as they refer to the same URL
> As you can see the two files come from different sources,
Well, that's not entirely clear - yes, they're in different directories,
but they may refer to the same SVN URL for some reason.
Try running "svn info" in C:\Program
Files\Eclipse\workspaces\MatBuilder\install4j\resources\WebServer\tomcatcfg\sp
and C:\Program
Files\Eclipse\workspaces\MatBuilder\install4j\resources\WebServer\tomcatcfg\matbuilder.
I have a feeling that somehow those two directories have been mangled
into referring to the same SVN URL. (Possibly by creating one as a copy
of the other via OS filesystem tools rather than SVN?)
-kgd
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org