Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src for mercurial, use the latest revision instead of limiting t...



details:   https://anonhg.NetBSD.org/src/rev/db3f1244c674
branches:  trunk
changeset: 1021210:db3f1244c674
user:      christos <christos%NetBSD.org@localhost>
date:      Mon May 17 17:12:12 2021 +0000

description:
for mercurial, use the latest revision instead of limiting the output to 1
(requested by joerg)

diffstat:

 build.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r d948f453fb2a -r db3f1244c674 build.sh
--- a/build.sh  Mon May 17 15:59:28 2021 +0000
+++ b/build.sh  Mon May 17 17:12:12 2021 +0000
@@ -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 @@
        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 @@
                        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'"



Home | Main Index | Thread Index | Old Index