info-cvs
[Top][All Lists]
Advanced

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

Re: Difference between U and P?


From: Todd Denniston
Subject: Re: Difference between U and P?
Date: Wed, 06 Jun 2007 07:35:10 -0500
User-agent: Thunderbird 1.5.0.10 (X11/20070221)

Arancaytar wrote:
When I update my local (unmodified) copy from the CVS repository, some
files that are being updated are flagged as "U" and others as "P". A
bit of searching has revealed this explanation:

U: updated
P: the version on the server is newer and the local copy has been
updated

I'm not seeing any difference between those two (except maybe that "U"
may be shown also when committing a changed file to the repository).
Why would updating a locally unchanged copy display both of these
apparently interchangeably?

The excerpt below is from a Drupal installation checked out from CVS:

cvs update: Updating includes
P includes/batch.inc
U includes/database.mysql-common.inc
P includes/database.mysql.inc
P includes/database.mysqli.inc
P includes/database.pgsql.inc
P includes/file.inc


--
Aran



Summary: If you are not having problems with the files, mentally replace the P with a U and be happy, i.e., ignore the implementation detail that should never have been shown to anyone but the CVS developers.


Long version:
U = updated file
P = updated file by transferring only a patch.

 From the user's perspective U = P.
 From the network's perspective P smaller than U.

A discussion of the issue:
http://lists.gnu.org/archive/html/info-cvs/2003-12/msg00310.html


Due to the number of times I have been asked about it at work, I tend to agree with Greg, it would be a good Idea to in a future version of CVS to either:
1) change the P to a U in the source.
2) make a command line option to show P if the user WANTS to know when patches are being used, but make the default just show U.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter




reply via email to

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