http push

Denny Schierz linuxmail at 4lin.net
Sat Nov 17 00:48:44 UTC 2007


hi,

i can't get it working. I searched and tried  everything, i mean.

http://www.selenic.com/mercurial/wiki/index.cgi/PublishingRepositories

i was able to get the hgweb.cgi running, but I can't push or get
anything via http:

on local machine:

hg clone http://domain.foo/hg
destination directory: hg
abort: 'http://domain.foo/hg' does not appear to be an hg repository!


--- Apache Config ---
[...]
RewriteEngine on
  RewriteRule (.*) /var/www/domain.foo/hg/index.cgi$1

<Directory "/var/www/domain.foo/hg/">
     Order allow,deny
     Allow from all
     AllowOverride All
     Options ExecCGI
     AddHandler cgi-script .cgi
    Options ExecCGI FollowSymlinks
    AuthUserFile /var/www/domain.foo/etc/hg.pass
    AuthGroupFile /dev/null
    AuthName "FilmDB"
    AuthType Basic
    <LimitExcept GET>
    Require valid-user
    </LimitExcept>
</Directory>

[...]

hg# ls -la
total 8
drwxr-xr-x  3 www-data www-data  47 Nov 17 01:38 .
drwxr-xr-x 12 www-data www-data 120 Nov 17 01:36 ..
drwxr-xr-x  3 www-data www-data 113 Nov 17 01:38 .hg
-rwxr-xr-x  1 www-data www-data 478 Nov 17 01:35 index.cgi
-rw-r--r--  1 root     root      11 Nov 17 01:38 test.txt

i first created a test file, adding it and commit to the rep. I can see
it on the website with history and so on.

cat .hg/hgrc

[web]
allow_push = *
push_ssl = false
contact = VIP
description = Some projects
name = movidb
style = gitweb

what i've missed? any suggestions?


Server: dpkg -l | grep mercur
ii  mercurial              0.9.1-1+etch1


Local machine:

dpkg -l | grep mercur
ii  mercurial                             0.9.4-1


The endusers are Windows guys so, ...


cu denny


-- 
Stoppt den Überwachungswahn - Stoppt den Schäuble Katalog:
http://www.nopsis.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20071117/1dcedf27/attachment-0001.asc>


More information about the Mercurial mailing list