[obsolete] fix new api: be more flexible on rebase's buildstate signature
Introduced by `d1afbf03e69a@mercurial <http://selenic.com/repo/hg/rev/d1afbf03e69a>`_
--- 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):