Re: [TopGit PATCH] Use the topological order when exporting explicitly listed branches.
- From
Petr Baudis <pasky@suse.cz>
- Date
- Nov 20, 2008, 10:20 UTC
- Message-ID
- <20081120102005.GB10491@machine.or.cz>
- In-Reply-To
- <1227173902-21180-1-git-send-email-madduck@debian.org>
On Thu, Nov 20, 2008 at 10:38:22AM +0100, martin f. krafft wrote:
Show 10 quoted lines
> From: Niko Tyni <ntyni@debian.org> > > When exporting explicitly listed branches (tg export -b), the branch > dependencies were not taken into account. > > Signed-off-by: martin f. krafft <madduck@debian.org> > Tested-by: martin f. krafft <madduck@debian.org> > --- > Arguably, lines 178:189 need to be refactored due to the code duplication, but > the patch does what it should for now.
The point of -b is to export only the specified branches, assuming you already exported the dependencies before. If you just want to export a branch with all its dependencies, why not just switch to it and call plain tg export?
-- Petr "Pasky" Baudis People who take cold baths never have rheumatism, but they have cold baths.