-
-
Notifications
You must be signed in to change notification settings - Fork 248
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
Add colon (:) to invalid char for revision name #1541
base: main
Are you sure you want to change the base?
Conversation
As colon is used in revision range, it shouldn't be used in revision name
it's too bad because the colon isn't any problem for the revision API, it's just used by the command interface. colon could be supported if the command interface had a function that parsed for quoted revision names. but then we'd probably want quotes added to the illegal chars also |
Can you explain
Yeah, and it's causing issue mentioned in ticket, is there better way to fix it?
How does quoted revision comes into the picture? |
the colon is only parsed inside of command.py, it's not used in revision.py we could also say that we would support this syntax:
however, there's no compelling reason for that ... |
I think the solution proposed in this PR is likely easier to implement. What do you think mike? |
it is. can you add a changelog and do we have illegal char tests set up? we should |
Thanks! |
is this PR stalled ? it needs the additional change as well as a unit test |
FIXES #1540
Description
As colon is used in revision range, it shouldn't be used in revision name.
Checklist
This pull request is:
must include a complete example of the issue. one line code fixes without an
issue and demonstration will not be accepted.
Fixes: #<issue number>
in the commit messageinclude a complete example of how the feature would look.
Fixes: #<issue number>
in the commit messageHave a nice day!