From 0628ec7fd547e1f01cc39d19ee803544e0db7b71 Mon Sep 17 00:00:00 2001 From: yarikoptic Date: Tue, 5 Nov 2024 20:59:16 +0000 Subject: [PATCH] Added a comment: cannot "unregister" fully --- ..._2b77b76dd091ff7d3df776c700b29fe6._comment | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/git-annex-reregisterurl/comment_1_2b77b76dd091ff7d3df776c700b29fe6._comment diff --git a/doc/git-annex-reregisterurl/comment_1_2b77b76dd091ff7d3df776c700b29fe6._comment b/doc/git-annex-reregisterurl/comment_1_2b77b76dd091ff7d3df776c700b29fe6._comment new file mode 100644 index 0000000000..5d62a6fe8e --- /dev/null +++ b/doc/git-annex-reregisterurl/comment_1_2b77b76dd091ff7d3df776c700b29fe6._comment @@ -0,0 +1,20 @@ +[[!comment format=mdwn + username="yarikoptic" + avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4" + subject="cannot "unregister" fully" + date="2024-11-05T20:59:15Z" + content=""" +> Note that, like git-annex unregisterurl, using this option unregisters an url from a special remote, but it does not mark the content as not present in that special remote. + +But then how to mark \"not present\" in that remote? After `git-annex-reregisterurl` I still have `[datalad]` remote listed although url now, correctly, associated with `web`. I have tried `drop` but that didn't work + +```shell +❯ git annex drop --from datalad images/neurodesk/neurodesk-afni--21.2.00.simg +drop images/neurodesk/neurodesk-afni--21.2.00.simg (from datalad...) (locking smaug...) + Removal of content from urls is not possible +failed +drop: 1 failed +``` + +Could there may be option `--fully` or `--mark-not-present` option to make it 1 invocation operation? +"""]]