##// 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 self.path = os.path.join(path, ".hg")
24 self.path = os.path.join(path, ".hg")
25
25
26 if not create and not os.path.isdir(self.path):
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 self.root = os.path.abspath(path)
29 self.root = os.path.abspath(path)
30 self.ui = ui
30 self.ui = ui
@@ -1,12 +1,12 b''
1 abort: repository a/.hg not found!
1 abort: repository a not found!
2 255
2 255
3 requesting all changes
3 requesting all changes
4 abort: error: Connection refused
4 abort: error: Connection refused
5 255
5 255
6 abort: repository a/.hg not found!
6 abort: repository a not found!
7 255
7 255
8 abort: destination '../a' already exists
8 abort: destination '../a' already exists
9 1
9 1
10 abort: repository a/.hg not found!
10 abort: repository a not found!
11 255
11 255
12 abort: destination 'q' already exists
12 abort: destination 'q' already exists
General Comments 0
You need to be logged in to leave comments. Login now