Merge lp:~jelmer/launchpad/update-bzr-hg into lp:launchpad
Proposed by
Jelmer Vernooij
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Tim Penhey | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 11489 | ||||
Proposed branch: | lp:~jelmer/launchpad/update-bzr-hg | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
96 lines (+24/-13) 4 files modified
lib/lp/codehosting/codeimport/tests/servers.py (+1/-1) lib/lp/codehosting/codeimport/worker.py (+21/-10) utilities/sourcedeps.conf (+1/-1) versions.cfg (+1/-1) |
||||
To merge this branch: | bzr merge lp:~jelmer/launchpad/update-bzr-hg | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | Approve | ||
Steve Kowalik (community) | code* | Approve | |
Review via email: mp+32974@code.launchpad.net |
Commit message
Use a newer version of bzr-hg.
Description of the change
This updates bzr-hg to a newer upstream revision, one that makes it use directories for caches rather than individual files. I've made matching changes to lp.codehosting to cope with the fact that the bzr-hg cache is now stored differently.
These changes make it possible to run the lp codehosting tests with success when python-tdb is installed. It should also make it easier to install python-tdb on the production machines later (there are some advantages to using python-tdb; it's quicker and allows multiple concurrent writers).
To post a comment you must log in.
Hi!
Your changes look good, but I have a few comments:
* Have we updated to the new bzr-hg that can take advantage of the tarball cache?
* You've removed the global db_file variable, but you have the magic string 'hg-cache.tar.gz' in the code twice.
* From my reading of the code, it looks like it is going to migrate new pushed branches to the tarball cache, is that the real intent?