2/4 Another CVS question, how do I do reservered checkouts (like ClearCase)
on a file. I want to mark a file as in use so that no one else can
edit it, thus avoiding the stupid merges.
\_ that defeats the purpose of CVS. You can use RCS.
\_ CVS/RCS/SCCS, etc are for idiots. Just code it right the
first time. RCS type systems encourage bad programming.
\_ Ha ha ha. That was funny.
\_ No. As trolls go, it's barely at "newbie sodan"
\_ Good enough to get you two to reply plus me
makes three.
\_ There's always room in the motd for
"you fucking suck" entries.
\_ four!
\_ Me too! Five!
\_ No it doesn't. It just means for a while only one person can edit
a single file. It doesn't mean that one person only can edit
*all* of the files in the tree for the entire length of the
project.
\_ CVS is weak. Real hackers don't need it.
\_ I don't feel one way or the other about CVS, but the
stupid fools at work keep stepping on each other toes,
and I would just like to avoid that.
\_ this seems like a sensible thing to ask for, but it implies really
weird things. If homeslice already has a working copy of the files
and homeboy locks a file, your request would imply that cvs
would have to go into the checked out working directory of homeslice
and change, for example, make his checked out file read-only.
Anyways, what you're asking for is not very useful. There's a lot
more hassle involved in dealing with some asshole locking a file
overnight than there is with merging. Merging works. Use it.
Don't be lame. -ali.
\_ Actually, I hate merging. I have wasted hours merging code and
fixing mistakes of other fools. If I could lock a file with a
reserved checkout like in ClearCase then I wouldn't have to waste
\_ Exactly. Merging, CVS, etc, is bullshit. Real programmers
don't need that. Real programmers dont work with idiots
either. The best code I've ever seen was written by one
man with a vision, not a pooled team of jerkoffs in cubes.
\_ What's good enough for the people who bring you
FreeBSD is good enough for you, buddy.
\_ Fuck freebsd! Microsoft doesn't use CVS and they
built the largest, easiest to use, fastest, most
secure, easiest to administer, and stable OS ever
made and they didn't need CVS.
\_ six!
\_ ED! ED! ED IS THE STANDARD! 80 column formatting tool.
time merging. I'm beginning to apperciate ClearCase for its
versioned directories (and symlinks) and the reserved checkouts.
\_ CVS now supports this with "cvs edit" and "cvs watch", but you
have to compile specially or set something in CVSROOT.
Proper management avoids conflicts. Should two people really
be working on the same piece of code at once. Conflicts due
to whitespace are really annoying, though.
\_ Don't be dense. File locking is a useful feature (which is
surely why it was added). "management" is a heaviweight
solution.
\_ try cvs admin -lock or something like that
threadkiller was here. |