Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: (sort of OT) cvs/vendor supplied modules/our own modifications

by superfrink (Curate)
on Jul 24, 2004 at 18:09 UTC ( [id://377149]=note: print w/replies, xml ) Need Help??


in reply to (sort of OT) cvs/vendor supplied modules/our own modifications

I use CVS at work and for personal projects (I even used it for many undergrad assignments). My main complaint is trouble doing the branching and merging (also deleting and renaming files erase all history of those files). Maybe I just haven't learned enough about how to use CVS. (I assure you I've read and googled and tried to figure it out though.)

One company I've worked with is currently considering subversion though they haven't switched over yet and I understand there is a fee to use it.
  • Comment on Re: (sort of OT) cvs/vendor supplied modules/our own modifications

Replies are listed 'Best First'.
Re^2: (sort of OT) cvs/vendor supplied modules/our own modifications
by The Mad Hatter (Priest) on Jul 24, 2004 at 18:18 UTC

    Subversion solves the complaints you listed, including keeping the history when deleting/renaming files. I made the switch from CVS to Subversion a little while back with the help of the online version of a great book, and I've really liked it a lot.

    There shouldn't be a fee at all; subversion is licensed under the Apache 1.1 license (but with CollabNet as the copyright holder).

      I switched to subversion a while ago just for ease of branching and merging. But, I also needed compatibility with CVS-based hosting services (like SourceForge), so I wrote svn2cvs. With cvs2svn and this tool I made successfull transition to subversion.

      Vendor branches in subversion are just directories. Basic principle is following: You have version 1.0 of vendor (upstream) branch. You do copy (which is cheap in subversion) to your trunk (current working tree). When vendor release version 1.1, you do merge. Subversion will diff vendor version 1.0 and 1.1 and apply changes to your working tree. If there are conflicts, you will get original file, left and right merge, just to make it easier. All that is described in much more details in subversion book.

      I must also warn you: if you try subversion branches, you won't be able to go back to CVS :-)


      2share!2flame...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://377149]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (8)
As of 2024-04-24 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found