Fix error in borgmatic rcreate/init on empty repository directory with Borg 1.4 (#896).
All checks were successful
build / test (push) Successful in 4m17s
build / docs (push) Successful in 51s

This commit is contained in:
Dan Helfman 2024-07-08 11:24:48 -07:00
parent 4313f90dd8
commit 31778fd3bf
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -1,4 +1,5 @@
1.8.14.dev0
* #896: Fix error in borgmatic rcreate/init on empty repository directory with Borg 1.4.
* Add a recent contributors section to the documentation, because credit where credit's due! See:
https://torsion.org/borgmatic/#recent-contributors

View File

@ -9,7 +9,7 @@ from borgmatic.execute import DO_NOT_CAPTURE, execute_command
logger = logging.getLogger(__name__)
RINFO_REPOSITORY_NOT_FOUND_EXIT_CODES = {2, 13}
RINFO_REPOSITORY_NOT_FOUND_EXIT_CODES = {2, 13, 15}
def create_repository(