Skip to content

Conversation

@christian-schilling
Copy link
Member

@christian-schilling christian-schilling commented May 8, 2024

The :rev() filter used to only apply filters if the specified revisions where encountered during traversal.
However, this meant that if an ancestor commit is reachable by multiple paths in the history and some include the specified revision and some don't, the ancestor has multiple corresponding filtered commits.
This resulted in duplicated commits in those more complicated histories and caused "non roundtrip" issues.
Now the rev filter will compute if a commit is reachable from the specifed commit in any way and apply if so.

Change: rev-all-parents
Co-authored-by: Ralf Jung post@ralfj.de

@christian-schilling christian-schilling requested a review from LMG May 8, 2024 11:58
@christian-schilling christian-schilling force-pushed the @changes/master/christian.schilling.de@gmail.com/rev-all-parents branch 2 times, most recently from b0ab8c6 to 194387d Compare May 8, 2024 13:34
The `:rev()` filter used to only apply filters if the specified
revisions where encountered during traversal.
However, this meant that if an ancestor commit is reachable by
multiple paths in the history and some include the specified
revision and some don't, the ancestor has multiple corresponding
filtered commits.
This resulted in duplicated commits in those more complicated
histories and caused "non roundtrip" issues.
Now the rev filter will compute if a commit is reachable from the
specifed commit in any way and apply if so.

Change: rev-all-parents
Co-authored-by: Ralf Jung <post@ralfj.de>
@christian-schilling christian-schilling force-pushed the @changes/master/christian.schilling.de@gmail.com/rev-all-parents branch from 194387d to 1c7abe2 Compare May 8, 2024 13:52
@christian-schilling christian-schilling merged commit 9a97ca8 into master May 11, 2024
@christian-schilling christian-schilling deleted the @changes/master/christian.schilling.de@gmail.com/rev-all-parents branch May 11, 2024 09:44
christian-schilling added a commit that referenced this pull request Oct 11, 2025
The `:rev()` filter used to only apply filters if the specified
revisions where encountered during traversal.
However, this meant that if an ancestor commit is reachable by
multiple paths in the history and some include the specified
revision and some don't, the ancestor has multiple corresponding
filtered commits.
This resulted in duplicated commits in those more complicated
histories and caused "non roundtrip" issues.
Now the rev filter will compute if a commit is reachable from the
specifed commit in any way and apply if so.

Change: rev-all-parents

Co-authored-by: Ralf Jung <post@ralfj.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant