[Cdash] Problem with ViewVC and new file

Julien Jomier julien.jomier at kitware.com
Thu Oct 2 11:29:32 EDT 2008


Mat,

This is the problem. We don't want to perform a complete svn log on each 
updated file, because it would be too slow. If there is a way to get the 
previous revision of a file with svn that would be OK and hopefully we 
won't have hundreds of file checked in every day.

If there's a better way, let me know.

Julien

Mathieu Malaterre wrote:
> Julien,
> 
>   I do not understand what is the issue here. A new file will return:
> 
> $ svn log gdcmSerieHelper.cxx
> ------------------------------------------------------------------------
> r4442 | malat | 2008-09-29 16:27:40 +0200 (Mon, 29 Sep 2008) | 1 line
> 
> ENH: backward compat for ITK
> ------------------------------------------------------------------------
> 
> Only one log entry, while a file with multiple revision will return:
> 
> $ svn log CMakeLists.txt
> ------------------------------------------------------------------------
> r4442 | malat | 2008-09-29 16:27:40 +0200 (Mon, 29 Sep 2008) | 1 line
> 
> ENH: backward compat for ITK
> ------------------------------------------------------------------------
> r4415 | malat | 2008-09-25 11:14:58 +0200 (Thu, 25 Sep 2008) | 1 line
> 
> ENH: rename
> ------------------------------------------------------------------------
> r4398 | malat | 2008-09-23 18:53:19 +0200 (Tue, 23 Sep 2008) | 1 line
> 
> ENH: introduce new filter
> ------------------------------------------------------------------------
> ....
> 
> 
> Why is it wrong to assume the file has no previous revision in the first case ?
> 
> thanks
> 
> 
> On Tue, Sep 30, 2008 at 8:32 PM, Julien Jomier
> <julien.jomier at kitware.com> wrote:
>> Hi Mat,
>>
>> The main issue is that svn log doesn't return the previous revision of the
>> file, so there is no way to know if the file has a previous revision or not.
>> If you have an idea on how to get the previous revision of a file from svn
>> log then I take it.
>>
>> If you can log a bug that would be great.
>>
>> Thanks,
>> Julien
>>
>> Mathieu Malaterre wrote:
>>> Hi there,
>>>
>>>  Are new files supported in ViewVC/CDash ?
>>>
>>>  CDash is generating this link in the Update section:
>>>
>>>
>>> http://gdcm.svn.sourceforge.net/viewvc/gdcm/trunk/Source/MediaStorageAndFileFormat/gdcmSerieHelper.h?r1=4441&r2=4442
>>>
>>>  which lead to a ViewVC Exception, the file was added and contains no
>>> revision:
>>>
>>>
>>> http://gdcm.svn.sourceforge.net/viewvc/gdcm/trunk/Source/MediaStorageAndFileFormat/gdcmSerieHelper.cxx?view=log
>>>
>>> Thanks,
> 
> 
> 


More information about the Cdash mailing list