-
Bug
-
Resolution: Fixed
-
Low
-
5.0.0
-
None
-
Severity 3 - Minor
-
In Bitbucket 5.0.0, rename detection for repositories and projects was added. This rename detection writes a warning to git clients using the old clone URLs.
The detection generates a false positive warning when using a clone URL without the `.git` suffix:
$ git push origin HEAD:some-branch Counting objects: 4, done. Delta compression using up to 16 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 471 bytes | 0 bytes/s, done. Total 4 (delta 3), reused 0 (delta 0) remote: The repository has moved, please update your configuration: remote: ssh://git@bitbucket.company.com:7999/project/repo-slug.git ... $ git remote -v origin ssh://git@bitbucket.company.com:7999/project/repo-slug (fetch) origin ssh://git@bitbucket.company.com:7999/project/repo-slug (push)
[BSERV-9731] Repository rename detection incorrectly warns that repository has moved if .git is missing from clone URL
Workflow | Original: Stash Workflow - Restricted [ 2014947 ] | New: JAC Bug Workflow v3 [ 3137042 ] |
Symptom Severity | Original: Minor [ 14432 ] | New: Severity 3 - Minor [ 15832 ] |
Fix Version/s | New: 5.0.1 [ 71899 ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Closed [ 6 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Description |
New:
In Bitbucket 5.0.0, rename detection for repositories and projects was added. This rename detection writes a warning to git clients using the old clone URLs.
The detection generates a false positive warning when using a clone URL without the `.git` suffix: {noformat} $ git push origin HEAD:some-branch Counting objects: 4, done. Delta compression using up to 16 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 471 bytes | 0 bytes/s, done. Total 4 (delta 3), reused 0 (delta 0) remote: The repository has moved, please update your configuration: remote: ssh://git@bitbucket.company.com:7999/project/repo-slug.git ... $ git remote -v origin ssh://git@bitbucket.company.com:7999/project/repo-slug (fetch) origin ssh://git@bitbucket.company.com:7999/project/repo-slug (push) {noformat} |
Affects Version/s | New: 5.0.0 [ 66696 ] |
Component/s | New: Repositories [ 17699 ] |
Assignee | New: Michael Heemskerk [ mheemskerk ] |
Status | Original: Needs Triage [ 10030 ] | New: Open [ 1 ] |