##// END OF EJS Templates
Better error message (without /.hg appended) when repository is not found....
Thomas Arendsen Hein -
r1588:a679a364 default
parent child Browse files
Show More
@@ -24,7 +24,7 b' class localrepository(object):'
24 24 self.path = os.path.join(path, ".hg")
25 25
26 26 if not create and not os.path.isdir(self.path):
27 raise repo.RepoError(_("repository %s not found") % self.path)
27 raise repo.RepoError(_("repository %s not found") % path)
28 28
29 29 self.root = os.path.abspath(path)
30 30 self.ui = ui
@@ -1,12 +1,12 b''
1 abort: repository a/.hg not found!
1 abort: repository a not found!
2 2 255
3 3 requesting all changes
4 4 abort: error: Connection refused
5 5 255
6 abort: repository a/.hg not found!
6 abort: repository a not found!
7 7 255
8 8 abort: destination '../a' already exists
9 9 1
10 abort: repository a/.hg not found!
10 abort: repository a not found!
11 11 255
12 12 abort: destination 'q' already exists
General Comments 0
You need to be logged in to leave comments. Login now