你可以参与行动add_attachment
并执行SVN提交。
add_action( \'add_attachment\', \'svn_commit_attachments\' );
function svn_commit_attachments( $attachment_ID )
{
// collect data about the attachment, for example its path, the user and so on.
shell_exec ( \'$ svn commit -m "$user added file $filename."\' )
}