Skip to content
Snippets Groups Projects
Commit 0b995383421b authored by Georges Racinet's avatar Georges Racinet
Browse files

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.
parent fa72d730f498
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment