packagelib: do not remove packages directory in hggetversion (issue5262) stable
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Fri, 29 Jul 2016 00:45:24 +0200
branchstable
changeset 29641 13f90dde8f8c
parent 29640 17b3309bfdff
child 29642 8960fcb76ca4
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.
contrib/packagelib.sh
--- 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"