[svnbook commit] r1904 - in trunk/src/en: . book
maxb1 at ukf.net
Sat Dec 17 04:29:44 CST 2005
-----BEGIN PGP SIGNED MESSAGE-----
C. Michael Pilato wrote:
> maxb wrote:
>> + * Either of the Python bindings examples are easily able to cause an
>> + is_canonical assert. To be fair, this is more the fault of the
>> + than of the examples, but I'm noting the issue here since it does
>> + first impressions of the book.
> Perhaps we should just add os.path.normpath() wrappers to the sample
> code and be done with it?
os.path.normpath() doesn't have quite the same definition of
'canonical', as Subversion does, so it is not enough. '.' vs '' is one
We probably need to wrap and expose svn_path_canonicalize(), or make the
bindings auto-canonicalize input paths.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
-----END PGP SIGNATURE-----
More information about the svnbook-dev