diff options
author | Adrian Likins <alikins@grimlock.devel.redhat.com> | 2008-08-05 12:14:56 -0400 |
---|---|---|
committer | Adrian Likins <alikins@grimlock.devel.redhat.com> | 2008-08-05 12:14:56 -0400 |
commit | 148ebb6e7b4c370cdfbbfeed1de88741ceac6f5f (patch) | |
tree | 3967afd141f195dc919c4b65401b173dc70a948b /gum | |
parent | b3a3c5de37f18d1b3fcc260e8bb6259edf0bed34 (diff) | |
download | func-148ebb6e7b4c370cdfbbfeed1de88741ceac6f5f.tar.gz func-148ebb6e7b4c370cdfbbfeed1de88741ceac6f5f.tar.xz func-148ebb6e7b4c370cdfbbfeed1de88741ceac6f5f.zip |
little more gum testing
Diffstat (limited to 'gum')
-rw-r--r-- | gum | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -57,7 +57,7 @@ class Repos(object): p = subprocess.Popen(branches_cmd, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE) output = p.communicate()[0] - # print output + print "output", output branch_names = output.splitlines() for branch_name_bits in branch_names: # print branch_name @@ -73,17 +73,17 @@ class Repos(object): def add_remote(self, names): for name in names: - add_cmd = "echo git remote add %s %s" % (name, self.remotes[name]) + add_cmd = "git remote add %s %s" % (name, self.remotes[name]) p = subprocess.Popen(add_cmd, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE) output = p.communicate() - fetch_cmd = "echo git fetch %s" % name + fetch_cmd = "git fetch %s" % name p = subprocess.Popen(fetch_cmd, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE) output = p.communicate() - branches = self.find_remote_branches(name) +# branches = self.find_remote_branches(name) |