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

Peter Toft wrote:
> Often I use "cvs -n update -r TAG" to see which files will be updated
> when I update from the current version of my files to the release tag "TAG".
> What I do need also are the version numbers of the files.
[...]
> Any clues on how to get near my wish?

'cvs di -r TAG --brief' will give the revisions used:

$ cvs di -rHEAD --brief
Index: test.txt
===================================================================
RCS file: /cvs/cvs-test/test.txt,v
retrieving revision 1.12
retrieving revision 1.11
diff -u --brief -r1.12 -r1.11
Files /tmp/cvsOhGtSK and /tmp/cvsrSlA6W differ

You may want to write a script to make the output more concise.

Note that TAG should be a branch tag or HEAD in order for this to work
properly.

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

iD8DBQFEEC2XLdDyDwyJw+MRAvIQAJ9LBgqvNwWB2C1zQPS+F0FKvYfKFwCgzxBs
Ob2MlbaYPmq4CIHLvhLidlQ=
=SqD0
-----END PGP SIGNATURE-----



_______________________________________________
Info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs

Reply via email to