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

Re: [TSVN] possibly code issue

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-08-03 17:42:48 CEST

Martin Eckardt wrote:
> Hi Steve,
> i just reviewed the code in revision 1493 a bit. You added the
> possibility to add the log message to the commuit dialog in
> TortoiseProc.cpp.
>
> My question does this code really work? You set logmessage, but nowhere
> you set logmsg that is used in the dialog and later in the code.
>
> CString logmsg = logmessage;
> if (parser.HasKey(_T("logmsg")))
> {
> logmessage = parser.GetVal(_T("logmsg"));
> }
> if (!logmsg.IsEmpty())
> dlg.m_sLogMessage = logmsg;
>
> If I'm wrong don't worry and blame me.

You're right. This will write the logmessage to the registry instead of
the commit dialog.

Fixed in revision 1495.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Aug 4 08:13:56 2004

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.