Problem
When there are multiple entries with the same nickname (?) I see only the last entry is cloned, which might be fine. But I do see it a problem that the tool doesn't let the user know there was a duplicate entry.
I just had an issue where a repo defined earlier than the last duplicated entry didn't get cloned, which I didn't notice for awhile.
Demo
foo.repos.
- git: {local-name: dirk-thomas/vcstool, uri: 'https://github.com/facebook/robolectric'}
- git: {local-name: dirk-thomas/vcstool, uri: 'https://github.com/dirk-thomas/vcstool'}
I do not see any mention about robolectric in the result below.
$ mkdir src && vcs import src < ./foo.repos
=== src/dirk-thomas/vcstool (git) ===
Cloning into '.'...
$ cd src/dirk-thomas/vcstool/ && git remote -vv
origin git@github.com:dirk-thomas/vcstool (fetch)
origin git@github.com:dirk-thomas/vcstool (push)
$ apt-cache policy python3-vcstool
python3-vcstool:
Installed: 0.2.15-1
Problem
When there are multiple entries with the same nickname (?) I see only the last entry is cloned, which might be fine. But I do see it a problem that the tool doesn't let the user know there was a duplicate entry.
I just had an issue where a repo defined earlier than the last duplicated entry didn't get cloned, which I didn't notice for awhile.
Demo
foo.repos.I do not see any mention about
robolectricin the result below.