diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-10-22 14:25:13 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-10-23 16:20:31 +0200 |
commit | 9f168491bc9240919ffd48ca5450dc8b45137dc3 (patch) | |
tree | dd820b8bacc8bc6674753fd840a5972212d7fa24 /gbp/command_wrappers.py | |
parent | 83fd2c679fb4eb0aad0a05f95968603d04b3fab6 (diff) |
Replace GitBranch by GitRepository.create_branch()
Diffstat (limited to 'gbp/command_wrappers.py')
-rw-r--r-- | gbp/command_wrappers.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gbp/command_wrappers.py b/gbp/command_wrappers.py index f182e986..4c1de100 100644 --- a/gbp/command_wrappers.py +++ b/gbp/command_wrappers.py @@ -237,19 +237,6 @@ class GitClone(GitCommand): GitCommand.__init__(self, 'clone') self.run_error = "Couldn't clone git repository" -# FIXME: move to gbp.git.create_branch -class GitBranch(GitCommand): - """Wrap git branch""" - def __init__(self): - GitCommand.__init__(self, 'branch') - - def __call__(self, branch, remote=None): - self.run_error = 'Couldn\'t create branch "%s"' % (branch,) - options = [branch] - if remote: - options += [ remote ] - GitCommand.__call__(self, options) - # FIXME: move to gbp.git.fetch class GitFetch(GitCommand): |