File: //usr/lib/python3/dist-packages/mercurial/__pycache__/stack.cpython-310.pyc
o
�]Lb� � @ s d dl mZ ddd�ZdS )� )�absolute_importNc C s( |du rd}d}| � ||�}|�� |S )z�return a sorted smartrev of the stack containing either rev if it is
not None or the current working directory parent.
The stack will always contain all drafts changesets which are ancestors to
the revision and are not merges.
N� .s+ only(%s) and not public() and not ::merge())�revs�sort)�repo�rev�revspec� revisions� r
�1/usr/lib/python3/dist-packages/mercurial/stack.py�getstack s r )N)�
__future__r r r
r
r
r �<module> s