mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 01:37:20 +00:00
create --dry-run: fix display of kept tagfile, fixes #5834
This commit is contained in:
parent
fd02923fac
commit
243135167a
1 changed files with 3 additions and 2 deletions
|
@ -791,8 +791,9 @@ def _rec_walk(self, *, path, parent_fd, name, fso, cache, matcher,
|
||||||
# if we are already recursing in an excluded dir, we do not need to do anything else than
|
# if we are already recursing in an excluded dir, we do not need to do anything else than
|
||||||
# returning (we do not need to archive or recurse into tagged directories), see #3991:
|
# returning (we do not need to archive or recurse into tagged directories), see #3991:
|
||||||
if not recurse_excluded_dir:
|
if not recurse_excluded_dir:
|
||||||
if keep_exclude_tags and not dry_run:
|
if keep_exclude_tags:
|
||||||
fso.process_dir_with_fd(path=path, fd=child_fd, st=st)
|
if not dry_run:
|
||||||
|
fso.process_dir_with_fd(path=path, fd=child_fd, st=st)
|
||||||
for tag_name in tag_names:
|
for tag_name in tag_names:
|
||||||
tag_path = os.path.join(path, tag_name)
|
tag_path = os.path.join(path, tag_name)
|
||||||
self._rec_walk(
|
self._rec_walk(
|
||||||
|
|
Loading…
Reference in a new issue