(Arne Babenhauserheide)
2011-11-24: added hook tip. added hook tip.
diff --git a/README.txt b/README.txt --- a/README.txt +++ b/README.txt @@ -23,6 +23,12 @@ Usage: $ hg site [-n sitename] -u user:password@ftp.host.tld/path/to/dir → that’s how this site gets created. +To upload the site when you push, you can use a hook in .hg/hgrc. This is what I use: + + [hooks] + post-push = hg site -n site -u user:password@ftp.host.tld/path/to/dir + + $ hg site --help hg site [options] [folder]