changeset 34012 | 38f08eaba6b0 |
parent 34011 | 3d0f8918351b |
child 34013 | c35c0f54f420 |
--- a/mercurial/obsutil.py Mon Jul 03 15:33:27 2017 +0200 +++ b/mercurial/obsutil.py Mon Jul 03 15:34:00 2017 +0200 @@ -601,3 +601,11 @@ else: verb = 'split' return verb + +def markersusers(markers): + """ Returns a sorted list of markers users without duplicates + """ + markersmeta = [dict(m[3]) for m in markers] + users = set(meta.get('user') for meta in markersmeta if meta.get('user')) + + return sorted(users)