Mercurial > evolve
changeset 253:8ee6c5b98d73
[obsolete] fix new api: be more flexible on rebase's buildstate signature
Introduced by `d1afbf03e69a@mercurial <http://selenic.com/repo/hg/rev/d1afbf03e69a>`_
author | Alain Leufroy <alain.leufroy@logilab.fr> |
---|---|
date | Tue, 29 May 2012 11:15:19 +0200 |
parents | 470232cea503 |
children | 3ff969da57ef |
files | hgext/obsolete.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/obsolete.py Tue May 29 10:27:33 2012 +0200 +++ b/hgext/obsolete.py Tue May 29 11:15:19 2012 +0200 @@ -216,10 +216,10 @@ ############################ -def buildstate(orig, repo, dest, rebaseset, detach): +def buildstate(orig, repo, dest, rebaseset, *ags, **kws): """wrapper for rebase 's buildstate that exclude obsolete changeset""" rebaseset = repo.revs('%ld - extinct()', rebaseset) - return orig(repo, dest, rebaseset, detach) + return orig(repo, dest, rebaseset, *ags, **kws) def concludenode(orig, repo, rev, *args, **kwargs):