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

Re: Bug: svn:externals property not working correctly with -r option

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 09 Jul 2011 08:28:30 +0200

On 09.07.2011 01:14, Keith Martin wrote:
> In my repository, I have a folder with an svn:externals property, to
> import another folder from within the same repository. I am using the
> -r option to specify the revision.
>
> This was working fine, until I deleted the folder from the head
> revision. Now, when I update the folder with the externals property,
> the external fails and reports that the file is not found at the head
> revision number.
>
> I expected the externals to check out the folder from the revision
> specified, but instead it does not check out anything. Using the
> repository browser, I can verify that the path specified in the
> externals tag does exist at the revision specified in my externals tag.
>
> I am using version 1.6.16.21511 (64bit version), but have reproduced the
> problem on another computer running the 32bit version as well.

The '-r' option only works correctly if the url exists in HEAD, as
you've noticed. To make absolutely sure that the external works even if
the url gets deleted in the future, you have to specify a peg revision
as well:

-rXXX http://server/repo/something@YYY folder

Where XXX and YYY are revision numbers and in your case identical.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2788767
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-07-09 08:28:46 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.