info-cvs
[Top][All Lists]
Advanced

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

Re: cvs convenience scripts?


From: Mark D. Baushke
Subject: Re: cvs convenience scripts?
Date: Fri, 02 Dec 2005 11:46:00 -0800

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

Terrence Brannon <address@hidden> writes:

> 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 filename

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

# Warning -C will move changed files to .#filename.old.version.number

cvs update -r branchname -C

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

Branches are per file, not repository wide. So, nothing will get you
this information without a full scan of the repository unless you use
'cvs rtag' to create the tags in which case, the 'cvs history' command
should be able to help you.

> I could write all of these, but I am sure that someone must've done so
> already given CVS's age.

If you write general purpose utilities that you think would be useful,
post them to address@hidden for possible inclusion in the contrib
directory.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFDkKR4Cg7APGsDnFERAnbpAJ0RVsepo+X50OJ0S3qXgEZc8AcljQCgpypA
2e7dOz0ICrhANe1Ks73/u98=
=8pd9
-----END PGP SIGNATURE-----




reply via email to

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