Package: topgit Version: 0.5-1 Severity: normal Tags: patch The new 'tg-export' debian/rules target can create a misordered quilt series file because the branch dependencies aren't taken into account.
The attached patch fixes this for me, please have a look. Thanks for your work on topgit, -- Niko Tyni [EMAIL PROTECTED]
>From 508a5ebf43bf01810e514856f90051b520855d23 Mon Sep 17 00:00:00 2001 From: Niko Tyni <[EMAIL PROTECTED]> Date: Thu, 20 Nov 2008 10:12:13 +0200 Subject: [PATCH] Use the topological order when exporting explicitly listed branches. When exporting explicitly listed branches (tg export -b), the branch dependencies were not taken into account. --- tg-export.sh | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tg-export.sh b/tg-export.sh index 52af88d..037b991 100644 --- a/tg-export.sh +++ b/tg-export.sh @@ -181,9 +181,9 @@ if [ -z "$branches" ]; then recurse_deps driver "$name" (_ret=0; _dep="$name"; _name=""; _dep_is_tgish=1; driver) else - echo "$branches" | tr ',' '\n' | while read _dep; do - _dep_is_tgish=1 - $driver + echo "$branches" | tr ',' '\n' | while read name; do + recurse_deps driver "$name" + (_ret=0; _dep="$name"; _name=""; _dep_is_tgish=1; driver) done name="$(echo "$branches" | sed 's/.*,//')" fi -- 1.5.6.5