summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2008-08-08 12:10:40 +0200
committerGuido Guenther <agx@sigxcpu.org>2008-08-08 12:10:40 +0200
commit64808dffa98ca2e5910707d2a763606ec8a91cb0 (patch)
treee930d946aef087be69c9fe684ad9af0c56fe90e2
parentcaa3bb0c942e83ed7a06bcad765654a4d42635ae (diff)
downloadgit-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.
-rwxr-xr-xgit-import-orig1
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: