-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Branches in branch mappings cannot contain a '/' #230
Comments
Which VCS plugin is this with ? |
Nevermind, I just saw you mentioned this in #229 |
We are using Source Control Integration 2.0.3 and Source GitHub Integration 2.0.0. |
I found the problem. The branch name cannot be modified. I created a mapping with "gramps50" by mistake, and then tried to change it to "maintenance/gramps50". The solution was to delete the mapping and create a new one. |
Thanks for the feedback. I never realized that until today... And in fact I'm not sure it can be fixed easily as the table uses repo_id + branch name as primary key, and not an arbitrary ID field. To avoid future confusion, the simplest would be to make the field read-only. I'll also check if it's feasible to modify the code to allow updating the branch name, but that might require a schema change. |
#243 has been opened to track this as a workaround This issue remains open to track the better fix, which would require adding a primary key to the branch table. |
When I click "Update Mappings" with a branch set to "maintenance/gramps50" it changes to "gramps50".
The text was updated successfully, but these errors were encountered: