diff options
author | Samuel Bronson <naesten@gmail.com> | 2009-07-20 23:59:01 -0400 |
---|---|---|
committer | Samuel Bronson <naesten@gmail.com> | 2009-07-20 23:59:01 -0400 |
commit | 35433448b6c355cbf08f6da6f3efece5b038c55b (patch) | |
tree | 332d8191833a48d3860a1e59db347c1996d13445 | |
parent | bfe6449ebe14d89451af0e92708842f090650003 (diff) | |
download | bzr-fastimport-35433448b6c355cbf08f6da6f3efece5b038c55b.tar.gz |
It looks like #401249 also applies to "branch ... from <refname>".
Extend test accordingly.
-rw-r--r-- | tests/test_generic_processor.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/test_generic_processor.py b/tests/test_generic_processor.py index aee751b..168adf8 100644 --- a/tests/test_generic_processor.py +++ b/tests/test_generic_processor.py @@ -193,9 +193,14 @@ class TestImportToPackTag(TestCaseForGenericProcessor): def files_two(): yield commands.FileModifyCommand(path, to_kind, to_executable, None, to_content) + + # pass "head" for from_ to show that #401249 is worse than I knew yield commands.CommitCommand('head', '2', author, - committer, "commit 2", ":1", [], files_two) + committer, "commit 2", "head", [], files_two) + yield commands.TagCommand('tag1', ':1', committer, "tag 1") + + # pass "head" for from_ to demonstrate #401249 yield commands.TagCommand('tag2', 'head', committer, "tag 2") return command_list |