From 23c534db7d0f5431597c765b7decb06cc153c6ca Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 11 Feb 2011 18:03:43 +0100 Subject: Move no_upstream_branch message into gbp.config Git-Dch: Ignore --- gbp/config.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gbp/config.py') diff --git a/gbp/config.py b/gbp/config.py index 00b8dbc3..103920e7 100644 --- a/gbp/config.py +++ b/gbp/config.py @@ -13,6 +13,12 @@ except ImportError: gbp_version = "[Unknown version]" import gbp.tristate +no_upstream_branch_msg = """ +Repository does not have branch '%s' for upstream sources. If there is none see +file:///usr/share/doc/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.CONVERT +on howto create it otherwise use --upstream-branch to specify it. +""" + def expand_path(option, opt, value): value = os.path.expandvars(value) return os.path.expanduser(value) -- cgit v1.2.3