Annoying "cvs commit: Examining ."

View: New views
5 Messages — Rating Filter:   Alert me  

Annoying "cvs commit: Examining ."

by Jirong Hu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

[adminuser@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
[adminuser@localhost project1]$ cvs commit
cvs commit: Examining .
/cvs/projects/project1/v2_fix,v  <--  v2_fix
new revision: 1.2; previous revision: 1.1
[adminuser@localhost project1]$ cvs commit
==================
cvs commit: Examining .
==================
[adminuser@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
[adminuser@localhost project1]$

Re: Annoying "cvs commit: Examining ."

by Bob Proulx :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jirong Hu wrote:
> 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.

> [adminuser@localhost project1]$ cvs commit
> 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.

> [adminuser@localhost project1]$ cvs commit
> 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



RE: Annoying "cvs commit: Examining ."

by Risman, Mark :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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=mlb.com@...
[mailto:info-cvs-bounces+mark.risman=mlb.com@...] On Behalf Of
Bob Proulx
Sent: Tuesday, August 25, 2009 7:24 PM
To: Jirong Hu
Cc: info-cvs@...
Subject: Re: Annoying "cvs commit: Examining ."

Jirong Hu wrote:
> 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.

> [adminuser@localhost project1]$ cvs commit
> 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.

> [adminuser@localhost project1]$ cvs commit
> 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




Re: Annoying "cvs commit: Examining ."

by Jim Hyslop-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Risman, Mark wrote:
> 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
-----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-----



Re: Annoying "cvs commit: Examining ."

by Jirong Hu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks a lot, guys.
Jirong

On Wed, Aug 26, 2009 at 9:19 PM, Jim Hyslop <jhyslop_cvs@...>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Risman, Mark wrote:
> > 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
> -----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-----
>
>
>