TIME ATTACK






10:00

mercury

(Hg)


Liquid metal.

When spilled it splits in independent spheres, which 
merge instantly the moment they touch.

Mercurial


(Hg)


Distributed version control system.

Evolution to the documents happen in independent locations, and changes could be easily merged together.

how was it centralized




(pic by dukeofgaming )

how's it distributed


(pic by dukeofgaming )

looks complicated, but

agree on one node as the "central" is enough



(pic by dukeofgaming )

why would I want distributed?



When you push on the central server, you're not only integrating changes to the codebase, 
you're also inflicting changes to other develoeprs!



Sometimes it's not the case to inflict changes to everyone until you're confident about it, but you still need to share with someone while working on it.

WHY WOULD I WANT mercurial?

(reasons in sparse order...)


  • no need for a server
  • works when offline
  • easy to install and lightweight
  • can do backup clones on other local disks or flash drives
  • free cloud repository hosting available
  • integrated in most development tools
  • extensions
  • easy to use!

how i use it?


For a basic usage you just need few inutuitive commands

hg init


display

hg log
hg status
hg diff

add and remove to tracking


hg add
hg forget
hg remove


persist a unit of change



hg commit

travel in time


hg update
hg revert

share


hg push
hg pull

solve conflicts


hg merge
hg resolve

references



A tutorial: hginit.com

Free cloud repository: bitbucket.org

A graphical tool: TortoiseHg




thanks





ta_hg

By Tsukihara Caligin