I don't know what happens but when I do this chage:


    # Find some information about this activity
    #open ( SVNLOOK_INFO, "svnlook info " . $svn_tools_argument . " $svn_txn $svn_repository |" );
    open ( SVNLOOK_INFO, "<:encoding(UTF-8)", "svnlook info " . $svn_tools_argument . " $svn_txn $svn_repository |" );

(note that I've had to change @DEVEL_CONFIG_SCM_BINARY_SVNLOOK@ for svnlook becouse perl complains abaout unknown symbol... I hope that's right...)

I get empty log msg:
[EMAIL PROTECTED]:~/kk/svntest/test_rep_a/trunk$ echo "12345" >> fich2 && svn ci -m "bug 26: Añado una linea a fich2 y pruebo el tema de los acentos camión, ALÁ, ñiñli"
Enviando       trunk/fich2
Transmitiendo contenido de archivos .svn: Falló el commit (detalles a continuación):
svn: requerimiento MERGE falló en '/svn/test_rep_a/trunk'
svn: 'pre-commit' hook failed with error output:
Scmbug notice: ---------------------------------------------------------
Scmbug notice: Reading configuration
Scmbug notice: Checking configuration
Scmbug notice: Preparing for verification
*******************************************
**
**
** Scmbug error 3: No list of bug ids was found that matches the bugid_regex 'bug\s*(.*?):' and bugid_split_regex ',\s?#|\s?#|,|\s+'.
**
**
*******************************************


I've inserted this:
    my $original_log_message = "";
    # Rest of the lines are the log message
    while ( $line = <SVNLOOK_INFO> ) {
        $original_log_message .= $line;
    }

    open FILEHANDLE, ">> /tmp/somefile";
    print FILEHANDLE Dumper( $original_log_message );
    close FILEHANDLE;

And I get an empty log:
mistral:~# cat /tmp/somefile
$VAR1 = '';


I've tried UTF-8, utf8, iso8859-1, es_ES, etc. in the encoding() and allways get the empty log...

Perhaps Encode::PerlIO isn't working in my system?







Kristis Makris wrote:
On Tue, 2006-12-12 at 16:46 -0700, Kristis Makris wrote:
  
Perhaps we could change this into:
    

Sorry, I meant:

  
open(SVNLOOK_INFO, "<:encoding(es_ES) @DEVEL_CONFIG_SCM_BINARY_SVNLOOK@ info
" . $svn_tools_argument . " $svn_txn $svn_repository |" );

    



  
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to