Unless the -c option is given, and the commit to cvs was successful, .msg shouldn't be deleted to be able to run the command suggested by git-cvsexportcommit.
See http://bugs.debian.org/412732
Signed-off-by: Gerrit Pape <pape@smarden.org> --- git-cvsexportcommit.perl | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
Show changes to git-cvsexportcommit.perl +2 −1
diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl index d08216c..67224b4 100755 --- a/git-cvsexportcommit.perl +++ b/git-cvsexportcommit.perl @@ -248,13 +248,14 @@ if ($opt_c) { die "Exiting: The commit did not succeed"; } print "Committed successfully to CVS\n"; + # clean up + unlink(".msg"); } else { print "Ready for you to commit, just run:\n\n $cmd\n"; } # clean up unlink(".cvsexportcommit.diff"); -unlink(".msg"); sub usage { print STDERR <<END;
-- 1.5.0.1