if ($self->{sign} && !$self->{check_only}) { my $digest = IO::String->new; $cb_closed = sub { print $digest join(' ', 'MD5', $_[1], $_[0])."\n"; }; my $old_cb_merged = $cb_merged; $cb_merged = sub { my ($editor, $baton, $pool) = @_; my $sig =_sign_gpg ('/tmp/svk-sign', ${$digest->string_ref}); $editor->change_dir_prop ($baton, 'svk:signature', $sig); &{$old_cb_merged} (@_) }; }
commit - Commit changes to depot.
commit [PATH...]
options: -m [--message] ARG: specify commit message ARG -s [--sign]: sign the commit
Chia-liang Kao <clkao@clkao.org>
Copyright 2003-2004 by Chia-liang Kao <clkao@clkao.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install SVK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SVK
CPAN shell
perl -MCPAN -e shell install SVK
For more information on module installation, please visit the detailed CPAN module installation guide.