"cvs diff -N" only works if the new files have been "added" (cvs add) in the
local machine. Unfortunately, you cannot add the files using CVS unless you
have write permission in the actual repository.
If would be nice if someone could come up with a small script that would add
the files locally, run "cvs diff" and then remove the bogous entries
locally.
Another solution would be to provide a way for "cvs add" to work even if on
read-only mode, and then just fail if you try to commit the transaction
without the required permission.
In any case, this is a real pain in the neck.
Jose Alberto
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Henning P. Schmiedehausen
> Sent: Tuesday, August 28, 2001 9:36
> To: [EMAIL PROTECTED]
> Subject: Re: [PATCH] Cleaning up the Nodes in Velocity
>
>
> Jon Stevens <[EMAIL PROTECTED]> writes:
>
> >on 8/27/01 9:15 AM, "Henning P. Schmiedehausen"
> <[EMAIL PROTECTED]>
> >wrote:
>
> >> cvs diff seems to ignore new files
>
> >Did you try:
>
> >cvs diff -N
>
> > -N include diffs for added and removed files.
>
> Yep.
>
> ?
> src/java/org/apache/velocity/runtime/parser/node/ASTAbstractAr
> ithmeticNode.jav
> a
> ?
> src/java/org/apache/velocity/runtime/parser/node/ASTAbstractCo
> mpareNode.java
> ?
> src/java/org/apache/velocity/runtime/parser/node/ASTAbstractLo
> gicNode.java
>
> and no diff. cvs 1.11-3 from RedHat Linux 7.1
>
> The cvs.info says
>
>
> `-N'
> Only useful together with `-d DIR'. *Note checkout
> options::, for
> complete details on how CVS handles this flag.
>
> And then goes into gory details that I didn't really bother
> to read. ;-)
>
> I checked the tree into a second directory and ran "diff
> -Nurb" on them.
>
> Regards
> Henning
> --
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen --
> Geschaeftsfuehrer
> INTERMETA - Gesellschaft fuer Mehrwertdienste mbH [EMAIL PROTECTED]
>
> Am Schwabachgrund 22 Fon.: 09131 / 50654-0 [EMAIL PROTECTED]
> D-91054 Buckenhof Fax.: 09131 / 50654-20
>