Module Name: src
Committed By: christos
Date: Mon May 17 17:12:12 UTC 2021
Modified Files:
src: build.sh
Log Message:
for mercurial, use the latest revision instead of limiting the output to 1
(requested by joerg)
To generate a diff of this commit:
cvs rdiff -u -r1.349 -r1.350 src/build.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/build.sh
diff -u src/build.sh:1.349 src/build.sh:1.350
--- src/build.sh:1.349 Mon May 17 09:50:39 2021
+++ src/build.sh Mon May 17 13:12:12 2021
@@ -1,5 +1,5 @@
#! /usr/bin/env sh
-# $NetBSD: build.sh,v 1.349 2021/05/17 13:50:39 christos Exp $
+# $NetBSD: build.sh,v 1.350 2021/05/17 17:12:12 christos Exp $
#
# Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1973,7 +1973,7 @@ createmakewrapper()
eval cat <<EOF ${makewrapout}
#! ${HOST_SH}
# Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from: \$NetBSD: build.sh,v 1.349 2021/05/17 13:50:39 christos Exp $
+# Generated from: \$NetBSD: build.sh,v 1.350 2021/05/17 17:12:12 christos Exp $
# with these arguments: ${_args}
#
@@ -2333,7 +2333,7 @@ setup_mkrepro()
vcs=git
elif [ -d "${d}.hg" ]; then
t=$(cd "${d}" &&
- hg log -l1 --template '{date(date, "%s")}\n')
+ hg log -r . --template '{date(date, "%s")}\n')
vcs=hg
else
bomb "Cannot determine VCS for '$d'"