Thanks for reply... What I wanted to verify is which options I have to use in hooks so that the script makes less operations and brings less overhead. As far as I understood from the document:
svndbadmin update -> Updates only the non logged commits
svndbadmin rebuild -> Rebuilds all the information related to provided REPO
So in the documents it says to use the svndbadmin rebuild which makes me feel that its bigger job than update.
And yet another question if you have time!
What could be the problem in this situation:
I am running CVS repositories from CHROOT jail. So I had to tweak mysql to make it work in there by using MySQL network connection. Though I had also to symlink the socket as ViewVC uses it. So when I do the commit, the loginfo-handler script successfully executes and I can see all the information about commit in the database. So, when I do the query in the web browser, the ViewVC says that there were no changes, even though all the info is in db. When I issue "cvsdbadmin update" everything is displayed (of course it should as it parses the CVS history). Do you know what causes the ViewVC query interface not to notice the information from the db? What cvsdbamin makes different to loginfo-handler?
I would be very greatful if anyone could help on this issue,
Thanks,
Tair.
On 3/27/07, C. Michael Pilato <
cmpilato@xxxxxxxxxx
> wrote:Tair Assimov wrote: > Hello! > > Do you guys know if there is a small mistake in the INSTALL doc of the
> ViewVC. > In the CVSDB instructions it says that svndbadmin provides two options: > "update" or "rebuild". So in the hook script the "rebuild" options is > used. Dont you think it should be "update"?
For the 1.0.x release line, there was really no reason to use 'svndbadmin update' since 'svndbadmin rebuild REV' did the same thing. So, no, the INSTALL for that release line is correct.
However, in 1.1.0, we've made these two commands actually do the two different things you'd expect them to do.
-- C. Michael Pilato <
cmpilato@xxxxxxxxxx
> CollabNet <> www.collab.net <> Distributed Development On Demand
|
|