You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ma...@playstation.sony.com on 2006/04/19 18:08:37 UTC

svn diff --diff-cmd /usr/bin/diff --exclude

I have been unable to get this command or a number of variants to work:

diff --diff-cmd /usr/bin/diff   -x  '--exclude=ignore_this_file' some_dir 
almost_identical_copy_of_some_dir

If I modify file 'ignore_this_file' in checkout directory 
'almost_identical_copy_of_some_dir'
I can't get any variation of '--exclude/-x' to ignore changes to 
'ignore_this_file'. It will
always show the difference between that file and it's original copy in 
'some_dir'.

Any suggestions.

Thanks for any help.

Re: svn diff --diff-cmd /usr/bin/diff --exclude

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 4/19/06, Mark_Villa@playstation.sony.com
<Ma...@playstation.sony.com> wrote:
>
> I have been unable to get this command or a number of variants to work:
>
> diff --diff-cmd /usr/bin/diff   -x  '--exclude=ignore_this_file' some_dir
> almost_identical_copy_of_some_dir
>
> If I modify file 'ignore_this_file' in checkout directory
> 'almost_identical_copy_of_some_dir'
> I can't get any variation of '--exclude/-x' to ignore changes to
> 'ignore_this_file'. It will
> always show the difference between that file and it's original copy in
> 'some_dir'.
>
> Any suggestions.
>
> Thanks for any help.

Passing --exclude to diff via -x will not work because svn is not
running a recursive diff, it's running diff individually on each file
that's modified.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org