Trailing slashes on URLs are a tricky beast. Best practice dictates that when a web url does not have a trailing slash the browser is referring to a file, with the slash we are looking for a directory - see Slash Forward (Some URLS are Better Than Others by Waferbaby). We at myVersionControl are aware of this and as a matter of course rewrite a repository url without a slash to one that includes, for example:
https://company.myversioncontrol.com/subversion/repository1
would be rewritten as:
https://company.myversioncontrol.com/subversion/repository1/
Now it can be argued that 'repository1' is a directory or a file depending on what you consider subversion to be, however from the filesystem's point of view it is most definitely a directory.
It came to our attention recently that there are a minority of SVN clients that were struggling to cope with this trailing slash. For example Subclipse from Tigris would fail spectacularly.
In order to remain compatible with as many clients as possible we have changed our configuration protocols to accept your repository urls with or without the slash. If you have any problems with any other clients then as ever let us know!
2 comments:
Post a Comment