[PATCH 2 of 2 STABLE] packagelib: do not remove packages directory in hggetversion (issue5262)

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Jul 28 18:52:49 EDT 2016


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
# Date 1469745924 -7200
#      Fri Jul 29 00:45:24 2016 +0200
# Branch stable
# Node ID 1b4090addfa164c900fe5c866976c99de729b82c
# Parent  a52f8af0393b37ab6ddd8de4d91ee7d9cf2c36aa
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.

diff -r a52f8af0393b -r 1b4090addfa1 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"
 


More information about the Mercurial-devel mailing list