hg install vs. local

Hudes, Dana hudesd at hra.nyc.gov
Tue Aug 11 11:02:55 CDT 2009


Given that my objective is to have a mercurial install that I can turn
into a package and install onto all our solaris hosts (at least all the
Solaris 10 hosts though I really do need to build for solaris 8 and 9 in
our brand8/9 containers) I felt I needed a full build that includes man
pages. I need to get this done pretty quick but if the new version of
mercurial is coming out in a week or two I might well want to work
around for now and just copy the 'local' to select hosts.


As for docutils: I installed "gnome_doc_utils - collection of
documentation utilities for GNOME(all) 0.14.0,REV=2008.11.26" from
Blastwave. I also installed "pydocutils - Documentation Utiltiies for
Python  0.4,REV=2007.10.04" from Blastwave. I do not have a rst2html but
I do have a rst2html.py -- but no rst2man.
#ls /opt/csw/bin/rst*
/opt/csw/bin/rst2html.py       /opt/csw/bin/rst2newlatex.py
/opt/csw/bin/rst2s5.py
/opt/csw/bin/rst2latex.py      /opt/csw/bin/rst2pseudoxml.py
/opt/csw/bin/rst2xml.py

-----Original Message-----
From: mercurial-bounces at selenic.com
[mailto:mercurial-bounces at selenic.com] On Behalf Of Martin Geisler
Sent: Tuesday, August 11, 2009 7:26 AM
To: mercurial at selenic.com
Subject: Re: hg clone doesn't really clone

"Hudes, Dana" <hudesd at hra.nyc.gov> writes:
 
> I haven't got mercurial up just yet on my solaris host (busy in 
> dependency building...the prebuilt asciidoc isn't good enough and the 
> current wants xmlto and -that- isn't pleased with the solaris 10 
> getopt...which is deprecated).

You'll only need asciidoc and xmlto if you do 'make install' -- if you
do 'make local' instead and simply symlink the 'hg' script into your
PATH, then you'll get a nice self-contained Mercurial install without
having to mess with building the documentation. You can view the man
pages online:

  http://www.selenic.com/mercurial/hg.1.html
  http://www.selenic.com/mercurial/hgrc.5.html
  http://www.selenic.com/mercurial/hgignore.5.html

The next version of Mercurial wont use asciidoc and xmlto. Instead we're
going to use Docutils, specifically the rst2html and rst2man tools.

--
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.



More information about the Mercurial mailing list