You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jani Averbach <ja...@cc.jyu.fi> on 2002/11/16 23:10:59 UTC
canonicalizing home-path
Hi!
(Based on discussion on irc at 2002-11-17).
Suppose that we have two different kind of home paths in /etc/passwd:
1) ...:/home/jaa:...
2) ...:/home/jaa/:...
SVN will work with case #1 as expected.
But in case #2 every one svn command will fail with following assertion:
Ie.
$ svn help
svn: subversion/libsvn_subr/path.c:205: svn_path_join_many:
Assertion `is_canonical_nts (base, total_len)' failed.
Aborted (core dumped)
Naked suspected that this would be caused by the fact "that subversion
assumes the home path to be a canonical path - which that isn't - and
hence bails out".
The slash at the end of home path is probably not the most correct setting
of the world, but would it be a case that subversion is a little bit too
sensitive here. B. F. Pierce suggested that canonicalizing the home path
would be rigth thing to do.
End of report.
BR, Jani
--
Jani Averbach
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: canonicalizing home-path
Posted by Philip Martin <ph...@codematters.co.uk>.
Jani Averbach <ja...@cc.jyu.fi> writes:
> $ svn help
> svn: subversion/libsvn_subr/path.c:205: svn_path_join_many:
> Assertion `is_canonical_nts (base, total_len)' failed.
> Aborted (core dumped)
Fixed in rev 3813.
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org