Allow ALIASES and TREES to be merged in configs
Review Request #6649 — Created Nov. 26, 2014 and submitted
Give special treatment to the
ALIASES
andTREES
keys in
.reviewboardrc
so that they are merged together and not overwritten.
Ran unit tests.
Created a
../.reviewboardrc
and./.reviewboardrc
with different
aliases and was able to execute all of them.
-
-
-
-
rbtools/utils/filesystem.py (Diff revision 1) You can condense this with:
trees.update(parsed_config.pop('TREES'))
etc.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+17 -5) |