Merge lp:~statik/config-manager/specific-revisions into lp:config-manager
Proposed by
Elliot Murphy
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~statik/config-manager/specific-revisions |
Merge into: | lp:config-manager |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~statik/config-manager/specific-revisions |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tom Haddon | Pending | ||
Robert Collins | Pending | ||
Review via email: mp+7702@code.launchpad.net |
To post a comment you must log in.
This implements basic support for building configs that pull specific revisions of bzr branches. I've tested with a config file like so:
#Sample config file //bazaar. launchpad. net/~lifeless/ config- manager/ trunk //bazaar. launchpad. net/~lifeless/ config- manager/ trunk;revno= 40
./cm1 bzr+ssh:
./cm2 bzr+ssh:
In order to be able to test, I had to temporarily short-circuit pybaz imports, I could not figure out where to get pybaz from. I have not committed those changes, but am mentioning it as a note to anyone trying to review this branch.
No support was added for updating a set of source trees when the branches specify particular versions, but I did provide enough code that update won't be broken when parsing a config that specifies a revno, it will just ignore the revno.
I also changed what seemed to be a typo in the imports. With this set of changes, and the sample config file I mentioned earlier, I was able to successfully run ./cm.py build config.txt, and see that the branches were built as expected with the expected revisions.