Hi,

Thanks for tailor. We are moving from cvs to svn and mercurial and it
is proving useful.

I generated a config file from the command line. As usual, shell
completion added a final / to the path/of/my/source/. It took me a
look at the source code to actually understand what was wrong with the
config file as tailor was complaining with a weird "Non-root ..."
message.

It found that path/of/my/source was the root and string comparison
told it that it was different from path/of/my/source/ so it raised the
above exception.

Modifying my config file so that the path would read path/to/my/source
worked, but it is really not what I would expect to do.

in repository.py, using os.path.normpath on the paths read from the
config file would remove any future problem of the same kind. I
suppose this could be done either in _load() or in _validateConfig().

Hope this helps,

-- 
Nicolas Chauvat

logilab.fr - services en informatique avancée et gestion de connaissances  
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to