Re: [viewvc-users] The root 'XXX' was not found in the commit database

Dan Peterson <[email protected]> Thu, 17 Jan 2013 10:33:19 -0800 (PST)
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <1845880017.8175.1358447599062.JavaMail.httpd@localhost>
> On 01/16/2013 07:57 PM, Dan Peterson wrote:
>
> When you examined the repositories table, did you find that the path name
> associated with the repository was formatted consistently with the other
> (working) repositories?  I mean, ViewVC tries to normalize those things, but...

Well... I DID check that... but I was really only checking to see if the path in the DB was valid... ie, if it pointed to the correct path on the filesystem.  Problem is there's a symlink (for unrelated reasons) in the path.   Upon closer inspection, I see now the viewvc.conf contains the path w/o the symlink and the DB entry contains the path with the symlink. Both are valid and correct in terms of getting to the actual repository, but they do not match from a "string" point of view.

So, after updating the DB to match the path listed in the viewvc.conf file, everything works.   That is to say everything works with the downgraded (1.6->1.5) repository.  The 1.6 repositories still don't work, but that's because of the version miss-match which I can understand.

So... now I have a slightly different problem.   While looking more closely at the repositories table, I noticed one of the repositories has 2 DB entries... one with the path that matches viewvc.conf and one with the other (symlink) path.   I can remove the "bad" entry from the repositories table, but I'm guessing there could be references in other tables.   Is there a correct way to remove a repository from the DB?  Is there a tool to remove a repository?  The svndbadmin tool (at least the version I have) doesn't seem to have a remove command.

> Running ViewVC atop Subversion 1.5 while apparently hosting your Subversion service
> proper on 1.6 seems like a bit of a recipe for continual irritation, but
> nothing stands out as a showstopper.

I agree... I didn't set it up originally and there are a variety of reasons (both technical and political) why upgrading isn't a simply task.

Thanks for the help.

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3044205

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