Re: [viewvc-users] CVS links using ViewVC?
"C. Michael Pilato" <[email protected]> Thu, 10 May 2012 09:52:26 -0400
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
On 05/10/2012 03:56 AM, David Aldrich wrote: > Hi > > We are running Subversion Edge 2.3.0. I don't know which version of ViewVC that uses, but here's my question: > > I want to add links in our intranet to documents that are stored in CVS. What is the correct format of the CVS or ViewVC url to do this? > > I can see that the following may work: > > http://<server>/cvs/*checkout*/<project name>/<filename> > > https://<ip addr>/viewvc/<project name>/<filename>?view=co Both forms are fine. ViewVC will always support either form. There is a slight benefit to using the ".../*checkout*/..." form, though. If the document you link to is an HTML file which uses relative links to images or other documents also stored in CVS, those links can be navigated directly via the ViewVC checkout display. That usually won't happen if you use the "?view=co" form, though, because the links within your HTML files will not preserve the "?view=co" portion. -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Enterprise Cloud Development ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2959104 To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk+ryBoACgkQokEGqRcG/W4n6wCdEb9/fDML72RXSLhOcHmvce9H Ci8AnRNeYOnCwwkBLS+hN3RcO4VOT7AL =KCWv -----END PGP SIGNATURE-----