[PATCH] Prevent hg from looking for modules in the current dir

Bryan O'Sullivan bos at serpentine.com
Tue Jun 28 14:51:37 UTC 2005


On Tue, 2005-06-28 at 11:24 +0200, Giuseppe Bilotta wrote:

> +import sys, os
> +sys.path.remove(os.getcwd())

This will throw an exception if os.getcwd() isn't in sys.path, so it
will break all non-Windows platforms.

	<b




More information about the Mercurial mailing list