[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:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 |
URL:
<http://savannah.nongnu.org/bugs/?24192>
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
_______________________________________________________
Details:
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:
<http://savannah.nongnu.org/bugs/?24192>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Rdiff-backup-bugs] [bug #24192] Allow --exclude-if-present to work with directories,
Vadim Zeitlin <=