Bug 5266 - Duplicate "not creating new directory" output w/ incremental recursion
Summary: Duplicate "not creating new directory" output w/ incremental recursion
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.0
Hardware: Other Linux
: P3 minor (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
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.