Skip to content
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 tag filtering in plugins #331

Open
LuluDavid opened this issue May 31, 2024 · 1 comment
Open

Add tag filtering in plugins #331

LuluDavid opened this issue May 31, 2024 · 1 comment
Labels
patches-welcome The reporter is welcome to submit a patch to fix the reported issue

Comments

@LuluDavid
Copy link

Hi,
Thanks for this useful tool, I am writing this issue because I wanted to suggest an improvement.
I already wrote a plugin to escape branch names according to my conventions in commit messages, and I wanted to know if it would be possible to add an additional dedicated function in plugins to process tags in export_tags ?
This would allow me to do the same escape in there for forbidden characters.
Thanks for reading, hope it is clear enough.

@frej
Copy link
Owner

frej commented Jun 7, 2024

Feel free to create a PR, I would be positive to adding such a plugin method. It should follow the same pattern as commit_message_filter in that the mapping file is considered first and the mapped name is given to the plugin.

An alternative external solution would be to just write a small tool that just filters the output from hg branches in order to create a mapping file.

@frej frej added the patches-welcome The reporter is welcome to submit a patch to fix the reported issue label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patches-welcome The reporter is welcome to submit a patch to fix the reported issue
Projects
None yet
Development

No branches or pull requests

2 participants