[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Rdiff-backup-bugs] [bug #24192] Allow --exclude-if-present to work with

From: Vadim Zeitlin
Subject: [Rdiff-backup-bugs] [bug #24192] Allow --exclude-if-present to work with directories
Date: Tue, 02 Sep 2008 23:43:04 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv: Gecko/2008070208 Firefox/3.0.1


                 Summary: Allow --exclude-if-present to work with directories
                 Project: rdiff-backup
            Submitted by: zeitlin
            Submitted on: Wed 03 Sep 2008 01:43:01 AM CEST
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



Currently the implementation of this option explicitly checks that its
argument is a regular file, see presence_get_sf function in selection.py:

def sel_func(rp):
    if rp.isdir() and rp.readable() and rp.append(presence_filename).isreg():
return include
    return None

But I'd like to use it with directories to exclude backup of CVS and svn
checkouts, e.g. --exclude-if-present=.svn. Would it be possible to relax this
check to also work with directories?

Thanks in advance!


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]