print self._cur_line+(" "*30)+"\r",
def update(self):
- print "Updating",self.folder
isBranch = (self.commit.startswith('origin/'))
if isBranch:
branchname = self.commit[len('origin/'):]
self.svnPath = svnPath
def update(self):
- print "Updating",self.folder
if os.path.exists(self.folder):
os.chdir(self.folder) # go into repository
subprocess.check_call(['svn', 'switch', self.svnPath]) # and update to the URL we got