Re: Update Question

2004-08-05 Thread [EMAIL PROTECTED]
The most obvious suggestion to me is add a dependency rule to your makefile
for this file that executes a "cvs update important_file.c" command.  That
way any time you do a make on the project, the critical file will be updated
and recompiled if it has changed.  For this to be useful, you must be able
to interact with CVS without entering a password.  How this is achieved
depends on how you originally authenticated with CVS.

Something like this should be added to your makefile:

important_file.o: important_file.c
cvs update important_file.c
$(CC) $(CFLAGS) -c important_file.c

YMMV depending on your project rules. Don't forget tabs are required to indent
as shown above.

Adam
---
Adam Bernstein   [EMAIL PROTECTED]   http://mpgedit.org/~number6
Key fingerprint =  E1 91 49 4C 24 18 E2 04  7A D3 78 A8 86 A9 7C 38

On Thu, 5 Aug 2004, Tennis Smith wrote:

> Hi,
> 
> I have a single file that's pivital to a project.  Any time that file is
> updated, we need to do a re-compile of the components dependent on it. Is
> there any way to automatically "drive" the recompilation when the user does
> a "cvs update" on that central file?
> 
> Any examples are welcome too. ;-)
> TIA,
> -Tennis
> 
> --
> Remove "-remove-to-reply" to respond to my  email address directly.
> 
> 
> ___
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://lists.gnu.org/mailman/listinfo/info-cvs
> 



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Update Question

2004-08-05 Thread Tennis Smith
Hi,

I have a single file that's pivital to a project.  Any time that file is
updated, we need to do a re-compile of the components dependent on it. Is
there any way to automatically "drive" the recompilation when the user does
a "cvs update" on that central file?

Any examples are welcome too. ;-)
TIA,
-Tennis

--
Remove "-remove-to-reply" to respond to my  email address directly.


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: CVS Update Question

2002-01-17 Thread Larry Jones

Colm Murphy writes:
> 
> Is there any way to tell update to only update the files in my sandbox 
> and not to pull in any other files ?

I'm not sure I understand what you want to do (or why), but I think

cvs update -lA *

may do what you want.

-Larry Jones

Some people just don't have inquisitive minds. -- Calvin

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



CVS Update Question

2002-01-17 Thread Colm Murphy

Hi folks,

I have a question about cvs update.
Say I have placed a tag on certain files in the repository.

I checkout the tagged files into my work area using
cvs co -r TAGNAME 

Say I now want to switch the sandbox to the latest version of all the 
files that were tagged.

When I try
cvs update -A

it updates all my files but also pulls in any other files that are in 
directories that I have in my work area.

Is there any way to tell update to only update the files in my sandbox 
and not to pull in any other files ?

Cheers

Colm A

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: cvs update question

2001-06-08 Thread Kostur, Andre

That file has been updated by Patch (and not a full file-copy)

See Appendix A.16.2 in the Cederqvist manual.

-Original Message-
From: Nelson, Vicki [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 8, 2001 4:51 PM
To: '[EMAIL PROTECTED]'
Subject: cvs update question


I searched the CVS book I have, and have not been able to find what
the P means beside a file after I do a cvs update.  Anyone know?  

Thanks,
Vicki Nelson
Sr. Software Engineer
Alldata, LLC 
[EMAIL PROTECTED]



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: cvs update question

2001-06-08 Thread Sriram S


 Hi Vicki,

 This is explained in page 110 of the Cederquist manual which essentially
 says that,

 P file : Like 'U' but the CVS server sends a patch instead of an entire file.
 These two things (U and P) accomplish the same thing.

 Rgs
 Sriram

--- "Nelson, Vicki" <[EMAIL PROTECTED]> wrote:
> I searched the CVS book I have, and have not been able to find what
> the P means beside a file after I do a cvs update.  Anyone know?  
> 
> Thanks,
> Vicki Nelson
> Sr. Software Engineer
> Alldata, LLC 
> [EMAIL PROTECTED]
> 
> 
> 
> ___
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



cvs update question

2001-06-08 Thread Nelson, Vicki

I searched the CVS book I have, and have not been able to find what
the P means beside a file after I do a cvs update.  Anyone know?  

Thanks,
Vicki Nelson
Sr. Software Engineer
Alldata, LLC 
[EMAIL PROTECTED]



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Update question

2000-06-08 Thread Donald Sharp

Stop creating files that someone else creates in the repository

donald
On Thu, Jun 08, 2000 at 08:41:13AM -0700, Michael Labhard wrote:
> When doing an update I am getting the message: "move  out of the way." or
> something to that effect.  The update works.  How do I eliminate this message?
> 
> Michael
> 




Re: Update question

2000-06-08 Thread Larry Jones

Michael Labhard writes:
> 
> When doing an update I am getting the message: "move  out of the way." or
> something to that effect.  The update works.  How do I eliminate this message?

What that message is trying to tell you is that there's a file in your
working directory that has the same name as a file in the repository,
but as far as CVS knows, the file in your working directory did *not*
come from the repository but was created independently.  You need to
rename that file ("move it out of the way") and do the update again to
get the file from the repository.  If the file in your working directory
was intended to be the file from the repository, you can then do diffs
or whatever to manually merge any changes between the two versions.

-Larry Jones

I always have to help Dad establish the proper context. -- Calvin




Update question

2000-06-08 Thread Michael Labhard

When doing an update I am getting the message: "move  out of the way." or
something to that effect.  The update works.  How do I eliminate this message?

Michael