saltstack/salt — pull request #11858 by terminalmage (2014-04-08 21:23:08+00:00)
Title: Add saltenv whitelist/blacklist to hgfs

This adds the same feature recently added for gitfs. In addition, it fixes a couple issues with gitfs showing files/dirs from blacklisted envs in ``cp.list_master`` and ``cp.list_master_dirs``, which would lead to problems with ``file.managed`` and ``file.recurse`` states thinking that the files existed but being unable to serve them.