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

Re: Editing svn:externals that uses peg revision equal to operative

From: BRM <bm_witness_at_yahoo.com>
Date: Fri, 26 Aug 2011 13:43:03 -0700 (PDT)

----- Original Message -----

> From: Konstantin Kolinko <knst.kolinko_at_gmail.com>
> To: dev_at_tortoisesvn.tigris.org
> Cc:
> Sent: Friday, August 26, 2011 3:45 PM
> Subject: Re: Editing svn:externals that uses peg revision equal to operative
>
> 2011/8/26 Stefan Küng <tortoisesvn_at_gmail.com>:
>> On 26.08.2011 19:47, Konstantin Kolinko wrote:
>>> 2011/8/26 Stefan Küng<tortoisesvn_at_gmail.com>:
>>>> On 26.08.2011 15:19, Konstantin Kolinko wrote:
>>>>> This is about the dialog that is used to edit the value of
>>>>> svn:externals property in TSVN 1.7.
>>>>>
>>>>> If I edit svn:external that uses  @rev, and specify the same
> peg and
>>>>> operative revisions, it saves it as
>>>>>
>>>>>     -r operative url_at_peg localname
>>>>>
>>>>> 1. In case both revisions are equal I would like the saved
> value to be
>>>>> more simple:
>>>>>
>>>>>     url_at_peg localname
>>>>>
>>>>> Note that in Subversion the operative revision by default
> equals to the peg one.
>>>>
>>>> Nope, that's not what happened in my tests. The operative
> revision
>>>> defaults to HEAD.
>>>
>>> That is what happens in mine:
>>>
>>> [[[
>>> \tc7.0.x\trunk>svn up
>>> Updating '.':
>>>
>>> Fetching external item into 'modules\jdbc-pool':
>>> External at revision 1162102.
>>>
>>> At revision 1162183.
>>> ]]]
>>
>> Ok, so you're right.
>> But still: what's the harm in specifying the op rev as well? Id
> doesn't
>> have to look pretty, it only has to work correctly.
>
> A magic number that is 7 digits long makes me nervous. I would prefer
> to specify it only once.
>
> Anyway the good old "Advanced" edit dialog is still there.
>

Isn't this managed directly by the SVN Library (e.g. TSVN is just providing the Editor interface for an internally used property)?
Or is TSVN looking it up specifically to use in the API calls to the SVN library (so it's indirectly getting passed to the SVN Library)?

Ben

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2830748

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-08-26 22:43:07 CEST

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

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