comparison tests/test_push_eol.py @ 1055:2d7398fffd0d

push: obsolete rather than rebase & strip when enabled This requires a few changes to wrappers.push() to use obsolescence rather than strip and to make the rebase -- which is non-destructive with obsolete active -- to no longer keep the originals. Possible future work involves no longer relying on rebase for non-outgoing revisions, and simply leaving them in the troubled state. We test this feature by adding setting obsolete_mode_tests to True in classes that push changes.
author Dan Villiom Podlaski Christiansen <dan@cabo.dk>
date Fri, 09 Aug 2013 19:30:25 +0200
parents d741f536f23a
children 23992b41b6b7
comparison
equal deleted inserted replaced
1054:131cb06dca76 1055:2d7398fffd0d
1 import test_util 1 import test_util
2 2
3 import unittest 3 import unittest
4 4
5 class TestPushEol(test_util.TestBase): 5 class TestPushEol(test_util.TestBase):
6 obsolete_mode_tests = True
7
6 def setUp(self): 8 def setUp(self):
7 test_util.TestBase.setUp(self) 9 test_util.TestBase.setUp(self)
8 self._load_fixture_and_fetch('emptyrepo.svndump') 10 self._load_fixture_and_fetch('emptyrepo.svndump')
9 11
10 def _test_push_dirs(self, stupid): 12 def _test_push_dirs(self, stupid):