Script docstring was full of lies - now up to date
authorPaul Crowley <paul@lshift.net>
Fri, 13 Nov 2009 14:33:52 +0000
changeset 214 7374d0147875
parent 213 72e7ba8b41a6
child 215 584df0f2e5c7
Script docstring was full of lies - now up to date
src/hg-ssh
--- a/src/hg-ssh	Fri Nov 13 12:32:43 2009 +0000
+++ b/src/hg-ssh	Fri Nov 13 14:33:52 2009 +0000
@@ -14,12 +14,8 @@
 hg-ssh - limit access to hg repositories reached via ssh.  Part of
 mercurial-server.
 
-This script is called by hg-ssh-wrapper with no arguments - everything
-should be in enviroment variables:
-
-HG_ACCESS_RULES_PATH identifies the paths to the rule files
-REMOTE_USER the remote user (which is the key used by ssh)
-SSH_ORIGINAL_COMMAND the command the user was trying to run
+It is called by ssh due to an entry in the authorized_keys file,
+with the name for the key passed on the command line.
 
 It uses SSH_ORIGINAL_COMMAND to determine what the user was trying to
 do and to what repository, and then checks each rule in the rule file