|
Größe: 1047
Kommentar: mercurial_workflow_image.png
|
Größe: 1719
Kommentar:
|
| Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
| Zeile 3: | Zeile 3: |
| == ExtdiffExtension == http://mercurial.selenic.com/wiki/ExtdiffExtension == Extensions == {{{ [extensions] hgext.extdiff = graphlog = transplant= hgext.gpg= color= [extdiff] # add new command called ediff, runs emacs diff cmd.ediff = sh opts.ediff = -c 'if [ -d $0 ]; then emacs --eval "(ediff-directories \"$0\" \"$1\" \"\")"; else emacs --eval "(ediff-files \"$0\" \"$1\")"; fi' [gpg] # if cmd is not provided it defaults to gpg # cmd=/path/to/gpg-command-to-use # key is optional and can be provided on the command line key=F20FBB54 [hostfingerprints] cae-hg.wob.vw.vwg = fc:da:9e:a8:7c:27:7a:c0:17:7d:a3:e0:1b:1b:56:de:23:2e:94:dd }}} |
Mercurial
ExtdiffExtension
http://mercurial.selenic.com/wiki/ExtdiffExtension
Extensions
[extensions] hgext.extdiff = graphlog = transplant= hgext.gpg= color= [extdiff] # add new command called ediff, runs emacs diff cmd.ediff = sh opts.ediff = -c 'if [ -d $0 ]; then emacs --eval "(ediff-directories \"$0\" \"$1\" \"\")"; else emacs --eval "(ediff-files \"$0\" \"$1\")"; fi' [gpg] # if cmd is not provided it defaults to gpg # cmd=/path/to/gpg-command-to-use # key is optional and can be provided on the command line key=F20FBB54 [hostfingerprints] cae-hg.wob.vw.vwg = fc:da:9e:a8:7c:27:7a:c0:17:7d:a3:e0:1b:1b:56:de:23:2e:94:dd
Workflow
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 &