On 03/03/2011 01:52 PM, Marcel Duchamp wrote: > On 3/3/2011 1:26 PM, Manu Abraham wrote: >> Actually, for newbies to get started you don't even need to know all >> the mercurial commands >> >> A quick n' dirty way to get started would be as simple as 5 commands >> >> - Creating a repository >> >> hg init: create a new repo >> hg addremove: addremove files in one go >> >> - Working on the repository >> >> hg clone: if you want to clone another repository >> hg commit: commit your changes >> hg log: view the commit logs >> >> I don't think a VCS usage can be any simpler to get started. > How does mercurial mesh with an existing IDE? For example, say I'm > writing code in some compiler using the compilers code editor and > periodically saving edits. Does mercurial watch this and grab the saved > edits? How does it know when I want to save something? Do I have to > alt-tab out to mercurial, run some command line, and then go back to > writing code? Or do I code all day and then make copies of my work into > some mercurial folder? Basically, is it working in the background > continually on my behalf or do I have to invoke it to do stuff for me? > > I've never been exposed to a version control system, obviously. > Some IDEs have direct integration with version control tools. Even if=20 not, it is pretty simple to use (see below for simple workflow). How=20 often you pop out to the command line and commit your changes depends on=20 what you are doing. 1. Install whatever tool you choose. I suggest either 'git' or=20 'mercurial'. Both are excellent current generation tools, although I=20 think git has come out on top of the pile. 2. Go to the directory with your source and do: "git init" 3. Add your source to version control: "git add -A" 4. Commit those pending changes to the repository: "git commit -a" 5. Do some work in your editor. 6. Commit the changes: "git commit -a" 7. Repeat. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .