equal
deleted
inserted
replaced
1033 """``max(set)`` |
1033 """``max(set)`` |
1034 Changeset with highest revision number in set. |
1034 Changeset with highest revision number in set. |
1035 """ |
1035 """ |
1036 os = getset(repo, spanset(repo), x) |
1036 os = getset(repo, spanset(repo), x) |
1037 if os: |
1037 if os: |
1038 m = max(os) |
1038 m = os.max() |
1039 if m in subset: |
1039 if m in subset: |
1040 return baseset([m]) |
1040 return baseset([m]) |
1041 return baseset([]) |
1041 return baseset([]) |
1042 |
1042 |
1043 def merge(repo, subset, x): |
1043 def merge(repo, subset, x): |
1070 """``min(set)`` |
1070 """``min(set)`` |
1071 Changeset with lowest revision number in set. |
1071 Changeset with lowest revision number in set. |
1072 """ |
1072 """ |
1073 os = getset(repo, spanset(repo), x) |
1073 os = getset(repo, spanset(repo), x) |
1074 if os: |
1074 if os: |
1075 m = min(os) |
1075 m = os.min() |
1076 if m in subset: |
1076 if m in subset: |
1077 return baseset([m]) |
1077 return baseset([m]) |
1078 return baseset([]) |
1078 return baseset([]) |
1079 |
1079 |
1080 def _missingancestors(repo, subset, x): |
1080 def _missingancestors(repo, subset, x): |