packagelib: do not remove packages directory in hggetversion (
issue5262)
People running packages related code probably do care about the content of this
directory. In particular this shound fix the rpm builder process.
--- a/contrib/packagelib.sh Fri Jul 29 00:39:59 2016 +0200
+++ b/contrib/packagelib.sh Fri Jul 29 00:45:24 2016 +0200
@@ -8,7 +8,7 @@
#
# node: the node|short hg was built from, or empty if built from a tag
gethgversion() {
- make clean
+ make cleanbutpackages
make local || make local PURE=--pure
HG="$PWD/hg"