aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/create_remote_repo.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-11-23 08:01:19 +0100
committerGuido Günther <agx@sigxcpu.org>2012-11-23 08:06:12 +0100
commit4c9bb9f5780cdf6d97ba83dfd8fc0f13a1d6aadf (patch)
tree7d80f1e4e74aa5182e166659327c931a0b992250 /gbp/scripts/create_remote_repo.py
parentdf2c0add5c31a36fdc8a61c5f03f2324fb643418 (diff)
Add issing git- prefix to --color and --notify options
Thanks: Filippo Rusconi Closes: #693978
Diffstat (limited to 'gbp/scripts/create_remote_repo.py')
-rw-r--r--gbp/scripts/create_remote_repo.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/gbp/scripts/create_remote_repo.py b/gbp/scripts/create_remote_repo.py
index 1ac30b56..1e8de0ce 100644
--- a/gbp/scripts/create_remote_repo.py
+++ b/gbp/scripts/create_remote_repo.py
@@ -144,7 +144,6 @@ def parse_url(remote_url, name, pkg, template_dir=None):
def build_remote_script(remote):
"""
Create the script that will be run on the remote side
-
>>> build_remote_script({'base': 'base', 'dir': 'dir', 'pkg': 'pkg', 'template-dir': None})
'\\nset -e\\numask 002\\nif [ -d base"dir" ]; then\\n echo "Repository at "basedir" already exists - giving up."\\n exit 1\\nfi\\nmkdir -p base"dir"\\ncd base"dir"\\ngit init --bare --shared\\necho "pkg packaging" > description\\n'
>>> build_remote_script({'base': 'base', 'dir': 'dir', 'pkg': 'pkg', 'template-dir': '/doesnot/exist'})