| Summary: | junk files in ~ncvs/CVSROOT/commitlogs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | mkamm | ||||
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 4.2-STABLE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
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. |
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