Say I have the following project / repo hierarchy:
java
|----- my-first-repo
python
|----- my-first-repo
When I try to create the my-first-repo in the python project I get an error saying I already have a repo with the name my-first-repo.
Seems like I should be able to create repos with the same name if they are in different projects.
Welcome to the Atlassian Community!
It's because the repo name is part of the path. Think of what goes on the disk - how would ./mygitwork/bob get distinguished from ./mygitwork/bob ?
Makes sense, but then why not have the project name also be part of the path.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, @Giancarlo Franchi,
We already have the following feature requests to include the project ID to the repository URL, which would allow you to create two repositories with the same name in different projects:
I would suggest that you add your vote there (by selecting the Vote for this issue link) as the number of votes helps the development team and product managers better understand the demand for new features.
You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to get notified via email on updates.
Implementation of new features is done as per our policy here and any updates will be posted in the feature request.
Kind regards,
Caroline
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do the projects have different keys?
BTW, I just tried to create a repo with same name on different project and it worked great - on bitbucket cloud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Odd.
I have a the following projects:
Java --> Key = JAVA
Python --> Key = PYT
In java I have a repo called minesweeper.
I'm re-writing it in Python. So i go to create new repo. I select my workspace. Then project Python and try to create repo minesweeper.
It gives me the error that a repo with that name exists (I don't have a minesweeper repo in the python project).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.