question on phases

Alberto Griggio alberto.griggio at gmail.com
Fri Jan 27 16:47:01 UTC 2012


Hello,
I have been testing the new 2.1-rc for a couple of days now (well,
actually, I'm using the tip of hg-stable), and now I have a question
about phases.

From the wiki page (http://mercurial.selenic.com/wiki/Phases), I
understand that:

"""
* The draft phase holds changesets that are not yet considered a part of
  the repository's permanent history. You can safely rewrite them. New
  commits are in the draft phase by default.
"""

and:

"""
The phase are intended to be transparent, for most user. People should
not need to manually handle them and won't meet any behavior changes
except to prevent common mistake.
"""


However, when I try "hg outgoing" (directed to a server with mercurial
version 1.8.3), only the first 2 of the 17 changesets that I know are
missing on the server get displayed. To be precise, these are the 2
changesets that I committed with mercurial 2.0, before switching to the
2.1-rc. 

My guess is that the 2 changesets that are shown by "hg outgoing" have no
phase information attached, whereas the later ones have a "draft" phase
that somehow prevents them from being shown in hg outgoing.
To me, this seems a regression, or at least definitely something against
what stated on the wiki page and quoted above.

Is this behaviour intentional? If so, what's the rationale for it?

Thanks in advance,

Alberto



More information about the Mercurial mailing list