Re: [viewvc-users] Force SVN over CVS in URL
"C. Michael Pilato" <[email protected]> Fri, 13 Apr 2012 09:13:36 -0400
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
On 04/13/2012 02:26 AM, Peter Funk wrote: > Hello, > > C. Michael Pilato schrieb am Donnerstag, den 12.04.2012 um 16:40: >> Unfortunately, that wouldn't help the other common situation: multiple >> roots with the same name *from the same VC system*. 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). > > Just an idea: What about using some special symbol to distinguish > such new virtual root URLs from the traditional ones? Example:: > /viewvc/++vroot++/cvs/foo > /viewvc/++vroot++/svn/foo > This way the old URLs would behave as before. > > Unfortunately I'm busy in an urgent project until May. > Otherwise I would have tried to provide a patch doing this. I've considered something like this before. Stepping back a bit for the wider view, I've also been tempted to do something a bit more flexible and just introduce URL format versions: /viewvc/*1*/... /viewvc/*2*/... This would allow me to arbitrarily redefine the URL formats in what would be compatibility-busting ways from time to time, and just bump the format number -- which is carried in the URL itself -- when I do so. Cheesy? Oh yeah. But sooooooo forward-looking. -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2948032 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+IJokACgkQokEGqRcG/W5B7wCgmwYzbpKwHgdkXZD4ubyos8dZ 6aAAoMQE3RaonKp7KItSna89gF4q9LFy =yqzi -----END PGP SIGNATURE-----