Use Option's config_key for customizable dest branches in rbt land.
Review Request #6717 — Created Jan. 1, 2015 and submitted
rbt land had some custom code for allowing the destination branch to be specified in .reviewboardrc, but it was just re-implementing the logic that already lives in Option. Now we use Option's native support for this, simplifying rbt land.
Tested with just a command line argument.
Tested with just a config setting in .reviewboardrc.
Tested without any defaults.
For each, I altered the code to print the value and compared to my expected value.
- Change Summary:
-
Added back a missing variable.
- Commit:
-
46929de67d1e4be1f1bf595ceeee0e6bee8664faef12cf3f8f673cdfc1530a7fd50c70b07d207362
- Diff:
-
Revision 2 (+4 -5)