File: //lib64/python2.7/site-packages/hgext/record.pyo
�
1�3\c @@ s* d Z d d l m Z d d l m Z d d l m Z m Z m Z m Z m
Z
i Z e
j e � Z d Z
e d g e j d d D] Z e d d k r� e ^ q� e j e d
� d e j �d � � Z d
� Z e d g e d � d e j d e �d � � Z d � Z d � Z d � Z d � Z d S( s� commands to interactively select changes for commit/qrefresh (DEPRECATED)
The feature provided by this extension has been moved into core Mercurial as
:hg:`commit --interactive`.i ( t absolute_import( t _( t cmdutilt commandst errort
extensionst registrars ships-with-hg-coret records commit|cii t interactives hg record [OPTION]... [FILE]...t helpcategoryc O@ sr | j � s( t j t d � d � � n t | d <i t d 6} | j | d � � t j | | | | � SWd QXd S( s} interactively select changes to commit
If a list of files is omitted, all changes reported by :hg:`status`
will be candidates for recording.
See :hg:`help dates` for a list of formats valid for -d/--date.
If using the text interface (see :hg:`help config`),
you will be prompted for whether to record changes to each
modified file, and for files with multiple changes, for each
change to use. For each query, the following responses are
possible::
y - record this change
n - skip this change
e - edit this change manually
s - skip remaining changes to this file
f - record remaining changes to this file
d - done, skip remaining changes and files
a - record all changes to all remaining files
q - quit, recording no changes
? - display help
This command is not available when committing a merge.s) running non-interactively, use %s insteadt commitR t experimentalt crecordR N( R R ( R R t AbortR t Truet Falset configoverrideR R
( t uit repot patst optst overrides( ( s2 /usr/lib64/python2.7/site-packages/hgext/record.pyR ! s #
c @ sd | d s | | | | | � St j d � � � f d � } t j | | | d t t j | | � d S( NR t mqc @ s � j | | | � d S( N( t refresh( R R R R ( R ( s2 /usr/lib64/python2.7/site-packages/hgext/record.pyt
committomqS s ( R t findR t dorecordt NoneR t recordfilter( t origfnR R R R R ( ( R s2 /usr/lib64/python2.7/site-packages/hgext/record.pyt qrefreshM s
t qrecords&