[cvsnt] Some other strange behavior in cvs ls

Mathieu Miller mmiller at jamdat.ca
Fri Apr 16 20:10:07 BST 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi,

I want to use ls -D "date" to list files that were present at some point 
in my project.

ex:
 > cvs -Q ls -q -e -D "Tue Dec  2 19:02:03 2003 GMT" ModuleName
/File.txt/1.1/Tue Dec  2 19:02:03 2003//
D/Dir1////
D/Dir2////

If I do a ls for the second before this file was first added i get:

 >cvs -Q ls -q -e -D "Tue Dec  2 19:02:02 2003 GMT" ModuleName
D/Dir1////
D/Dir2////

Which is what i would expect. However if I later remove File.txt from 
the module:
 > cvs remove File.txt
 > cvs commit -m "Removing file" File.txt

after a ls command would show the file has correctly disapeared:

 >cvs -Q ls -q -e  ModuleName
D/Dir1////
D/Dir2////

However, if I perform a ls with the -D argument it no longer show the file:
 > cvs -Q ls -q -e -D "Tue Dec  2 19:02:03 2003 GMT" ModuleName
D/Dir1////
D/Dir2////

But if I get the module with the correct -D argument the file will be 
there.... Is it that the 'ls' command doesn't show files in the attic? Why?
I am using CVSNT version 2.0.11

Thanks,

Mathieu





More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook