Prune also needs --glob-archives instead of --prefix draft tip

Sun, 25 Dec 2022 13:26:18 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 25 Dec 2022 13:26:18 +0200
changeset 147
c42d69c44170
parent 146
e79cc90c7798

Prune also needs --glob-archives instead of --prefix

borgend/backup.py file | annotate | diff | comparison | revisions
--- a/borgend/backup.py	Wed Nov 23 10:57:57 2022 +0200
+++ b/borgend/backup.py	Sun Dec 25 13:26:18 2022 +0200
@@ -491,7 +491,7 @@
                              params.create, self.paths)
         elif op.type==Operation.PRUNE:
             self.__do_launch(op, self.repository.location, params.common,
-                             [{'prefix': self.archive_prefix}] + params.prune)
+                             [{'glob-archives': self.archive_prefix + '*'}] + params.prune)
 
         elif op.type==Operation.LIST:
             self.__do_launch(op, self.repository.location, params.common,

mercurial