From c60ae0140fb56996ea932d67aa7b65519c6fee8f Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Fri, 25 Feb 2022 22:14:26 -0500 Subject: When updating Scintilla from hg, preserve the current revision. Otherwise it'll update to tip instead of staying at a particular tag. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 656e77b7..48e27df5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -451,7 +451,7 @@ cloc_zip := v1.90.zip $(scintilla_tgz): ; $(WGET) https://www.scintilla.org/$@ scintilla: scintilla.patch | $(scintilla_tgz) if [ -d $@/.hg ]; then \ - hg --cwd $@ update -C; \ + hg --cwd $@ update -C -r `hg --cwd $@ summary | head -1 | cut -d: -f2`; \ else \ if [ -d $@ ]; then rm -r $@; fi; \ tar xzf $|; \ -- cgit v1.2.3