On Fri, Mar 4, 2011 at 3:22 AM, 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. =A0Does mercurial watch this and grab the save= d > edits? How does it know when I want to save something? =A0Do I have to > alt-tab out to mercurial, run some command line, and then go back to > writing code? =A0Or do I code all day and then make copies of my work int= o > some mercurial folder? =A0Basically, 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. Software, especially VCS is not meant to be intelligent. The barebones way: mercurial has it's binary store in a folder .hg, within your project repository where you did hg init Suppose you have your project in a folder by name "ProjectX" you will need to first initialize the binary store to store your deltas using "hg init" Now, you can continue hacking the files in your favourite editor. When you feel that you would like to create a snapshot, you can go to that folder, if you have added files do a "hg addremove" to add the files to the VCS. After this you can do a commit with "hg commit". This operation will save your changeset. Now, there are some IDE's that support mercurial http://mercurial.selenic.com/wiki/OtherTools A quick google shows that "MPLAB X" support CVS, Subversion and Mercurial straight away, even without plugins. http://devupdates.microchip.com/mplab/Files/Getting_Started_with_MPLAB-X.pd= f There are quite some choices how you would like to handle it. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .