[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: repository files
From: |
Mark D. Baushke |
Subject: |
Re: repository files |
Date: |
Tue, 16 Dec 2003 01:38:57 -0800 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ruud Dozijn <address@hidden> writes:
> I am looking for an easy way to determine the file names in the repository:
>
> - I check out a project
> - I cd to the project directory (containing the CVS subdirectory)
> - is there a cvs subcommand that returns the names of the files in the
> current directory that also exist in the repository?
You probably want the 'cvs status -l' or 'cvs log -l -R' command.
If you just wanted a list of files, the following commands may be useful
to you:
cvs -q -n status -l | grep File: | sed 's/File: \(.*\)Status:.*/\1/'
or
cvs -q -n log -l -N -h | grep '^Working file: ' | sed 's/Working file: //'
otherwise, you may get more information than you really wanted.
Enjoy!
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQE/3tKw3x41pRYZE/gRAqmtAJ4yzkSG3OQsFXqIQf5ZSS5GwhDV6QCfd+so
k4V7+OIdDC2KMOGXPt1jQ/w=
=wEND
-----END PGP SIGNATURE-----
- repository files, Ruud Dozijn, 2003/12/16
- Re: repository files,
Mark D. Baushke <=