Package: topgit
Version: 0.3-1
Severity: wishlist
Tags: upstream

To my understanding, topgit can create a patch for the current state
of a topic branch. It would be nice if it could extract patches
corresponding to a historical state too.

Specifically, assume that there's a 'pristine' branch, a number of
topgit branches, and a branch (topgit or not) from where a Debian
package is built. Once the package is built, the commit is tagged,
e.g. debian/1.0-1. Development continues, the topgit branches are
tg-updated, and now it seems impossible to extract the topgit
patches that went into debian/1.0-1.

It seems like the solution is a tg-tag command, which, when called
like

  tg-tag debian/1.0-1 tgbranch[, tgbranch, ...]

tags the top-bases and tips of all specified tg-branches, e.g. like
this:

  refs/top-tags/debian/1.0-1/base and
  refs/top-tags/debian/1.0-1/tip

Now, tg-patch could learn to deal with a tag name, and it would
simply use those two refs instead of the top-base of the current
branch and the tip.

Does this seem like a viable approach?

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages topgit depends on:
ii  git-core                     1:1.5.6.5-1 fast, scalable, distributed revisi

topgit recommends no packages.

topgit suggests no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to