Skip to content

implement strip_outgoing() for Mercurial #4602

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

Closed
vladak opened this issue Jul 23, 2024 · 2 comments
Closed

implement strip_outgoing() for Mercurial #4602

vladak opened this issue Jul 23, 2024 · 2 comments
Assignees
Labels

Comments

@vladak
Copy link
Member

vladak commented Jul 23, 2024

When doing the changes for PR #4600, it occurred to me that a workaround would be to use the --strip-outgoing option of the opengrok-mirrror script however it turns out that mercurial.py does not implement strip_outgoing() function (unlike git.py).

@vladak vladak added enhancement tools Python tools labels Jul 23, 2024
@vladak
Copy link
Member Author

vladak commented Jul 23, 2024

For convenient modification, the strip Mercurial extension should be used; it needs to be explicitly enabled. This may involve creating a .hgrc configuration file to enable the extension.

@vladak
Copy link
Member Author

vladak commented Jul 24, 2024

advice from @vlmarek : hg --config extensions.mq= strip ...

@vladak vladak self-assigned this Jul 24, 2024
vladak added a commit to vladak/OpenGrok that referenced this issue Jul 24, 2024
@vladak vladak closed this as completed in 558c841 Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant