[Top][All Lists]

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

HEAD tag clarification

From: czednick
Subject: HEAD tag clarification
Date: Wed, 29 Jan 2003 09:20:30 -0700

Hello all,

  Does the HEAD tag having two different meanings?


1. The most recent version of the file(s) on the trunk, except when on branch. 2. After a commit on a branch HEAD refers to the tip of the branch and not the tip of the trunk.

  The reason I ask is:

stablecheckout> cvs co -d stable -r REL_1_X test
stablecheckout> cvs log test.txt
>RCS file: /usr/local/cvs/test/test.txt,v
>Working file: test.txt
>head: 1.3

stablecheckout> cvs status test.txt
>File: test.txt          Status: Up-to-date
>Working revision: Wed Jan 22 22:19:52 2003
>Repository revision: /usr/local/cvs/test/test.txt,v
>Sticky Tag:          REL_1_X (branch: 1.2.2)

stablecheckout> cvs diff
>cvs diff: Diffing .  // No difference as expected

stablecheckout> cvs diff -r HEAD
>cvs diff: Diffing.  // No difference _unexpected_

stablecheckout> cvs rdiff -r REL_1_X -r HEAD
>lots of differences outputed // This is what I expected cvs diff -r HEAD to do and it did untill I commited on this branch.

Thank you for a great product,

Casey T. Zednick
Don't take life to seriously, you'll never get out alive. - Unknown

reply via email to

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