info-cvs
[Top][All Lists]
Advanced

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

Re: What exactly is HEAD anyway?


From: Jim Hyslop
Subject: Re: What exactly is HEAD anyway?
Date: Tue, 10 May 2005 14:31:02 -0400
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Andrew DeFaria wrote:
The more I look into CVS the less I understand. Perhaps you can help me...

When using -r HEAD I do not seem to get the latest revision on the trunk:

As you've found, 'HEAD' means the latest revision on the trunk for all commands except 'diff', where it means the latest revision of the branch that is checked out. I don't know how this inconsistency came about, but for backwards compatibility it's not likely to get fixed. Instead, the feature branch (CVS 1.12.x) has added new special purpose tags so that you can always specify the tip of the trunk, the tip of a branch, the base of a branch, and so on.

--
Jim





reply via email to

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