diff tests/test_fetch_mappings.py @ 770:4dfc41b15d9a

make the default substition for an empty commit description the empty string
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Sun, 28 Nov 2010 03:53:34 +0100
parents cc1d4aa3ba41
children 86d124a8768e
line wrap: on
line diff
--- a/tests/test_fetch_mappings.py
+++ b/tests/test_fetch_mappings.py
@@ -311,7 +311,7 @@ class MapTests(test_util.TestBase):
         repo = self._load_fixture_and_fetch('empty-log-message.svndump',
                                             stupid=stupid)
 
-        self.assertEqual(repo['tip'].description(), '...')
+        self.assertEqual(repo['tip'].description(), '')
 
         test_util.rmtree(self.wc_path)
 
@@ -321,14 +321,6 @@ class MapTests(test_util.TestBase):
 
         self.assertEqual(self.repo['tip'].description(), 'blyf')
 
-        test_util.rmtree(self.wc_path)
-
-        ui = self.ui(stupid)
-        ui.setconfig('hgsubversion', 'defaultmessage', '')
-        commands.clone(ui, test_util.fileurl(self.repo_path), self.wc_path)
-
-        self.assertEqual(self.repo['tip'].description(), '')
-
 
     def test_empty_log_message_stupid(self):
         self.test_empty_log_message(True)