File: //kunden/lib/python3/dist-packages/breezy/__pycache__/status.cpython-39.pyc
a
�*�^M �
@ s� d dl mZ d dlZddlmZmZmZm Z m
Z
mZ ddlm
Z
ddlmZmZ ddlmZ dd
d�Zdddd ddddd ejf
dd
�Zdd� Zddd�Zdd� ZG dd� dej�ZG dd� de�Zdd� Ze� Ze�ded� dS )� )�absolute_importN� )�delta�hooks�log�osutils�tsort�revision)�errors)�mutter�warning)�ShelvingUnsupportedFTc
sd |r&� j |||d|d�}t�||� n:� j||||d�}� fdd�|jD �|_|| || ||
d� dS )a� Display summary of changes.
This compares two trees with regards to a list of files, and delegates
the display to underlying elements.
For short output, it creates an iterator on all changes, and lets a given
reporter display these changes.
For stantard output, it creates a delta of the changes, and forwards it
to a callback
:param to_file: If set, write to this file (default stdout.)
:param old: Start tree for the comparison
:param end: End tree for the comparison
:param specific_files: If set, a list of filenames whose status should be
shown. It is an error to give a filename that is not in the working
tree, or in the working inventory or in the basis inventory.
:param show_short_reporter: Reporter in charge of display for short output
:param show_long_callback: Callback in charge of display for normal output
:param short: If True, gives short SVN-style status lines.
:param want_unchanged: Deprecated parameter. If set, includes unchanged
files.
:param show_ids: If set, includes each file's id.
:param want_unversioned: If False, only shows versioned files.
:param classify: Add special symbols to indicate file kind.
F)Zrequire_versioned�want_unversioned)�want_unchanged�specific_filesr c s g | ]}� � |jd �s|�qS )r )�
is_ignored�path)�.0Zchange��new� �//usr/lib/python3/dist-packages/breezy/status.py�
<listcomp>O s �z"report_changes.<locals>.<listcomp>)�show_idsZshow_unchanged�classifyN)Ziter_changes�
_mod_delta�report_changesZchanges_fromZunversioned)
�to_file�oldr r Zshow_short_reporter�show_long_callback�shortr r r r Zchangesr r r r r &