commands: hg clone update priority

Greg Ward greg-hg at gerg.ca
Sun Mar 7 10:41:19 CST 2010


On Sun, Mar 7, 2010 at 11:06 AM, Matt Mackall <mpm at selenic.com> wrote:
> A branch tip is analogous to a repository tip: the highest-numbered
> revision in the branch. In the named-branch sphere, it's a concept
> that's used enough to have its own jargon, I think, and I at least have
> been using it for quite a while. And it's also a good summary of what
> revision a branch name refers to in a revision context.

Damn: I've been trying to brainwash my colleagues to say "branch head"
or "latest head of X".  (The worst is that, for historical reasons
related to a misunderstanding of CVS terminology when the company
started using version control in 2001, everyone says "head" when they
mean "trunk".  I've almost cured this, although it took the switch to
Mercurial to really make it work.)

So, "branch tip" is short for "tipmost head of named branch"?  Sounds
right to me.

> Meanwhile, the global tip concept has become almost meaningless. With
> named branches, it's pretty much irrelevant, and without them, tip ==
> default. As tip can only confuse people trying to use named branches, we
> should probably start phasing it out of our vocabulary.

Sounds good to me.  At work, I have been telling people "forget about
tip, tip is meaningless" for 6 weeks now, and I think they've gotten
the message.

Greg


More information about the Mercurial-devel mailing list