Mercurial > evolve
changeset 41:99c131e97bb3
Do not hide current and bookmarked
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Wed, 07 Sep 2011 18:39:02 +0200 |
parents | b9a5a596d9ef |
children | eb6a06d7eae3 |
files | obsolete.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/obsolete.py Wed Sep 07 12:42:26 2011 +0200 +++ b/obsolete.py Wed Sep 07 18:39:02 2011 +0200 @@ -28,7 +28,7 @@ # hack to fill hiddenrevs # compute hidden (XXX should move elsewhere) if not getattr(ctx._repo.changelog, 'hiddeninit', False): - basicquery = 'obsolete() - (ancestors(not obsolete()))' + basicquery = 'obsolete() - (ancestors(not obsolete() or . or bookmark()))' for rev in scmutil.revrange(ctx._repo, [basicquery]): ctx._repo.changelog.hiddenrevs.add(rev) ctx._repo.changelog.hiddeninit = True