aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-02-11 18:03:43 +0100
committerGuido Günther <agx@sigxcpu.org>2011-02-11 18:14:18 +0100
commit23c534db7d0f5431597c765b7decb06cc153c6ca (patch)
tree1f1828e0af0f6062b8607fede4d2ed7c04f08364 /gbp
parentc69e2aa99844ab089f821ab687eb477441c48975 (diff)
Move no_upstream_branch message into gbp.config
Git-Dch: Ignore
Diffstat (limited to 'gbp')
-rw-r--r--gbp/config.py6
1 files changed, 6 insertions, 0 deletions
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)