info-cvs
[Top][All Lists]
Advanced

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

using cvs2cl xml output to extend cvs functionality


From: Matthew Herrmann
Subject: using cvs2cl xml output to extend cvs functionality
Date: Wed, 18 Dec 2002 15:34:10 +1100

hi everyone,

just thought i'd let people know, i'm doing some work on a definitive
solution to the whole "cvs doesn't handle rolling back commits easily", "cvs
can't tag files with the same log message", etc. problem.

here's the idea:

step 1) cvs2cl --xml generates XML output
step 2) XSLT stylesheet converts changelog to cvs scripts for performing
basic operations, like cvs up -jr1 -jr2.

The output is a DHTML page where you can click on + signs to view
information about commits.

...
[+] Fixed Bug
    _CVS Commands To Rollback This Commit_
    _CVS Commands To View Changed Lines In This Commit_
...

[+] Fixed Bug
    _CVS Commands To Rollback This Commit_
    _CVS Commands To View Changed Lines In This Commit_
         cvs diff -r1.23.1.28 -r1.23.1.29 file1.c
         cvs diff -r1.6 -r6.1.1 file2.c
         ...

copy the cvs diff commands into your workspace and run!

The approach will work spot-on for rolling back commits. In this case, just
a whole series of cvs up -j messages are produced.

The beauty of the approach is:
- extensible
- cross-platform
- most of the hard work is done already by cvs2cl
- easy... i hope!

What do people think?

Regards,

Matthew Herrmann
--------------------------------------
Far Edge Technology
Level 11, 80 Mount St
North Sydney NSW 2060
Australia

Ph: 02 9955 3640
Mob: 0404 852 537




reply via email to

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