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

RE: [PATCH]: Fix for ambigious Error dialog when unavailable Revision number is used in Log

From: Ramasubramanian Sambamurthy <svram_at_collab.net>
Date: Mon, 4 Jan 2010 13:10:15 +0530

>a few comments about this patch:

Thanks for the comments. First of all I would like to wish everyone a
Very Happy New year :). All corrections are done apart from basic
clarifications which are explained below.

>But there's another thing: GetHEADRevision might contact the
>repository (especially if log caching is disabled), which we'd like to
>do only on the thread, not on the UI thread.

Yeah, Accessing Repos is costlier but the thing is don't we need to
compare the m_startrev with HEAD revision, to check whether it is below
that or not? If yes, isn't that using GetHEADRevision is the only way??
Or we already have any variable pointing the HEAD revision, as
GetHEADRevision method is already called before Log information is shown
(from RepositoryInfo class).

Moreover GetHEADRevision returns -1 or ERR happens when we invoke it for
show range case again and when the repos is in remote URL.

Thanks & Regards,
S V Ramasubramanian

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-04 08:40:27 CET

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.