Zlaire wrote:Tord Romstad wrote:
If you don't use Darcs or some other version control software, start doing so immediately.
Do you have any good information sources where I can learn about using Darcs (or similar) as a single user. Seems everything I found is very focused on multi-user setups where you need all sorts of stuff to make it work.
I just want an easy to manage version control for one user.
Hello Jonatan,
I think I started by reading the links at
http://www.darcs.net/DarcsWiki. Begin with reading the "Getting started" link, and proceed to read the sections of the official manual which are relevant to your needs. It is true that much of the documentation is intended for multi-user setups, but in my experience it is easy to just skip the parts of the documentation which is not relevant to you. Darcs also has a quite useful and friendly built-in documentation.
You'll probably find that you will only use a small subset of the available commands most of the time. The commands I use most frequently are "darcs record" (to add some changes to the repository), "darcs changes" (to view the change log), "darcs tag" (to tag the current version with a name, which can be used to retrieve the exact source code for the current version any time in the future), "darcs revert" (to undo all changes made after the last "darcs record" command), "darcs whatsnew" (to view all changes made since the last "darcs record"), "darcs pull" (to retrieve all recent changes from a remote repository), "darcs push" (to send all recent changes to a remote repository) and "darcs get" (to copy a complete repository from somewhere else).
Of course there is some learning involved, but it's a lot of work, and well worth the effort. I regret that I didn't start using a version control system earlier.
There are numerous alternatives to Darcs, of course: CVS, Subversion, and many others. Which one you prefer is largely a matter of taste. I've found Darcs to be the most pleasant and elegant to use, but YMMV.
Tord