diff options
author | Guido Guenther <agx@sigxcpu.org> | 2007-10-24 22:56:08 +0200 |
---|---|---|
committer | Guido Guenther <agx@sigxcpu.org> | 2007-10-24 22:56:08 +0200 |
commit | 44d289df6bc47f8f5a595f19725ec0f23e98c6ae (patch) | |
tree | dee11b75e2ed91e8f1ec6b13c47d10ff761bb523 | |
parent | 6b97ce263a930fc0c7f0bd8facbf96d1e5ac26b8 (diff) | |
download | git-buildpackage-44d289df6bc47f8f5a595f19725ec0f23e98c6ae.tar.gz git-buildpackage-44d289df6bc47f8f5a595f19725ec0f23e98c6ae.tar.bz2 git-buildpackage-44d289df6bc47f8f5a595f19725ec0f23e98c6ae.zip |
git-import-orig: fix missing s/upstream/upstream_branch/ rename
-rwxr-xr-x | git-import-orig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-import-orig b/git-import-orig index f5c1b0f0..145bc34a 100755 --- a/git-import-orig +++ b/git-import-orig @@ -137,12 +137,12 @@ def main(argv): else: is_empty = True - if not repo.has_branch(options.upstream) and not is_empty: + if not repo.has_branch(options.upstream_branch) and not is_empty: print >>sys.stderr, """ Repository does not have branch '%s' for upstream sources. If there is none see /usr/share/doc/git-buildpackage/manual-html/gbpc.import.convert.html on howto create it otherwise use --upstream-branch to specify it. -""" % options.upstream_upstream +""" % options.upstream_branch raise GbpError if options.version: |