diff tests/test_fetch_command.py @ 43:af7ac6c03452

Fix a bug with added files from outside branches/trunk/tags.
author Augie Fackler <durin42@gmail.com>
date Mon, 27 Oct 2008 12:33:52 -0500
parents 496c0354019c
children 430af23bef4a
line wrap: on
line diff
--- a/tests/test_fetch_command.py
+++ b/tests/test_fetch_command.py
@@ -104,6 +104,11 @@ class TestBasicRepoLayout(unittest.TestC
                          'c4e669a763a70f751c71d4534a34a65f398d71d4')
         self.assertEqual(len(repo.changelog), 2)
 
+    def test_file_renamed_in_from_outside_btt(self):
+        repo = self._load_fixture_and_fetch(
+                    'file_renamed_in_from_outside_btt.svndump')
+        self.assert_('LICENSE.file' in repo['tip'])
+
 class TestStupidPull(unittest.TestCase):
     def setUp(self):
         self.oldwd = os.getcwd()