svn fails when trying to checkout a file:/// url with UNC path
From: Alexander Sinyushkin <Alexander.Sinyushkin_at_svnkit.com>
Date: 2007-06-13 15:17:38 CEST
Hello!
Recently we have been reported about troubles that a user had using
svn co file:///\server\path_to_repos_root\path_in_repos
At the same time svn works just fine if I change the last '\' in the URL
svn co file:///\server\path_to_repos_root/path_in_repos
I suppose that the problem may be in that fact that svn encodes all '\'
if (entry->repos && entry->url
the function svn_path_is_ancestor() returns false since it expects that
if (strncmp(path1, path2, path1_len) == 0)
It's not necessary here where svn fails since this check may occur in
Regards,
---- Alexander Sinyushkin, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Wed Jun 13 15:18:01 2007 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.