diff options
author | Guido Guenther <agx@sigxcpu.org> | 2007-04-12 18:36:25 +0200 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2007-04-12 18:36:25 +0200 |
commit | 94d7c3f0809e1134bf932f803932f141491613b2 (patch) | |
tree | 9e926440ffa58f388df398533387bd60fda1745f /git-import-dsc | |
parent | e42d4e4cd352abd59b71e2aa293d840b23723d07 (diff) | |
download | git-buildpackage-94d7c3f0809e1134bf932f803932f141491613b2.tar.gz git-buildpackage-94d7c3f0809e1134bf932f803932f141491613b2.tar.bz2 git-buildpackage-94d7c3f0809e1134bf932f803932f141491613b2.zip |
improve tagging messages
Diffstat (limited to 'git-import-dsc')
-rwxr-xr-x | git-import-dsc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/git-import-dsc b/git-import-dsc index 1ad57c50..1f8f9994 100755 --- a/git-import-dsc +++ b/git-import-dsc @@ -104,7 +104,8 @@ def import_initial(src, dirs, options, tagger): msg="Imported %s version %s" % (['upstream', 'Debian'][src.native], src.upstream_version)) format = [options.upstream_tag, options.debian_tag][src.native] - tagger(build_tag(format, src.upstream_version)) + tagger(build_tag(format, src.upstream_version), + msg="Upstream version %s" % src.upstream_version) if not src.native: gbpc.GitBranch()(options.upstream_branch) except gbpc.CommandExecFailed: @@ -119,9 +120,11 @@ def apply_debian_patch(src, dirs, options, tagger): try: gbpc.DpkgSourceExtract()(src.dscfile, dirs['dpkg-src']) os.chdir(dirs['git']) + version = "%s-%s" % (src.upstream_version, src.debian_version) gbpc.GitLoadDirs()(dir=dirs['dpkg-src'], - summary="Imported Debian patch %s" % src.debian_version) - tagger(build_tag(options.debian_tag, '%s-%s' % (src.upstream_version, src.debian_version))) + summary="Imported Debian patch %s" % version) + tagger(build_tag(options.debian_tag, version), + msg="Debian release %s" % version) except gbpc.CommandExecFailed: print >>sys.stderr,"Failed to import Debian package" return False |