copy --from --to location tracking update
copy: When --from and --to are combined and the content is already present on the destination remote, update location tracking as necessary. Sponsored-by: Dartmouth College's DANDI project
This commit is contained in:
parent
38e9ea8497
commit
f1b678face
4 changed files with 19 additions and 0 deletions
|
@ -399,6 +399,9 @@ fromToPerform src dest removewhen key afile = do
|
|||
Right True -> do
|
||||
showAction $ "from " ++ Remote.name src
|
||||
showAction $ "to " ++ Remote.name dest
|
||||
-- The log may not indicate dest's copy
|
||||
-- yet, so make sure it does.
|
||||
logChange key (Remote.uuid dest) InfoPresent
|
||||
-- Drop from src, checking copies including
|
||||
-- the one already in dest.
|
||||
dropfromsrc id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue