equal
deleted
inserted
replaced
2298 |
2298 |
2299 return revs |
2299 return revs |
2300 |
2300 |
2301 |
2301 |
2302 def bookmarkrevs(repo, mark): |
2302 def bookmarkrevs(repo, mark): |
2303 """ |
2303 """Select revisions reachable by a given bookmark |
2304 Select revisions reachable by a given bookmark |
2304 |
|
2305 If the bookmarked revision isn't a head, an empty set will be returned. |
2305 """ |
2306 """ |
2306 return repo.revs( |
2307 return repo.revs( |
2307 b"ancestors(bookmark(%s)) - " |
2308 b"ancestors(bookmark(%s)) - " |
2308 b"ancestors(head() and not bookmark(%s)) - " |
2309 b"ancestors(head() and not bookmark(%s)) - " |
2309 b"ancestors(bookmark() and not bookmark(%s))", |
2310 b"ancestors(bookmark() and not bookmark(%s))", |