Hello all,

Does the HEAD tag having two different meanings?

i.e.

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: 1.2.2.1 Wed Jan 22 22:19:52 2003
>Repository revision: 1.2.2.1 /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



_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to