Discussion:
Annoying "cvs commit: Examining ."
Jirong Hu
2009-08-25 21:45:36 UTC
Permalink
This line makes me confused. What does it mean? In the following case, I run
"cvs commit", then run it again. It gives this message but no result.

Thanks
Jirong

[***@localhost project1]$ ls -l
total 4
drwxr-xr-x 2 adminuser adminuser 4096 2009-08-25 17:36 CVS/
-rw-r--r-- 1 adminuser adminuser 0 2009-08-25 17:29 readme
-rw-r--r-- 1 adminuser adminuser 0 2009-08-25 17:35 v2_fix
[***@localhost project1]$ cvs commit
cvs commit: Examining .
/cvs/projects/project1/v2_fix,v <-- v2_fix
new revision: 1.2; previous revision: 1.1
[***@localhost project1]$ cvs commit
==================
cvs commit: Examining .
==================
[***@localhost project1]$ ls -l
total 4
drwxr-xr-x 2 adminuser adminuser 4096 2009-08-25 17:42 CVS/
-rw-r--r-- 1 adminuser adminuser 0 2009-08-25 17:29 readme
-rw-r--r-- 1 adminuser adminuser 0 2009-08-25 17:35 v2_fix
[***@localhost project1]$
Bob Proulx
2009-08-25 23:24:02 UTC
Permalink
Annoying "cvs commit: Examining ."
This line makes me confused. What does it mean?
It is a status message describing that the command is recursively
examining the '.' directory. The '.' directory is the current
directory and on Unix filesystems is a literal "." entry in the
current directory. This is the default if none is supplied.
In the following case, I run "cvs commit", then run it again. It
gives this message but no result.
The second run has nothing to do and so doesn't print anything.
cvs commit: Examining .
Looking at the current directory which is the literal '.' entry.
/cvs/projects/project1/v2_fix,v <-- v2_fix
new revision: 1.2; previous revision: 1.1
v2_fix is modified and so it is commited.
cvs commit: Examining .
Nothing to do since v2_fix is up to date. So no action was echo printed.

If you desire cvs to be more quiet about these status messages then
you may specify the -q option.

cvs -q commit

Often used options may be specified on a in your ~/.cvsrc file.

Bob
Risman, Mark
2009-08-26 15:02:15 UTC
Permalink
As Bob said, the "Examining" shows a directory which is being examined.
Here, CVS is trying to tell you that the commit command is looking at
every file in that directory. This is as opposed to what happens when
you issue a "cvs commit" with only filenames (i.e. no
directories/modules) as arguments. In the latter case, the commit will
only affect the given files, and it won't scan entire directories.

-----Original Message-----
From: info-cvs-bounces+mark.risman=***@nongnu.org
[mailto:info-cvs-bounces+mark.risman=***@nongnu.org] On Behalf Of
Bob Proulx
Sent: Tuesday, August 25, 2009 7:24 PM
To: Jirong Hu
Cc: info-***@gnu.org
Subject: Re: Annoying "cvs commit: Examining ."
Annoying "cvs commit: Examining ."
This line makes me confused. What does it mean?
It is a status message describing that the command is recursively
examining the '.' directory. The '.' directory is the current
directory and on Unix filesystems is a literal "." entry in the
current directory. This is the default if none is supplied.
In the following case, I run "cvs commit", then run it again. It
gives this message but no result.
The second run has nothing to do and so doesn't print anything.
cvs commit: Examining .
Looking at the current directory which is the literal '.' entry.
/cvs/projects/project1/v2_fix,v <-- v2_fix
new revision: 1.2; previous revision: 1.1
v2_fix is modified and so it is commited.
cvs commit: Examining .
Nothing to do since v2_fix is up to date. So no action was echo
printed.

If you desire cvs to be more quiet about these status messages then
you may specify the -q option.

cvs -q commit

Often used options may be specified on a in your ~/.cvsrc file.

Bob







**********************************************************

MLB.com: Where Baseball is Always On
Jim Hyslop
2009-08-27 01:19:19 UTC
Permalink
Post by Risman, Mark
As Bob said, the "Examining" shows a directory which is being examined.
In all this discussion, I don't think I've seen it mentioned that you
can suppress the "Examining" message by using the -q option:

cvs -q update

Pardon me if it was mentioned and I missed it.

- --
Jim Hyslop
Dreampossible: Better software. Simply. http://www.dreampossible.ca
Consulting * Mentoring * Training in
C/C++ * OOD * SW Development & Practices * Version Management
Jirong Hu
2009-08-27 01:23:48 UTC
Permalink
Thanks a lot, guys.
Jirong
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Risman, Mark
As Bob said, the "Examining" shows a directory which is being examined.
In all this discussion, I don't think I've seen it mentioned that you
cvs -q update
Pardon me if it was mentioned and I missed it.
- --
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.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkqV3xcACgkQLdDyDwyJw+OzngCfch5QEpH9cNVAw0ym0Clrikot
TB4AoMpfuuoUU4rm/26xu1WRJ4v7+XTC
=A7XI
-----END PGP SIGNATURE-----
Loading...