[Box Backup-commit] COMMIT r1262 - box/chris/merge/bin/bbackupd
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Tue Jan 16 23:25:44 GMT 2007
Author: chris
Date: 2007-01-16 23:25:44 +0000 (Tue, 16 Jan 2007)
New Revision: 1262
Modified:
box/chris/merge/bin/bbackupd/BackupClientDirectoryRecord.cpp
Log:
Allow suppressing warnings about unsupported file types by excluding those
files by name, using ExcludeFile (refs #3)
Modified: box/chris/merge/bin/bbackupd/BackupClientDirectoryRecord.cpp
===================================================================
--- box/chris/merge/bin/bbackupd/BackupClientDirectoryRecord.cpp 2007-01-16 23:05:20 UTC (rev 1261)
+++ box/chris/merge/bin/bbackupd/BackupClientDirectoryRecord.cpp 2007-01-16 23:25:44 UTC (rev 1262)
@@ -349,11 +349,22 @@
}
else
{
- rParams.GetProgressNotifier()
- .NotifyUnsupportedFileType(
- this, filename);
- SetErrorWhenReadingFilesystemObject(
- rParams, filename.c_str());
+ if(rParams.mrContext.ExcludeFile(filename))
+ {
+ rParams.GetProgressNotifier()
+ .NotifyFileExcluded(
+ this,
+ filename);
+ }
+ else
+ {
+ rParams.GetProgressNotifier()
+ .NotifyUnsupportedFileType(
+ this, filename);
+ SetErrorWhenReadingFilesystemObject(
+ rParams, filename.c_str());
+ }
+
continue;
}
More information about the Boxbackup-commit
mailing list