Bug 25014

Summary: junk files in ~ncvs/CVSROOT/commitlogs
Product: Base System Reporter: mkamm
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description mkamm 2001-02-11 22:50:02 UTC
  I am cvsupping the FreeBSD repository. As part of the src-base
  collection I get the commit logfiles in CVSROOT/commitlogs.

  There are some 30 files without any content, just gzipped empty
  files.

Fix: Run the following script:

<-----------------------------------------------------------------
#!/bin/sh

find /home/ncvs/CVSROOT/commitlogs/*.gz -size 1 | while read f; do
    test -z "$(gzcat $f)" && rm -v $f
done
<-----------------------------------------------------------------

Apply the following patch:

<-----------------------------------------------------------------
How-To-Repeat:   zmore /home/ncvs/CVSROOT/commitlogs/distrib.*.gz
Comment 1 Poul-Henning Kamp freebsd_committer freebsd_triage 2001-05-28 22:18:21 UTC
State Changed
From-To: open->closed

Those files represent commitlogs which were not active during 
the timeperiod they accumulated stuff.  I guess there is technically 
no problems deleting them, but leaving them in place avoid somebody 
wondering if they were lost due to some evil-minded conspiracy 
by evil geniuses wearing totally give-away innocent smiles.