head -1 when pushing

Jesus Cea jcea at jcea.es
Sat Dec 2 17:51:50 UTC 2017


On 01/12/17 12:58, Uwe Brauer wrote:
> 
> Hi
> 
> I just pushed to bitbucket and obtain remote:
> added 1 changesets with 0 changes to 0 files (-1 heads)
> Not sure I have seen this before. I pushed some minutes ago, then merged
> (which I forgot) and pushed again. So does bitbucket tell me just that?

That is exactly what the system is telling you: with that push, the
number of heads reduced in one unit. If you did a merge, that is what
you would expect (two heads before merging, a head after merging).

Head = a commit with no children. In a the commit history tree, the end
of a tree branch with nothing after it). Branch as the literal tree
branch, not related to Mercurial branch.

Try:

"hg heads".

-- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
jabber / xmpp:jcea at jabber.org  _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20171202/e79d854a/attachment.asc>


More information about the Mercurial mailing list