hg site extension
 
(Arne Babenhauserheide)
2014-02-09: show alias-method in readme.

show alias-method in readme.

diff --git a/README.txt b/README.txt
--- a/README.txt
+++ b/README.txt
@@ -22,11 +22,18 @@ Install:
 
 Usage:
 
-$ hg push [-f] --sitename "sitename" ftp://user:password@ftp.host.tld/path/to/dir
+$ hg push [-f] --sitename "sitename" ftps://user:password@ftp.host.tld/path/to/dir
 → that’s how this site gets created. 
   With -f it is reuploaded completely, 
   otherwise only the changes get uploaded.
-  defining the ftp://… in [paths] in .hg/hgrc works.
+  defining the ftp://… or ftps://… in [paths] in .hg/hgrc works.
+
+If you want to make this easier, add an alias to your .hg/hgrc:
+
+    [paths]
+    ftp = ftps://user:password@ftp.host.tld/path/to/dir
+    [alias]
+    pushsite = push --sitename "sitename" ftp
 
 To upload the site when you push it anywhere, you can use a hook in .hg/hgrc. This is what I use: