On Mon, May 18, 2015 at 12:42:57AM +0900, Hideki Yamane wrote:
>  I've made tiny workaround patch for this issue (and more for with
>  "upstream" branch). Could you check it, please?

> >From 74e8ec86d53b1f427757c4b1eed917e43cf325d6 Mon Sep 17 00:00:00 2001
> From: Hideki Yamane <henr...@debian.org>
> Date: Mon, 18 May 2015 00:36:37 +0900
> Subject: [PATCH] hack: avoid annoying checkout after clone
> 
> After exec debcheckout, if you want to do "gbp import-orig" it would fail
> since upstream branch is not checkouted (similar issue to pristine-tar branch,
> too).

This makes a lot of assumptions about the layout of the repository
(presence and/or naming of branches) and the workflows being used (use
of gbp).

I think this may be better off reassigned/cloned to git-buildpackage to
have gbp-clone(1) gain a “--debcheckout” which uses gbp's knowledge to
do post-clone configuration.

I'd be willing to add handling for the pristine-tar branch, since that's
standard, but the rest seems too specific to other tools.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <james...@debian.org>

Attachment: signature.asc
Description: Digital signature

Reply via email to