3a4aaeebe0d87f21bcdff559fcf1662e0ada02f9
[git-annex.git] /
1 [[!comment format=mdwn
2  username="joey"
3  subject="""comment 5"""
4  date="2023-04-05T18:47:51Z"
5  content="""
6 What I'm inclined to do is is add a --remote= parameter to registerurl and
7 unregisterurl. If the specified remote does not claim the url, have it fail
8 to add it. (See also [[todo/registerurl_--remote_REMOTE]])
9
10 So, you can then use registerurl with --remote=$uuid, check that it
11 succeeded, and then use setpresentkey to mark it present on that uuid.
12 Without the fragility you complained of.
13
14 (Could registerurl with --remote update location tracking itself? Maybe,
15 but I'd worry about a scenario like in the previous comment.)
16 """]]