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

[TSVN] I have the problem in TortoiseBlame.

From: tdkim <tdkim_at_unimo.co.kr>
Date: 2004-10-04 16:06:22 CEST

## Thanks for TortoiseSVN. ##

I have the problem in TortoiseBlame.

My system is
OS : Win2K SP4 korean
TSVN : 1.1.0, Build 1769

When I do TortoiseBlame,
I have blamefile in the system temp directory.

but my blamefile dose not the author field.
I don't know why.

>> my blamefile.
line rev date author content

     0 99 2004-01-13 #include "main.h"
     1 470 2004-03-23 #include "power.h"
     2 470 2004-03-23 #include "interrupt.h"
     3 470 2004-03-23 #include "serial.h"
...
<<
so I can't the correct output in the TortoiseBlame windows.

I found the problem in the TortoiseBlame::OpenFile function.
>> revision : 1775
if (File.gcount()>0)
{
        lineptr = &line[7];
        revs.push_back(_ttol(lineptr));
        lineptr += 7;
        dates.push_back(std::string(lineptr, 20));
        lineptr += 21;
        trimptr = lineptr + 30;
        while (*trimptr == ' ')
        {
                *trimptr = 0;
                trimptr--;
        }
        authors.push_back(std::string(lineptr));
        lineptr += 31;
        SendEditor(SCI_ADDTEXT, _tcslen(lineptr), reinterpret_cast<LPARAM>(static_cast<char *>(lineptr)));
        SendEditor(SCI_ADDTEXT, 1, (LPARAM)_T("\n"));
}
>>

## Thanks for the TortoiseSVN. ##
Received on Mon Oct 4 18:19:41 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.