TopGit: How to retire obsolete topic branches?
Frédéric Brière
fbriere at fbriere.net
Tue May 5 19:54:11 UTC 2009
Let's say I've once created the topic branch fixes/foo, which has now
been incorporated in the latest upstream release. What is the best way
of dealing with this now-obsolete branch? (Let's pretend for
simplicity's sake that it is not part of any other branch's base.)
Am I right to assume that deleting/renaming it would be unsafe? Anybody
working with an old git-clone/debcheckout copy would end up recreating
this patch on every tg-cleanexport, unless TG_BRANCHES is explicitly
set.
The other option would be to update the (now empty) topic branch, and
just let it rot there. From what I understand, TopGit will smartly skip
over empty branches, so it will do no harm aside from polluting the
refs/heads namespace.
What would you do?
--
<-- Overfiend has quit ("venturing forth to destroy strange new
worlds, and eat life and new civilizations")
More information about the vcs-pkg-discuss
mailing list