Skip to content

Fixes BORG_CACHE_DIR crashing borg if empty, fixes #5216#5774

Merged
ThomasWaldmann merged 2 commits intoborgbackup:1.1-maintfrom
ThomasWaldmann:backports1
Apr 19, 2021
Merged

Fixes BORG_CACHE_DIR crashing borg if empty, fixes #5216#5774
ThomasWaldmann merged 2 commits intoborgbackup:1.1-maintfrom
ThomasWaldmann:backports1

Conversation

@ThomasWaldmann
Copy link
Member

This is a backport of #5485.

ThomasWaldmann added a commit to ThomasWaldmann/borg that referenced this pull request Apr 19, 2021
this bug was introduced by PR borgbackup#5485 and also affects backport PR borgbackup#5774.
this bug was introduced by PR borgbackup#5485 and also affects backport PR borgbackup#5774.
@codecov-commenter
Copy link

codecov-commenter commented Apr 19, 2021

Codecov Report

Merging #5774 (aa7a76c) into 1.1-maint (d9a9ca4) will decrease coverage by 0.06%.
The diff coverage is 71.42%.

❗ Current head aa7a76c differs from pull request most recent head 2440438. Consider uploading reports for the commit 2440438 to get more accurate results
Impacted file tree graph

@@              Coverage Diff              @@
##           1.1-maint    #5774      +/-   ##
=============================================
- Coverage      79.95%   79.89%   -0.07%     
=============================================
  Files             27       27              
  Lines          10444    10443       -1     
  Branches        1842     1839       -3     
=============================================
- Hits            8351     8343       -8     
- Misses          1572     1577       +5     
- Partials         521      523       +2     
Impacted Files Coverage Δ
src/borg/helpers.py 87.81% <71.42%> (-0.37%) ⬇️
src/borg/archive.py 82.16% <0.00%> (-0.15%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d9a9ca4...2440438. Read the comment docs.

@ThomasWaldmann ThomasWaldmann merged commit 31f9516 into borgbackup:1.1-maint Apr 19, 2021
@ThomasWaldmann ThomasWaldmann deleted the backports1 branch April 19, 2021 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants