Merge lp:~jpds/lmirror/fix_542162 into lp:~lmirror/lmirror/trunk
Proposed by
Jonathan Davies
Status: | Work in progress | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~jpds/lmirror/fix_542162 | ||||
Merge into: | lp:~lmirror/lmirror/trunk | ||||
Diff against target: |
266 lines (+96/-28) 5 files modified
l_mirror/journals.py (+11/-3) l_mirror/tests/commands/test_finish_change.py (+17/-4) l_mirror/tests/commands/test_init.py (+20/-6) l_mirror/tests/test_journals.py (+25/-9) l_mirror/tests/test_mirrorset.py (+23/-6) |
||||
To merge this branch: | bzr merge lp:~jpds/lmirror/fix_542162 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins | Needs Resubmitting | ||
lmirror committers | code | Pending | |
Review via email: mp+26105@code.launchpad.net |
Description of the change
Implemented bz2 compressed changesets and test updates.
To post a comment you must log in.
Unmerged revisions
- 64. By Jonathan Davies
-
Removed print hack attempt to see what was wrong with tests earlier.
- 63. By Jonathan Davies
-
Updated init command tests for compressed changesets.
- 62. By Jonathan Davies
-
Updated finish_change command tests for compressed changesets.
- 61. By Jonathan Davies
-
Updated mirror set tests for compressed changesets.
- 60. By Jonathan Davies
-
Updated journal tests for compressed changesets.
- 59. By Jonathan Davies
-
Write and read compresed changeset files with bz2.
So, this is a good start, but not quite complete. Folk with existing lmirror repos will get broken by this patch.
What you need to do a little differently is this:
- only compress the content after the first (signature) line in a changeset
- add a new signature for bz2 changesets
- make the parser switch based on the signature between decompressing or not decompressing.