ros-infrastructure / catkin_pkg

Standalone Python library for the catkin build system.
https://github.com/ros/catkin
Other
47 stars 91 forks source link

Fix catkin_generate_changelog for hg/mercurial repositories #236

Closed Lohrer closed 6 years ago

Lohrer commented 6 years ago

Fixes issue #235.

dirk-thomas commented 6 years ago

The man page of hg states:

latesttag: List of strings. The global tags on the most recent globally tagged ancestor of this changeset. If no such tags exist, the list consists of the single string "null".

Therefore I added the extra check for "null" in ae2692ad7d046cc1724848256afdce44548a95de.

An example repo which doesn't contain any tags: https://bitbucket.org/ignitionrobotics/ign-seed