info-cvs
[Top][All Lists]
Advanced

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

Re: cvs convenience scripts?


From: Robert Clark
Subject: Re: cvs convenience scripts?
Date: Fri, 2 Dec 2005 14:56:07 -0500
User-agent: KMail/1.8.3

Hi,

On Wednesday November 30, 2005 02:46 pm, Terrence Brannon 
<address@hidden> wrote:
> for starters, I would like a script to simplify the process of
> deleting a file from the filesystem and then calling cvs delete on
> the file.

cvs remove -f <filename>

should do the trick for you. 

> I often have to switch between branches and would like a simple
> command for that.

This one I'm not sure I understand. What is it you need that

cvs up -CdP -r NEW_BRANCH_NAME

does not get you?

> I would also like to list the last 10 branch tags created.

You might be able to do this with 'cvs history', but you'll have to do 
some massaging of the output. The docs show the data that can be 
retrieved.

  <http://ximbiot.com/cvs/manual/cvs-1.11.21/cvs_18.html#SEC182>

and I'm not sure if you'll be able to distinguish a branch tag from a 
standard tag. Perhaps a taginfo script on the server

  <http://ximbiot.com/cvs/manual/cvs-1.11.21/cvs_18.html#SEC179>

that records only branch tags as they are added?

- Rob

-- 
Robert J. Clark             Guy Who Does R & D Stuff In Toronto
address@hidden      jabber://address@hidden

That means I'll have to use $ans to suppress newlines now. Life is
ridiculous. -- Larry Wall in Configure from the perl distribution




reply via email to

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