Re: [PATCH] Searching in log

Alexander Mueller <[email protected]> Sat, 23 Feb 2013 18:16:27 +0100
Newsgroups gmane.comp.version-control.subversion.rapidsvn.devel
Message-ID <[email protected]>
This is a rather big patch, so breaking it up in would make sense:
- migration code to RapidSVN config directory
- implementing the search functionality

Since this is a rather complex thing AND it may break existing 
configurations there should be unit tests in place.

About sqlite, there is a wxsqlite module available. I havent looked into 
it but I expect the use of wxString in there.

Our code is now hosted on github, so you can post the different stages 
of the patch as pull requests.

Thanks a lot for your work!


Am 29.12.2012 09:21, schrieb Mirek Jezbera:
> Hello,
> I have implemented searching in log. You can search in comments, affected files
> or by author. It is implemented using SQLite to index data from repository.
> For rapidsvn repository with 8263 revisions it tooks about 25 seconds to
> reindex and index file has 2 MB. Because index file is stored in same place as
> config file, I have implemented migration code to move config file ~/.RapidSVN
> to ~/.RapidSVN/config.ini.
> Searching is IMHO quite fast. I have two TODOs in log_dlg.cpp - I don't know how
> to log errors from log dialog.
> Users without SQLite should compile rapidsvn, but this functionality will be
> hidden.
> Feel free to comment the code.
>

------------------------------------------------------
http://rapidsvn.tigris.org/ds/viewMessage.do?dsForumId=668&dsMessageId=3049672

To unsubscribe from this discussion, e-mail: [[email protected]].