Commits

Alain Leufroy committed 8ee6c5b

[obsolete] fix new api: be more flexible on rebase's buildstate signature

Introduced by `d1afbf03e69a@mercurial <http://selenic.com/repo/hg/rev/d1afbf03e69a>`_

Comments (0)

Files changed (1)

hgext/obsolete.py

 ############################
 
 
-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):