##// END OF EJS Templates
py3: fix sorting of obsolete markers when building bundle...
Denis Laxalde -
r43438:01e8eefd default
parent child Browse files
Show More
@@ -2567,7 +2567,8 b' def _getbundleobsmarkerpart('
2567 2567 heads = repo.heads()
2568 2568 subset = [c.node() for c in repo.set(b'::%ln', heads)]
2569 2569 markers = repo.obsstore.relevantmarkers(subset)
2570 markers = sorted(markers)
2570 # last item of marker tuple ('parents') may be None or a tuple
2571 markers = sorted(markers, key=lambda m: m[:-1] + (m[-1] or (),))
2571 2572 bundle2.buildobsmarkerspart(bundler, markers)
2572 2573
2573 2574
General Comments 0
You need to be logged in to leave comments. Login now