info-cvs
[Top][All Lists]
Advanced

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

Re: Get list of modified files?


From: Thomas S. Urban
Subject: Re: Get list of modified files?
Date: Fri, 11 Jan 2002 16:08:52 -0800
User-agent: Mutt/1.3.21i

On Fri, Jan 11, 2002 at 05:39:44PM -0500, Peter Davis wrote:
> Forgive me if this is a frequently asked question (*I've certainly wondered
> often enough*), but is there a way to get a list of modified files?  I've
> tried "cvs -n commit", which seems like it should work, but it doesn't list
> the modified files.

cvs -n update

(see cvs --help-options)

Look for lines that begin with M (modified) or C (conflicted)

Useful aliases (csh syntax):

        alias cvsquery 'cvs -n update \!* |& grep "^[MCUP?] "'
        alias cvsmodified 'cvs -n update \!* |& grep "^[MC] "'

then

        cvsquery
        cvsquery [-l] [files or dirs]
        cvsmodified
        cvsmodified [-l] [files or dirs]
        etc

Scott

-- 
Lockwood's Long Shot:
        The chances of getting eaten up by a lion on Main Street
        aren't one in a million, but once would be enough.



reply via email to

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