Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(564)

Unified Diff: man/src/make_docs.sh

Issue 2165633007: Update make_docs.sh to use github asciidoc (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: man/src/make_docs.sh
diff --git a/man/src/make_docs.sh b/man/src/make_docs.sh
index d7af87d776a51ecd4573f7e5019e8a38bff92601..653cef5d72155f1375eb832d57fc2a0d44d62468 100755
--- a/man/src/make_docs.sh
+++ b/man/src/make_docs.sh
@@ -23,7 +23,7 @@ ensure_in_path() {
}
ensure_in_path xmlto
-ensure_in_path hg
+ensure_in_path git
DFLT_CATALOG_PATH="/usr/local/etc/xml/catalog"
if [[ ! $XML_CATALOG_FILES && -f "$DFLT_CATALOG_PATH" ]]
@@ -35,12 +35,12 @@ fi
# We pull asciidoc to get the right version
BRANCH=8.6.9
-ASCIIDOC_HASH=7fed0aff1b30
-if [[ ! -d asciidoc || $(cd asciidoc && hg id -i) != $ASCIIDOC_HASH ]]
+ASCIIDOC_HASH=2ff8681
+if [[ ! -d asciidoc || $(cd asciidoc && git rev-parse --short HEAD) != $ASCIIDOC_HASH ]]
then
echo Cloning asciidoc
rm -rf asciidoc
- hg clone -r $BRANCH https://asciidoc.googlecode.com/hg/ asciidoc
+ git clone --branch $BRANCH https://github.com/asciidoc/asciidoc asciidoc
(cd asciidoc && ln -s asciidoc.py asciidoc)
fi
echo Asciidoc up to date at $ASCIIDOC_HASH \($BRANCH\)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698