summaryrefslogtreecommitdiff
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-07-23 11:11:35 +0000
committerGuido Günther <agx@sigxcpu.org>2012-07-23 21:41:25 +0200
commit036db95fb1c6f1a4dd17bb85b6d7a5e35e03e36c (patch)
treeaab09fa608f0e6e75120f67ee48a645df881c44c /gbp
parent891ea2b57d38c6496575dc43c7bf925e1f3a92c2 (diff)
gbp.git.GitRepository: Add remove_remote
Diffstat (limited to 'gbp')
-rw-r--r--gbp/git/repository.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py
index 9318750..e1067a4 100644
--- a/gbp/git/repository.py
+++ b/gbp/git/repository.py
@@ -801,6 +801,9 @@ class GitRepository(object):
args.add(name, url)
self._git_command("remote", args.args)
+ def remove_remote_repo(self, name):
+ args = GitArgs('rm', name)
+ self._git_command("remote", args.args)
def fetch(self, repo=None, tags=False, depth=0):
"""