Commit graph

11 commits

Author SHA1 Message Date
Thomas Waldmann
c4ed840c7b pyupgrade --py38-plus ./**/*.py 2022-02-27 21:12:44 +01:00
Guinness
82e93527b0
Use an exception catching to avoid a stack trace
When exclude files are used, this can trigger a stack trace if the file
does not exist. Instead exit nicely without the stacktrace.

Fix #5734
2021-08-13 16:55:21 +02:00
Andrea Gelmini
72e7c46fa7 Fix typos 2021-01-07 17:54:33 +01:00
Thalian
ece47ee9e4 [BUGFIX] Borg commands accept absolute pathes, #4029
Strip leading path separator before trying to match a path.
2020-04-18 21:58:17 +02:00
Thalian
6aab0bc4c9 [FEATURE] Borg commands accept absolute pathes, #4029
Remove all leading slashes in patterns of all sorts but re: style.
2020-04-13 08:44:38 +02:00
Thomas Waldmann
f5ba0fc649 be more helpful when parsing invalid --pattern values
say what the real problem is.
say what is valid.
2018-03-03 03:08:20 +01:00
Mark Edgington
fd0215c3c2 patterns: don't recurse with !/--exclude for path-prefix (pf:)
Fixes issue #2509
2017-06-03 12:13:32 -04:00
Marian Beermann
4d9fd6d13f fix --exclude and --exclude-from recursing into directories 2017-05-05 14:55:01 +02:00
Marian Beermann
ef4cdfacae patterns: use set literal instead of set([]) 2017-05-01 22:20:34 +02:00
Marian Beermann
c5e3232187 patterns: explicate translate source 2017-05-01 22:20:34 +02:00
Marian Beermann
580496b592 create patterns module 2017-05-01 22:20:33 +02:00