= Mercurial =

== Workflow ==

[[attachment:mercurial_workflow_image.png]]

1. Getting the repo (just once!):

{{{
hg clone lxgmap26:8000 synthesis
}}}

2. Making changes, you know how to do.

3. Committing to the local repo

{{{
hg commit -m 'Important changes' [optional single files]
}}}

4. Publish to the online repo

{{{
hg push
}}}

5. Get changes from the online repo

{{{
hg pull
hg update
}}}

== "Online repository" ==
=== .hg/hgrc ===
{{{
[ui]
username = User Name <User.Name@example.fr>
verbose = True
merge = meld
[web]
style = gitweb
allow_archive = bz2, gz, zip 
allow_push = *
push_ssl = false
description = Kewl stuff, ey.
}}}

=== hgweb.conf ===
{{{
[paths]
frenetique = /home/pommrich/frenetique
scripts = /home/pommrich/results/scripts
fediacov = /home/pommrich/results/fediacov
synthesis_octobre = /home/pommrich/synthesis_octobre
werkstatt = /home/pommrich/werkstatt
}}}

=== Serving ===

{{{
hg serve --accesslog access.log --webdir-conf ../hgweb.config &
}}}
