Skip to content

Commit

Permalink
Merge pull request #127 from hiveeyes/improve-reporting
Browse files Browse the repository at this point in the history
Improve reporting for the "rsync" primitive
  • Loading branch information
dhylands authored Mar 7, 2020
2 parents 42c39bd + 633e10c commit 749b51a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rshell/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,7 @@ def rsync(src_dir, dst_dir, mirror, dry_run, print_func, recursed, sync_hidden):
"'{}' is a directory. Ignoring"
print_err(msg.format(src_filename, dst_filename))
else:
print_func('Checking {}'.format(dst_filename))
if stat_mtime(src_stat) > stat_mtime(dst_stat):
msg = "{} is newer than {} - copying"
print_func(msg.format(src_filename, dst_filename))
Expand Down

0 comments on commit 749b51a

Please sign in to comment.