Am Freitag 06 Februar 2009 06:07:34 schrieb TK Soh:
> > Otherwise you could create some push hooks for the website which
> > automatically update the site. That's what I do for some of my sites.
>
> I'm just curious how it's done.

I wrote a (german) guide on that: 
- http://draketo.de/deutsch/freie-software/licht/webseiten-aktualisieren-mit-
mercurial-und-lftp

The short version: 
------ ------ Datei ------ ------
 [paths]
 # default-push = http://USER:[email protected]/u/ArneBab/erynnia/
[hooks]
 # Update my website automatically when I push the repo.
 # Explanations: lftp -c 'COMMAND'
 # COMMAND:
 # open CMD -u USER,PASSWORD FTP_SERVER
 # CMD:
 # -R: Reverse -> local_source remote_source
 # -X GLOB: Glob: Shell-style -< exclude the .hg dir
outgoing = lftp -c 'open -e "mirror -R -X .hg/ ABS_LOCAL_PATH 
RELATIVE_PATH_FTP" -u USER,PASS ftp://FTP_SERVER '
------ ------ /Datei ------ ------

I use a similar approach for making simple sites with markdown syntax: 
- Hook description: http://rakjar.de/pymarkdown_minisite/readme.html
- Simple setup: http://rakjar.de/pymarkdown_minisite/simple_usage.html

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

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to