Skip to content

add the ability to strip outgoing changesets for Mercurial repositories #4605

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

Merged
merged 20 commits into from
Jul 25, 2024

Conversation

vladak
Copy link
Member

@vladak vladak commented Jul 24, 2024

This change makes the --strip-outgoing option of opengrok-mirror work for Mercurial repositories.

There is a particular corner case which I discovered when writing the test and that is when all changesets are stripped, the branch in such repository can no longer be identified, which leads to the failure of the hg out command.

While there, I applied black on the files so there are other (formatting) changes.

@vladak vladak added the tools Python tools label Jul 24, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 24, 2024
@vladak vladak force-pushed the tools_mercurial_strip_outgoing branch from 41eb10f to aecd87d Compare July 24, 2024 14:48
@vladak vladak merged commit 558c841 into oracle:master Jul 25, 2024
8 of 9 checks passed
@vladak vladak deleted the tools_mercurial_strip_outgoing branch July 25, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement. tools Python tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants