info-cvs
[Top][All Lists]
Advanced

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

RE: Lastest revision of a file


From: Jim.Hyslop
Subject: RE: Lastest revision of a file
Date: Mon, 6 Dec 2004 10:21:39 -0500

Joao Ronaldo wrote:
> What's the better way to know that a revision of a file is the lastest
> one of the main trunck?
cvs -n update

should do the trick. If it says "U " or "P " then you know there's a more
recent revision available.

> Besides that, someone knows how to lock a file of the repository,
> avoiding it to be commited for every one, even the one that locked the
> file?
Have you read the "locking" section of the manual,
https://www.cvshome.org/docs/manual/cvs-1.11.18/cvs_10.html#SEC94? Pay
particular attention to the sections that discuss why you do *not* want to
use strict locking.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. ( http://www.leitch.com )
Columnist, C/C++ Users Journal ( http://www.cuj.com/experts )





reply via email to

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