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