Revert "export: change VCS tag in spec to sha1 of commitish"
authorGui Chen <gui.chen@intel.com>
Tue, 2 Sep 2014 07:54:18 +0000 (03:54 -0400)
committerLi Jinjing <jinjingx.li@intel.com>
Wed, 15 Oct 2014 04:23:52 +0000 (12:23 +0800)
This reverts commit 704ab3f733e7d06cd87dd1b38112b5de285e202a.

gitbuildsys/cmd_export.py

index 6b6112e..5e4f478 100644 (file)
@@ -152,7 +152,7 @@ def create_gbp_export_args(repo, commit, export_dir, tmp_dir, spec, args,
             "--git-pq-branch=development/%(branch)s/%(upstreamversion)s",
             "--git-upstream-branch=%s" % upstream_branch,
             "--git-upstream-tag=%s" % upstream_tag,
-            "--git-spec-vcs-tag=%s#%%(commitish)s" % reponame]
+            "--git-spec-vcs-tag=%s#%%(commit)s" % reponame]
 
     if create_tarball:
         argv.append("--git-force-create")