Fix some errors of merging
authorJun Wang <junbill.wang@samsung.com>
Wed, 27 Jan 2016 20:32:24 +0000 (04:32 +0800)
committerJun Wang <junbill.wang@samsung.com>
Wed, 27 Jan 2016 20:34:48 +0000 (04:34 +0800)
Change-Id: I4441fb369aa88598f238c41710edeba01cd537b6

.gitignore
.gitmodules
debian/control
gbp/scripts/common/pq.py
gbp/scripts/import_srpm.py
gbp/scripts/pq_rpm.py

index 80960ac..afc87ff 100644 (file)
@@ -18,10 +18,10 @@ docs/manpage.links
 docs/manpage.refs
 docs/version.ent
 
-debian/git-buildpackage*.debhelper*
+debian/git-buildpackage.*.debhelper
+debian/git-buildpackage.debhelper.*
 debian/python-module-stampdir/
 debian/files
-debian/git-buildpackage*.substvars
+debian/git-buildpackage.substvars
 debian/git-buildpackage/
-debian/git-buildpackage-rpm/
-debian/tmp/
+
index 29b4c39..6e17739 100644 (file)
@@ -1,3 +1,6 @@
 [submodule "tests/component/deb/data"]
        path = tests/component/deb/data
        url = ssh://fushuai1985@review.tizen.org:29418/tools/git-buildpackage-deb-testdata
+[submodule "tests/component/rpm/data"]
+       path = tests/component/rpm/data
+       url = ssh://fushuai1985@review.tizen.org:29418/tools/git-buildpackage-rpm-testdata
index 6598780..705fd7c 100644 (file)
@@ -12,12 +12,9 @@ Build-Depends:
  pychecker,
  python (>> 2.6.6-3~),
  python-epydoc,
- python-mock,
  python-nose,
  python-pkg-resources,
- python-rpm,
  python-setuptools,
- rpm,
  sgml2x,
 # For rpm (epydoc)
  python-rpm
index 1686884..a91ec8e 100644 (file)
@@ -88,10 +88,6 @@ def is_pq_branch(branch, options):
         return True
     return False
 
-    pq_re = re.compile(r'^%s$' % (pq_format_str % dict(branch="(?P<base>\S+)")))
-    if pq_re.match(branch):
-        return True
-    return False
 
 def pq_branch_name(branch, options, extra_keys=None):
     """
@@ -120,8 +116,6 @@ def pq_branch_name(branch, options, extra_keys=None):
     if not is_pq_branch(branch, options):
         return pq_format_str % format_fields
 
-    if not is_pq_branch(branch, options):
-        return pq_format_str % format_fields
 
 def pq_branch_base(pq_branch, options):
     """
index 7a397fe..85f1225 100755 (executable)
@@ -197,8 +197,6 @@ def parse_args(argv):
     parser.add_config_file_option(option_name="color-scheme",
                                   dest="color_scheme")
     parser.add_config_file_option(option_name="tmp-dir", dest="tmp_dir")
-    parser.add_config_file_option(option_name="vendor", action="store",
-                    dest="vendor")
     parser.add_option("--download", action="store_true", dest="download",
                       default=False, help="download source package")
     parser.add_config_file_option(option_name="vendor", action="store",
index 2f4f42c..c33e67b 100755 (executable)
@@ -690,9 +690,6 @@ def main(argv):
             dest="patch_export_squash_until")
     parser.add_config_file_option("patch-export-ignore-path",
             dest="patch_export_ignore_path")
-    parser.add_option("--export-rev", action="store", dest="export_rev", default="",
-                      help="Export patches from treeish object TREEISH instead "
-                           "of head of patch-queue branch", metavar="TREEISH")
 
     (options, args) = parser.parse_args(argv)
     gbp.log.setup(options.color, options.verbose, options.color_scheme)