[svk-devel] RE: About the encoding error when I do CVS mirror!!

Mark Wu markplace at gmail.com
Mon Feb 26 03:46:16 EST 2007


Hi:
 
Sorry, I think I should describe my environment more precisely.
 
I use SVK 1.0.8 in Ubuntu 6.10.
 
And the function I modified is under Commit.pm, the original code is
 
==== Original ===
sub decode_commit_message {
    my $self = shift;
    eval { from_native ($self->{message}, 'commit message',
$self->{encoding}); 1 }
    or die $@.loc("try <mailto:$@.loc(>  --encoding.\n");
}
=== Modified ===
sub decode_commit_message {
    my $self = shift;
    eval { from_native ($self->{message}, 'commit message',
$self->{encoding}); 1 }
#       comment by Mark Wu
#       or die $@.loc("try <mailto:$@.loc(>  --encoding.\n");
}

 
Hope these information enough for you to understand my problem.
 
Thanks.
 
Mark


  _____  

From: Mark Wu [mailto:markplace at gmail.com] 
Sent: Monday, February 26, 2007 4:38 PM
To: 'svk-devel at bestpractical.com'
Subject: About the encoding error when I do CVS mirror!!


Hi:
 
I just get the encoding error when I do the CVS mirror.
 
So, I try to comment out the line that cause this problem. Here comes what I
do:
 
=== Modify Commit.pm  with following===
 
#       comment by Mark Wu
#       or die $@.loc("try <mailto:$@.loc(>  --encoding.\n");
 
It seems work!! But, does there any drawbacks if I do this?
 
I am not familier with perl, so can anyone help me about this issue?
 
Thanks.
 
Regards, Mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/svk-devel/attachments/20070226/d00b69ef/attachment.htm


More information about the svk-devel mailing list