borgbackup/borg
edgewood 932fb9ec7a Split up parsing and filtering for --keep-within (#2726)
Split up parsing and filtering for --keep-within

Fixes #2610

Parse --keep-within argument early, via new method within_range passed
to argparse type=, so that better error messages can be given.

Also swallows ValueError stacktrace per the comment in the old code that
including it wasn't desirable.
2017-06-25 23:31:04 +02:00
..
testsuite Split up parsing and filtering for --keep-within (#2726) 2017-06-25 23:31:04 +02:00
__init__.py implement borgmajor/minor/patch placeholders, fixes #1694 2016-10-22 00:20:50 +02:00
__main__.py cosmetic source cleanup (flake8) 2016-01-30 21:32:45 +01:00
_chunker.c chunker: don't do uint32_t >> 32 2017-06-21 15:31:01 +02:00
_hashindex.c hashindex: rebuild hashtable if we have too little empty buckets, fixes #2246 2017-03-04 00:53:44 +01:00
archive.py use stat with follow_symlinks=False 2017-06-21 15:16:43 +02:00
archiver.py Split up parsing and filtering for --keep-within (#2726) 2017-06-25 23:31:04 +02:00
cache.py cache sync: check Operation.READ compatibility with manifest 2017-06-21 00:53:49 +02:00
chunker.pyx chunker: fix invalid use of types 2017-06-21 15:31:33 +02:00
compress.pyx Fix compression exceptions (#2224) 2017-03-10 19:06:54 +01:00
crypto.pyx API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
fuse.py FUSE: fix negative uid/gid crash, fixes #2674 2017-06-21 03:15:22 +02:00
hashindex.pyx fix ChunkIndex.__contains__ assertion for big-endian archs 2017-03-10 18:56:18 +01:00
helpers.py Split up parsing and filtering for --keep-within (#2726) 2017-06-25 23:31:04 +02:00
key.py init: explain manifest auth compatibility 2016-12-19 04:01:27 +01:00
keymanager.py Add qr html export mode to key export command 2017-02-10 22:32:01 +01:00
locking.py repository: fix spurious, empty lock.roster on InvalidRepository exception 2016-08-18 00:54:12 +02:00
logger.py sane remote logging, remote stderr, fixes #461 2015-12-12 22:15:08 +01:00
lrucache.py Merge branch 'master' into lrucache 2015-08-14 10:59:21 +01:00
paperkey.html key export: center QR code on the page 2017-02-12 22:26:10 +01:00
platform.py API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
platform_darwin.pyx API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
platform_freebsd.pyx API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
platform_linux.pyx API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
remote.py enable remote tests on cygwin 2017-06-21 00:49:29 +02:00
repository.py be more clear that this is a "beyond repair" case, fixes #2427 2017-04-28 21:30:16 +02:00
shellpattern.py fix most python-source related sphinx warnings 2016-07-10 17:26:04 +02:00
upgrader.py always setup module level "logger" in the same way 2017-01-06 05:48:50 +01:00
xattr.py helpers.Buffer: raise OSError subclass if too much memory is allocd 2017-01-04 19:28:05 +01:00