From: miloody on
Dear all:
I use "diff -rupN" to generate the patch file but I find diff will
also compare the information that keep in svn files.
how could I tell diff not to generate patch without comparing svn
files?
appreciate your help,
miloody
From: WANG Cong on
On Tue, 03 Aug 2010 05:35:02 -0700, miloody wrote:

> Dear all:
> I use "diff -rupN" to generate the patch file but I find diff will also
> compare the information that keep in svn files. how could I tell diff
> not to generate patch without comparing svn files?
> appreciate your help,
> miloody

'--exclude' could help.


From: miloody on
hi
On 8月4日, 下午4時18分, WANG Cong <xiyou.wangc...(a)gmail.com> wrote:
> On Tue, 03 Aug 2010 05:35:02 -0700, miloody wrote:
> > Dear all:
> > I use "diff -rupN" to generate the patch file but I find diff will also
> > compare the information that keep in svn files. how could I tell diff
> > not to generate patch without comparing svn files?
> > appreciate your help,
> > miloody
>
> '--exclude' could help.

when I man diff, I cannot see this option.
Would you mind telling me where the usage it is?
appreciate your help,
miloody
From: Loki Harfagr on
Wed, 04 Aug 2010 20:39:29 -0700, miloody did cat :

> hi
> On 8月4日, 下午4時18分, WANG Cong <xiyou.wangc...(a)gmail.com> wrote:
>> On Tue, 03 Aug 2010 05:35:02 -0700, miloody wrote:
>> > Dear all:
>> > I use "diff -rupN" to generate the patch file but I find diff will
>> > also compare the information that keep in svn files. how could I tell
>> > diff not to generate patch without comparing svn files? appreciate
>> > your help,
>> > miloody
>>
>> '--exclude' could help.
>
> when I man diff, I cannot see this option. Would you mind telling me
> where the usage it is? appreciate your help,
> miloody

this is on a GNU/Linux system:
----
$ man -P cat diff | grep -C 1 xclude
-x PAT --exclude=PAT
Exclude files that match PAT.

-X FILE --exclude-from=FILE
Exclude files that match any pattern in FILE
----

now, maybe your system doesn't have that 'diff'?
From: miloody on
hi:
On 8月5日, 下午3時03分, Loki Harfagr <l...(a)thedarkdesign.free.fr.INVALID>
wrote:
> Wed, 04 Aug 2010 20:39:29 -0700, miloody did cat :
>
> > hi
> > On 8月4日, 下午4時18分, WANG Cong <xiyou.wangc...(a)gmail.com> wrote:
> >> On Tue, 03 Aug 2010 05:35:02 -0700, miloody wrote:
> >> > Dear all:
> >> > I use "diff -rupN" to generate the patch file but I find diff will
> >> > also compare the information that keep in svn files. how could I tell
> >> > diff not to generate patch without comparing svn files? appreciate
> >> > your help,
> >> > miloody
>
> >> '--exclude' could help.
>
> > when I man diff, I cannot see this option. Would you mind telling me
> > where the usage it is? appreciate your help,
> > miloody
>
> this is on a GNU/Linux system:
> ----
> $ man -P cat diff | grep -C 1 xclude
>        -x PAT  --exclude=PAT
>               Exclude files that match PAT.
>
>        -X FILE  --exclude-from=FILE
>               Exclude files that match any pattern in FILE
> ----
>
> now, maybe your system doesn't have that 'diff'?

I found it :)
appreciate your help,
miloody