writing tests for an extension

Dov Feldstern dfeldstern at fastimap.com
Fri Dec 5 05:54:06 CST 2008


Hi!

I see that tests of an extension need to add the extension to the hgrc, like so:

[extensions]
convert=

However, that only works if the extension is placed within the the hgext 
directory; otherwise, it's necessary to provide a full path to the extension's 
location. But I don't want to hard code that into the tests. I also want this to 
work, say, with a binary installation on Windows, where there may not even be an 
hgext directory (is that true?).

Any ideas on how to deal with this?

Thanks!
Dov



More information about the Mercurial-devel mailing list