[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #17919] Auto-correct of contents of CVS/Entries does not always wor
From: |
Peter Keller |
Subject: |
[bug #17919] Auto-correct of contents of CVS/Entries does not always work |
Date: |
Thu, 05 Oct 2006 17:57:36 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060911 Red Hat/1.5.0.7-0.1.el4 Firefox/1.5.0.7 pango-text |
URL:
<http://savannah.nongnu.org/bugs/?17919>
Summary: Auto-correct of contents of CVS/Entries does not
always work
Project: Concurrent Versions System
Submitted by: peterkeller
Submitted on: Thursday 05/10/06 at 17:57
Category: Bug Report
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release:
Fixed Release: None
Fixed Feature Release: None
_______________________________________________________
Details:
If the day-of-month field of a date in CVS/Entries has a leading 0, cvs will
remove it, but this does not always work. I have tested this with version
1.12.13.1 (built on RedHat WS 4.0 with no options to ./configure). To
reproduce do the following. Note that it is necessary for the working file to
contain the $Name$ keyword to illustrate this problem. I have only tried this
for a date where the day-of-month is a single digit. I do not know if this is
a problem for any date, but I could investigate later this month.
Whatever the specified/intended behaviour is, the difference in behaviour
between a branch and the trunk is clearly a bug.
## Create and populate a repository
setenv CVSROOT <some empty directory>
cvs --sign=off init
mkdir test
cd test
cat >blah.txt <<'EOF'
$Name$
'EOF'
cvs --sign=off import -m test test start test
cd ..
## Illustrate correct behaviour
cvs co -d test.trunk test
cd test.trunk
cvs status <----- Should show file is 'Up-to-date'
## Edit first line of CVS/Entries: replace space in front of date
## with zero, e.g. from
## /blah.txt/1.1.1.1/Thu Oct 5 17:30:42 2006//Tmybranch
## to
## /blah.txt/1.1.1.1/Thu Oct 05 17:30:42 2006//Tmybranch
cvs status <----- Should show file is 'Up-to-date'
cat CVS/Entries <----- Edit above should have been reversed
# Now create a branch and illustrate bug
cvs tag -b mybranch
cd ..
cvs co -r mybranch -d test.branch test
cd test.branch
cvs status <----- Should show file is 'Up-to-date'
## Edit first line of CVS/Entries as before
cvs status <------ Will show file as Locally Modified
cat CVS/Entries <------ Edit not reversed
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?17919>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [bug #17919] Auto-correct of contents of CVS/Entries does not always work,
Peter Keller <=