On May 6, 2011, at 11:06 , Julian Foad wrote:

> On Thu, 2011-05-05 at 23:18 +0200, Roman wrote:
>> Hi Branko, hi Julian
>> 
>> @Branko: I know the -r feature of the svn:externals and it worked fine 
>> on checkout (both formats <1.5 and >=1.5). But when updating the without 
>> special switches it did update to the head regardless whether the 
>> external was pinned to a revision or not.

Hi Roman,

What is your svn:externals value?  Using TortoiseSVN (or any other client
I've tested), the following syntax pins the externals version as expected:

  http://example.com/svn/foo/bar@99 foobar

Changes to the "bar" directory (in the repository) after version 99 are not 
sent to the local "foobar" directory when I update it.

Regards,
Steve

>> To be honest, we did not test with the command line client but with 
>> TortoiseSVN and PushOk. Both behaved the same, which lead me to the 
>> conclusion, that it is a normal svn behaviour.
>> 
>> @Julian:Yes, I guess so. checkout would retrieve the pinned revision, 
>> update would update to the head. At least that is what we experienced. 
>> Would you consider this a wrong behaviour?
> 
> Yes, I would consider that wrong behaviour.
> 
> I haven't tested to see what 'svn' actually does and I am not sure how
> it was originally designed to work.
> 
> - Julian
> 

--
Stephen Butler | Senior Consultant
elego Software Solutions GmbH
Gustav-Meyer-Allee 25 | 13355 Berlin | Germany
tel: +49 30 2345 8696 | mobile: +49 163 25 45 015
fax: +49 30 2345 8695 | http://www.elegosoft.com
Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin
Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194


Reply via email to