def open_repository(self, location, create=False, exclusive=False):
     if location.proto == 'ssh':
         repository = RemoteRepository(location, create=create)
     else:
         repository = Repository(location.path, create=create, exclusive=exclusive)
     repository._location = location
     return repository
Beispiel #2
0
 def open_repository(self, location, create=False):
     if location.proto == 'ssh':
         repository = RemoteRepository(location, create=create)
     else:
         repository = Repository(location.path, create=create)
     repository._location = location
     return repository
Beispiel #3
0
 def open(self, create=False):
     return RemoteRepository(
         Location('__testsuite__:' +
                  os.path.join(self.tmppath, 'repository')),
         create=create)