I would like to express my opinion regarding this thread.
I believe that the http://svn/path/to/repos@XYZ/path/to/file is both
closer to reality and hides many internal details when browsing the
repository. On my development machine, I checkin vendor tarballs. These
often contain documentation in HTML format. I set svn:mime-type to
text/html, so that when I browse the repository, the server sends the
proper Content-Type and the browser displays documents. Then, I can
follow relative links inside the documentation, and everything "just
works".
If we were to change Subversion to require a ?rev=XYZ to be tacked onto
the ends of URLs, then relative browsing will not work anymore. The
query will be required.
As for the point that the @ character is reserved in URI, this is a very
valid point. I would have liked it to be used, as the @ sign can be
pronounced "at". So, the URL http://svn/path/to/repos@XYZ can be
pronounced "h-t-t-p-colon-slash-slash-svn-path-to-repos-at-XYZ".
The last time this discussion happened on the list, I was +1 on ?rev=XYZ,
but now, I am -1. I am +1 on repos@XYZ. We will have to find an
alternative character though. The semi-colon (;) was already proposed,
and could be a good choice. One thing though, this should not be
configurable. This way, all SVN servers will answer to the same syntax.
Another point, what about the command-line client ? Should the merge and
diff commands be changed so that they would accept the new syntax ? This
would mean that
svn merge http://svn/path/to/repos/path/to/branch@123
http://svn/path/to/repos/path/to/branch@HEAD
would become:
svn merge http://svn/path/to/repos@123/path/to/branch
http://svn/path/to/repos@HEAD/path/to/branch
This is just something else to think about.
Hope that helps !
François
Developer of Java Gui Builder
http://jgb.sourceforge.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 5 19:25:57 2003