Mercurial > hg
changeset 9235:dde454349864
bookmarks: Wrap commictx instead of commit (issue 1515)
author | David Soria Parra <dsp@php.net> |
---|---|
date | Fri, 24 Jul 2009 00:04:24 +0200 |
parents | 65719472bfa2 |
children | a15b0412de06 |
files | hgext/bookmarks.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/bookmarks.py Thu Jul 23 15:26:29 2009 -0500 +++ b/hgext/bookmarks.py Fri Jul 24 00:04:24 2009 +0200 @@ -246,12 +246,12 @@ key = self._bookmarks[key] return super(bookmark_repo, self).lookup(key) - def commit(self, *k, **kw): + def commitctx(self, ctx, error=False): """Add a revision to the repository and move the bookmark""" wlock = self.wlock() # do both commit and bookmark with lock held try: - node = super(bookmark_repo, self).commit(*k, **kw) + node = super(bookmark_repo, self).commitctx(ctx, error) if node is None: return None parents = self.changelog.parents(node)