[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comparing first; checking out later
From: |
Larry Jones |
Subject: |
Re: Comparing first; checking out later |
Date: |
Mon, 4 Jun 2001 14:19:57 -0400 (EDT) |
Georgina O Economou writes:
>
> How do I compare my local repository to the main one and see what
> differences there are BEFORE actually checking out the diffs and
> updating my local?
I presume you mean, "How do I compare my local *working directory* to
the repository". There are a couple of ways:
cvs -n update
will show you what files have been updated in the repository (it will
also show you what files you have modified locally).
cvs diff -rHEAD
will show you the differences between your files and the most recent
version in the repository. (That assumes you're working on the trunk,
which is the most common scenario. If you're working on a branch, just
use the branch tag instead of "HEAD".)
-Larry Jones
Everything's gotta have rules, rules, rules! -- Calvin