Hi,
On Tue, Jun 05, 2018 at 02:42:50PM +0200, Julien Muchembled wrote:
> Le 06/05/18 à 14:20, Guido Günther a écrit :
> > Does this work as you'd expect it:
> > 
> > $ gbp clone g...@salsa.debian.org:python-team/modules/zc-lockfile.git
> > $ gbp pq import
> > $ git co debian/master
> > $ gbp import-orig 
> > https://files.pythonhosted.org/packages/f5/fe/efb94907d8b2b81c3beab1bd628ff67e310d82816b94aa00b52062727ea9/zc.lockfile-1.3.0.tar.gz
> > 
> > import-orig imports onto the branch you're currently on 
> > causing the above commit to be lost. It should import on the
> > debian-branch instead.
> 
> Yes, that works.
> 
> But import-orig is supposed to import onto the branch specified by
> --debian-branch (already 'debian/master' according to
> debian/gpb.conf), isn't it ?

Actually no because that breaks the:

git checkout -b topic-branch
gbp pq import
<hack hack>
gbp pq export --commmit
git push salsa topic-branch

workflow. 

> Or if debian/master must really be checked out, then the problem is in the 
> docs, and in the description of --debian-branch

Care enough the send a patch? That would be great.
Cheers,
 -- Guido

Reply via email to