TopGit: How to retire obsolete topic branches?

martin f krafft madduck at debian.org
Sat May 9 09:13:17 UTC 2009


also sprach Stefano Zacchiroli <zack at debian.org> [2009.05.07.1902 +0200]:
> When I, as a newcomer of a given repo, do "git tag" I know I'm
> looking at a lot of "not current" information. On the contrary,
> when I do "git branch" I start trying figure out what each branch
> means. Having around a lot of no longer used branches is very
> annoying in that respect.

Keep in mind that the branches accumulate remotely, so you'd have to
pass -r or -a to git-branch to be exposed to them.

Obviously, any curious newcomer will do that, but then, a sane
convention like Manoj hinted at will help, because you'd have to be
amazingly curious to realy wonder about branches in the obsolete/*
namespace.

Anyway, unfortunately, published branches cannot be renamed with
Git, or retired, or anything of that sort, so the concern is valid:
you'd have to start a new feature branch as obsolete/new-feature to
be able to declare it obsolete later on, at which point we might
just as well not use the namespace. :)

I see two required steps to solve this:

a. teach TopGit how to retire branches, as per debbug#505303

b. teach Git how to retire/rename published branches

I'll think about (b) for a bit and see if this wouldn't make sense
to be raised with the Git people. Comments welcome, of course.

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"although occasionally there is something to be said for solitude."
                                          -- special agent dale cooper
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/vcs-pkg-discuss/attachments/20090509/aa4610c4/attachment.pgp>


More information about the vcs-pkg-discuss mailing list