Implemented the core of the merge-file and per-dir merge-file support
authorWayne Davison <wayned@samba.org>
Tue, 25 Jan 2005 00:52:47 +0000 (00:52 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 25 Jan 2005 00:52:47 +0000 (00:52 +0000)
commit6dfd07d0259d855fc7011b168b1897bb69f0c32b
tree8cc827f6556b828d7df0a2e661b40408340c298c
parente7bf7c01613fbd726720cb676bc47a743da06f2f
Implemented the core of the merge-file and per-dir merge-file support
for the --filter option.  Some noteworthy changes:
- Added push_local_excludes() and pop_local_excludes() to implement
  the changes needed as we go from directory to directory (this takes
  the place of the old local_exclude_list var that only handled the
  .cvsignore files).  These per-dir excludes are linked into the same
  exclude list as the global excludes.
- The exclude list is transferred as filter rules to an rsync that
  talks protocol 29 or above.  It limits itself to just include/exclude
  rules for older rsyncs.
exclude.c