CVS commit: src/external/gpl2/xcvs/dist/src
Module Name:src Committed By: christos Date: Sun Feb 4 21:42:24 UTC 2024 Modified Files: src/external/gpl2/xcvs/dist/src: client.c Log Message: mention if we are prunning. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/gpl2/xcvs/dist/src/client.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl2/xcvs/dist/src
Module Name:src Committed By: christos Date: Sun Feb 4 21:42:24 UTC 2024 Modified Files: src/external/gpl2/xcvs/dist/src: client.c Log Message: mention if we are prunning. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/gpl2/xcvs/dist/src/client.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl2/xcvs/dist/src/client.c diff -u src/external/gpl2/xcvs/dist/src/client.c:1.5 src/external/gpl2/xcvs/dist/src/client.c:1.6 --- src/external/gpl2/xcvs/dist/src/client.c:1.5 Tue May 17 10:00:09 2016 +++ src/external/gpl2/xcvs/dist/src/client.c Sun Feb 4 16:42:24 2024 @@ -10,7 +10,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. */ #include -__RCSID("$NetBSD: client.c,v 1.5 2016/05/17 14:00:09 christos Exp $"); +__RCSID("$NetBSD: client.c,v 1.6 2024/02/04 21:42:24 christos Exp $"); #ifdef HAVE_CONFIG_H # include "config.h" @@ -2289,6 +2289,7 @@ process_prune_candidates (void) struct save_dir *p; struct save_dir *q; +processing = "prune"; if (toplevel_wd) { if (CVS_CHDIR (toplevel_wd) < 0)
CVS commit: src/external/gpl2/xcvs/dist/src
Module Name:src Committed By: christos Date: Sun Feb 4 20:47:26 UTC 2024 Modified Files: src/external/gpl2/xcvs/dist/src: cvs.h main.c recurse.c Log Message: mention which processing step we are in. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/gpl2/xcvs/dist/src/cvs.h cvs rdiff -u -r1.8 -r1.9 src/external/gpl2/xcvs/dist/src/main.c cvs rdiff -u -r1.3 -r1.4 src/external/gpl2/xcvs/dist/src/recurse.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl2/xcvs/dist/src/cvs.h diff -u src/external/gpl2/xcvs/dist/src/cvs.h:1.5 src/external/gpl2/xcvs/dist/src/cvs.h:1.6 --- src/external/gpl2/xcvs/dist/src/cvs.h:1.5 Fri Sep 15 17:03:26 2017 +++ src/external/gpl2/xcvs/dist/src/cvs.h Sun Feb 4 15:47:25 2024 @@ -878,6 +878,7 @@ char *expand_path (const char *name, con /* User variables. */ extern List *variable_list; +extern const char *processing; /* cvsacl patch */ extern int cvsacl (int argc, char **argv); Index: src/external/gpl2/xcvs/dist/src/main.c diff -u src/external/gpl2/xcvs/dist/src/main.c:1.8 src/external/gpl2/xcvs/dist/src/main.c:1.9 --- src/external/gpl2/xcvs/dist/src/main.c:1.8 Thu Jan 20 09:46:06 2022 +++ src/external/gpl2/xcvs/dist/src/main.c Sun Feb 4 15:47:25 2024 @@ -17,7 +17,7 @@ * */ #include -__RCSID("$NetBSD: main.c,v 1.8 2022/01/20 14:46:06 christos Exp $"); +__RCSID("$NetBSD: main.c,v 1.9 2024/02/04 20:47:25 christos Exp $"); #include "cvs.h" @@ -29,6 +29,7 @@ __RCSID("$NetBSD: main.c,v 1.8 2022/01/2 const char *program_name; const char *program_path; const char *cvs_cmd_name; +const char *processing = "init"; const char *global_session_id; /* Random session ID */ @@ -516,8 +517,8 @@ show_status (int n) if (getcwd(wd, sizeof(wd)) == NULL) return; - n = snprintf(buf, sizeof(buf), "%s[%d]: working in %s\n", getprogname(), - (int)getpid(), wd); + n = snprintf(buf, sizeof(buf), "%s[%d]: %s in %s\n", getprogname(), + (int)getpid(), processing, wd); if (n <= 0) return; write(ttyfd, buf, (size_t)n); Index: src/external/gpl2/xcvs/dist/src/recurse.c diff -u src/external/gpl2/xcvs/dist/src/recurse.c:1.3 src/external/gpl2/xcvs/dist/src/recurse.c:1.4 --- src/external/gpl2/xcvs/dist/src/recurse.c:1.3 Tue May 17 10:00:09 2016 +++ src/external/gpl2/xcvs/dist/src/recurse.c Sun Feb 4 15:47:25 2024 @@ -14,7 +14,7 @@ * */ #include -__RCSID("$NetBSD: recurse.c,v 1.3 2016/05/17 14:00:09 christos Exp $"); +__RCSID("$NetBSD: recurse.c,v 1.4 2024/02/04 20:47:25 christos Exp $"); #include "cvs.h" #include "save-cwd.h" @@ -748,6 +748,7 @@ do_recursion (struct recursion_frame *fr if (dirlist != NULL && filelist == NULL) dodoneproc = 0; +processing = "scan"; /* * If filelist or dirlist is already set, we don't look again. Otherwise, * find the files and directories @@ -810,6 +811,8 @@ do_recursion (struct recursion_frame *fr } } +processing = "process"; + /* process the files (if any) */ if (process_this_directory && filelist != NULL && frame->fileproc) { @@ -859,6 +862,8 @@ do_recursion (struct recursion_frame *fr dellist (); } +processing = "cleanup"; + /* call-back files done proc (if any) */ if (process_this_directory && dodoneproc && frame->filesdoneproc != NULL) err = frame->filesdoneproc (frame->callerdat, err, repository,
CVS commit: src/external/gpl2/xcvs/dist/src
Module Name:src Committed By: christos Date: Sun Feb 4 20:47:26 UTC 2024 Modified Files: src/external/gpl2/xcvs/dist/src: cvs.h main.c recurse.c Log Message: mention which processing step we are in. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/gpl2/xcvs/dist/src/cvs.h cvs rdiff -u -r1.8 -r1.9 src/external/gpl2/xcvs/dist/src/main.c cvs rdiff -u -r1.3 -r1.4 src/external/gpl2/xcvs/dist/src/recurse.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl2/xcvs/dist/src
Module Name:src Committed By: christos Date: Thu Jan 20 14:46:06 UTC 2022 Modified Files: src/external/gpl2/xcvs/dist/src: main.c Log Message: fix bug in the original code I copied from to scan_ffs To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/gpl2/xcvs/dist/src/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl2/xcvs/dist/src
Module Name:src Committed By: christos Date: Thu Jan 20 14:46:06 UTC 2022 Modified Files: src/external/gpl2/xcvs/dist/src: main.c Log Message: fix bug in the original code I copied from to scan_ffs To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/gpl2/xcvs/dist/src/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl2/xcvs/dist/src/main.c diff -u src/external/gpl2/xcvs/dist/src/main.c:1.7 src/external/gpl2/xcvs/dist/src/main.c:1.8 --- src/external/gpl2/xcvs/dist/src/main.c:1.7 Tue Aug 21 11:37:33 2018 +++ src/external/gpl2/xcvs/dist/src/main.c Thu Jan 20 09:46:06 2022 @@ -17,7 +17,7 @@ * */ #include -__RCSID("$NetBSD: main.c,v 1.7 2018/08/21 15:37:33 christos Exp $"); +__RCSID("$NetBSD: main.c,v 1.8 2022/01/20 14:46:06 christos Exp $"); #include "cvs.h" @@ -509,7 +509,7 @@ show_status (int n) static int ttyfd = -2; if (ttyfd == -2) - ttyfd = open(_PATH_TTY, O_RDWR, O_CLOEXEC); + ttyfd = open(_PATH_TTY, O_RDWR | O_CLOEXEC); if (ttyfd == -1) return;
CVS commit: src/external/gpl2/xcvs/dist/src
Module Name:src Committed By: kamil Date: Tue Sep 24 21:03:29 UTC 2019 Modified Files: src/external/gpl2/xcvs/dist/src: ignore.c Log Message: Add missing ; To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/gpl2/xcvs/dist/src/ignore.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl2/xcvs/dist/src
Module Name:src Committed By: kamil Date: Tue Sep 24 21:03:29 UTC 2019 Modified Files: src/external/gpl2/xcvs/dist/src: ignore.c Log Message: Add missing ; To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/gpl2/xcvs/dist/src/ignore.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl2/xcvs/dist/src/ignore.c diff -u src/external/gpl2/xcvs/dist/src/ignore.c:1.5 src/external/gpl2/xcvs/dist/src/ignore.c:1.6 --- src/external/gpl2/xcvs/dist/src/ignore.c:1.5 Tue Sep 24 21:01:50 2019 +++ src/external/gpl2/xcvs/dist/src/ignore.c Tue Sep 24 21:03:29 2019 @@ -8,7 +8,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. */ #include -__RCSID("$NetBSD: ignore.c,v 1.5 2019/09/24 21:01:50 kamil Exp $"); +__RCSID("$NetBSD: ignore.c,v 1.6 2019/09/24 21:03:29 kamil Exp $"); /* * .cvsignore file support contributed by David G. Grubbs @@ -39,7 +39,7 @@ static int ign_hold = -1; /* Index wher const char *ign_default = ". .. *.core RCSLOG tags TAGS RCS SCCS .make.state\ .nse_depinfo #* .#* cvslog.* ,* CVS.adm .del-* *.a *.olb *.o *.obj\ .gitignore .gitattributes .gitmodules .hgignore\ - *.so *.Z *~ *.old *.elc *.ln *.bak *.BAK *.orig *.rej *.exe _$* *$" + *.so *.Z *~ *.old *.elc *.ln *.bak *.BAK *.orig *.rej *.exe _$* *$"; extern const char *cvsDir; #define IGN_GROW 16 /* grow the list by 16 elements at a
CVS commit: src/external/gpl2/xcvs/dist/src
Module Name:src Committed By: kamil Date: Tue Sep 24 21:01:50 UTC 2019 Modified Files: src/external/gpl2/xcvs/dist/src: ignore.c Log Message: Add a bunch of meta files from git and hg to ignore from CVS imports This will allow interop of src/ with git and hg without malforming repos. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/gpl2/xcvs/dist/src/ignore.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl2/xcvs/dist/src/ignore.c diff -u src/external/gpl2/xcvs/dist/src/ignore.c:1.4 src/external/gpl2/xcvs/dist/src/ignore.c:1.5 --- src/external/gpl2/xcvs/dist/src/ignore.c:1.4 Tue Sep 24 17:23:06 2019 +++ src/external/gpl2/xcvs/dist/src/ignore.c Tue Sep 24 21:01:50 2019 @@ -8,7 +8,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. */ #include -__RCSID("$NetBSD: ignore.c,v 1.4 2019/09/24 17:23:06 maya Exp $"); +__RCSID("$NetBSD: ignore.c,v 1.5 2019/09/24 21:01:50 kamil Exp $"); /* * .cvsignore file support contributed by David G. Grubbs @@ -38,7 +38,8 @@ static int ign_hold = -1; /* Index wher const char *ign_default = ". .. *.core RCSLOG tags TAGS RCS SCCS .make.state\ .nse_depinfo #* .#* cvslog.* ,* CVS.adm .del-* *.a *.olb *.o *.obj\ - *.so *.Z *~ *.old *.elc *.ln *.bak *.BAK *.orig *.rej *.exe _$* *$"; + .gitignore .gitattributes .gitmodules .hgignore\ + *.so *.Z *~ *.old *.elc *.ln *.bak *.BAK *.orig *.rej *.exe _$* *$" extern const char *cvsDir; #define IGN_GROW 16 /* grow the list by 16 elements at a
CVS commit: src/external/gpl2/xcvs/dist/src
Module Name:src Committed By: kamil Date: Tue Sep 24 21:01:50 UTC 2019 Modified Files: src/external/gpl2/xcvs/dist/src: ignore.c Log Message: Add a bunch of meta files from git and hg to ignore from CVS imports This will allow interop of src/ with git and hg without malforming repos. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/gpl2/xcvs/dist/src/ignore.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl2/xcvs/dist/src
Module Name:src Committed By: maya Date: Tue Sep 24 17:23:06 UTC 2019 Modified Files: src/external/gpl2/xcvs/dist/src: ignore.c Log Message: Ignore our default core file pattern rather than one of another system. "core" shows up as a path sometimes. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/gpl2/xcvs/dist/src/ignore.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl2/xcvs/dist/src
Module Name:src Committed By: maya Date: Tue Sep 24 17:23:06 UTC 2019 Modified Files: src/external/gpl2/xcvs/dist/src: ignore.c Log Message: Ignore our default core file pattern rather than one of another system. "core" shows up as a path sometimes. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/gpl2/xcvs/dist/src/ignore.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl2/xcvs/dist/src/ignore.c diff -u src/external/gpl2/xcvs/dist/src/ignore.c:1.3 src/external/gpl2/xcvs/dist/src/ignore.c:1.4 --- src/external/gpl2/xcvs/dist/src/ignore.c:1.3 Tue May 17 14:00:09 2016 +++ src/external/gpl2/xcvs/dist/src/ignore.c Tue Sep 24 17:23:06 2019 @@ -8,7 +8,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. */ #include -__RCSID("$NetBSD: ignore.c,v 1.3 2016/05/17 14:00:09 christos Exp $"); +__RCSID("$NetBSD: ignore.c,v 1.4 2019/09/24 17:23:06 maya Exp $"); /* * .cvsignore file support contributed by David G. Grubbs @@ -36,7 +36,7 @@ static int ign_size; /* This many slot static int ign_hold = -1; /* Index where first "temporary" item * is held */ -const char *ign_default = ". .. core RCSLOG tags TAGS RCS SCCS .make.state\ +const char *ign_default = ". .. *.core RCSLOG tags TAGS RCS SCCS .make.state\ .nse_depinfo #* .#* cvslog.* ,* CVS.adm .del-* *.a *.olb *.o *.obj\ *.so *.Z *~ *.old *.elc *.ln *.bak *.BAK *.orig *.rej *.exe _$* *$"; extern const char *cvsDir;
Re: CVS commit: src/external/gpl2/xcvs/dist/src
In article, Paul Goyette wrote: >Per discussion on irc, shouldn't the default remain as-is, and a new >option be used to "honor" server-provided timestamps for unchanged >files? Done. christos
Re: CVS commit: src/external/gpl2/xcvs/dist/src
Per discussion on irc, shouldn't the default remain as-is, and a new option be used to "honor" server-provided timestamps for unchanged files? On Sun, 18 Dec 2016, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Mon Dec 19 04:37:13 UTC 2016 Modified Files: src/external/gpl2/xcvs/dist/src: update.c Log Message: add -t to preserve timestamps. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/gpl2/xcvs/dist/src/update.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. !DSPAM:5857641e142881477110141! +--+--++ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired)| FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org | +--+--++
CVS commit: src/external/gpl2/xcvs/dist/src
Module Name:src Committed By: christos Date: Fri Feb 19 23:50:55 UTC 2010 Modified Files: src/external/gpl2/xcvs/dist/src: logmsg.c Log Message: make the default action abort for the empty log message; it used to be continue. requested by joerg. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/gpl2/xcvs/dist/src/logmsg.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.