[Issue 247] New - CVS should remove dirs from Entries which are not found in the repos itory.

[email protected] 3 May 2005 16:02:35 -0000
Newsgroups gmane.comp.version-control.cvs.issuezilla
Message-ID <[email protected]>
https://ccvs.cvshome.org/issues/show_bug.cgi?id=247
                 Issue #|247
                 Summary|CVS should remove dirs from Entries which are not foun
                        |d in the repository.
               Component|ccvs
                 Version|stable development (1.odd.X.1)
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|checkout/export/update
             Assigned to|issues@ccvs
             Reported by|dprice






------- Additional comments from [email protected] Tue May  3 09:02:35 -0700 2005 -------
The reference to a directory in Entries should be deleted when it is not found
in the repository.

FOr example, given a repository containing:

proj/file0
proj/sdir
proj/sdir/file1
proj/sdir2
proj/sdir2/file2
proj/sdir3
proj/sdir3/file3

Check out proj.  mv /cvsroot/proj/sdir /cvsfroot/proj/sdir.new.  Anyone with a
checked out copy of the project should now see the following message every time
they update their checked-out workspace:

cvs update: cannot open directory /cvsroot/garbage/sdir3: No such file or directory
cvs update: skipping directory sdir3

Interestingly enough, CVS is even listing the wrong directory here.  The two
bugs to fix are:

1.  Print a warning with the correct directory name.
2.  Remove the directory from the Entries file in the workspace so this error
stops happening.