properly name the rule parameter for user
authorPaul Crowley <paul@lshift.net>
Tue, 22 Apr 2008 13:23:07 +0100
changeset 25 9d78dca32325
parent 24 9f8e11ede780
child 26 2c4f499ea12f
properly name the rule parameter for user
hg-ssh
--- a/hg-ssh	Tue Apr 22 13:13:13 2008 +0100
+++ b/hg-ssh	Tue Apr 22 13:23:07 2008 +0100
@@ -69,7 +69,7 @@
         % sys.argv)
 
 rules = ruleset.Ruleset.readfile(os.environ['HG_ACCESS_RULES_FILE'])
-rules.set(remoteuser = getpath(os.environ['REMOTE_USER']))
+rules.set(user = getpath(os.environ['REMOTE_USER']))
 rules.set(branch = None, file = None)
 todispatch = get_cmd(rules, 
     os.environ.get('SSH_ORIGINAL_COMMAND', '?'))