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

Syntax of svn:externals / Unexpected behaviour

From: Mads Grønfeldt <mmg_at_dseair.dk>
Date: Wed, 9 Nov 2011 04:22:43 -0800 (PST)


We are seeing some unexpected behaviour with svn:externals, starting from Tortoise SVN version 1.7.x.

Lets say we have an existing repository, i.e. Project A, which has an external to Project B in revision 43. My external on that repository would have been manually entered (with tortoise version 1.6.x) as:

projbLib -r 43 https://server/projectb/trunk

If I checkout this repository with the 1.6.x as well as the 1.7.x client all works as expected.

If I create a new repository (Project C), and adds an external via the new Externals dialog in 1.7.x and locks this to revision 43 as well (NOTE: I do not enter a peg revision but leave the field empty), the external syntax generated is:

-r 43 https://server/projectb/trunk ProjbLib (notice that the local directory now appears last)

If I create a new empty directory on my desktop and select SVN Checkout of Project C, it will retrieve the head revision of my external (Project B), and not revision 43 as I would expect. If I immediately after right-click the newly checked out working copy and select Update, it will update the external to revision 43.

If I change the external via the Advanced dialog in 1.7.x to match the format from Project A, the initial Checkout will retrieve revision 43 as expected.

Am I missing something, or is this a bug?

Best regards



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-11-09 13:26:13 CET

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.