Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Short example of how to start out with subversion (honestly, if you're just starting out I don't see merit in beginning with one of the older version control systems, they're no easier to learn and make your daily life harder). Let's say your current code is in /home/neversaint/code and you'd like to keep the subversion repository (the backend storage, i.e. database if you will) in /home/neversaint/subversion. This will create an empty repository for you. This will import your codebase into the repository. This will create a new copy of your current codebase in /home/neversaint/workspace. From then on, make all changes to these files. Whenever you want to save your files to the repository, do a
This will update the repository to the state of the workspace. For further instructions, see the book pointed out by duff and the subversion documentation, execute and for details on certain commands. Update:Changed to using real-world paths, after msg's asking for clarification, also fixed a syntax error in the create. Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian W. Kernighan In reply to Re: Learning How to Use CVS for Personal Perl Coding Practices
by tirwhan
|
|