Mercurial > hg
diff hgext/bookmarks.py @ 10882:f0bfe42c7b1f
rollback: add dry-run argument, emit transaction description
author | Steve Borho <steve@borho.org> |
---|---|
date | Fri, 09 Apr 2010 17:23:37 -0500 |
parents | 717c35d55fb3 |
children | a156ce543a5b |
line wrap: on
line diff
--- a/hgext/bookmarks.py Fri Apr 09 17:23:35 2010 -0500 +++ b/hgext/bookmarks.py Fri Apr 09 17:23:37 2010 -0500 @@ -241,10 +241,10 @@ file.close() return mark - def rollback(self): + def rollback(self, *args): if os.path.exists(self.join('undo.bookmarks')): util.rename(self.join('undo.bookmarks'), self.join('bookmarks')) - return super(bookmark_repo, self).rollback() + return super(bookmark_repo, self).rollback(*args) def lookup(self, key): if key in self._bookmarks: