end
hc = hash.hash_start()
- hash.hash_line(hc, self._name)
- hash.hash_line(hc, self._type)
- hash.hash_line(hc, self._env:id())
+ hash.hash_append(hc, self._name)
+ hash.hash_append(hc, self._type)
+ hash.hash_append(hc, self._env:id())
licences = self:get_licences()
for licencename in licences:iter_sorted() do
if not lid then
return false, re
end
- hash.hash_line(hc, lid)
+ hash.hash_append(hc, lid)
end
- hash.hash_line(hc, self._server)
- hash.hash_line(hc, self._location)
- hash.hash_line(hc, self._working)
- hash.hash_line(hc, id)
+ hash.hash_append(hc, self._server)
+ hash.hash_append(hc, self._location)
+ hash.hash_append(hc, self._working)
+ hash.hash_append(hc, id)
self._commitids[sourceset] = id
self._sourceids[sourceset] = hash.hash_finish(hc)