Mercurial > evolve
comparison hgext3rd/topic/revset.py @ 5603:5e71952c8b4a stable
ngtip: make revset help text slightly more descriptive
author | Sietse Brouwer <sbbrouwer@gmail.com> |
---|---|
date | Mon, 12 Oct 2020 12:33:18 +0200 |
parents | e25394b6d021 |
children | f27ef537bf83 |
comparison
equal
deleted
inserted
replaced
5602:e25394b6d021 | 5603:5e71952c8b4a |
---|---|
74 | 74 |
75 return (subset & mutable).filter(matches) | 75 return (subset & mutable).filter(matches) |
76 | 76 |
77 @revsetpredicate(b'ngtip([branch])') | 77 @revsetpredicate(b'ngtip([branch])') |
78 def ngtipset(repo, subset, x): | 78 def ngtipset(repo, subset, x): |
79 """The untopiced tip. | 79 """The tip of a branch, ignoring changesets with a topic. |
80 | 80 |
81 Name is horrible so that people change it. | 81 Name is horrible so that people change it. |
82 """ | 82 """ |
83 args = revset.getargs(x, 1, 1, b'ngtip takes one argument') | 83 args = revset.getargs(x, 1, 1, b'ngtip takes one argument') |
84 # match a specific topic | 84 # match a specific topic |