mirror of
https://github.com/frej/fast-export.git
synced 2025-11-01 00:45:47 +01:00
Add revision to commit_data for commit plugins
Co-Authored-By: ostan89@gmail.com
This commit is contained in:
committed by
Ondrej Stanek
parent
50631c4b34
commit
5c1cbf82b0
@@ -304,7 +304,7 @@ def export_commit(ui,repo,revision,old_marks,max,count,authors,
|
||||
author = get_author(desc,user,authors)
|
||||
|
||||
if plugins and plugins['commit_message_filters']:
|
||||
commit_data = {'branch': branch, 'parents': parents, 'author': author, 'desc': desc}
|
||||
commit_data = {'branch': branch, 'parents': parents, 'author': author, 'desc': desc, 'revision': revision}
|
||||
for filter in plugins['commit_message_filters']:
|
||||
filter(commit_data)
|
||||
branch = commit_data['branch']
|
||||
|
||||
Reference in New Issue
Block a user