[wellylug] CVS woe

Jethro Carr jethro.carr at jethrocarr.com
Fri Apr 3 10:50:20 NZDT 2009


On Fri, 2009-04-03 at 00:17 +1100, Daniel Pittman wrote:
> First, you have a problem that needs revision control.
> "Ah!", you think, "I will use CVS."  Now you have two problems...

heh, indeed. :-)


> > I think the -r option for rlog refers to the file revision, not a tag,
> > if I'm reading the man pages correctly, but I can't find any method to
> > specify fetching log by a tag.
> 
> Correct.  Presumably because that is insanely hard, is it would involve
> trolling every file for the revision that tag is associated with, then
> generate the log from that.

Interesting that it lets you generate diffs between tags without too
much hassle. I guess the developers never got around to adding support
to the commit history as well.


> Actually, in the spirit of charity, the best approach is:
> 
> 1. Use log or rlog on a single file to identify the time and date of the
>    tag.  Something early in the tagging process is a good plan.
> 
> 2. Use the '-D' argument to log or rlog to obtain all changes since that
>    point in time, since this is supported by CVS.
> 
> Don't forget to allow enough slop in there to catch the fact that CVS
> tags the current time it processed the file, not of the operation, into
> the individual files.

yup, this sounds like the way to do it.


> > I'm heading off to bed before I toss my screen through the window in
> > frustration - hopefully someone here can help me, to save the life of
> > an innocent computer. :-)
> 
> Um, converting CVS to SVN is really not terribly hard, and will
> significantly improve your life.  Certainly it is a fairly trivial step
> away from CVS, but a significantly less limited and painful one.


I have moving to a new repo server on my TODO list, so it will be a good
time to look at new options like SVN and Git.

thanks for the help. :-)


regards,
jethro


-- 
Jethro Carr
www.jethrocarr.com/index.php?cms=blog
www.amberdms.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20090403/0eadb30e/attachment.pgp 


More information about the wellylug mailing list