# HG changeset patch # User Martin Geisler # Date 1319125653 -7200 # Node ID 1ae824142c0157f350e1e01cf3e23fbf01a1f722 # Parent 3eb1a90ea40941ad7a920daad665e27ffdb6f291 runrst: improve error message when Docutils is missing Peter Toft told me he had installed a 'python-doc' package instead of the correct 'python-docutils' and he suggested that we add the URL to Docutils in our error message. diff -r 3eb1a90ea409 -r 1ae824142c01 doc/runrst --- a/doc/runrst Tue Oct 18 17:28:26 2011 -0500 +++ b/doc/runrst Thu Oct 20 17:47:33 2011 +0200 @@ -20,6 +20,8 @@ except ImportError: sys.stderr.write("abort: couldn't generate documentation: docutils " "module is missing\n") + sys.stderr.write("please install python-docutils or see " + "http://docutils.sourceforge.net/\n") sys.exit(-1) def role_hg(name, rawtext, text, lineno, inliner,