[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to checkout a specific file from a Makefile

From: Larry Jones
Subject: Re: how to checkout a specific file from a Makefile
Date: Fri, 12 Jul 2002 17:14:38 -0400 (EDT)

Bram Moolenaar writes [quoting me]:
> > 
> > Because checkout is the wrong subcommand.  The subcommand you want,
> > surprisingly enough, is update!  Just do:
> > 
> >     cvs update testscript
> This indeed works.  Thanks for the hint, I wouldn't have guessed this.

The rule of thumb is that you use checkout to get a directory for the
very first time and then use update from then on.

> However, if I change the question to checkout "testdir", which obviously
> is a directory instead of a file, this doesn't seem to work.  Perhaps
> you have a solution for that as well?  "cvs update testdir" doesn't do
> anything, not even an error message.

That's because update doesn't create directories by default -- you have
to use the -d option.

-Larry Jones

Kicking dust is the only part of this game we really like. -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]