====== Mercurial - eine verteilte Versionskontrolle ====== * Ein [[http://www.jukie.net/~bart/blog/git-vs-hg|Vergleich]] zu git, und der Motivation ein weiteres System zu schreiben * Ein weiterer [[http://www.russellbeattie.com/blog/distributed-revision-control-systems-git-vs-mercurial-vs-svn|Vergleich]] zu git und Subversion * Ein [[http://video.google.com/videoplay?docid=-7724296011317502612|Video]] vom Google-Talks mit Bryan O’Sullivan * [[http://www.assembla.com/free_mercurial_hosting|Free and Commercial Mercurial Hosting]] ===== Dokumentation ===== * Bryan O’Sullivan: [[http://hgbook.red-bean.com/hgbook.html|Distributed revision control with Mercurial]] * [[http://www.selenic.com/mercurial/wiki/|Mercurial Wiki]], unter anderem mit vielen Tips zu Migration von anderen Systemen zu Mercurial * Mercurial [[http://www.selenic.com/mercurial/wiki/index.cgi/QuickReferenceCardsAndCheatSheets|Quick Reference Cards]] * [[htp://blog.medallia.com/2007/02/a_guided_tour_of_mercurial.html|A Guided Tour of Mercurial]] * Kommandoreferenz für Wechsler: Mercurial <-> Git [[http://www.wikivs.com/wiki/Git_vs_Mercurial#Commands|Rosetta Stone]] ==== Methoden ==== * Entfernt CVS, lokal Mercurial: Mozilla wiki - [[http://wiki.mozilla.org/Using_Mercurial_locally_with_CVS|Using Mercurial locally with CVS]] * Es wird auch sehr gut ein praktisches Beispiel von [[https://wiki.mozilla.org/Using_Mercurial_locally_with_CVS#Managing_patches|mq-Patch Management]] gezeigt. * http://www.selenic.com/mercurial/wiki/KeywordExtension and [[http://www.selenic.com/mercurial/wiki/index.cgi/KeywordPlan#head-2007fad6f31bf6f1f1b5c3d5b02e5c6225de3ec5|Why You Don't Need It.]] * $ID$ usw. ==== Rezepte ==== * Subrepositories http://mercurial.aragost.com/kick-start/en/subrepositories * "get rid of multiple heads" http://stackoverflow.com/questions/5249535/how-to-get-rid-of-older-mercurial-heads * ''hg clone -r tip myrepo mynewrepo'' ==== Extensions ==== * [[http://mercurial.selenic.com/wiki/KeywordExtension|Keywords]]: Schlüsselwort-Extraktion z.B. für Versions-ID ===== Integration IDE ===== * über [[vim#versionskontrolle|vcscommand]] und vcsnursery kann auch aus [[vim]] ein Aufruf in ein Repositorium erfolgen * [[http://www.vectrace.com/mercurialeclipse/|Mercurial Eclipse]] ===== Interaktion mit anderen Versionsverwaltungen (VCS) ===== ==== Git ==== * http://hg-git.github.com/ * für Debian * ab Squeeze ''aptitude install mercurial-git'' * Lenny: * benötigt //mercurial// >= 1.3 aus den [[os:debian?&#backportsfrische_software_fuer_stable|Backports]], sowie aptitude install python2.5-dev python-setuptools * anschließend wie angegeben easy_install hg-git {{tag>development}}