Show More
@@ -358,6 +358,9 b' class localrepository:' | |||||
358 | path = p |
|
358 | path = p | |
359 | self.path = os.path.join(path, ".hg") |
|
359 | self.path = os.path.join(path, ".hg") | |
360 |
|
360 | |||
|
361 | if not create and not os.path.isdir(self.path): | |||
|
362 | raise "repository %s not found" % self.path | |||
|
363 | ||||
361 | self.root = path |
|
364 | self.root = path | |
362 | self.ui = ui |
|
365 | self.ui = ui | |
363 |
|
366 |
General Comments 0
You need to be logged in to leave comments.
Login now