aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'MgaRepo/git.py')
-rw-r--r--MgaRepo/git.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/MgaRepo/git.py b/MgaRepo/git.py
index 08cccf6..9760298 100644
--- a/MgaRepo/git.py
+++ b/MgaRepo/git.py
@@ -175,6 +175,15 @@ class GIT(VCS):
return [x.split() for x in output.split()]
return None
+ def remote(self, *args, **kwargs):
+ cmd = ["remote"] + list(args)
+ status, output = self._execVcs(*cmd, **kwargs)
+ return status, output
+
+ def push(self, *args, **kwargs):
+ cmd = ["push"] + list(args)
+ status, output = self._execVcs(*cmd, **kwargs)
+ return status, output
class GITLook(VCSLook):
def __init__(self, repospath, txn=None, rev=None):