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

Re: merge fails - svn: URL xxx/xxx doesn't match existing url xxx/yyy

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-05-10 02:17:21 CEST

On 5/9/06, Jeb <jeb.beasley@penske.com> wrote:
> I did the following from the command line
> svn co http://.....branches/offshore/JavaSource c:\proj\da\JavaSource
> cd c:\proj\da\JavaSource
> svn sw http://....branches/dev_gh/JavaSource
> svn merge http://....branches/dev_gh/JavaSource
> http://....branchaes/offshore/JavaSource
>
> Then I get the following
>
> D com_penske_delegatedadmin_actions.dnx
> A com_penske_delegatedadmin_actions.dnx
> D conf\delegatedadmin.properties
> D conf\ApplicationResources.properties
> D conf\deladminlinks.properties
> D conf\log4j.properties
> D conf
>
> Stopped with error
>
> svn: URL
> 'http://svn.penske.com/svn/webprojects/admin/delegatedadmin/branches/of
> fshore/delegatedadmin/JavaSource/conf' doesn't match existing URL
> 'http://svn.pe
> nske.com/svn/webprojects/admin/delegatedadmin/branches/dev_gh/delegatedadmin/Jav
> aSource/conf' in 'conf'
>
> echo %errorlevel%
> errorlevel 9009
>
> Files should not be deleted, the exist in both branches.
>
> thanks for any help you can provide

Do the files in question actually share history? For example, if you
created both of those branches by copying from a commen ancestor, and
the file existed in that common ancestor, and it wasn't deleted and
then added or something like that in one of the branches, then you'd
expect your merge to leave it alone, but if the versions on the two
branches are totally unrelated, then removing the existing copy and
adding a new one is the correct behavior. See the --ignore-ancestry
option to merge for a way to avoid this behavior.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 10 02:18:30 2006

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.