Commit 68b6fa0a authored by Jérome Perrin's avatar Jérome Perrin

Fix testnode watching repositories when HEAD is a merge commit

and a few cleanups in test suite

See merge request !1126
parents a8f32683 42cd1159
Pipeline #9516 failed with stage
in 0 seconds
This diff is collapsed.
......@@ -143,7 +143,7 @@ class Updater(object):
if not path_list:
path_list = self._path_list
if self.getRepositoryType() == GIT_TYPE:
h = self._git('log', '-1', '--format=%H', '--', *path_list)
h = self._git('log', '-1', '--format=%H', '--full-history', '--', *path_list)
return self._git_find_rev(h)
elif self.getRepositoryType() == SVN_TYPE:
stdout = self.spawn('svn', 'info', *path_list)['stdout']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment