[prev in list] [next in list] [prev in thread] [next in thread]
List: svk-devel
Subject: [svk-devel] RE: About the encoding error when I do CVS mirror!!
From: markplace () gmail ! com (Mark Wu)
Date: 2007-02-26 3:46:38
Message-ID: 001201c75982$96c80560$040ba8c0 () MARKWUNOTEBOOK
[Download RAW message or body]
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@gmail.com]
Sent: Monday, February 26, 2007 4:38 PM
To: 'svk-devel@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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic