server: $ mkdir /www/pages/project $ cd /www/pages/project $ hg init
localhost: $ cd /path/to/your/project $ hg init $ hg add * $ hg commit -m "message" $ hg push ssh://usr:pwd@123.123.123.123//www/pages/project
afterward it's just the localhost (ignore "$ hg init")