Mercurial > evolve
comparison hgext/simple4server.py @ 1090:4a6479395a9d
compat: rename encodeonemarkers to _fm0encodemarkers
This is getting renamed in core.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Wed, 27 Aug 2014 18:15:39 +0200 |
parents | f15f02007a0b |
children | 236a8e81551e |
comparison
equal
deleted
inserted
replaced
1089:cdd22a5e5ef1 | 1090:4a6479395a9d |
---|---|
206 if p != node.nullid: | 206 if p != node.nullid: |
207 entry += 1 | 207 entry += 1 |
208 sha.update(p) | 208 sha.update(p) |
209 tmarkers = repo.obsstore.relevantmarkers([ctx.node()]) | 209 tmarkers = repo.obsstore.relevantmarkers([ctx.node()]) |
210 if tmarkers: | 210 if tmarkers: |
211 bmarkers = [obsolete._encodeonemarker(m) for m in tmarkers] | 211 bmarkers = [obsolete._fm0encodeonemarker(m) for m in tmarkers] |
212 bmarkers.sort() | 212 bmarkers.sort() |
213 for m in bmarkers: | 213 for m in bmarkers: |
214 entry += 1 | 214 entry += 1 |
215 sha.update(m) | 215 sha.update(m) |
216 if entry: | 216 if entry: |