diff options
author | Guido Guenther <agx@sigxcpu.org> | 2008-08-08 12:10:40 +0200 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2008-08-08 12:10:40 +0200 |
commit | 64808dffa98ca2e5910707d2a763606ec8a91cb0 (patch) | |
tree | e930d946aef087be69c9fe684ad9af0c56fe90e2 /git-import-orig | |
parent | caa3bb0c942e83ed7a06bcad765654a4d42635ae (diff) | |
download | git-buildpackage-64808dffa98ca2e5910707d2a763606ec8a91cb0.tar.gz git-buildpackage-64808dffa98ca2e5910707d2a763606ec8a91cb0.tar.bz2 git-buildpackage-64808dffa98ca2e5910707d2a763606ec8a91cb0.zip |
Warn if we can't parse the changelog
Without a changelog we can't parse the package name. Without that we
might end up with wrong names on the pristine tar branch and with
missing symlinks in tarball-dir. Since this might be intentional we
issue a warning only.
Diffstat (limited to 'git-import-orig')
-rwxr-xr-x | git-import-orig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git-import-orig b/git-import-orig index 6774a44c..383c5967 100755 --- a/git-import-orig +++ b/git-import-orig @@ -188,6 +188,7 @@ on howto create it otherwise use --upstream-branch to specify it. cp = parse_changelog('debian/changelog') pristine_orig = symlink_orig(archive, cp['Source'], version) except NoChangelogError: + print "Warning: Can't symlink orig.tar.gz due to missing debian/changelog" pristine_orig = archive try: |