From 45d7dc8811377f69d321e31a4d30fb534ab0155d Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Thu, 8 Mar 2012 08:42:36 +0100 Subject: import_dsc: Create debian branch for native packages too Closes: #663001 --- gbp/scripts/import_dsc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gbp') diff --git a/gbp/scripts/import_dsc.py b/gbp/scripts/import_dsc.py index c5093fc3..d1d81051 100644 --- a/gbp/scripts/import_dsc.py +++ b/gbp/scripts/import_dsc.py @@ -1,6 +1,6 @@ # vim: set fileencoding=utf-8 : # -# (C) 2006,2007,2011 Guido Guenther +# (C) 2006,2007,2011,2012 Guido Guenther # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or @@ -308,9 +308,9 @@ def main(argv): if options.pristine_tar: repo.pristine_tar.commit(src.tgz, options.upstream_branch) parents = [ options.upstream_branch ] - if not src.native: if is_empty and not repo.has_branch(options.debian_branch): repo.create_branch(options.debian_branch, commit) + if not src.native: if src.diff or src.deb_tgz: apply_debian_patch(repo, upstream.unpacked, src, options, parents) else: -- cgit v1.2.3