diff options
author | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-06-29 01:43:19 +0200 |
---|---|---|
committer | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-06-29 01:43:19 +0200 |
commit | a9f46e21adb501e15850b2bb0f80c1803a694acb (patch) | |
tree | e3026df9190d881bac5be56d22a5f069fb31b7de /MgaRepo/git.py | |
parent | 6b8d185a6389614ce30b829ac550d8fef13da91a (diff) | |
download | mgarepo-a9f46e21adb501e15850b2bb0f80c1803a694acb.tar mgarepo-a9f46e21adb501e15850b2bb0f80c1803a694acb.tar.gz mgarepo-a9f46e21adb501e15850b2bb0f80c1803a694acb.tar.bz2 mgarepo-a9f46e21adb501e15850b2bb0f80c1803a694acb.tar.xz mgarepo-a9f46e21adb501e15850b2bb0f80c1803a694acb.zip |
start on github ~bridge, so far only local git-svn repo import
Diffstat (limited to 'MgaRepo/git.py')
-rw-r--r-- | MgaRepo/git.py | 9 |
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): |