Tags from closed branches?
Matt Mackall
mpm at selenic.com
Tue Jun 9 15:26:09 UTC 2009
On Tue, 2009-06-09 at 17:16 +0200, Dirkjan Ochtman wrote:
> So ca8d05e1f1d1 changed the default for repo.heads() to closed=False,
> so that calls to heads() by default will not return closed heads.
> Unfortunately, this also means that any tags from those heads will not
> be considered anymore. That seems inadvertent at best, and may be
> should be reverted. Conceptually, it seems wrong that deleting a
> branch would also delete all the tags from it. I'd like to propose
> this change:
I think that it's probably wrong for heads() to know anything at all
about the concept of branches, be they open or closed.
--
http://selenic.com : development and support for Mercurial and Linux
More information about the Mercurial-devel
mailing list