src/hg-ssh
changeset 79 3a58a95fae2f
parent 78 2a3407a14654
child 103 ae1845978e38
equal deleted inserted replaced
78:2a3407a14654 79:3a58a95fae2f
    68 
    68 
    69 if len(sys.argv) != 2:
    69 if len(sys.argv) != 2:
    70     fail("hg-ssh must have exactly one argument (%s)" 
    70     fail("hg-ssh must have exactly one argument (%s)" 
    71         % sys.argv)
    71         % sys.argv)
    72 
    72 
       
    73 paths.setExePath()
    73 ruleset.rules.set(user = sys.argv[1])
    74 ruleset.rules.set(user = sys.argv[1])
    74 
    75 
    75 # Use a different hgrc for remote pulls - this way you can set
    76 # Use a different hgrc for remote pulls - this way you can set
    76 # up access.py for everything at once without affecting local operations
    77 # up access.py for everything at once without affecting local operations
    77 
    78