-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails on subversion project with externals #45
Comments
Ooh, thank you for this interesting use-case. I'll have to add a test. |
A stripped down version of the output from
|
I now have a failing test case: diff --git a/tests.py b/tests.py
index eb499ff..452fd6e 100644
--- a/tests.py
+++ b/tests.py
@@ -914,6 +914,19 @@ class SvnHelper(VCSHelper):
class TestSvn(VCSMixin, unittest.TestCase):
vcs = SvnHelper()
+ def test_svn_externals(self):
+ from check_manifest import get_vcs_files
+ self.vcs._run('svnadmin', 'create', 'repo2')
+ repo2_url = 'file:///' + os.path.abspath('repo2').replace(os.path.sep, '/')
+ self.vcs._init_vcs()
+ self.vcs._run('svn', 'propset', 'svn:externals', 'ext %s' % repo2_url, '.')
+ self.vcs._run('svn', 'up')
+ self._create_files(['a.txt', 'ext/b.txt'])
+ self.vcs._run('svn', 'add', 'a.txt', 'ext/b.txt')
+ j = os.path.join
+ self.assertEqual(get_vcs_files(),
+ ['a.txt', j('ext', 'b.txt')])
+
class TestUserInterface(unittest.TestCase): I'm now trying to decide if I should improve the plain-text filtering (what if "Performing status on external..." is a locale-dependent translatable string?) or if I should switch to parsing |
I pushed a fix to master. @berhoel, can you verify that it works on your repository now? |
I can confirm that "check-manifest" is now working with my repository. Thanks. |
I released 0.23 with this fix. |
In my subversion project that uses externals I get an error message:
Changing line 310 to
fixes the problem for me.
Kind regards
Berthold Höllmann
The text was updated successfully, but these errors were encountered: