[cvsnt] Analysing Logs

Alexander Zoernack alexander.zoernack at technotrend.de
Thu Dec 21 08:35:43 GMT 2006


Hi Tony,

you can do this without dealing with "magic" files on the server.
Only do this on a client:
- create a log file of the repository path 
  where the file should be located
  --> make "cvs log >statistics.log" in the sandbox folder with 
      the checked out copy of the project)
- search the resulting text file for the filename that your users
  are complaining about.
  * if the filename doesn't exist --> the file was never committed.
    (then the "Other one" is right)
  * if the state of the last revision of the file is "state: dead;"
    --> the file was removed and the entry "author: " gives you 
        the name of the bad guy that removes it.
    (then the first "One" is right)
  * if the filename exist and state is "state: Exp;", it still exist
    in the repository and both guys made mistakes

best regards,
Alexander Zoernack

··································································
Alexander Zoernack, R&D   *   phone   +49 361 22188 40
TechnoTrend AG            *   fax     +49 361 22188 44
Melchior-Bauer-Str. 5     *   alexander.zoernack at technotrend.de 
D-99092 Erfurt            *   PGP-ID: 0x1e767a56
GERMANY                   *   www.technotrend.com
Visit our shop at:        *   http://shop.technotrend.de
··································································
This email, together with any attachments, is for the exclusive 
and confidential use of the addressee(s). Any other distribution, 
use or reproduction without the sender's prior consent is 
unauthorised and strictly prohibited. If you have received this 
message in error, please notify the sender by email immediately 
and delete the message from your computer without making copies.
··································································
 

> -----Ursprüngliche Nachricht-----
> Von: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] 
> Im Auftrag von Tony D'Amico
> Gesendet: Mittwoch, 20. Dezember 2006 15:29
> An: cvsnt at cvsnt.org
> Betreff: [cvsnt] Analysing Logs
> 
> 
> Hi to everybody.
> I have a cvsnt which is a 2.5.03 (Scorpio) Build 2151. Server 
> is a RedHat
> Linux. Actually I'm a very low experienced administrator.
> Two cvs users quarrel over a cvs file matter.
> One says: - I had an important file on that repository and 
> now it is lost.
> You removed it. -
> Other one answers: - No, I did't. Actually you never put that 
> file into the
> repository. You likely forgot to commit you add. -
> 
> How can I verify who is right and who wrong?
> 
> Thanks a lot for any help!
> 
> Tony
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
> 




More information about the cvsnt mailing list