zsh-workers
 help / color / mirror / code / Atom feed
* How to cvs diff new files?
@ 2002-04-19  6:55 Borsenkow Andrej
  2002-04-19  8:04 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Borsenkow Andrej @ 2002-04-19  6:55 UTC (permalink / raw)
  To: 'Zsh hackers list'

How to diff new files without first committing them? All that I get is

bor@itsrm2% cvs add _chkconfig
cvs server: nothing known about _chkconfig

and later cvs up/diff just show

bor@itsrm2% cvs up
? Completion/Redhat/Command/_chkconfig

-andrej


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to cvs diff new files?
  2002-04-19  6:55 How to cvs diff new files? Borsenkow Andrej
@ 2002-04-19  8:04 ` Bart Schaefer
  2002-04-19  8:16   ` Borsenkow Andrej
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2002-04-19  8:04 UTC (permalink / raw)
  To: Borsenkow Andrej, 'Zsh hackers list'

On Apr 19, 10:55am, Borsenkow Andrej wrote:
} Subject: How to cvs diff new files?
}
} How to diff new files without first committing them? All that I get is
} 
} bor@itsrm2% cvs add _chkconfig
} cvs server: nothing known about _chkconfig

If you really got that message from "cvs add", you are running it in the
wrong directory.  My guess from this:

} and later cvs up/diff just show
} 
} bor@itsrm2% cvs up
} ? Completion/Redhat/Command/_chkconfig

... is that you should run

	cvs add Completion/Redhat/Command/_chkconfig

Then, if you have a new enough version of CVS, you should be able to do

	cvs diff -N -u

to generate a patch that includes the entire new file.  (Older versions
of cvs choke on the -N there.)

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: How to cvs diff new files?
  2002-04-19  8:04 ` Bart Schaefer
@ 2002-04-19  8:16   ` Borsenkow Andrej
  0 siblings, 0 replies; 3+ messages in thread
From: Borsenkow Andrej @ 2002-04-19  8:16 UTC (permalink / raw)
  To: 'Bart Schaefer', 'Zsh hackers list'


> } bor@itsrm2% cvs add _chkconfig
> } cvs server: nothing known about _chkconfig
> 
> If you really got that message from "cvs add", you are running it in
the
> wrong directory.  My guess from this:
> 
> } and later cvs up/diff just show
> }
> } bor@itsrm2% cvs up
> } ? Completion/Redhat/Command/_chkconfig
> 
> ... is that you should run
> 
> 	cvs add Completion/Redhat/Command/_chkconfig
> 

Strange. I did this first time and it did not work. Then I read cvs
documentation and saw that you can't do it - you must be in target
directory :-) That did not work either. Then I updated cvs to 1.11.2
(had 1.11.1p1 I guess) and it works now - no idea if it is related.

Cheers

-andrej


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-19  8:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-19  6:55 How to cvs diff new files? Borsenkow Andrej
2002-04-19  8:04 ` Bart Schaefer
2002-04-19  8:16   ` Borsenkow Andrej

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).