Server for Information Technologies ������ ��������������
������� �������������� ����������
(095) 932-9212, 932-9213, 939-0783
E-mail: [email protected]
������ �������� ����(!) ������������� ���������� CIT Forum CD-ROM

RCSFILE(5)
������ ������

��������
rcsfile - ������ ��������� ����� � ������� ������������ ������ RCS .

��������
�����, ���������� � ����� ����� ����� ��������� ������, �� ��� �������� ���� ������ ������������� �������� ����� ������. ����������� -- ������� �������, �����, ���������, ����� ������, ������������ ���������, ����� ��������, � �������� ������� -- ����� ������ �������� ������ � ����������� ������� � �� ����� ���������� ������ ��������� ���������: id, num � sym.

����������� ������ ���������� � ����� ������ ��������� @. ���� ������������ ��� ����������� ������ ���� �������� @, �� ���� ������ �����������. ����������� ������ ����� ��������� ����� �������.

����-��������� ������, �������������� ����, �������������� ��������� ����������: ������ `|' ��������� ��� ��������, �� ������� ����� ������� ����. ������� `{' � `}' ������������ �������������� �������. ������� `{' � `}*' ������������ �������, ������� ����� ���� �������� ���� ��� ����� ���. ������ `{' and '}+' ������������ �������, ������� ������ ���� �������� ���� ��� ����� ���.

	rcstext   ::=  admin {delta}* desc {deltatext}*
	
	admin     ::=  head       {num};
	               { branch   {num}; }
	               access     {id}*;
	               symbols    {sym : num}*;
	               locks      {id : num}*;  {strict  ;}
	               { comment  {string}; }
	               { expand   {string}; }
	               { newphrase }*
	
	delta     ::=  num
	               date       num;
	               author     id;
	               state      {id};
	               branches   {num}*;
	               next       {num};
	               { newphrase }*
	
	desc      ::=  desc       string
	
	deltatext ::=  num
	               log        string
	               { newphrase }*
	               text       string
	
	num       ::=  {digit | .}+
	
	digit     ::=  0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
	
	id        ::=  {num} idchar {idchar | num}*
	
	sym       ::=  {digit}* idchar {idchar | digit}*
	
	idchar    ::=  ����� ���������� ������, ����� special
	
	special   ::=  $ | , | . | : | ; | @
	
	string    ::=  @{����� ������, �� @ �����������}*@
	
	newphrase ::=  id word* ;
	
	word      ::=  id | num | string | :
��� ��������������� ����� ��������, ��������� ����� ��� ��������. ��� �������� ����� ������� � ������ ��������. ��������� ��������������� � �������� ���� ����� ������������. ��� ����������� ������������ ������ � RCS ������������ �������� ISO 8859/1 , ��� ����������� ��������� ��������� ���� 041-176 � 240-377 � ������������ ������, � ��������� -- 010-015 � 040 (��� ����������� � ���-8 � ����������� IBM ��� OS2 � MS-Windows [code page 2041] � Mackintosh ��� ���������� ������, �� ����������� � �������������� [code page 866] ��������� ��� MS-DOS �������� � �������� ������).

���� ����� ��������� ����� date ����� ��� Y.mm.dd.hh.mm.ss, ��� Y -- ���, mm -- ����� (01-12), dd ���� -- (01-31), hh -- ��� (00-23), mm -- ������ (00-59), � ss ������� (00-60). ��� ����������� ��� � 1900 �� 1999 Y ������������ ����� ��� ��������� ����� ����; ��������� ���� ����� ������������ �������� �������. �� ���������� ������� ����� ������������ ������������� ��������� � ��������� �����.

����������� newphrase ��������������� ��� ����������� ���������� ������� ������� RCS. �������������, ��� newphrase �� ����� ���������� � ������������ � ��������� ����� �������� ����.

�������, ��������������� delta �������� ������. ������� � �������� �� ���� ����� (����., 2.3, 2.1, 1.3, � �.�.) �������� ������� �����, � ������ ��������� ������������ ������ � ��������� ������� ������, ������� � ��������� ������ ������� �����, ���������� � ����� �������. ���� head � ����� admin ��������� �� ������� ���� �������, �.�. �� ��������� � ������������������ ������ ����. ���� branch � ����� admin ��������� �� ����� (��� ������) ������������ �� ���������. ���� ��� ���� �����, �� ������������ ��������� ������ �� ������� ����� (������� �����, ��������� �� ��������� ������).

������� delta, ��� ������ ������ 2n ������� (n>=2) (����., 3.1.1.1, 2.1.2.2, � �.�.) ������� ��������� �������. ������� � ����������� 2n-1 ������� ��������, ����������� �� ���������� ���� � ������������ ������� � ������ ������� ������������, ������� � ��������� �������� ����� -- ����� ���������, �������� 2n-2 �������, ������ ��� �������� �����. ������� ��������������� ����� ��������� �������� ������������� �� ����������� ������ ��������� ������ ���� �������� ������, ��������� �� ���.

��������� ��������� ������������� ����������� ���������� � ������.

	                           Head
	                             |
	                             |
	                             v                        / \
	                         ---------                   /   \
	   / \          / \      |       |      / \         /     \
	  /   \        /   \     |  2.1  |     /   \       /       \
	 /     \      /     \    |       |    /     \     /         \
	/1.2.1.3\    /1.3.1.1\   |       |   /1.2.2.2\   /1.2.2.1.1.1\
	---------    ---------   ---------   ---------   -------------
	    ^            ^           |           ^             ^
	    |            |           |           |             |
	    |            |           v           |             |
	   / \           |       ---------      / \            |
	  /   \          |       \  1.3  /     /   \           |
	 /     \         ---------\     /     /     \-----------
	/1.2.1.1\                  \   /     /1.2.2.1\
	---------                   \ /      ---------
	    ^                        |           ^
	    |                        |           |
	    |                        v           |
	    |                    ---------       |
	    |                    \  1.2  /       |
	    ----------------------\     /---------
	                           \   /
	                            \ /
	                             |
        	                     |
	                             v
	                         ---------
	                         \  1.1  /
	                          \     /
	                           \   /
	                            \ /

��. �����
rcsintro(1), ci(1), co(1), ident(1), rcs(1), rcsclean(1), rcsdiff(1), rcsmerge(1), rlog(1)

Walter F. Tichy, RCS--A System for Version Control, Software--Practice & Experience 15, 7 (July 1985), 637-654.
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT