Bug 5266 - Duplicate "not creating new directory" output w/ incremental recursion
Duplicate "not creating new directory" output w/ incremental recursion
Product: rsync
Classification: Unclassified
Component: core
Other Linux
: P3 minor
: ---
Assigned To: Wayne Davison
Rsync QA Contact
Depends on:
  Show dependency treegraph
Reported: 2008-02-16 14:41 UTC by Matt McCutchen
Modified: 2008-07-26 10:30 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Matt McCutchen 2008-02-16 14:41:52 UTC
With --ignore-non-existing and incremental recursion, rsync prints the "not creating new directory" verbose message twice for each directory.  This is because directories are visited twice in incremental recursion.  A test needs to be added to only print the message on one of the visits.

$ mkdir src src/subdir dest
$ rsync -r --ignore-non-existing -vv src/ dest/
sending incremental file list
delta-transmission disabled for local transfer or --whole-file
not creating new directory "subdir"
not creating new directory "subdir"
total: matches=0  hash_hits=0  false_alarms=0 data=0

sent 46 bytes  received 16 bytes  124.00 bytes/sec
total size is 0  speedup is 0.00
Comment 1 Wayne Davison 2008-02-18 01:58:37 UTC
This is fixed in the dev version.