hg tag in clean repo
TK Soh
teekaysoh at gmail.com
Tue Apr 17 12:15:49 CDT 2007
I wonder if anyone can explain the behavior of 'hg tag' in the repo
with no checkout. My experiment show something like this:
$ hg tip
changeset: 4353:1ccd3b9a7b1f
tag: tip
parent: 4349:69109aa0cddd
parent: 4352:5e857d72d3ac
user: Alexis S. L. Carvalho <alexis at cecm.usp.br>
date: Mon Apr 16 13:31:15 2007 -0300
summary: Merge with crew-stable.
$ hg tag MYTAG
$ hg tip
changeset: 4354:a2fc660eb634
tag: tip
parent: -1:000000000000
user: TK Soh <teekaysoh at yahoo.com>
date: Tue Apr 17 12:09:15 2007 -0500
summary: Added tag MYTAG for changeset 1ccd3b9a7b1f
$ hg heads
changeset: 4354:a2fc660eb634
tag: tip
parent: -1:000000000000
user: TK Soh <teekaysoh at yahoo.com>
date: Tue Apr 17 12:09:15 2007 -0500
summary: Added tag MYTAG for changeset 1ccd3b9a7b1f
changeset: 4353:1ccd3b9a7b1f
tag: MYTAG
parent: 4349:69109aa0cddd
parent: 4352:5e857d72d3ac
user: Alexis S. L. Carvalho <alexis at cecm.usp.br>
date: Mon Apr 16 13:31:15 2007 -0300
summary: Merge with crew-stable.
Is this is the intended behavior?
More information about the Mercurial
mailing list