Mercurial > evolve
changeset 132:64d16f07d67f
obsolete: alter newerversion return
prepare ability to split and return kill information.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Tue, 24 Jan 2012 09:53:34 +0100 |
parents | 3124889cad55 |
children | aa182b912d62 |
files | hgext/obsolete.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/obsolete.py Mon Jan 23 18:22:10 2012 +0100 +++ b/hgext/obsolete.py Tue Jan 24 09:53:34 2012 +0100 @@ -257,7 +257,9 @@ if current in repo._obsobjrels: toproceed.update(repo._obsobjrels[current]) elif current is not None: # None is kill - newer.add(current) + newer.add((current,)) + else: + newer.add(()) return sorted(newer)