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

Re: svn commit: r11397 - trunk/src/TortoiseMerge

From: Alexander Klenin <klenin_at_gmail.com>
Date: 2007-11-20 01:46:50 CET

On 19 Nov 2007 17:05:14 -0000, <steveking@tigris.org> wrote:
> Author: steveking
> Log:
> Patch from Kloster Oddvar:
> * Undo functionality:

[skip]

> - The changed mark (*) correctly indicates if the file has
> changed from last saved version (...well, almost. To be
> precise, it indicates whether we've used undo on all the
> changes since the last reload/save, and not more)

A good change overall, thanks Kloster.

> + if (m_viewstates.size() < m_originalstate)
> + // Can never get back to original state now
> + m_originalstate = 1;
> +
Perhaps you meant -1 or some other special value?
How it is guaranteed that m_viewstates.size() can not became equal to 1 again?

-- 
Alexander S. Klenin
Insight Experts Ltd.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Nov 20 01:46:55 2007

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.