pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
cvs2fossil: document project id
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By: wiz
Date: Tue Jun 27 14:23:48 2023 +0200
Changeset: 6f074fe5ac1c62ca407350f8260a885df1300669
Modified Files:
cvs2fossil/distinfo
cvs2fossil/patches/patch-convert.sh
Log Message:
cvs2fossil: document project id
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6f074fe5ac1c62ca407350f8260a885df1300669
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
cvs2fossil/distinfo | 2 +-
cvs2fossil/patches/patch-convert.sh | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diffs:
diff --git a/cvs2fossil/distinfo b/cvs2fossil/distinfo
index 21adace434..0a107f2cba 100644
--- a/cvs2fossil/distinfo
+++ b/cvs2fossil/distinfo
@@ -6,4 +6,4 @@ Size (cvs2fossil-20140502.tar.gz) = 1258545 bytes
SHA1 (patch-01-import_main.c) = 6177f632e9a7213e9aff911e28ac04378102fae5
SHA1 (patch-04-commit_main.c) = a7afef765fca714dfe672ab7207789d91cd839c8
SHA1 (patch-common_common.h) = 625959ee61513df52696987c9fba2abb83c91262
-SHA1 (patch-convert.sh) = fd8d6ec9875f4ac250985fcc0ba01589b507c401
+SHA1 (patch-convert.sh) = d6cfcaec481719a4e8d1de5da99d1074686cac8a
diff --git a/cvs2fossil/patches/patch-convert.sh b/cvs2fossil/patches/patch-convert.sh
index 112a6bd650..380792cc8d 100644
--- a/cvs2fossil/patches/patch-convert.sh
+++ b/cvs2fossil/patches/patch-convert.sh
@@ -39,7 +39,7 @@ Adapt script for pkgsrc paths, make arguments available from command line.
oldest=$(echo 'SELECT datetime(r.date,"-1 second") FROM revision r ORDER BY r.date LIMIT 1;' | sqlite3 $db)
#
-@@ -35,14 +46,14 @@ oldest=$(echo 'SELECT datetime(r.date,"-
+@@ -35,14 +46,17 @@ oldest=$(echo 'SELECT datetime(r.date,"-
# revision IN (SELECT revision.id FROM revision WHERE date > "1998-05-01");
#EOF
@@ -50,6 +50,9 @@ Adapt script for pkgsrc paths, make arguments available from command line.
rm -f $fossil
-fossil new -A root --date-override "$oldest" $fossil
+fossil1 new -A root --date-override "$oldest" $fossil
++# this is a random value used to identify repository groups in
++# fossil. it will complain if you try to pull/push changes across
++# different projects. Use the same value for incremental runs.
project=eeb7e06236b08dc4b57b6ab3b957fe5756c64f5b
sqlite3 $fossil 'UPDATE config SET value="'$project'" WHERE name="project-code"'
initial=$(sqlite3 $fossil 'SELECT uuid FROM blob WHERE rid=1')
Home |
Main Index |
Thread Index |
Old Index