# HG changeset patch # User mpm@selenic.com # Date 1124832079 25200 # Node ID f46e809bbe873a3d9230c84273a6958f78615f2e # Parent 42956a6cb25755c7044259d35b02bd787664a4c3# Parent 1bc619b12025312a1d2707f7b3d988609d92874d Merge with TAH diff -r 42956a6cb257 -r f46e809bbe87 MANIFEST.in --- a/MANIFEST.in Tue Aug 23 14:20:17 2005 -0700 +++ b/MANIFEST.in Tue Aug 23 14:21:19 2005 -0700 @@ -7,7 +7,7 @@ include *.txt include templates/map templates/map-*[a-z0-9] include templates/*.tmpl -include doc/README doc/*.txt doc/Makefile +include doc/README doc/Makefile doc/*.txt doc/*.html doc/*.[0-9] recursive-include contrib * include README include CONTRIBUTORS diff -r 42956a6cb257 -r f46e809bbe87 Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Tue Aug 23 14:21:19 2005 -0700 @@ -0,0 +1,23 @@ +# This Makefile is only used by developers. +PYTHON=python + +all: + @echo "Read the file README for install instructions." + +clean: + -$(PYTHON) setup.py clean --all # ignore errors of this command + find . -name '*.py[co]' -exec rm -f '{}' ';' + make -C doc clean + +dist: tests doc + TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py sdist --force-manifest + +tests: + cd tests && ./run-tests + +doc: + make -C doc + + +.PHONY: all clean dist tests doc + diff -r 42956a6cb257 -r f46e809bbe87 doc/Makefile --- a/doc/Makefile Tue Aug 23 14:20:17 2005 -0700 +++ b/doc/Makefile Tue Aug 23 14:21:19 2005 -0700 @@ -2,7 +2,7 @@ MAN=$(SOURCES:%.txt=%) HTML=$(SOURCES:%.txt=%.html) -all: man +all: man html man: $(MAN) diff -r 42956a6cb257 -r f46e809bbe87 hgeditor --- a/hgeditor Tue Aug 23 14:20:17 2005 -0700 +++ b/hgeditor Tue Aug 23 14:21:19 2005 -0700 @@ -51,7 +51,11 @@ grep -vE '^(HG: manifest hash .*)?$' "$1" >> "$HGTMP/msg" CHECKSUM=`md5sum "$HGTMP/msg"` -$EDITOR "$HGTMP/msg" "$HGTMP/diff" || exit $? +if [ -s "$HGTMP/diff" ]; then + $EDITOR "$HGTMP/msg" "$HGTMP/diff" || exit $? +else + $EDITOR "$HGTMP/msg" || exit $? +fi echo "$CHECKSUM" | md5sum -c >/dev/null 2>&1 && exit 13 if [ "$SIGN" == "1" ]; then