[cvsnt] cvs update is not updating

Oliver Giesen ogware at gmx.net
Sat Jan 29 01:54:08 GMT 2005


Siegfried Heintze wrote:

> Does it matter what directory I am in when I use the update command?

Yes, of course. All CVS-controlled sandbox directories contain metadata
(in the hidden CVS subdirs) about which repository and which folder
inside the repository they correspond to. When talking to the server,
the CVS client uses this as the reference point.
There are generally two groups of CVS commands: those that let you do
things from the server's point of view (e.g. rtag, rlog, ls, export,
etc. and checkout mostly) and those that let you do things from the
client's POV (e.g. add, commit, edit, update, log, status, etc.). The
latter ones can only work inside an existing sandbox as they need the
above-mentioned reference point to talk to the server. These commands
will also always read the CVSROOT from the sandbox metadata regardless
of what you might have specified anywhere else.

 
> Is this -d unique to cvsnt?

No, the -d option is not unique to CVSNT.


> If not, I would
> guess eclipse could handle it it somehow. Anyone know?

I don't know Eclipse but that option is commonly labeled "Create
missing directories (that exist on the server)". The commandline help
names it: "Build durecties, like checkout does."

Hope this helps.

-- 
Oliver
----  ------------------
JID:  ogiesen at jabber.org
ICQ:  18777742     (http://wwp.icq.com/18777742)



More information about the cvsnt mailing list