summaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_dead_does_not_work_as_expected_when_multiple_repos_exist_with_the_same_name___40__notably_including_dead_ones__41__/comment_1_7ee08a60e4b2516c010d3c2163049681._comment
blob: 3875affb796107ac7481220be9363bba7d75de52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[[!comment format=mdwn
 username="http://joeyh.name/"
 ip="209.250.56.47"
 subject="comment 1"
 date="2013-10-29T21:10:53Z"
 content="""
I don't think it's a good idea to give multiple repos the same description.

You can use the uuid to refer to a repo unambiguously in this situation. 

I think it would add unncessary complication to make git-annex guess which repository you mean based on context
(ie, choosing repositories that are not already dead). This would make commands that are currently idempotent not be.

Perhaps git-annex should abort when multiple repositories match the given description? (Relevant code is Remote.nameToUUID's bydescription)
"""]]