Mercurial > hgsubversion
diff tests/test_fetch_command.py @ 136:cf6fe8457570
Fix an apparent regression where branch name didn't get properly stored for
commits forced on empty branches.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Thu, 11 Dec 2008 17:34:33 -0600 |
parents | e33c7a4bcebb |
children | 40474f6c1f84 |
line wrap: on
line diff
--- a/tests/test_fetch_command.py +++ b/tests/test_fetch_command.py @@ -117,6 +117,15 @@ class TestBasicRepoLayout(test_util.Test self.assertEqual(node.hex(repo['tip'].node()), '9cf09e6ff7fa938188c3bcc9dd87abd7842c080c') + def test_propedit_with_nothing_else(self, stupid=False): + repo = self._load_fixture_and_fetch('branch_prop_edit.svndump', + stupid=stupid) + self.assertEqual(repo['tip'].description(), 'Commit bogus propchange.') + self.assertEqual(repo['tip'].branch(), 'dev_branch') + + def test_propedit_with_nothing_else_stupid(self): + self.test_propedit_with_nothing_else(stupid=True) + class TestStupidPull(test_util.TestBase): def test_stupid(self):