info-cvs
[Top][All Lists]
Advanced

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

Re: What is HEAD?


From: Ming Kin Lai
Subject: Re: What is HEAD?
Date: Sun, 11 Sep 2005 10:18:02 -0700

Therefore even if I am on mybranch, with diff and no sticky tag and the file is not imported, or a command other than diff, HEAD does not mean the tip of mybranch, but still means the tip of the trunk. With diff and a sticky tag, HEAD is the tip of mybranch. Right?

Seems right! ...
For completeness, I further tested it with "update":

address@hidden cvs status -v
cvs status: Examining proj
===========================================
File: test3             Status: Up-to-date

  Working revision:    1.3.2.1 Sun Sep 11 00:56:21 2005
  Repository revision: 1.3.2.1 /home/mingl/shitrepo/proj/test3,v
  Sticky Tag:          mybranch (branch: 1.3.2)
  Sticky Date:         (none)
  Sticky Options:      (none)

  Existing Tags:
       mybranch                        (branch: 1.3.2)
       Root-of-branch                  (revision: 1.3)
       release                         (revision: 1.1.1.1)
       vendor                          (branch: 1.1.1)

address@hidden cvs update -r HEAD
cvs update: Updating .
U test3

address@hidden cvs status -v
cvs status: Examining .
============================================
File: test3             Status: Up-to-date

  Working revision:    1.4     Sun Sep 11 17:06:59 2005
  Repository revision: 1.4     /home/mingl/shitrepo/proj/test3,v
  Sticky Tag:          HEAD (revision: 1.4)
  Sticky Date:         (none)
  Sticky Options:      (none)

  Existing Tags:
       mybranch                        (branch: 1.3.2)
       Root-of-branch                  (revision: 1.3)
       release                         (revision: 1.1.1.1)
       vendor                          (branch: 1.1.1)

address@hidden cvs diff -r HEAD -r 1.4 test3
address@hidden

HEAD is apparently 1.4, tip of the trunk. And in the "update" command, HEAD apparently refers to the tip of the trunk.
But now I get a sticky tag.  Should it be there?

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/





reply via email to

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