You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Janus Ng <f1...@hotmail.com> on 2009/05/15 03:38:16 UTC
Bug Reporting: external folder on older revision failed if the
target is deleted on head.
Dear Developers,
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.
Client:
TortoiseSVN 1.6.2.
Server:
svnserve 1.5 running over https with apache mod.
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.
Add a svn:externals property "source2 -r X ^/source" to destination
folder.
update destination folder.
Expected result:
There are 2 folders, source and source2 inside folder destination and
both of them are copies of the "^/source" on repository.
Actual result:
There is just a folder, source2, inside folder destination. The update
reports errors on external repo of source.
Could you please help me confirm the bug?
Regards,
Janus
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2265685
Re: Bug Reporting: external folder on older revision failed if the
target is deleted on head.
Posted by lorenz <tw...@gmail.com>.
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@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