info-cvs
[Top][All Lists]
Advanced

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

Re: cvs convenience scripts?


From: Jim Hyslop
Subject: Re: cvs convenience scripts?
Date: Fri, 02 Dec 2005 14:48:38 -0500
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Terrence Brannon wrote:
> hi, I have googled to no success for a set of convenient scripts to handle
> common cvs things.
> 
> 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 rm -f file-to-remove

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

cvs update -r branch-tag

> I would also like to list the last 10 branch tags created.
That's a little more tricky (is there a specific reason you need to know
this?).

If you have history enabled, and if all tags are applied using 'cvs
rtag' (not 'cvs tag') then 'cvs history -T' may help - I'm not sure what
order it presents the tags, though.

Otherwise, you can write a taginfo script.

- --
Jim Hyslop
Dreampossible: Better software. Simply.     http://www.dreampossible.ca
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDkKUWLdDyDwyJw+MRAuoGAJ9txwOTpMlFcGjNcTlL5v+AbXTqqgCgo4mt
bk4NXwLyUnJS7K2Oe7Qs89o=
=PCXj
-----END PGP SIGNATURE-----





reply via email to

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