Show More
@@ -246,12 +246,12 b' def reposetup(ui, repo):' | |||||
246 | key = self._bookmarks[key] |
|
246 | key = self._bookmarks[key] | |
247 | return super(bookmark_repo, self).lookup(key) |
|
247 | return super(bookmark_repo, self).lookup(key) | |
248 |
|
248 | |||
249 |
def commit(self, |
|
249 | def commitctx(self, ctx, error=False): | |
250 | """Add a revision to the repository and |
|
250 | """Add a revision to the repository and | |
251 | move the bookmark""" |
|
251 | move the bookmark""" | |
252 | wlock = self.wlock() # do both commit and bookmark with lock held |
|
252 | wlock = self.wlock() # do both commit and bookmark with lock held | |
253 | try: |
|
253 | try: | |
254 |
node = super(bookmark_repo, self).commit( |
|
254 | node = super(bookmark_repo, self).commitctx(ctx, error) | |
255 | if node is None: |
|
255 | if node is None: | |
256 | return None |
|
256 | return None | |
257 | parents = self.changelog.parents(node) |
|
257 | parents = self.changelog.parents(node) |
General Comments 0
You need to be logged in to leave comments.
Login now