gitlab-mirror: simplify case of topic change by public changeset
For the call to `published_topic_latest_hg_sha` in the case the previous changeset is obsoleted by a public changeset, since we now get `None` if the successor is not on topic, we can avoid checking that condition in advance, to test the `None` return value explicitely without creating dead code. Using a revset for that will be marginally slower.
Loading
Please register or sign in to comment