--file-to-restore doesn't work with trailing slash

Bug #377528 reported by Simon Ruderich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
Medium
Unassigned

Bug Description

Today I tried to restore some of my files using duplicity 0.5.16 restore.

    duplicity restore \
        --sign-key XXX --encrypt-key XXX \
        --tempdir $HOME/tmp --verbosity 9 \
        --file-to-restore mail/ \
        file:///... restore-mail

But this failed with the following error.

    mail/ not found in archive, no files restored.

If I strip the trailing slash everything works fine. I think a
trailing slash should be removed automatically to prevent this
problem.

Changed in duplicity:
assignee: nobody → Kenneth Loafman (kenneth-loafman)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :
Changed in duplicity:
assignee: Kenneth Loafman (kenneth-loafman) → nobody
milestone: none → 0.6.03
status: In Progress → Fix Committed
Changed in duplicity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.