Mercurial > public > mercurial-scm > hg-stable
diff hgext/convert/cvsps.py @ 10095:69ce7a10e593
convert: implement two hooks in builtin cvsps
author | Frank Kingswood <frank@kingswood-consulting.co.uk> |
---|---|
date | Tue, 15 Dec 2009 10:37:23 +0000 |
parents | 4c041f1ee1b4 |
children | d6512b3e9ac0 |
line wrap: on
line diff
--- a/hgext/convert/cvsps.py Thu Dec 17 00:32:26 2009 +0100 +++ b/hgext/convert/cvsps.py Tue Dec 15 10:37:23 2009 +0000 @@ -11,6 +11,7 @@ import cPickle as pickle from mercurial import util from mercurial.i18n import _ +from mercurial import hook class logentry(object): '''Class logentry has the following attributes: @@ -444,6 +445,8 @@ ui.status(_('%d log entries\n') % len(log)) + hook.hook(ui, None, "cvslog", True, log=log) + return log @@ -730,6 +733,8 @@ ui.status(_('%d changeset entries\n') % len(changesets)) + hook.hook(ui, None, "cvschangesets", True, changesets=changesets) + return changesets