Mercurial > libervia-backend
diff CONTRAT_SOCIAL @ 2573:18e2ca5f798e
tools (utils): better repository version handling:
- removed save_dir_path and .hg_data/pickle method: it is not needed to save repository data anymore as its version is now saved on installation by setuptools_scm
- added "distance" (number of commits since last tag)
- use twisted's which method to find the hg executable
- result is now cached on first execution
- fixed dirstate method
- at last resort, try to find the repository version using the package version, as it is saved there by setuptools_scm
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 05 Apr 2018 15:23:38 +0200 |
parents | 1e3b1f9ad6e2 |
children | 1d12e7a3401d |