Add new hg Repo: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
(New page: ssh root@job4 cd /srv/www/htdocs/hg/repos mkdir NEWREPO chown joachim:www NEWREPO chmod ug+rw NEWREPO cd NEWREPO hg init cd .hg echo '[web] contact = Joachim Banzhaf <joachimbanz...)
 
No edit summary
Line 8: Line 8:
  cd .hg
  cd .hg
  echo '[web]
  echo '[web]
  contact = Joachim Banzhaf <joachimbanzhaf@compuserve.de>
  contact = Joachim Banzhaf <joachim.banzhaf@googlemail.com>
  description = NEW REPO DESCRIPTION
  description = NEW REPO DESCRIPTION
  allowgz = true' >hgrc
  allowgz = true' >hgrc


Todo: correct access rights?
Todo: correct access rights?

Revision as of 11:19, 30 April 2009

ssh root@job4
cd /srv/www/htdocs/hg/repos
mkdir NEWREPO
chown joachim:www NEWREPO
chmod ug+rw NEWREPO
cd NEWREPO
hg init
cd .hg
echo '[web]
contact = Joachim Banzhaf <joachim.banzhaf@googlemail.com>
description = NEW REPO DESCRIPTION
allowgz = true' >hgrc

Todo: correct access rights?