Re: [viewvc-users] viewvc.conf - root_parents not working the same as in 1.0.6

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
David Stiff wrote:
> In ViewVC 1.0.6. we had the following in the viewvc.conf:
> 
> svn_roots = SVNRepo /svn/repos
> 
> root_parents = /svn/repos : SVNRepo
> 
> Which displayed "SVNRepo" in the top left corner as well as the default root folder.
> 
> Using this with 1.1.2 gives:
> 
> "The path '/svn/repos' in 'root_parents' has an unrecognized repository type."
> 
> Keeping the "root_parents' line commented out works but displays a '/' in the top left corner.
> Any ideas?

I dunno why you had this confguration for ViewVC 1.0.6.  The "root_parents"
configuration item has always expected a comma-separated list of root
parents, where each parent was "<root_parent_path> : <vc-system>" (and
vc-system was either "svn" or "cvs").

Further, svn_roots has always taken items of the form "<rootname> :
<rootpath>", whereas above you don't show a colon in yours.

If /svn/repos is itself a repository, then you should have:

   svn_roots = SVNRepo : /svn/repos
   root_parents =

If /svn/repos is a directory in which many repositories may be found, you
should have:

   svn_roots =
   root_parents = /svn/repos : svn

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

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

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkrdKnEACgkQokEGqRcG/W7SOwCfe2e5aAa+HNjZoaAVtc8bdlC3
s20An36WsF6L3OcZ0eq0eH3RZY5tS5ii
=puVH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.