summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-09-05 13:06:52 +0200
committerGuido Günther <agx@sigxcpu.org>2009-09-05 13:44:33 +0200
commitedfe670d4bffeccc2a55df572ea14c0245bd30ea (patch)
tree31e020a886d46fb5464b0273dbad2e88ef87d43b
parent1f8abec6b1cd2108871fede091e9e5c1215a380a (diff)
add GitClone
-rw-r--r--gbp/command_wrappers.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/gbp/command_wrappers.py b/gbp/command_wrappers.py
index 64874891..49181354 100644
--- a/gbp/command_wrappers.py
+++ b/gbp/command_wrappers.py
@@ -204,6 +204,13 @@ class GitInit(GitCommand):
self.run_error = "Couldn't init git repository"
+class GitClone(GitCommand):
+ """Wrap git clone"""
+ def __init__(self):
+ GitCommand.__init__(self, 'clone')
+ self.run_error = "Couldn't clone git repository"
+
+
class GitShowBranch(GitCommand):
"""Wrap git show-branch"""
def __init__(self):