Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(26)

Unified Diff: lib/Brackup/Config.pm

Issue 718: 'accept' option - a file or directory must match at least one of the accept regexps to be backed up SVN Base: http://brackup.googlecode.com/svn/trunk/
Patch Set: Created 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side by-side-diff with in-line comments
Download patch
« no previous file | lib/Brackup/Root.pm » ('j') | Expand Comments ('e') | Collapse Comments ('c') | Hide Comments ('s')
Index: lib/Brackup/Config.pm
===================================================================
--- lib/Brackup/Config.pm (revision 194)
+++ lib/Brackup/Config.pm (working copy)
@@ -122,6 +122,10 @@
$root->ignore($pat);
}
+ foreach my $pat ($conf->values("accept")) {
+ $root->accept($pat);
+ }
+
# common things to ignore
$root->ignore(qr!~$!);
$root->ignore(qr!^\.thumbnails/!);
« no previous file | lib/Brackup/Root.pm » ('j')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r338