Mercurial > hg
comparison hgext/convert/__init__.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 | fbde669564d8 |
children | d6512b3e9ac0 |
comparison
equal
deleted
inserted
replaced
10093:a43ae5777221 | 10095:69ce7a10e593 |
---|---|
163 --config convert.cvsps.mergefrom='{{mergefrombranch ([-\\w]+)}}' | 163 --config convert.cvsps.mergefrom='{{mergefrombranch ([-\\w]+)}}' |
164 Specify a regular expression to which commit log messages are | 164 Specify a regular expression to which commit log messages are |
165 matched. If a match occurs, then the conversion process will | 165 matched. If a match occurs, then the conversion process will |
166 add the most recent revision on the branch indicated in the | 166 add the most recent revision on the branch indicated in the |
167 regex as the second parent of the changeset. | 167 regex as the second parent of the changeset. |
168 --config hook.cvslog | |
169 Specify a Python function to be called at the end of gathering | |
170 the CVS log. The function is passed a list with the log entries, | |
171 and can modify the entries in-place, or add or delete them. | |
172 --config hook.cvschangesets | |
173 Specify a Python function to be called after the changesets | |
174 are calculated from the the CVS log. The function is passed | |
175 a list with the changeset entries, and can modify the changesets | |
176 in-place, or add or delete them. | |
168 | 177 |
169 An additional "debugcvsps" Mercurial command allows the builtin | 178 An additional "debugcvsps" Mercurial command allows the builtin |
170 changeset merging code to be run without doing a conversion. Its | 179 changeset merging code to be run without doing a conversion. Its |
171 parameters and output are similar to that of cvsps 2.1. Please see | 180 parameters and output are similar to that of cvsps 2.1. Please see |
172 the command help for more details. | 181 the command help for more details. |