mercurial/revset.py
changeset 22872 45afc86567ce
parent 22871 9b73ab9bcbfb
child 22874 e15027cc4cd8
equal deleted inserted replaced
22871:9b73ab9bcbfb 22872:45afc86567ce
  1149     same as passing all().  If a changeset created by these operations is itself
  1149     same as passing all().  If a changeset created by these operations is itself
  1150     specified as a source for one of these operations, only the source changeset
  1150     specified as a source for one of these operations, only the source changeset
  1151     for the first operation is selected.
  1151     for the first operation is selected.
  1152     """
  1152     """
  1153     if x is not None:
  1153     if x is not None:
  1154         args = getset(repo, spanset(repo), x).set()
  1154         args = getset(repo, spanset(repo), x)
  1155     else:
  1155     else:
  1156         args = getall(repo, spanset(repo), x).set()
  1156         args = getall(repo, spanset(repo), x)
  1157 
  1157 
  1158     def _firstsrc(rev):
  1158     def _firstsrc(rev):
  1159         src = _getrevsource(repo, rev)
  1159         src = _getrevsource(repo, rev)
  1160         if src is None:
  1160         if src is None:
  1161             return None
  1161             return None