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

log cache assertion

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-05-24 20:07:37 CEST

Stefan,

While doing some testing with the cache, I came to an assertion which I
don't know how to solve. You are more familiar with the log cache code,
so I put together a reproduction recipe for the assertion:

svnadmin create logrepo
svn co file:///d:/test/logrepo logwc
mkdir logwc\folder1
echo test > logwc\folder1\file1
echo test > logwc\folder1\file2
svn add logwc\folder1
svn ci logwc -m ""

echo test1 > logwc\folder1\file1
echo test1 > logwc\folder1\file2
svn ci logwc -m ""

svn mv file:///d:/test/logrepo/folder1 file:///d:/test/logrepo/folder2 -m ""

svn up logwc

echo test > logwc\folder2\file2
svn ci logwc -m ""

svn mv file:///d:/test/logrepo/folder2 file:///d:/test/logrepo/folder3 -m ""
svn mv file:///d:/test/logrepo/folder3 file:///d:/test/logrepo/folder1 -m ""

svn up logwc

echo test1 > logwc\folder1\file2
svn ci logwc -m ""

svn up logwc

Now, show the log for logwc\folder1\file1, and you'll get an assertion
in CCacheLogQuery::CLogFiller::ReceiveLog.

btw: GREAT work on the cache!!!

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu May 24 20:07:51 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.