[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS diff and unknown files.
From: |
Todd Denniston |
Subject: |
Re: CVS diff and unknown files. |
Date: |
Mon, 24 Jan 2005 08:46:29 -0500 |
Sergei Organov wrote:
>
> "Greg A. Woods" <address@hidden> writes:
>
> > [ On , January 21, 2005 at 20:06:37 (+0300), address@hidden wrote: ]
> > > Subject: CVS diff and unknown files.
> > >
> > > Is there a way to include contents of "unknown" files into the 'cvs
> > > diff' output?
> > >
> > > I did try the -N switch but it doesn't seem to do the trick.
> >
> > You must "cvs add" the files before they can be seen as new.
> >
> > > I can't 'cvs add' the files as the repository is read-only for me
> > > (public read-only repository of an open-source project).
> >
> > Yes, you can, or at least you should be able to.
> >
> > "cvs add" does not (and must not :-) contact the server.
>
> Well, it does :( :
>
> $ echo dummy > dummy.txt
> $ cvs add -m" " dummy.txt
> cvs [server aborted]: "add" requires write access to the repository
Until the Fix that Greg described late last year is put in, you can (I
think) trick cvs at least for files.
***begin cvs_trick_add
#! /bin/bash
echo " /$1/0/dummy timestamp//" >> CVS/Entries
echo " cvs trick added $1 to the Entries file."
***end cvs_trick_add
cvs_trick_add dummy.txt
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
- CVS diff and unknown files., osv, 2005/01/21
- Re: CVS diff and unknown files., Greg A. Woods, 2005/01/22
- Re: CVS diff and unknown files., Mark D. Baushke, 2005/01/22
- Re: CVS diff and unknown files., Sergei Organov, 2005/01/24
- Re: CVS diff and unknown files.,
Todd Denniston <=
- Re: CVS diff and unknown files., Sergei Organov, 2005/01/24
- Re: CVS diff and unknown files., Paul Sander, 2005/01/24
- Re: CVS diff and unknown files., Sergei Organov, 2005/01/24
- Re: CVS diff and unknown files., Larry Jones, 2005/01/24
- Re: CVS diff and unknown files., Todd Denniston, 2005/01/24
- Re: CVS diff and unknown files., Sergei Organov, 2005/01/25
- Re: CVS diff and unknown files., Sergei Organov, 2005/01/25
- Re: CVS diff and unknown files., Paul Sander, 2005/01/26
- Re: CVS diff and unknown files., Greg A. Woods, 2005/01/26
- Re: CVS diff and unknown files., Paul Sander, 2005/01/27