Subject: How about a CVS interaction package in tcllib? - DN [1]
Mo <mo@nospam.com> - 17 Mar 2000 - comp.lang.tcl
I was just thinking that a really handy thing to have in tcllib
would be an Tcl level interface to CVS. Things like adding and
updating files would be easy.
CVS:add $files
CVS::update $files
But it would be really cool to add and interface that would allow
you to interact with "meta" info in the CVS. It would be really
cool to be able to get access to things like revisions on branches
and do diffs by date with Tcl commands.
set branches [CVS::getbranches]
set head [CVS::getbranch HEAD]
foreach rev [CVS::getrevisions $head] {
puts "revision \"$rev\", made on [CVS::getrevdate $rev]"
puts "revision log is as follows"
puts [CVS::getrevlog $rev]
}
Any comments?
Mo Dejong
Red Hat Inc.
Last modified
2000-07-20
2000-07-20
(195.108.246.52)
Note: you are looking at
the snapshot of an old wiki
- much of this information
is likely to be very outdated
