[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

canonicalizing home-path

From: Jani Averbach <jaa_at_cc.jyu.fi>
Date: 2002-11-17 00:10:59 CET

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
Received on Sun Nov 17 00:11:45 2002

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.