This commit is contained in:
Joey Hess 2021-03-01 13:52:19 -04:00
parent 0482424fad
commit 06665d733a
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,20 @@
[[!comment format=mdwn
username="joey"
subject="""comment 3"""
date="2021-03-01T17:39:31Z"
content="""
After using setpresentkey git-annex still has the url
registered and a later addurl of a new url would make git-annex also
start trying the old url. Also, if there are several urls, you might only
want to remove one, not remove it from the web special remote entirely
as setpresentkey does.
`rmurl --key` would be fine until a batch version was wanted, and then
something would need to be done about [[todo/git-annex-get_--batch_--key]].
Which would be good to solve generally somehow, but otoh, `git-annex
unregisterurl` neatly avoids that more general problem. Also, it makes
sense that a registerurl user would look for a dual command like
unregisterurl before looking in rmurl for a way to do it.
So I think unregisterurl is the right thing to add.
"""]]