info-cvs
[Top][All Lists]
Advanced

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

RE: Updating from parent directory


From: Craig Dickson
Subject: RE: Updating from parent directory
Date: Mon, 3 Mar 2003 10:52:20 -0800

Actually, after playing with it a little more today, I think i can see what
the issue is. From the parent directory, the following command is
successful:

        cvs update -r B1_0 -d -P B1_0

This updates the contents of the B1_0 sub-directory with the latest
revisions of files form the B1_0 branch.

However the following command does not work:

        cvs update -r MAIN -d -P MAIN

I get the following error:

        cvs [server aborted]: no such tag MAIN


Of course there is no real need to pass the -r MAIN argument, since it will
default to this, but this means I need to have logic in my script to act
differently depending on if it is the MAIN branch or another branch.

Am I doing something wrong, or is it normal not to be able to refer to the
MAIN branch just like any other branch?

Craig

> -----Original Message-----
> From: address@hidden [mailto:address@hidden
> Sent: Friday, February 28, 2003 9:45 PM
> To: address@hidden
> Cc: address@hidden
> Subject: Re: Updating from parent directory
> 
> 
> Craig Dickson writes:
> >
> > MIME-Version: 1.0
> > Content-Type: multipart/mixed; 
> boundary="===============37948206652389782=="
> 
> Please do not send MIME and/or HTML encrypted messages to the list.
> Plain text only, PLEASE!
> 
> > I would like to be able to run the update command on a particular
> > subdirectory (ie. branch) without having to go into that 
> directory to do
> > it. Is there a way? I keep getting errors on the command 
> line with the
> > various permutations of arguments I have attempted so far.
> 
> ``cvs up <dir>'' should work -- what error do you get?
> 
> -Larry Jones
> 
> Sheesh.  Who can fathom the feminine mind? -- Calvin
> 




reply via email to

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