Adds a new revsetpredicate: age(), which matches changesets that are
older or younger than a certain age.
Details
Details
- Reviewers
stash - Group Reviewers
Restricted Project - Commits
- rFBHGXe3035f301441: age: add age revsetpredicate extension
Add new unit test for the predicate.
Diff Detail
Diff Detail
- Repository
- rFBHGX Facebook Mercurial Extensions
- Branch
- default
- Lint
Lint OK - Unit
Unit Tests OK
Event Timeline
hgext3rd/age.py | ||
---|---|---|
37 | Actually I made "seconds" the default unit, but forgot to document it. Will fix up the doc comment. |
Let's add a comment explaining the difference from date(...).