From 7b5b1276085be3d2c12c8c28b7be1aceccae44f9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Mar 2011 11:49:21 -0400 Subject: [PATCH] Fix dropping of files using the URL backend. --- Backend/URL.hs | 2 +- debian/changelog | 6 ++++++ doc/bugs/dropping_files_with_a_URL_backend_fails.mdwn | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Backend/URL.hs b/Backend/URL.hs index 02ce3563cd..210c7c5b48 100644 --- a/Backend/URL.hs +++ b/Backend/URL.hs @@ -42,7 +42,7 @@ dummyStore :: FilePath -> Key -> Annex Bool dummyStore _ _ = return False dummyRemove :: Key -> Maybe a -> Annex Bool -dummyRemove _ _ = return False +dummyRemove _ _ = return True dummyFsck :: Key -> Maybe FilePath -> Maybe a -> Annex Bool dummyFsck _ _ _ = return True diff --git a/debian/changelog b/debian/changelog index 47a9148124..81257a24be 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +git-annex (0.20110317) UNRELEASED; urgency=low + + * Fix dropping of files using the URL backend. + + -- Joey Hess Thu, 17 Mar 2011 11:46:53 -0400 + git-annex (0.20110316) experimental; urgency=low * New repository format, annex.version=2. diff --git a/doc/bugs/dropping_files_with_a_URL_backend_fails.mdwn b/doc/bugs/dropping_files_with_a_URL_backend_fails.mdwn index 8ce7e84ad8..e88bf07f4d 100644 --- a/doc/bugs/dropping_files_with_a_URL_backend_fails.mdwn +++ b/doc/bugs/dropping_files_with_a_URL_backend_fails.mdwn @@ -9,3 +9,5 @@ git-annex: 1 failed At first I thought it was just my OSX machine not having the coreutils stuff load up before the BSD utils, but I then tried the same thing on my archlinux machine and it showed the same behaviour, that is I could not drop a file with the URL backend as shown in the walkthrough. + +> Whoops, got some logic backwards. [[fixed|done]]! --[[Joey]]