Re: [viewvc-users] Force SVN over CVS in URL

Andreas Metzler <[email protected]> Fri, 13 Apr 2012 19:11:10 +0200
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <20120413171110.GA1961__44328.0785497793$1334337103$gmane$org@downhill.g.la>
On 2012-04-12 "C. Michael Pilato" <[email protected]> wrote:
> On 04/12/2012 02:01 PM, Andreas Metzler wrote:
> > On a host which is running viewvc for providing access to both CVS and
> > svn repositories viewvc prefers CVS over svn, i.e: If there exist both
> > /svn/foo and /cvs/foo http://example.com/viewvc/foo will display the
> > contents of the CVS repository.

> > Is it possible to force viewvc to show the subversion repository
> > without changing viewvc configuration (e.g. by passing a magic string
> > in the URL like http://example.com/viewvc/foo?svn)? viewvc is hosted
[...]

> Andreas, you are correct.  ViewVC does favor CVS over SVN, because ViewVC
> (formerly known as ViewCVS) was a CVS browser long before Subversion was
> even released.  And no, there is not a way to do what you describe today.

Hello,

thanks for clearing that up.

[...]
> Users have been
> clamoring for a virtual root system within ViewVC for some time that would
> help eliminate all those problems, allowing you to expose, say,
> "/viewvc/cvs/foo" and "/viewvc/svn/foo" URLs in order to distinguish the
> two.  But I've not yet found the time to look into that (and specifically,
> to look into doing that without breaking existing bookmarked URLs folks
> already have in place).

That sounds the correct solution.

For my own problem I will simply get rid of the legacy CVS repository.

cu andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

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

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