comparison foodtruck/scm/mercurial.py @ 598:3cec8634209a

admin: Ability to configure SCM stuff per site.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 22 Jan 2016 11:01:00 -0800
parents d4a01a023998
children c37307a72f79
comparison
equal deleted inserted replaced
597:79a31a3c947b 598:3cec8634209a
31 res.new_files.append(line[2:]) 31 res.new_files.append(line[2:])
32 elif line[0] == 'M': 32 elif line[0] == 'M':
33 res.edited_files.append(line[2:]) 33 res.edited_files.append(line[2:])
34 return res 34 return res
35 35
36 def commit(self, paths, author, message): 36 def _doCommit(self, paths, message, author):
37 if not message: 37 if not message:
38 raise ValueError("No commit message specified.") 38 raise ValueError("No commit message specified.")
39 39
40 # Check if any of those paths needs to be added. 40 # Check if any of those paths needs to be added.
41 st_out = self._run('status', *paths) 41 st_out = self._run('status', *paths)