diff tests/test_urls.py @ 710:db56e65906f4

svnrepo: make the svnurl property obtain the URL from Subversion. This causes an access to the svnurl property to connect to the repository. One of the tests uses an invalid URL, and so had to be updated to bypass this.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Wed, 29 Sep 2010 18:04:26 +0200
parents 181ec1929b2a
children ae5968ffe6fe
line wrap: on
line diff
--- a/tests/test_urls.py
+++ b/tests/test_urls.py
@@ -50,7 +50,7 @@ class TestSubversionUrls(test_util.TestB
         ui = test_util.ui.ui()
         ui.setconfig('hgsubversion', 'username', 'bob')
         repo = svnrepo.svnremoterepo(ui, 'svn+ssh://joe@foo/bar')
-        self.assertEqual('svn+ssh://bob@foo/bar', repo.svnurl)
+        self.assertEqual('svn+ssh://bob@foo/bar', repo.svnauth[0])
 
         repo = svnrepo.svnremoterepo(ui, 'svn+http://joe@foo/bar')
         self.assertEqual(('http://foo/bar', 'bob', None), repo.svnauth)