mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Fix file.recurse on root of svnfs repo
This fixes a condition where a file.recurse fails on the root of an svnfs repo when the repo has a mountpoint. See #20812.
This commit is contained in:
parent
346f59c6e5
commit
cf05fd6322
@ -732,6 +732,8 @@ def _file_lists(load, form):
|
||||
env_root
|
||||
)
|
||||
ret['files'].add(os.path.join(repo['mountpoint'], rel_fn))
|
||||
if repo['mountpoint']:
|
||||
ret['dirs'].add(repo['mountpoint'])
|
||||
# Convert all compiled sets to lists
|
||||
for key in ret:
|
||||
ret[key] = sorted(ret[key])
|
||||
|
Loading…
Reference in New Issue
Block a user