seems hard for window users

Arne Babenhauserheide arne_bab at web.de
Thu Feb 5 08:04:15 CST 2009


Am Donnerstag 05 Februar 2009 07:16:12 schrieb bardy:
> > have, your network situation, etc. you can just push.
>
> allow all anonymous push ?

That's what I do for (some of) my local repositories. 

It's not perfectly safe, but I can always just undo changes - if need be with 
"hg strip" from the Mercurial Queue extension. 

And if both computers are in the same LAN, you can simply not forward the port 
you use (select it with "hg serve -p PORT"), so it can only be accessed from 
inside the LAN. 

Your bigger problem might be that it would also allow read access to anyone 
who finds it. So you could set 
[web]
allowpull = False
allow_push = *
push_ssl = False
style = None # ugly hack!

style = None is an ugly hack, though, since it just makes the web templater 
thread throw a RuntimeError - the repository is still being served, though. 

Besides: I just posted a mail asking for a cleaner way to archieve this. 

Best wishes, 
Arne

-- 
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the 
history of free software.
-- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)

-- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial/attachments/20090205/7c4ad08d/attachment.pgp 


More information about the Mercurial mailing list