- branch_name=$(tg_get_branch_name "$commit")
- echo "Importing $commit to $branch_name"
- tg create tp/"$branch_name"
- git read-tree "$commit"
- tg_get_commit_msg "$commit" > .topmsg
+ branch_name="$2"
+ info "---- Importing $commit to $branch_name"
+ tg create "$branch_name" $basedep
+ basedep=
+ git cherry-pick --no-commit "$commit"
+ get_commit_msg "$commit" > .topmsg