Hello,
Thanks for the reminder, I thus believe that if I use @HEAD on my
externals, this won't solve the issue.
However, wouldn't it be possible to have a special command in
TortoiseSVN that does this? I mean, here are the steps it would do
internally:
Update each external to the requested revision
Update the main working copy to the requested revision, ignoring externals.
I would be nice to have this available instead of having to do it manually.
Regards,
Olivier
Bruce J Clark wrote:
> Hi,
>
> If neither revision is specified, it is effectively an operative revision of HEAD. In that case, the search starts with the HEAD of the repo, it THEN gets the path. If the path doesn't exist in the HEAD, it won't be found, resulting in a path not found error. The extern needs to start the search with a revision where the path existed - a peg revision can do just that.
>
> I always set the peg revision for my externals to ensure that if I checkout a particular revision of the main repo, I'm always building the same code. Without a specified revision for the extern, checking out the same revision from the main repo at different times will generate different results (because the externs could be different).
>
> As I said, the Subversion Red Book probably explains it better than me, and there's always the risk that I'm wrong. [However, it is based on having a similar issue and trying to overcome it.]
>
> HTH,
> Bruce
>
>
>
>
> This email and any attachments or links herein are confidential and may contain Metrol Technology Limited proprietary information that is legally privileged or otherwise protected from disclosure. It is solely intended for the person(s) named above. If you are not the intended recipient, any reading, use, disclosure, copying or distribution of all or parts of this email or associated attachments or links to other web locations, is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by replying to this message or by telephone and delete this email and any attachments or links permanently from your system. Metrol accepts no liability for any damage of whatever nature caused by this email.
>
> -----Original Message-----
> From: Olivier Sannier [mailto:obones_at_free.fr]
> Sent: 02 December 2016 12:59
> To: users_at_tortoisesvn.tigris.org
> Subject: Re: Update to revision always updates externals to HEAD
>
> Bruce J Clark wrote:
>> Hi,
>>
>> That sounds like a classic Subversion issue, rather than an issue with TortoiseSVN. If so, the topic you want to research is Subversion peg and operative revisions. Try looking at the Subversion Red Book (http://svnbook.red-bean.com/en/1.7/svn.advanced.pegrevs.html).
> Thanks for this, but none of the externals are tied to a particular revision, neither peg nor operative.
> This is why I find this behavior quite surprising.
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3195772
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3195773
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3196066
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-12-05 14:08:05 CET