[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not r
From: |
Andy Moreton |
Subject: |
bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect |
Date: |
Mon, 07 Dec 2015 14:36:11 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt) |
On Sat 05 Dec 2015, Dmitry Gutov wrote:
> On 12/05/2015 02:24 PM, Andy Moreton wrote:
>
>> That is normal - mercurial stores tags in a plain text file .hgtags at
>> the root of the repo, which is versioned the same way as any other file.
>>
>> This means that adding a tag is effectively the same as editing
>> .hgtags and committing the change.
>
> Does that mean that the set of available tags is dependent on the current
> branch? And you can't simply check out a tag, you also have to know which
> branch it is on?
You don't need to know which branch a tag is on, you can simply checkout
a tag as expected. You do needs to ensure that the .hgtags file is
handled properly when merging branches.
The Mercurial book is a little old, but has some useful detail:
http://hgbook.red-bean.com/read/managing-releases-and-branchy-development.html
AndyM
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect, (continued)
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect, Eli Zaretskii, 2015/12/04
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect, Dmitry Gutov, 2015/12/04
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect, Eli Zaretskii, 2015/12/04
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect, Dmitry Gutov, 2015/12/04
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect, Eli Zaretskii, 2015/12/04
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect, Uwe Brauer, 2015/12/04
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect, Dmitry Gutov, 2015/12/05
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect, Andy Moreton, 2015/12/05
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect, Uwe Brauer, 2015/12/05
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect, Dmitry Gutov, 2015/12/05
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect,
Andy Moreton <=
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect, Dmitry Gutov, 2015/12/07
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect, Uwe Brauer, 2015/12/05
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect, Dmitry Gutov, 2015/12/05
- bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect, Uwe Brauer, 2015/12/05