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

Re: Bug Reporting: external folder on older revision failed if the target is deleted on head.

From: lorenz <two5033.seven6511_at_gmail.com>
Date: Fri, 15 May 2009 07:29:44 +0000

Janus Ng wrote:
>I have encountered a bug on the external repo. The external repo will
>fail if the target is deleted on head even the external is marked with
>an older revision which the target was not deleted.
>
>Strangely it fails only on the current argument format (introduced
>since subversion version 1.5). The older format works.
>[...]
>Steps to reproduce:
>Add a folder "source" to root of the repository, committed at revision
>X.
>Delete the "source" from repository.
>Add another folder "destination" to the root of the repository.
>Add a svn:externals property "-r X ^/source source" to destination
>folder.

as the source does no longer exist in head, you need to use the peg
revision syntax here (as you would need on the command line)

        "^/source_at_X source"

>Add a svn:externals property "source2 -r X ^/source" to destination
>folder.
>[...]

relative URLs can by used in the new syntax only

-- 
Lorenz
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2267845
Received on 2009-05-15 09:30:22 CEST

This is an archived mail posted to the Subversion Dev mailing list.