Skip to content
Discussion options

You must be logged in to vote

Revsets like mine() and author_date() are evaluated as filters, so they will scan the entire history of the repo unless restricted using some other revset. Usually it's good to use x.., x..y or x:: along with these revsets, because that prevents them from having to scan the entire history.

For instance, you might find more success with something like author_date(before:"7 days ago").. & mine(), because that tells the optimizer that it can stop scanning backwards when it finds a commit from before 7 days ago (whereas for author_date(after:"7 days ago") & mine() it can't stop early, because it's technically possible that a commit can have an older author date than its parent, such as if it …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@jaustin-ant
Comment options

@jaustin-ant
Comment options

@scott2000
Comment options

@jaustin-ant
Comment options

@scott2000
Comment options

Answer selected by jaustin-ant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants