linearising TopGit forests into patch series (was: [ANNOUNCE] TopGit - A different patch queue manager)

Petr Baudis pasky at suse.cz
Sun Aug 10 20:54:33 UTC 2008


  Hi,

On Sat, Aug 09, 2008 at 03:08:21AM +0200, Petr Baudis wrote:
> On Thu, Aug 07, 2008 at 02:56:24PM -0300, martin f krafft wrote:
> > Assuming a number of interdependent topic branches, does TopGit
> > provide a way for me to linearise/flatten/serialise these branches
> > in a one-patch-per-branch fashion, so that I could turn any TopGit
> > repository into a quilt series? I am only interested in a one-way
> > conversion from TopGit to quilt for now.
> 
> Not _yet_. But it very well could, and it should be really simple.
> 
> There are two parts:
> 
> (i) First, getting a "tidied up" commit structure from TopGit, having
> one commit per patch (branch). This is something covered currently in
> the README by:
> 
> 	TODO: tg collapse for creating a one-commit-per-patch tidied up
> 		history (for pulling by upstream)
> 
> So it's not implemented yet, but it should be *very* easy to do.

  to prove the point, I just pushed out tg-export implementation (seems
like better name than collapse, for various reasons). It ended up not to
be as trivial as I thought, but still no more than a two-hour job. ;-)

-- 
				Petr "Pasky" Baudis
The next generation of interesting software will be done
on the Macintosh, not the IBM PC.  -- Bill Gates



More information about the vcs-pkg-discuss mailing list