fatal errors versus warnings
Fri, 31 May 2002 01:35:01 -0700
Content-Type: text/plain; charset=us-ascii
>>>>> "BC" == Bryce C <Bryce>
>>>>> wrote the following on Fri, 31 May 2002 00:26:28 -0700 (PDT)
BC> However I have found that if the file list is empty,
BC> rdiff-backup exists with:
BC> Fatal Error: Last selection expression: Filelist: files.txt only
BC> specifies that files be included. Because the default is to
BC> include all files, the expression is redundant. Exiting because
BC> this probably isn't what you meant.
BC> Is this what should be happening? Is there a way I can make it
BC> continue on even if the list is empty?
Heh, this is a case of rdiff-backup being too clever for its own
good. The idea was to prevent people from running stuff like:
rdiff-backup --exclude /usr --include /usr/bin ....
Since rdiff-backup reads the include/exclude arguments from left to
right, this would almost certainly be a mistake. So rdiff-backup
checks the last selection option to make sure it excludes something.
But now I see sometimes the last option doesn't exclude anything,
and this is intentional. Anyway, I was going to release a new version
anyway, so I threw a fix into 0.7.6, so try that.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Exmh version 2.5 01/15/2001
-----END PGP SIGNATURE-----