fix call to checkDots
authorPaul Crowley <paul@lshift.net>
Tue, 13 Oct 2009 18:26:47 +0100
changeset 117 b6b8a5daf0f4
parent 114 241475f6440c
child 118 107906bfe2c6
child 119 40a287c95661
fix call to checkDots
src/hg-ssh
--- a/src/hg-ssh	Tue Oct 13 13:15:34 2009 +0100
+++ b/src/hg-ssh	Tue Oct 13 18:26:47 2009 +0100
@@ -64,7 +64,7 @@
         fail("path to repository seems to be empty")
     if repo.startswith("/"):
         fail("absolute paths are not supported")
-    checkDots(path)
+    checkDots(repo)
     ruleset.rules.set(repo=repo)
     if not ruleset.rules.allow(op, branch=None, file=None):
         fail("access denied")