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

Re: Incorrect svn:externals property edit behavior

From: Aleksandr Platonov <pam_at_oktetlabs.ru>
Date: Mon, 18 Apr 2011 12:31:35 +0400 (MSD)

I failed to make autocomplete to work at svn:externals property edit.
Could you provide a simple example which shows how autocomplete works
(what values should I set to URL)?
I have tried to search for SHAutoComplete() calls in sources and failed to
find which one is called at svn:externals property edit. It seems that
none of SHAutoComplete() from HistoryCombo.cpp is called in this case.
Also, if I add m_URLCombo.SetCurSel(0) between
m_URLCombo.SetURLHistory(true, false) and
m_URLCombo.SetWindowText(m_External.url) then this problem is not appear.

On Sat, 16 Apr 2011 18:55:02 +0200, Stefan Kung <tortoisesvn_at_gmail.com>
wrote:
> On 15.04.2011 14:59, Aleksandr Platonov wrote:
>> Hi.
>>
>> I use TortoiseSVN which I built from latest sources (1.6.99).
>>
>> Problem appears after the following steps:
>>
>> 1) Right mouse click on some directory under version control,
>> TortoiseSVN,
>>
>> Properties
>>
>> 2) In properties dialog: New, Externals
>>
>> 3) In svn:externals dialog: New, Local Path = aaa, URL = bbb, OK.
>>
>> 4) In svn:externals dialog: Choose created property at step 3, Edit, URL
>> =
>>
>> BBB, OK
>>
>> After step 4 URL is equal to bbb, but should be BBB.
>>
>> This happens only when case insensitive comparison says that old value is
>>
>> equal to new value.
>
> As it turns out, that's a 'feature' of the SHAutoComplete() function.
> Since I don't want to lose that feature (the autocomplete one, not the
> one that causes this problem), I won't do anything about this.
> There's a simple workaround: remove the property and add it again with
> the new url.
>
> Stefan

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-04-18 10:32:03 CEST

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