]> arthur.barton.de Git - bup.git/commit
find_dir_item_metadata_by_name(): wait for the right item name.
authorRob Browning <rlb@defaultvalue.org>
Sun, 10 Mar 2013 16:25:47 +0000 (11:25 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 10 Mar 2013 16:32:54 +0000 (11:32 -0500)
commitb5ae9433b8d43275f68d97a89a81d0816e777e15
treeefa873264dd5785117ffd438759d332f2e565d23
parent53649c18ec3db90f80ff4657315009538d4333f3
find_dir_item_metadata_by_name(): wait for the right item name.

Fix a bug in the previous patch:

  Include metadata when asked to restore individual non-directory paths.
  53649c18ec3db90f80ff4657315009538d4333f3

Don't return whatever metadata you have the first time you hit a
directory in the dir.  Wait until you find the right name.

Reported-by: varacanero <varacanero@zeromail.org>
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
cmd/restore-cmd.py
t/test-restore-single-file.sh