Site Tools


Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
rechner:mercurial

This is an old revision of the document!


http Repo mit lighttpd

Anleitung in http://mercurial.selenic.com/wiki/HgWebDirStepByStep

  1. apt-get install lighttpd
  2. vi /etc/lighttpd/lighttpd.conf : enable mode_rewrite
  3. mkdir /home/hg
  4. cp hgwebdir.cgi /home/hg
  5. vi hgweb.config

Projekt in Repo aufnehmen

Repo ist schon eingerichtet und konfiguriert

  1. su www-data
  2. s223: cd /home/hg/repo
  3. hg init teamfunk
  4. vi teamfunk/.hg/hgrc
  [web]
  allow_push = *
  push_ssl = false
  allow_archive = gz zip bz2
  1. jetzt z.B. loakles hg-repo pushen. s222:../sw_bt: hg push http:/s223/hg/teamfunk

Nutzung

  1. diffs grafisch anschauen: diffuse filename
  2. nur den Status der in hg vorhandenen Files listen: hg stat -q
  3. versehentlich im Wokringdir gelöschte Datei aus Repo wieder herstellen (wird bei hg stat als !filename angezeigt): hg revert filename

CVS konvertieren

  1. CVS auschecken: cd tmp; cvs co lpssrc
  2. hg convert lpssrc
  3. Es wird ein Verzeichnis lpssrc-hg angelegt
  4. ggf. zur Kontrolle: cd lpssrc;hg update oder hg log filename etc.
  5. auf s223 repo anlegen
  6. hg push
rechner/mercurial.1292329551.txt.gz · Last modified: 2024/04/15 00:43 (external edit)