saltstack/salt — pull request #19169 by thepauleh (2014-12-22 00:42:10+00:00)
Title: 19021 Pass Repo Options into refresh_db

This change passes the branch_arg, from_repo and exclude_arg into the refresh_db function. Intended result is so that disabled repos can be provided with the fromrepo command, but may also give a speed boost by not needlessly invalidating yum caches.

Fix for:
https://github.com/saltstack/salt/issues/19021

Please treat this PR with suspicion - i'm not a python dev!