mercurial/phases.py
changeset 51582 d8287e43540f
parent 51581 e0194b3ea312
child 51583 22cc679a7312
equal deleted inserted replaced
51581:e0194b3ea312 51582:d8287e43540f
  1152         remote_subset = [to_rev(n) for n in remotesubset]
  1152         remote_subset = [to_rev(n) for n in remotesubset]
  1153         heads, roots = analyze_remote_phases(repo, remote_subset, remoteroots)
  1153         heads, roots = analyze_remote_phases(repo, remote_subset, remoteroots)
  1154         self.publicheads = [to_node(r) for r in heads]
  1154         self.publicheads = [to_node(r) for r in heads]
  1155         self.draftroots = [to_node(r) for r in roots]
  1155         self.draftroots = [to_node(r) for r in roots]
  1156         # Get the list of all "heads" revs draft on remote
  1156         # Get the list of all "heads" revs draft on remote
  1157         dheads = unfi.set(b'heads(%ld::%ld)', roots, remote_subset)
  1157         dheads = unfi.revs(b'heads(%ld::%ld)', roots, remote_subset)
  1158         self.draftheads = [c.node() for c in dheads]
  1158         self.draftheads = [to_node(r) for r in dheads]
  1159 
  1159 
  1160 
  1160 
  1161 def new_heads(
  1161 def new_heads(
  1162     repo,
  1162     repo,
  1163     heads: Collection[int],
  1163     heads: Collection[int],