bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in "cvs commit -r ..." with subdirs


From: Martin Stockinger
Subject: bug in "cvs commit -r ..." with subdirs
Date: Mon, 18 Dec 2000 11:08:36 +0100
User-agent: Mutt/1.2.2i

Hi,

since cvs 1.10 there is a bug with the cvs commit -r ....  command.
It does not work recursively.

How-To-Repeat:

mkdir cvstest
mkdir cvstest/subdir1
mkdir cvstest/subdir2
touch cvstest/subdir1/file1
touch cvstest/subdir2/file2
cd cvstest
cvs import -m "just a test" cvstest avendor atag
cd ..
rm -rf cvstest
cvs co cvstest
cd cvstest
cvs commit -m "want a higher revision for all files" -r 2.0
 ==> only file1 gets higher revision not file2 !!!!!!


Fix:

Inset at line 52 in repos.c following lines:

> diff -e repos.c.orig repos.c.patched
52a
    if ( fpin == NULL )
    {
        free( tmp );
        tmp = xstrdup (CVSADM_REP);
        fpin = CVS_FOPEN (tmp, "r");
    }


Thanks,
  Martin

--

Martin Stockinger, Dipl.-Inform. (FH)         address@hidden
Bayerwald Fenster + Haustüren
Gewerbepark 7                               Tel.: +49 - 8504 /  400 -   192
D-94154 Neukirchen vorm Wald                Fax : +49 -   89 / 2443 - 22968



reply via email to

[Prev in Thread] Current Thread [Next in Thread]