aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-03-08 08:42:36 +0100
committerGuido Günther <agx@sigxcpu.org>2012-03-08 08:42:36 +0100
commit45d7dc8811377f69d321e31a4d30fb534ab0155d (patch)
treeff77f96b2d4e5864a022318a3b35f7998dac6252 /gbp
parentdc58835c9306c6d7d7b52d3231f48760c4f51cd9 (diff)
import_dsc: Create debian branch for native packages too
Closes: #663001
Diffstat (limited to 'gbp')
-rw-r--r--gbp/scripts/import_dsc.py4
1 files changed, 2 insertions, 2 deletions
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 <agx@sigxcpu.org>
+# (C) 2006,2007,2011,2012 Guido Guenther <agx@sigxcpu.org>
# 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: