Re: [Codestriker-user] DBD::ODBC::st fetchrow_array failed
Brought to you by:
sits
|
From: Moisei R. <mo...@gm...> - 2006-08-08 05:56:32
|
Ohh, I assumed everybody knows that I use subversion not a CVS.
Thanks for the tip anyway, I think, know where to go now.
Even svn diff is missing this option natively, there is a way to use 3-rd
party diff that knows to ignore the white spaces.
On 8/8/06, David Sitsky <si...@us...> wrote:
>
> Moisei Rabinovich wrote:
> > well, I probably miss some important point.
> > codestriker generates a diff for me by itself, i only fill start-tag,
> > end-tag and module.
> > where should i set the "-b" option?
>
> If you always want to ignore whitespace changes, you can do this by
> modifying lib/Codestriker/Repository/Cvs.pm, line 124. Add the '-b'
> option so that the code that used to be:
>
> my $pid = open3($write_stdin_fh, $read_stdout_fh, $read_stderr_fh,
> $Codestriker::cvs, '-q', '-d', $self->{url},
> 'rdiff', $extra_options, '-u',
> '-r', $start_tag, '-r', $end_tag, $module_name);
>
> Looks like:
>
> my $pid = open3($write_stdin_fh, $read_stdout_fh, $read_stderr_fh,
> $Codestriker::cvs, '-q', '-d', $self->{url},
> 'rdiff', $extra_options, '-u', '-b',
> '-r', $start_tag, '-r', $end_tag, $module_name);
>
> ie - the -b option has been added.
>
> > also I am not sure @exclude_file_types is taken into account in this
> case
>
> It should be. The same filtering code is run, regardless of whether or
> not Codestriker generated the diff text, or it was supplied by the user.
>
> Cheers,
> David
>
--
Best Regards,
Moisei
|