Show More
@@ -209,8 +209,10 b' class localrepository(object):' | |||||
209 |
|
209 | |||
210 | self.sharedpath = self.path |
|
210 | self.sharedpath = self.path | |
211 | try: |
|
211 | try: | |
212 |
s = |
|
212 | vfs = scmutil.vfs(self.vfs.read("sharedpath").rstrip('\n'), | |
213 | if not os.path.exists(s): |
|
213 | realpath=True) | |
|
214 | s = vfs.base | |||
|
215 | if not vfs.exists(): | |||
214 | raise error.RepoError( |
|
216 | raise error.RepoError( | |
215 | _('.hg/sharedpath points to nonexistent directory %s') % s) |
|
217 | _('.hg/sharedpath points to nonexistent directory %s') % s) | |
216 | self.sharedpath = s |
|
218 | self.sharedpath = s |
General Comments 0
You need to be logged in to leave comments.
Login now