Mercurial > hgsubversion
comparison tests/test_push_autoprops.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 | 6aad12ea6d9f |
comparison
equal
deleted
inserted
replaced
1054:131cb06dca76 | 1055:2d7398fffd0d |
---|---|
6 import test_util | 6 import test_util |
7 | 7 |
8 from hgsubversion import svnwrap | 8 from hgsubversion import svnwrap |
9 | 9 |
10 class PushAutoPropsTests(test_util.TestBase): | 10 class PushAutoPropsTests(test_util.TestBase): |
11 obsolete_mode_tests = True | |
12 | |
11 def setUp(self): | 13 def setUp(self): |
12 test_util.TestBase.setUp(self) | 14 test_util.TestBase.setUp(self) |
13 repo, self.repo_path = self.load_and_fetch('emptyrepo.svndump') | 15 repo, self.repo_path = self.load_and_fetch('emptyrepo.svndump') |
14 | 16 |
15 def test_push_honors_svn_autoprops(self): | 17 def test_push_honors_svn_autoprops(self): |