пёп©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦ п╡ Subversion

п■п╩я▐ Subversion 1.4

(п║п╬п╬я┌п╡п╣я┌я│я┌п╡я┐п╣я┌ я─п╣п╢п╟п╨я├п╦п╦ 3610)

п▒п╣п╫ п п╬п╩п╩п╦п╫п╥-п║п╟я│я│п╪п╟п╫

п▒я─п╟п╧п╟п╫ пё. п╓п╦я┌я├п©п╟я┌я─п╦п╨

п . п°п╟п╧п╨п╩ п÷п╦п╩п╟я┌п╬

п╜я┌п╬я┌ я┌я─я┐п╢ п╡я▀п©я┐я┴п╣п╫ п╫п╟ я┐я│п╩п╬п╡п╦я▐я┘ Creative Commons Attribution License. п║ я┌п╣п╨я│я┌п╬п╪ п╢п╟п╫п╫п╬п╧ п╩п╦я├п╣п╫п╥п╦п╦ п╪п╬п╤п╫п╬ п╬п╥п╫п╟п╨п╬п╪п╦я┌я▄я│я▐ п╡ п╦п╫я┌п╣я─п╫п╣я┌п╣ п©п╬ п╟п╢я─п╣я│я┐ http://creativecommons.org/licenses/by/2.0/, п╦п╩п╦ п©п╬п╩я┐я┤п╦я┌я▄ п╣пЁп╬ п©п╬ п©п╬я┤я┌п╣, п╬я┌п©я─п╟п╡п╦п╡ п╥п╟я▐п╡п╨я┐ п©п╬ п╟п╢я─п╣я│я┐ Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

[п■п╟я┌п╟ п╡я▀я┘п╬п╢п╟ п╡ я│п╡п╣я┌ п╠я┐п╢п╣я┌ п╬п╠я┼я▐п╡п╩п╣п╫п╟ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫п╬]


п║п╬п╢п╣я─п╤п╟п╫п╦п╣

п÷я─п╣п╢п╦я│п╩п╬п╡п╦п╣
п·п╠ я█я┌п╬п╧ п╨п╫п╦пЁп╣
п■п╩я▐ п╨п╬пЁп╬ п╫п╟п©п╦я│п╟п╫п╟ я█я┌п╟ п╨п╫п╦пЁп╟?
п п╟п╨ я┤п╦я┌п╟я┌я▄ я█я┌я┐ п╨п╫п╦пЁя┐?
п║п╬пЁп╩п╟я┬п╣п╫п╦я▐, п©я─п╦п╫я▐я┌я▀п╣ п╡ п╨п╫п╦пЁп╣
п╒п╦п©п╬пЁя─п╟я└я│п╨п╦п╣ я│п╬пЁп╩п╟я┬п╣п╫п╦я▐
п÷п╦п╨я┌п╬пЁя─п╟п╪п╪я▀
п║я┌я─я┐п╨я┌я┐я─п╟ п╨п╫п╦пЁп╦
п╜я┌п╟ п╨п╫п╦пЁп╟ я─п╟я│п©я─п╬я│я┌я─п╟п╫я▐п╣я┌я│я▐ я│п╡п╬п╠п╬п╢п╫п╬
п▒п╩п╟пЁп╬п╢п╟я─п╫п╬я│я┌п╦
п·я┌ Ben Collins-Sussman
п·я┌ Brian W. Fitzpatrick
п·я┌ C. Michael Pilato
п╖я┌п╬ я┌п╟п╨п╬п╣ Subversion?
п≤я│я┌п╬я─п╦я▐ Subversion
п▓п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ Subversion
п░я─я┘п╦я┌п╣п╨я┌я┐я─п╟ Subversion
п п╬п╪п©п╬п╫п╣п╫я┌я▀ Subversion
1. п╓я┐п╫п╢п╟п╪п╣п╫я┌п╟п╩я▄п╫я▀п╣ п©п╬п╫я▐я┌п╦я▐
п╔я─п╟п╫п╦п╩п╦я┴п╣
п°п╬п╢п╣п╩п╦ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╦я▐
п÷я─п╬п╠п╩п╣п╪п╟ я─п╟п╥п╢п╣п╩п╣п╫п╦я▐ я└п╟п╧п╩п╬п╡
п°п╬п╢п╣п╩я▄ п▒п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣-п≤п╥п╪п╣п╫п╣п╫п╦п╣-п═п╟п╥п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣
п°п╬п╢п╣п╩я▄ п п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п≤п╥п╪п╣п╫п╣п╫п╦п╣-п║п╩п╦я▐п╫п╦п╣
Subversion п╡ п╢п╣п╧я│я┌п╡п╦п╦
URL я┘я─п╟п╫п╦п╩п╦я┴п╟ п╡ Subversion
п═п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦
п÷я─п╟п╡п╨п╦
п п╟п╨ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦ п╬я┌я│п╩п╣п╤п╦п╡п╟я▌я┌ я┘я─п╟п╫п╦п╩п╦я┴п╣
п║п╪п╣я┬п╦п╡п╟п╫п╦п╣ п©я─п╟п╡п╬п╨ п╡ я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦я▐я┘
п·п╠п╫п╬п╡п╩п╣п╫п╦я▐ п╦ я└п╦п╨я│п╟я├п╦п╦ п╬я┌п╢п╣п╩п╣п╫я▀ п╢я─я┐пЁ п╬я┌ п╢я─я┐пЁп╟
п║п╪п╣я┬п╦п╡п╟п╫п╦п╣ п©я─п╟п╡п╬п╨ Б─■ я█я┌п╬ п╫п╬я─п╪п╟п╩я▄п╫п╬
п║п╪п╣я┬п╦п╡п╟п╫п╦п╣ п©я─п╟п╡п╬п╨ Б─■ я█я┌п╬ п©п╬п╩п╣п╥п╫п╬
п║п╪п╣я┬п╦п╡п╟п╫п╦п╣ п©я─п╟п╡п╬п╨ п╦п╪п╣п╣я┌ п╬пЁя─п╟п╫п╦я┤п╣п╫п╦я▐
п÷п╬п╢п╡п╬п╢я▐ п╦я┌п╬пЁп╦
2. п╜п╨я│п╨я┐я─я│п╦я▐ п©п╬ Subversion
п╖п╦я┌п╟п╧я┌п╣ я│п©я─п╟п╡п╨я┐!
п≤п╪п©п╬я─я┌
п÷я┐я┌п╣я┬п╣я│я┌п╡п╦п╣ п╡п╬ п╡я─п╣п╪п╣п╫п╦ п╡п╪п╣я│я┌п╣ я│ Subversion
п║п╬п╥п╢п╟п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦
п÷я─п╬я│я┌п╣п╧я┬п╦п╧ я─п╟п╠п╬я┤п╦п╧ я├п╦п╨п╩
п·п╠п╫п╬п╡п╩п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦
п▓п╫п╣я│п╣п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌
п░п╫п╟п╩п╦п╥ п╦п╥п╪п╣п╫п╣п╫п╦п╧
svn status
svn diff
svn revert
п═п╟п╥я─п╣я┬п╣п╫п╦п╣ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡ (п©я─п╦ я│п╩п╦я▐п╫п╦п╦ я│ я┤я┐п╤п╦п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦)
п║п╩п╦я▐п╫п╦п╣ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡ п╡я─я┐я┤п╫я┐я▌
п п╬п©п╦я─п╬п╡п╟п╫п╦п╣ я└п╟п╧п╩п╟ п©п╬п╡п╣я─я┘ п╡п╟я┬п╣пЁп╬ я─п╟п╠п╬я┤п╣пЁп╬ я└п╟п╧п╩п╟
п≤я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ svn revert
п╓п╦п╨я│п╟я├п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧
п░п╫п╟п╩п╦п╥ п╦я│я┌п╬я─п╦п╦
svn log
svn diff
п░п╫п╟п╩п╦п╥ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧
п║я─п╟п╡п╫п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪
п║я─п╟п╡п╫п╣п╫п╦п╣ я┘я─п╟п╫п╦п╩п╦я┴п╟ я│ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪
svn cat
svn list
п≈п╟п╨п╩я▌я┤п╦я┌п╣п╩я▄п╫п╬п╣ я│п╩п╬п╡п╬ п╬п╠ п╦я│я┌п╬я─п╦п╦
п■я─я┐пЁп╦п╣ п©п╬п╩п╣п╥п╫я▀п╣ п╨п╬п╪п╟п╫п╢я▀
svn cleanup
svn import
п÷п╬п╢п╡п╬п╢я▐ п╦я┌п╬пЁп╦
3. п÷я─п╬я└п╣я│я│п╦п╬п╫п╟п╩я▄п╫п╬п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ Subversion
п║п©п╬я│п╬п╠я▀ п╬п╠п╬п╥п╫п╟я┤п╣п╫п╦я▐ п©я─п╟п╡п╬п╨
п п╩я▌я┤п╣п╡я▀п╣ я│п╩п╬п╡п╟ п©я─п╟п╡п╬п╨
п■п╟я┌я▀ п©я─п╟п╡п╬п╨
п║п╡п╬п╧я│я┌п╡п╟
п≈п╟я┤п╣п╪ п╫я┐п╤п╫я▀ я│п╡п╬п╧я│я┌п╡п╟?
п≤я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ я│п╡п╬п╧я│я┌п╡
п║п╡п╬п╧я│я┌п╡п╟ п╦ я─п╟п╠п╬я┤п╦п╧ я├п╦п╨п╩ Subversion
п░п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╟я▐ я┐я│я┌п╟п╫п╬п╡п╨п╟ я│п╡п╬п╧я│я┌п╡
п÷п╣я─п╣п╫п╬я│п╦п╪п╬я│я┌я▄ я└п╟п╧п╩п╬п╡
п╒п╦п© я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬ я└п╟п╧п╩п╟
п≤я│п©п╬п╩п╫п╦п╪п╬я│я┌я▄ я└п╟п╧п╩п╟
п║п╦п╪п╡п╬п╩я▀ п╨п╬п╫я├п╟ я│я┌я─п╬п╨п╦
п÷я─п╬п©я┐я│п╨ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡
п÷п╬п╢я│я┌п╟п╫п╬п╡п╨п╟ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡
Locking
Creating locks
Discovering locks
Breaking and stealing locks
Lock Communication
п▓п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦
п║я┌п╣я─п╤п╫п╣п╡я▀п╣ п╦ п╬п©п╣я─п╟я┌п╦п╡п╫я▀п╣ п©я─п╟п╡п╨п╦
4. п▓п╣я┌п╡п╩п╣п╫п╦п╣ п╦ я│п╩п╦я▐п╫п╦п╣
п╖я┌п╬ я┌п╟п╨п╬п╣ п╡п╣я┌п╨п╟?
п≤я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ п╡п╣я┌п╬п╨
п║п╬п╥п╢п╟п╫п╦п╣ п╡п╣я┌п╨п╦
п═п╟п╠п╬я┌п╟ я│ п╡п╣я┌п╨п╬п╧
п п╩я▌я┤п╣п╡я▀п╣ п╦п╢п╣п╦, я│я┌п╬я▐я┴п╦п╣ п╥п╟ п╡п╣я┌п╨п╟п╪п╦
п п╬п©п╦я─п╬п╡п╟п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╪п╣п╤п╢я┐ п╡п╣я┌п╨п╟п╪п╦
п п╬п©п╦я─п╬п╡п╟п╫п╦п╣ п╬я┌п╢п╣п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧
п п╩я▌я┤п╣п╡я▀п╣ п╦п╢п╣п╦, я│я┌п╬я▐я┴п╦п╣ п╥п╟ я│п╩п╦я▐п╫п╦п╣п╪
п п╟п╨ п©я─п╟п╡п╦п╩я▄п╫п╣п╣ п╡я│п╣пЁп╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я│п╩п╦я▐п╫п╦п╣
п═я┐я┤п╫п╬п╧ п╨п╬п╫я┌я─п╬п╩я▄ я│п╩п╦я▐п╫п╦я▐
п÷я─п╣п╢п╡п╟я─п╦я┌п╣п╩я▄п╫я▀п╧ п©я─п╬я│п╪п╬я┌я─ я─п╣п╥я┐п╩я▄я┌п╟я┌п╬п╡ я│п╩п╦я▐п╫п╦я▐
п п╬п╫я└п╩п╦п╨я┌я▀ п©я─п╦ я│п╩п╦я▐п╫п╦п╦
пёя┤п╦я┌я▀п╡п╟я┌я▄ п╦п╩п╦ п╦пЁп╫п╬я─п╦я─п╬п╡п╟я┌я▄ п©я─п╬п╦я│я┘п╬п╤п╢п╣п╫п╦п╣
п╒п╦п©п╬п╡я▀п╣ п©я─п╦п╪п╣я─я▀
п÷п╬п╩п╫п╬п╣ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╣ п╢п╡я┐я┘ п╡п╣я┌п╬п╨
п·я┌п╪п╣п╫п╟ п╦п╥п╪п╣п╫п╣п╫п╦п╧
п▓п╬я│я│я┌п╟п╫п╬п╡п╩п╣п╫п╦п╣ я┐п╢п╟п╩п╣п╫п╫я▀я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡
п╒п╦п©п╬п╡я▀п╣ п©я─п╦п╣п╪я▀ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╡п╣я┌п╬п╨
п▓п╣я┌п╨п╦ я─п╣п╩п╦п╥п╬п╡
п╓я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫я▀п╣ п╡п╣я┌п╨п╦
п÷п╣я─п╣п╨п╩я▌я┤п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦
п°п╣я┌п╨п╦
п║п╬п╥п╢п╟п╫п╦п╣ п©я─п╬я│я┌п╬п╧ п╪п╣я┌п╨п╦
п║п╬п╥п╢п╟п╫п╦п╣ п╨п╬п╪п©п╩п╣п╨я│п╫п╬п╧ п╪п╣я┌п╨п╦
п÷п╬п╢п╢п╣я─п╤п╨п╟ п╡п╣я┌п╬п╨
п║я┌я─я┐п╨я┌я┐я─п╟ я┘я─п╟п╫п╦п╩п╦я┴п╟
п÷я─п╬п╢п╬п╩п╤п╦я┌п╣п╩я▄п╫п╬я│я┌я▄ п╤п╦п╥п╫п╦ п╦п╫я└п╬я─п╪п╟я├п╦п╦
Vendor branches
General Vendor Branch Management Procedure
svn_load_dirs.pl
п÷п╬п╢п╡п╬п╢я▐ п╦я┌п╬пЁп╦
5. п░п╢п╪п╦п╫п╦я│я┌я─п╦я─п╬п╡п╟п╫п╦п╣ я┘я─п╟п╫п╦п╩п╦я┴п╟
Repository Basics
Understanding Transactions and Revisions
Unversioned Properties
Repository Data Stores
Berkeley DB
FSFS
Repository Creation and Configuration
Hook Scripts
Berkeley DB Configuration
Repository Maintenance
An Administrator's Toolkit
svnlook
svnadmin
svndumpfilter
Berkeley DB Utilities
Repository Cleanup
Managing Disk Space
Repository Recovery
Migrating a Repository
Repository Backup
Adding Projects
Choosing a Repository Layout
Creating the Layout, and Importing Initial Data
Summary
6. п²п╟я│я┌я─п╬п╧п╨п╟ я│п╣я─п╡п╣я─п╟
п·п╠п╥п╬я─
Http-я│п╣я─п╡п╣я─ Apache
п║п╣я─п╡п╣я─ svnserve
svnserve я┤п╣я─п╣п╥ SSH
п▓я▀п╠п╬я─ п╩я┐я┤я┬п╣п╧ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ я│п╣я─п╡п╣я─п╟
п║п╣я┌п╣п╡п╟я▐ п╪п╬п╢п╣п╩я▄
п≈п╟п©я─п╬я│я▀ п╦ п╬я┌п╨п╩п╦п╨п╦
п я█я┬п╦я─п╬п╡п╟п╫п╦п╣ п╨п╩п╦п╣п╫я┌я│п╨п╬п╧ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦
п║п╬п╠я│я┌п╡п╣п╫п╫я▀п╧ я│п╣я─п╡п╣я─ svnserve
п≈п╟п©я┐я│п╨ п║п╣я─п╡п╣я─п╟
п▓я│я┌я─п╬п╣п╫п╫п╟я▐ п╟я┐я┌п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▐ п╦ п╟п╡я┌п╬я─п╦п╥п╟я├п╦я▐
п║п╬п╥п╢п╟п╫п╦п╣ я└п╟п╧п╩п╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п╦ п╬п╠п╩п╟я│я┌я▄ я┘я─п╟п╫п╦п╩п╦я┴п╟
пёя│я┌п╟п╫п╬п╡п╨п╟ п╨п╬п╫я┌я─п╬п╩я▐ п╢п╬я│я┌я┐п©п╟
SSH п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▐ п╦ п╟п╡я┌п╬я─п╦п╥п╟я├п╦я▐
п╒я─я▌п╨п╦ п╨п╬п╫я└п╦пЁя┐я─п╦я─п╬п╡п╟п╫п╦я▐ SSH
п²п╟я┤п╟п╩я▄п╫п╟я▐ п╫п╟я│я┌я─п╬п╧п╨п╟
Controlling the invoked command
httpd, the Apache HTTP server
Prerequisites
Basic Apache Configuration
Authentication Options
Basic HTTP Authentication
SSL Certificate Management
Authorization Options
Blanket Access Control
Per-Directory Access Control
Disabling Path-based Checks
Extra Goodies
Repository Browsing
Other Features
Path-Based Authorization
Supporting Multiple Repository Access Methods
7. п÷я─п╬я└п╣я│я│п╦п╬п╫п╟п╩я▄п╫п╟я▐ п╫п╟я│я┌я─п╬п╧п╨п╟ Subversion
п÷п╟я─п╟п╪п╣я┌я─я▀ п╡я─п╣п╪п╣п╫п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐
п║я┌я─я┐п╨я┌я┐я─п╟ п╬п╠п╩п╟я│я┌п╦ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦
п п╬п╫я└п╦пЁя┐я─п╟я├п╦я▐ п╦ я─п╣п╣я│я┌я─ Windows
п÷п╟я─п╟п╪п╣я┌я─я▀ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦
Servers
Config
Localization
Understanding locales
Subversion's use of locales
Using External Differencing Tools
External diff
External diff3
8. п≤п╫я└п╬я─п╪п╟я├п╦я▐ п╢п╩я▐ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡
Layered Library Design
Repository Layer
Repository Access Layer
RA-DAV (Repository Access Using HTTP/DAV)
RA-SVN (Custom Protocol Repository Access)
RA-Local (Direct Repository Access)
Your RA Library Here
Client Layer
Using the APIs
The Apache Portable Runtime Library
URL and Path Requirements
Using Languages Other than C and C++
Inside the Working Copy Administration Area
The Entries File
Pristine Copies and Property Files
WebDAV
9. п÷п╬п╩п╫п╬п╣ я│п©я─п╟п╡п╬я┤п╫п╬п╣ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п©п╬ Subversion
п п╩п╦п╣п╫я┌ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ Subversion: svn
п÷п╟я─п╟п╪п╣я┌я─я▀ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦svn
п÷п╬п╢п╨п╬п╪п╟п╫п╢я▀ svn
svn add
svn blame
svn cat
svn checkout
svn cleanup
svn commit
svn copy
svn delete
svn diff
svn export
svn help
svn import
svn info
svn list
svn lock
svn log
svn merge
svn mkdir
svn move
svn propdel
svn propedit
svn propget
svn proplist
svn propset
svn resolved
svn revert
svn status
svn switch
svn unlock
svn update
svnadmin
svnadmin Switches
svnadmin Subcommands
svnadmin create
svnadmin deltify
svnadmin dump
svnadmin help
svnadmin hotcopy
svnadmin list-dblogs
svnadmin list-unused-dblogs
svnadmin load
svnadmin lslocks
svnadmin lstxns
svnadmin recover
svnadmin rmlocks
svnadmin rmtxns
svnadmin setlog
svnadmin verify
svnlook
svnlook Switches
svnlook
svnlook author
svnlook cat
svnlook changed
svnlook date
svnlook diff
svnlook dirs-changed
svnlook help
svnlook history
svnlook info
svnlook lock
svnlook log
svnlook propget
svnlook proplist
svnlook tree
svnlook uuid
svnlook youngest
svnserve
svnserve Switches
svnversion
svnversion
mod_dav_svn
mod_dav_svn Configuration Directives
п║п╡п╬п╧я│я┌п╡п╟ Subversion
п║п╡п╬п╧я│я┌п╡п╟ Subversion
A. п▒я▀я│я┌я─я▀п╧ я│я┌п╟я─я┌ п╡ Subversion
пёя│я┌п╟п╫п╬п╡п╨п╟ Subversion
п▒я▀я│я┌я─я▀п╧ я│я┌п╟я─я┌ п╡ Subversion
B. Subversion п╢п╩я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ CVS
Revision Numbers Are Different Now
Directory Versions
More Disconnected Operations
Distinction Between Status and Update
Status
Update
Branches and Tags
Metadata Properties
Conflict Resolution
Binary Files and Translation
Versioned Modules
Authentication
Converting a Repository from CVS to Subversion
C. WebDAV п╦ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╬п╣ я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦
Basic WebDAV Concepts
Original WebDAV
DeltaV Extensions
Subversion and DeltaV
Autoversioning
Client Interoperability
Standalone WebDAV applications
Microsoft Office, Dreamweaver, Photoshop
Cadaver, DAV Explorer
File-explorer WebDAV extensions
Microsoft Web Folders
Nautilus, Konqueror
WebDAV filesystem implementation
WebDrive, NetDrive
Mac OS X
Linux davfs2
D. п≤п╫я│я┌я─я┐п╪п╣п╫я┌я▀ п╬я┌ я│я┌п╬я─п╬п╫п╫п╦я┘ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡
E. Copyright
п÷я─п╣п╢п╪п╣я┌п╫я▀п╧ я┐п╨п╟п╥п╟я┌п╣п╩я▄
п═я┐я│я│п╨п╦п╧ пЁп╩п╬я│я│п╟я─п╦п╧

п║п©п╦я│п╬п╨ п╦п╩п╩я▌я│я┌я─п╟я├п╦п╧

1. п░я─я┘п╦я┌п╣п╨я┌я┐я─п╟ Subversion
1.1. п╒п╦п©п╦я┤п╫п╟я▐ п╨п╩п╦п╣п╫я┌/я│п╣я─п╡п╣я─п╫п╟я▐ я│п╦я│я┌п╣п╪п╟
1.2. п÷я─п╬п╠п╩п╣п╪п╟ п©п╬я┌п╣я─п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧
1.3. п°п╬п╢п╣п╩я▄ п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я─п╟п╥п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣
1.4. п°п╬п╢п╣п╩я▄ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я│п╩п╦я▐п╫п╦п╣
1.5. п°п╬п╢п╣п╩я▄ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я│п╩п╦я▐п╫п╦п╣ (п©я─п╬п╢п╬п╩п╤п╣п╫п╦п╣)
1.6. п╓п╟п╧п╩п╬п╡п╟я▐ я│п╦я│я┌п╣п╪п╟ я┘я─п╟п╫п╦п╩п╦я┴п╟
1.7. п╔я─п╟п╫п╦п╩п╦я┴п╣
4.1. п▓п╣я┌п╨п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦
4.2. п²п╟я┤п╟п╩я▄п╫п╟я▐ я│я┌я─я┐п╨я┌я┐я─п╟ я┘я─п╟п╫п╦п╩п╦я┴п╟
4.3. п╔я─п╟п╫п╦п╩п╦я┴п╣, я│п╬п╢п╣я─п╤п╟я┴п╣п╣ п╫п╬п╡я┐я▌ п╨п╬п©п╦я▌
4.4. п≤я│я┌п╬я─п╦я▐ п╡п╣я┌п╡п╩п╣п╫п╦я▐ п╢п╩я▐ п╬п╢п╫п╬пЁп╬ я└п╟п╧п╩п╟
8.1. Files and directories in two dimensions
8.2. Versioning timeБ─■the third dimension!

п║п©п╦я│п╬п╨ я┌п╟п╠п╩п╦я├

1.1. URL п╢п╩я▐ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐.
5.1. Repository Data Store Comparison
6.1. п║я─п╟п╡п╫п╣п╫п╦п╣ я│п╣я─п╡п╣я─п╬п╡
8.1. A Brief Inventory of the Subversion Libraries
C.1. Common WebDAV Clients

п║п©п╦я│п╬п╨ п©я─п╦п╪п╣я─п╬п╡

5.1. txn-info.sh (Reporting Outstanding Transactions)
6.1. A sample configuration for anonymous access.
6.2. A sample configuration for authenticated access.
6.3. A sample configuration for mixed authenticated/anonymous access.
6.4. Disabling path checks altogether
7.1. п÷я─п╦п╪п╣я─ я┐п╨п╟п╥п╟п╫п╦я▐ п©п╟я─п╟п╪п╣я┌я─п╬п╡ п╡ (.reg) я└п╟п╧п╩п╣ я─п╣п╣я│я┌я─п╟.
7.2. diffwrap.sh
7.3. diffwrap.bat
7.4. diff3wrap.sh
7.5. diff3wrap.bat
8.1. Using the Repository Layer
8.2. Using the Repository Layer with Python
8.3. A Python Status Crawler
8.4. Contents of a Typical .svn/entries File

п÷я─п╣п╢п╦я│п╩п╬п╡п╦п╣

п п╟я─п╩ п╓п╬пЁп╣п╩я▄

п╖п╦п╨п╟пЁп╬, 14 п╪п╟я─я┌п╟ 2004 пЁ.

п║п╨п╡п╣я─п╫я▀п╧ я│п©п╦я│п╬п╨ п╬я┌п╡п╣я┌п╬п╡ п╫п╟ я┤п╟я│я┌п╬ п╥п╟п╢п╟п╡п╟п╣п╪я▀п╣ п╡п╬п©я─п╬я│я▀ (п╖п╟п▓п╬) я│п╬я│я┌п╬п╦я┌ п╫п╣ п╦п╥ я┌п╣я┘ п╡п╬п©я─п╬я│п╬п╡, п╨п╬я┌п╬я─я▀п╣ п╠я▀п╩п╦ п╥п╟п╢п╟п╫я▀ п╫п╟ я│п╟п╪п╬п╪ п╢п╣п╩п╣, п╟ п╦п╥ я┌п╣я┘, п╫п╟ п╨п╬я┌п╬я─я▀п╣ п╟п╡я┌п╬я─я┐ я┌п╟п╨п╬пЁп╬ я│п©п╦я│п╨п╟ я┘п╬я┌п╣п╩п╬я│я▄ п╠я▀ п╢п╟я┌я▄ п╬я┌п╡п╣я┌. п▓я▀ п╫п╟п╡п╣я─п╫я▐п╨п╟ я│я┌п╟п╩п╨п╦п╡п╟п╩п╦я│я▄ я│ я┤п╣п╪-я┌п╬ п©п╬п╢п╬п╠п╫я▀п╪:

п▓п·п÷п═п·п║: п п╟п╨ Glorbosoft XYZ п©п╬п╪п╬п╤п╣я┌ п©п╬п╢п╫я▐я┌я▄ п©я─п╬п╦п╥п╡п╬п╢п╦я┌п╣п╩я▄п╫п╬я│я┌я▄ я┌я─я┐п╢п╟ п╫п╟я┬п╦я┘ я│п╬я┌я─я┐п╢п╫п╦п╨п╬п╡?

п·п╒п▓п∙п╒: п°п╫п╬пЁп╦п╣ п╫п╟я┬п╦ п╨п╩п╦п╣п╫я┌я▀ я┘п╬я┌я▐я┌ п╥п╫п╟я┌я▄, п╨п╟п╨ п©п╬п╢п╫я▐я┌я▄ п©я─п╬п╦п╥п╡п╬п╢п╦я┌п╣п╩я▄п╫п╬я│я┌я▄ я┌я─я┐п╢п╟ п©я─п╦ п©п╬п╪п╬я┴п╦ п╫п╟я┬п╦я┘ п©п╟я┌п╣п╫я┌п╬п╡п╟п╫п╫я▀я┘ п╬я└п╦я│п╫я▀я┘ п╦п╫п╫п╬п╡п╟я├п╦п╧ п╢п╩я▐ п╨п╬п╩п╩п╣п╨я┌п╦п╡п╫п╬п╧ я─п╟п╠п╬я┌я▀. п·я┌п╡п╣я┌ п©я─п╬я│я┌п╬п╧: п╡я▀п╠п╣я─п╦я┌п╣ п╪п╣п╫я▌ б╚п╓п╟п╧п╩б╩ п╦ п©п╣я─п╣п╧п╢п╦я┌п╣ п╨ п©я┐п╫п╨я┌я┐ б╚п÷п╬п╢п╫я▐я┌я▄б═п©я─п╬п╦п╥п╡п╬п╢п╦я┌п╣п╩я▄п╫п╬я│я┌я▄б╩, п╥п╟я┌п╣п╪Б─╕

п÷я─п╬п╠п╩п╣п╪п╟ п©п╬п╢п╬п╠п╫я▀я┘ п╖п╟п▓п╬ п╥п╟п╨п╩я▌я┤п╟п╣я┌я│я▐ п╡ я┌п╬п╪, я┤я┌п╬ п╬п╫п╦ п╡п╬п╡я│п╣ п╫п╣ я▐п╡п╩я▐я▌я┌я│я▐ п╬я┌п╡п╣я┌п╟п╪п╦ п╫п╟ я┤п╟я│я┌п╬ п╥п╟п╢п╟п╡п╟п╣п╪я▀п╣ п╡п╬п©я─п╬я│я▀ п╡ п╠я┐п╨п╡п╟п╩я▄п╫п╬п╪ я│п╪я▀я│п╩п╣. п п╟п╨п╬п╧ п╫п╬я─п╪п╟п╩я▄п╫я▀п╧ я┤п╣п╩п╬п╡п╣п╨ п╠я┐п╢п╣я┌ п╥п╡п╬п╫п╦я┌я▄ п╡ я│п╩я┐п╤п╠я┐ я┌п╣я┘п╫п╦я┤п╣я│п╨п╬п╧ п©п╬п╢п╢п╣я─п╤п╨п╦ п╦ я│п©я─п╟я┬п╦п╡п╟я┌я▄: б╚п╨п╟п╨ п╫п╟п╪ п©п╬п╢п╫я▐я┌я▄ п©я─п╬п╦п╥п╡п╬п╢п╦я┌п╣п╩я▄п╫п╬я│я┌я▄ я┌я─я┐п╢п╟б╩? п▓п╬п©я─п╬я│я▀, п╨п╬я┌п╬я─я▀п╣ п╬п╠я▀я┤п╫п╬ п╥п╡я┐я┤п╟я┌ п╡ я┌п╟п╨п╦я┘ я│п╩я┐я┤п╟я▐я┘, я┐п╥п╨п╬ я│п©п╣я├п╦п╟п╩п╦п╥п╦я─п╬п╡п╟п╫я▀, п╫п╟п©я─п╦п╪п╣я─: б╚п п╟п╨ п╫п╟я│я┌я─п╬п╦я┌я▄ п╨п╟п╩п╣п╫п╢п╟я─я▄ п╢п╩я▐ п╬я┌п©я─п╟п╡п╨п╦ п╫п╟п©п╬п╪п╦п╫п╟п╫п╦п╧ п╥п╟ п╢п╡п╟ п╢п╫я▐ п╡п╪п╣я│я┌п╬ п╬п╢п╫п╬пЁп╬?б╩. п·п╢п╫п╟п╨п╬, я│п╬п╥п╢п╟я┌я▄ я│п©п╦я│п╬п╨ я▐п╨п╬п╠я▀ п╥п╟п╢п╟п╫п╫я▀я┘ п╡п╬п©я─п╬я│п╬п╡ п╫п╟п╪п╫п╬пЁп╬ п©я─п╬я┴п╣, я┤п╣п╪ п©п╬п╢п╬п╠я─п╟я┌я▄ п╫п╟я│я┌п╬я▐я┴п╦п╣ п╡п╬п©я─п╬я│я▀ п╦п╥ я─п╣п╟п╩я▄п╫п╬п╧ п╤п╦п╥п╫п╦. п╒п╟п╨п╟я▐ я─п╟п╠п╬я┌п╟ я┌я─п╣п╠я┐п╣я┌ я┐п©п╬я─я│я┌п╡п╟ п╦ п╬я─пЁп╟п╫п╦п╥п╬п╡п╟п╫п╫п╬я│я┌п╦: п╡п╬п©я─п╬я│я▀, п╡п╬п╥п╫п╦п╨п╟я▌я┴п╦п╣ п╡ п©я─п╬я├п╣я│я│п╣ п╤п╦п╥п╫п╣п╫п╫п╬пЁп╬ я├п╦п╨п╩п╟ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п©я─п╬п╢я┐п╨я┌п╟, п╦ п╬я┌п╡п╣я┌я▀ п╫п╟ п╫п╦я┘ п╢п╬п╩п╤п╫я▀ п╠п╣я─п╣п╤п╫п╬ я│п╬я┘я─п╟п╫я▐я┌я▄я│я▐ п╦ я│п╦я│я┌п╣п╪п╟я┌п╦п╥п╦я─п╬п╡п╟я┌я▄я│я▐, п©п╬п╨п╟ п╫п╟ п╦я┘ п╬я│п╫п╬п╡п╣ п╫п╣ п╠я┐п╢п╣я┌ я│п╬п╥п╢п╟п╫п╬ п╩п╬пЁп╦я┤п╣я│п╨п╦ я│п╡я▐п╥п╟п╫п╫п╬п╣ п╦ я┐п╢п╬п╠п╫п╬п╣ п╢п╩я▐ п©п╬п╦я│п╨п╟ п╣п╢п╦п╫п╬п╣ я├п╣п╩п╬п╣, п╫п╟п╦п╩я┐я┤я┬п╦п╪ п╬п╠я─п╟п╥п╬п╪ п╬я┌я─п╟п╤п╟я▌я┴п╣п╣ п╬п©я▀я┌ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧. п≈п╢п╣я│я▄ я┌я─п╣п╠я┐п╣я┌я│я▐ я┌п╣я─п©п╣п╩п╦п╡п╬я│я┌я▄ п╦ п╡п╫п╦п╪п╟я┌п╣п╩я▄п╫п╬я│я┌я▄, п©я─п╦я│я┐я┴п╦п╣ п╣я│я┌п╣я│я┌п╡п╬п╦я│п©я▀я┌п╟я┌п╣п╩я▌, п╟ п╫п╣ п╡п╣п╩п╦п╨п╦п╣ пЁп╦п©п╬я┌п╣п╥я▀ п╦ п©я─п╬п╡п╦п╢я┤п╣я│п╨п╦п╣ п╥п╟я▐п╡п╩п╣п╫п╦я▐. п⌠п╩п╟п╡п╫п╬п╣ п╡ я█я┌п╬п╧ я─п╟п╠п╬я┌п╣ Б─■ п╬я┌п╨я─я▀я┌я▀п╣ пЁп╩п╟п╥п╟ п╦ п╟п╨п╨я┐я─п╟я┌п╫п╬п╣ п╬я┌п╫п╬я┬п╣п╫п╦п╣ п╨ п╥п╟п©п╦я│я▐п╪ п╡ п╠п╩п╬п╨п╫п╬я┌п╣.

п▓ я█я┌п╬п╧ п╨п╫п╦пЁп╣ п╪п╫п╣ п╠п╬п╩я▄я┬п╣ п╡я│п╣пЁп╬ п╫я─п╟п╡п╦я┌я│я▐ я┌п╬, я┤я┌п╬ п╬п╫п╟ п╦п╪п╣п╫п╫п╬ я┌п╟п╨ п╦ п╠я▀п╩п╟ п╫п╟п©п╦я│п╟п╫п╟, п╦ я█я┌п╬ п╥п╟п╪п╣я┌п╫п╬ п╫п╟ п╨п╟п╤п╢п╬п╧ п╣я▒ я│я┌я─п╟п╫п╦я├п╣. п·п╫п╟ я▐п╡п╩я▐п╣я┌я│я▐ п╫п╣п©п╬я│я─п╣п╢я│я┌п╡п╣п╫п╫я▀п╪ я─п╣п╥я┐п╩я▄я┌п╟я┌п╬п╪ п╬п╠я┴п╣п╫п╦я▐ п╟п╡я┌п╬я─п╬п╡ я│ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪п╦. п п╫п╦пЁп╟ п╫п╟я┤п╟п╩п╟я│я▄ я│ я┌п╬пЁп╬, я┤я┌п╬ п▒п╣п╫ п п╬п╩п╩п╦п╫п╥-п║п╟я│я│п╪п╟п╫ п╨п╟п╨-я┌п╬ я─п╟п╥ п╥п╟п╪п╣я┌п╦п╩ п╡ я─п╟я│я│я▀п╩п╨п╣ Subversion, я┤я┌п╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╡я│я▒ п╡я─п╣п╪я▐ п╥п╟п╢п╟я▌я┌ п╬п╢п╫п╦ п╦ я┌п╣ п╤п╣ п╡п╬п©я─п╬я│я▀: п╨п╟п╨п╬пЁп╬ п©п╬я─я▐п╢п╨п╟ п╢п╣п╧я│я┌п╡п╦п╧ я│п╩п╣п╢я┐п╣я┌ п©я─п╦п╢п╣я─п╤п╦п╡п╟я┌я▄я│я▐ п©я─п╦ я─п╟п╠п╬я┌п╣ я│ Subversion; п╣я│я┌я▄ п╩п╦ п╬я┌п╩п╦я┤п╦я▐ п╬я┌ п╢я─я┐пЁп╦я┘ я│п╦я│я┌п╣п╪ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ п©я─п╦ я─п╟п╠п╬я┌п╣ я│ п╡п╣я┌п╨п╟п╪п╦ п╦ п╪п╣я┌п╨п╟п╪п╦; п╨п╟п╨ я┐п╥п╫п╟я┌я▄, п╨п╣п╪ п╠я▀п╩п╬ п╡я▀п©п╬п╩п╫п╣п╫п╬ я┌п╬ п╦п╩п╦ п╦п╫п╬п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╣?

пёя│я┌п╟п╡ п╬я┌ п╣п╤п╣п╢п╫п╣п╡п╫п╬пЁп╬ п©я─п╬я│п╪п╬я┌я─п╟ п╬п╢п╫п╦я┘ п╦ я┌п╣я┘ п╤п╣ п╡п╬п©я─п╬я│п╬п╡, п▒п╣п╫ п©я─п╬п╡я▒п╩ п╪п╣я│я▐я├ п╡ п╫п╟п©я─я▐п╤я▒п╫п╫п╬п╧ я─п╟п╠п╬я┌п╣, п╦ п╩п╣я┌п╬п╪ 2002 пЁп╬п╢п╟ п©п╬я▐п╡п╦п╩п╬я│я▄ п═я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п©п╬ Subversion Б─■ п╢п╬п╨я┐п╪п╣п╫я┌, п╡ п╨п╬я┌п╬я─п╬п╪ п╫п╟ 60 я│я┌я─п╟п╫п╦я├п╟я┘ п╬п©п╦я│я▀п╡п╟п╩п╦я│я▄ п╡я│п╣ п╬я│п╫п╬п╡п╫я▀п╣ п©я─п╦я▒п╪я▀ я─п╟п╠п╬я┌я▀ я│ Subversion. п╜я┌п╬ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п╫п╣ п©я─п╣я┌п╣п╫п╢п╬п╡п╟п╩п╬ п╫п╟ п©п╬п╩п╫п╬я┌я┐, п╫п╬ п╬п╫п╬ п╠я▀п╩п╬ п╡п╨п╩я▌я┤п╣п╫п╬ п╡ п©п╬я│я┌п╟п╡п╨я┐ Subversion п╦ п©п╬п╪п╬пЁп╟п╩п╬ п©я─п╣п╬п╢п╬п╩п╣я┌я▄ п╫п╟я┤п╦п╫п╟я▌я┴п╦п╪ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪ п©п╣я─п╡я▀п╣ я┌я─я┐п╢п╫п╬я│я┌п╦, я│ п╨п╬я┌п╬я─я▀п╪п╦ п╬п╫п╦ я│я┌п╟п╩п╨п╦п╡п╟п╩п╦я│я▄. п÷п╬я│п╩п╣ я┌п╬пЁп╬, п╨п╟п╨ п╦п╥п╢п╟я┌п╣п╩я▄я│я┌п╡п╬ O'Reilly and Associates я─п╣я┬п╦п╩п╬ п╡я▀п©я┐я│я┌п╦я┌я▄ п©п╬п╩п╫п╬я├п╣п╫п╫я┐я▌ п╨п╫п╦пЁя┐ п╬ Subversion, п©я┐я┌я▄ п╫п╟п╦п╪п╣п╫я▄я┬п╣пЁп╬ я│п╬п©я─п╬я┌п╦п╡п╩п╣п╫п╦я▐ п╠я▀п╩ п╬я┤п╣п╡п╦п╢п╣п╫: п╫я┐п╤п╫п╬ п╠я▀п╩п╬ п©я─п╬я│я┌п╬ я─п╟я│я┬п╦я─п╦я┌я▄ п═я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п©п╬ Subversion.

п╒п╟п╨п╦п╪ п╬п╠я─п╟п╥п╬п╪, я┌я─п╦ я│п╬п╟п╡я┌п╬я─п╟ п╫п╬п╡п╬п╧ п╨п╫п╦пЁп╦ п©п╬п╩я┐я┤п╦п╩п╦ п╫п╣п╬п╠я▀я┤п╫я┐я▌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄. п║ п╬п╢п╫п╬п╧ я│я┌п╬я─п╬п╫я▀, п©п╣я─п╣п╢ п╫п╦п╪п╦ п╠я▀п╩п╟ п©п╬я│я┌п╟п╡п╩п╣п╫п╟ п╥п╟п╢п╟я┤п╟ п╫п╟п©п╦я│п╟я┌я▄ п╨п╫п╦пЁя┐ п╡ п╬п╠я▀я┤п╫п╬п╪ я│п╪я▀я│п╩п╣ я│п╩п╬п╡п╟, п╬я┌ п╟п╡я┌п╬я─п╟ п╨ я┤п╦я┌п╟я┌п╣п╩я▌, п╫п╟я┤п╦п╫п╟я▐ я│ я│п╬п╢п╣я─п╤п╟п╫п╦я▐ п╦ п©п╣я─п╡п╬пЁп╬ я┤п╣я─п╫п╬п╡п╦п╨п╟. п²п╬, я│ п╢я─я┐пЁп╬п╧ я│я┌п╬я─п╬п╫я▀, я┐ п╫п╦я┘ я┌п╟п╨п╤п╣ п╠я▀п╩п╟ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╬п╠я─п╟я┴п╟я┌я▄я│я▐ я┐ я┐я│я┌п╬п╧я┤п╦п╡п╬п╪я┐ п©п╬я┌п╬п╨я┐ Б─■ п╢п╟ я┤я┌п╬ я┌п╟п╪ пЁп╬п╡п╬я─п╦я┌я▄, п╨ п╫п╣я┐п©я─п╟п╡п╩я▐п╣п╪п╬п╪я┐ я└п╬п╫я┌п╟п╫я┐ Б─■ п╪п╟я┌п╣я─п╦п╟п╩я┐, п©п╬я│я┌я┐п©п╟я▌я┴п╣п╪я┐ п╬я┌ п╠я┐п╢я┐я┴п╦я┘ я┤п╦я┌п╟я┌п╣п╩п╣п╧. Subversion я┐п╤п╣ п╠я▀п╩ п╡ я┌п╬ п╡я─п╣п╪я▐ п╡ я─я┐п╨п╟я┘ я┌я▀я│я▐я┤ п©п╣я─п╡я▀я┘ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧, п╨п╬я┌п╬я─я▀п╣ п╢п╟п╡п╟п╩п╦ п╪п╫п╬п╤п╣я│я┌п╡п╬ п╬я┌п╥я▀п╡п╬п╡ п╫п╣ я┌п╬п╩я▄п╨п╬ п╬ я│п╟п╪п╬п╪ Subversion, п╫п╬ п╦ п╬ п╢п╬п╨я┐п╪п╣п╫я┌п╟я├п╦п╦ п╨ п╫п╣п╪я┐.

п÷п╬п╨п╟ я┬п╩п╟ я─п╟п╠п╬я┌п╟ п╫п╟п╢ п╨п╫п╦пЁп╬п╧, п▒п╣п╫, п°п╟п╧п╨ п╦ п▒я─п╟п╧п╟п╫ п©п╬я│я┌п╬я▐п╫п╫п╬ п╬я┌я│п╩п╣п╤п╦п╡п╟п╩п╦ я─п╟я│я│я▀п╩п╨п╦ п╦ я┤п╟я┌я▀, я│п╨я─я┐п©я┐п╩я▒п╥п╫п╬ п╬я┌п╪п╣я┤п╟я▐ п©я─п╬п╠п╩п╣п╪я▀, я│ п╨п╬я┌п╬я─я▀п╪п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ я│я┌п╟п╩п╨п╦п╡п╟п╩п╦я│я▄ п╡ я─п╣п╟п╩я▄п╫я▀я┘ п╤п╦п╥п╫п╣п╫п╫я▀я┘ я│п╦я┌я┐п╟я├п╦я▐я┘. п°п╬п╫п╦я┌п╬я─п╦п╫пЁ п©п╬п╢п╬п╠п╫я▀я┘ п╬я┌п╥я▀п╡п╬п╡ п╡я┘п╬п╢п╦п╩ п╡ п╦я┘ я│п╩я┐п╤п╣п╠п╫я▀п╣ п╬п╠я▐п╥п╟п╫п╫п╬я│я┌п╦ п╡ CollabNet, п╫п╬ п╡ п╢п╟п╫п╫п╬п╪ я│п╩я┐я┤п╟п╣ я█я┌п╟ я─п╟п╠п╬я┌п╟ п╬п╨п╟п╥п╟п╩п╟я│я▄ п╫п╣п╬я├п╣п╫п╦п╪п╬п╧ п©я─п╦ п©п╬п╢пЁп╬я┌п╬п╡п╨п╣ п╢п╬п╨я┐п╪п╣п╫я┌п╟я├п╦п╦ п╨ Subversion. п▓ п╬я│п╫п╬п╡я┐ п╫п╟п©п╦я│п╟п╫п╫п╬п╧ п╦п╪п╦ п╨п╫п╦пЁп╦ п©п╬п╩п╬п╤п╣п╫ я┌п╡я▒я─п╢я▀п╧ я└я┐п╫п╢п╟п╪п╣п╫я┌ п╬п©я▀я┌п╟, п╟ п╫п╣ п╥я▀п╠я┐я┤п╦п╣ п©п╣я│п╨п╦ п©я─п╦п╫я▐я┌п╦я▐ п╤п╣п╩п╟п╣п╪п╬пЁп╬ п╥п╟ п╢п╣п╧я│я┌п╡п╦я┌п╣п╩я▄п╫п╬п╣; п╡ я█я┌п╬п╧ п╨п╫п╦пЁп╣ я│п╬п╣п╢п╦п╫я▐я▌я┌я│я▐ п╩я┐я┤я┬п╦п╣ п╨п╟я┤п╣я│я┌п╡п╟ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╦ я│п©п╦я│п╨п╟ п╖п╟п▓п╬. п╜я┌п╟ п╢п╡п╬п╧я│я┌п╡п╣п╫п╫п╬я│я┌я▄ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ п╫п╣п╥п╟п╪п╣я┌п╫п╟ п©я─п╦ п©п╣я─п╡п╬п╪ п©я─п╬я┤я┌п╣п╫п╦п╦ п╨п╫п╦пЁп╦. п÷я─п╦ я┤я┌п╣п╫п╦п╦ п╨п╫п╦пЁп╦ п©п╬ п©п╬я─я▐п╢п╨я┐, п╬я┌ п╨п╬я─п╨п╦ п╢п╬ п╨п╬я─п╨п╦, я│п╬п╥п╢п╟я▒я┌я│я▐ п╬я┴я┐я┴п╣п╫п╦п╣, я┤я┌п╬ п©п╣я─п╣п╢ п╫п╟п╪п╦ п©я─я▐п╪п╬п╩п╦п╫п╣п╧п╫п╬п╣ п╬п©п╦я│п╟п╫п╦п╣ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п©я─п╬п╢я┐п╨я┌п╟. п²п╟п╪ п©я─п╣п╢п╩п╟пЁп╟я▌я┌ п╬п╠я┴п╦п╧ п╬п╠п╥п╬я─, п╫п╣п©я─п╣п╪п╣п╫п╫я▀п╧ п╡ я┌п╟п╨п╦я┘ я│п╩я┐я┤п╟я▐я┘ п╡п╡п╬п╢п╫я▀п╧ п╨я┐я─я│, пЁп╩п╟п╡я┐ п©п╬ п╟п╢п╪п╦п╫п╦я│я┌я─п╦я─п╬п╡п╟п╫п╦я▌, п╫п╣я│п╨п╬п╩я▄п╨п╬ я┌п╣п╪ п╢п╩я▐ п©я─п╬п╢п╡п╦п╫я┐я┌я▀я┘ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п╦, я│п╟п╪п╬ я│п╬п╠п╬п╧, я│п©я─п╟п╡п╬я┤п╫п╦п╨ п©п╬ п╨п╬п╪п╟п╫п╢п╟п╪ п╦ я│п©п╬я│п╬п╠я▀ я┐я│я┌я─п╟п╫п╣п╫п╦я▐ п©я─п╬п╠п╩п╣п╪. п⌡п╦я┬я▄ п╡п╬п╥п╡я─п╟я┴п╟я▐я│я▄ п╨ я█я┌п╬п╧ п╨п╫п╦пЁп╣ я│п╫п╬п╡п╟ п╦ я│п╫п╬п╡п╟, п╡я▀ я│п╪п╬п╤п╣я┌п╣ п╬я├п╣п╫п╦я┌я▄ п╣я▒ я│п╟п╪п╬п╠я▀я┌п╫п╬я│я┌я▄: п╬я┌п╩п╦я┤п╦я┌п╣п╩я▄п╫я▀п╣ п©п╬п╢я─п╬п╠п╫п╬я│я┌п╦, п╨п╬я┌п╬я─я▀п╣ п╪п╬пЁя┐я┌ п©п╬я▐п╡п╦я┌я▄я│я▐ п╩п╦я┬я▄ п©я─п╦ п╡я│я┌я─п╣я┤п╣ я│ п╫п╣п╬п╤п╦п╢п╟п╫п╫я▀п╪п╦ я│п╦я┌я┐п╟я├п╦я▐п╪п╦, п©я─п╦п╪п╣я─я▀, п╡п╥я▐я┌я▀п╣ п╦п╥ п╤п╦п╥п╫п╦ п╦, я│п╟п╪п╬п╣ пЁп╩п╟п╡п╫п╬п╣, п╡п╫п╦п╪п╟я┌п╣п╩я▄п╫п╬я│я┌я▄ п╨ п╫я┐п╤п╢п╟п╪ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п╦ п╦я┘ я┌п╬я┤п╨п╣ п╥я─п╣п╫п╦я▐.

п п╬п╫п╣я┤п╫п╬, п╫п╦п╨я┌п╬ п╫п╣ п╪п╬п╤п╣я┌ п©п╬п╬п╠п╣я┴п╟я┌я▄, я┤я┌п╬ я█я┌п╟ п╨п╫п╦пЁп╟ п╬я┌п╡п╣я┌п╦я┌ п╫п╟ п╡я│п╣ п╡п╟я┬п╦ п╡п╬п©я─п╬я│я▀ п╬ Subversion. п≤п╫п╬пЁп╢п╟ я┌п╬я┤п╫п╬я│я┌я▄, я│ п╨п╬я┌п╬я─п╬п╧ п╨п╫п╦пЁп╟ п©я─п╣п╢п╡п╬я│я┘п╦я┴п╟п╣я┌ п╡п╟я┬п╦ п╡п╬п©я─п╬я│я▀, п╪п╬п╤п╣я┌ п©п╬п╨п╟п╥п╟я┌я▄я│я▐ я┌п╣п╩п╣п©п╟я┌п╦я┤п╣я│п╨п╬п╧, п╫п╬ п╡п©п╬п╩п╫п╣ п╪п╬п╤п╣я┌ я│п╩я┐я┤п╦я┌я▄я│я▐ п╦ я┌п╟п╨, я┤я┌п╬ п╡я▀ я│я┌п╬п╩п╨п╫я▒я┌п╣я│я▄ я│ п©я─п╬п╠п╣п╩п╬п╪ п╡ п╨п╬п╩п╩п╣п╨я┌п╦п╡п╫п╬п╪ п╥п╫п╟п╫п╦п╦ я│п╬п╬п╠я┴п╣я│я┌п╡п╟ п╦ я┐п╧п╢я▒я┌п╣ я│ п©я┐я│я┌я▀п╪п╦ я─я┐п╨п╟п╪п╦. п⌡я┐я┤я┬п╣п╣, я┤я┌п╬ п╪п╬п╤п╫п╬ я│п╢п╣п╩п╟я┌я▄ п╡ я┌п╟п╨п╬п╧ я│п╦я┌я┐п╟я├п╦п╦ Б─■ п╬я┌п©я─п╟п╡п╦я┌я▄ п©п╦я│я▄п╪п╬ п╫п╟ п╟п╢я─п╣я│ я│ п╬п©п╦я│п╟п╫п╦п╣п╪ п╡п╟я┬п╣п╧ п©я─п╬п╠п╩п╣п╪я▀. п░п╡я┌п╬я─я▀ п©п╬-п©я─п╣п╤п╫п╣п╪я┐ я┤п╦я┌п╟я▌я┌ я█я┌я┐ я─п╟я│я│я▀п╩п╨я┐, п╬п╫п╦ п╡п╫п╦п╪п╟я┌п╣п╩я▄п╫п╬ п╫п╟п╠п╩я▌п╢п╟я▌я┌ п╥п╟ п╡п╬п©я─п╬я│п╟п╪п╦, п╦, п╨я─п╬п╪п╣ я┌п╬пЁп╬, я│п╬п╬п╠я┴п╣я│я┌п╡п╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п╫п╣ п╬пЁя─п╟п╫п╦я┤п╦п╡п╟п╣я┌я│я▐ я┌я─п╣п╪я▐ п╩я▌п╢я▄п╪п╦, п╦п╪п╣п╫п╟ п╨п╬я┌п╬я─я▀я┘ п╡я▀п╫п╣я│п╣п╫я▀ п╫п╟ п╬п╠п╩п╬п╤п╨я┐ я█я┌п╬п╧ п╨п╫п╦пЁп╦ Б─■ п╪п╫п╬пЁп╦п╣ п©п╬п╢п©п╦я│я┤п╦п╨п╦ я─п╟я│я│я▀п╩п╨п╦ я┌п╟п╨п╤п╣ п©п╬п╪п╬пЁп╟я▌я┌ п╡п╫п╬я│п╦я┌я▄ п╦я│п©я─п╟п╡п╩п╣п╫п╦я▐ п╦ п©я─п╣п╢п╩п╟пЁп╟я▌я┌ п╫п╬п╡я▀п╧ п╪п╟я┌п╣я─п╦п╟п╩ п╢п╩я▐ п╨п╫п╦пЁп╦. п║ я┌п╬я┤п╨п╦ п╥я─п╣п╫п╦я▐ я│п╬п╬п╠я┴п╣я│я┌п╡п╟, я─п╣я┬п╣п╫п╦п╣ п╡п╟я┬п╣п╧ п╨п╬п╫п╨я─п╣я┌п╫п╬п╧ п©я─п╬п╠п╩п╣п╪я▀ Б─■ я█я┌п╬ п╩п╦я┬я▄ п©я─п╦я▐я┌п╫я▀п╧ п©п╬п╠п╬я┤п╫я▀п╧ я█я└я└п╣п╨я┌ п╥п╫п╟я┤п╦я┌п╣п╩я▄п╫п╬ п╠п╬п╩п╣п╣ п╬п╠я┬п╦я─п╫п╬пЁп╬ п©я─п╬п╣п╨я┌п╟, п╟ п╦п╪п╣п╫п╫п╬, п©п╬я│я┌п╣п©п╣п╫п╫п╬пЁп╬ п╦я│п©я─п╟п╡п╩п╣п╫п╦я▐ п╢п╟п╫п╫п╬п╧ п╨п╫п╦пЁп╦ п╦ я│п╟п╪п╬пЁп╬ Subversion я│ я┌п╣п╪, я┤я┌п╬п╠я▀ п╨п╟п╨ п╪п╬п╤п╫п╬ п╠п╩п╦п╤п╣ я│п╬п╬я┌п╡п╣я┌я│я┌п╡п╬п╡п╟я┌я▄ п©я─п╟п╨я┌п╦п╨п╣. п╜я┌п╦ п╩я▌п╢п╦ я│ я┐п╢п╬п╡п╬п╩я▄я│я┌п╡п╦п╣п╪ п╡я▀я│п╩я┐я┬п╟я▌я┌ п╡п╟я│ п╫п╣ я┌п╬п╩я▄п╨п╬ п©п╬я┌п╬п╪я┐, я┤я┌п╬ п╪п╬пЁя┐я┌ п©п╬п╪п╬я┤я▄, п╫п╬ п╦ п©п╬я┌п╬п╪я┐, я┤я┌п╬ п╡я▀ п╪п╬п╤п╣я┌п╣ п©п╬п╪п╬я┤я▄ п╦п╪. п÷я─п╦ я─п╟п╠п╬я┌п╣ я│ Subversion, п╨п╟п╨ п╦ я│ п╩я▌п╠я▀п╪ п╢я─я┐пЁп╦п╪ п╠я┐я─п╫п╬ я─п╟п╥п╡п╦п╡п╟я▌я┴п╦п╪я│я▐ я│п╡п╬п╠п╬п╢п╫я▀п╪ п©я─п╬пЁя─п╟п╪п╪п╫я▀п╪ п╬п╠п╣я│п©п╣я┤п╣п╫п╦п╣п╪, п╡я▀ п╫п╣ п╠я┐п╢п╣я┌п╣ я┤я┐п╡я│я┌п╡п╬п╡п╟я┌я▄ я│п╣п╠я▐ п╬п╢п╦п╫п╬п╨п╦п╪.

п÷я┐я│я┌я▄ я█я┌п╟ п╨п╫п╦пЁп╟ п╠я┐п╢п╣я┌ п╡п╟я┬п╦п╪ п╡п╣я─п╫я▀п╪ п©п╬п╪п╬я┴п╫п╦п╨п╬п╪.

п·п╠ я█я┌п╬п╧ п╨п╫п╦пЁп╣

б═

б╚It is important not to let the perfect become the enemy of the good, even when you can agree on what perfect is. Doubly so when you can't. As unpleasant as it is to be trapped by past mistakes, you can't make any progress by being afraid of your own shadow during design.б╩

б═
б═--Greg Hudson

п▓ п╪п╦я─п╣ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐ я│ п╬я┌п╨я─я▀я┌я▀п╪ п╦я│я┘п╬п╢п╫я▀п╪ п╨п╬п╢п╬п╪ п╡ п╨п╟я┤п╣я│я┌п╡п╣ п╦п╫я│я┌я─я┐п╪п╣п╫я┌п╟ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ п╢п╬п╩пЁп╬п╣ п╡я─п╣п╪я▐ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╩п╟я│я▄ Concurrent Versions System[1] (CVS). п²п╟ я█я┌п╬ п╠я▀п╩п╦ я│п╡п╬п╦ п©я─п╦я┤п╦п╫я▀. CVS я│п╟п╪п╟ п©п╬ я│п╣п╠п╣ я▐п╡п╩я▐п╣я┌я│я▐ я│п╡п╬п╠п╬п╢п╫я▀п╪ п©я─п╬пЁя─п╟п╪п╪п╫я▀п╪ п╬п╠п╣я│п©п╣я┤п╣п╫п╦п╣п╪, п╫п╟ я─п╟п╠п╬я┌я┐ я│ п╫п╣п╧ п╫п╣ п╫п╟п╨п╩п╟п╢я▀п╡п╟п╣я┌я│я▐ п╬пЁя─п╟п╫п╦я┤п╣п╫п╦п╧, п╟ п©п╬п╢п╢п╣я─п╤п╨п╟ я│п╣я┌п╣п╡я▀я┘ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╣п╧ п©п╬п╥п╡п╬п╩я▐п╣я┌ п╢п╣я│я▐я┌п╨п╟п╪ пЁп╣п╬пЁя─п╟я└п╦я┤п╣я│п╨п╦ я─п╟п╥п╢п╣п╩я▒п╫п╫я▀я┘ п©я─п╬пЁя─п╟п╪п╪п╦я│я┌п╬п╡ я─п╟п╠п╬я┌п╟я┌я▄ я│п╬п╡п╪п╣я│я┌п╫п╬ Б─■ п╡я│я▒ я█я┌п╬ п╬я┌п╩п╦я┤п╫п╬ п©п╬п╢я┘п╬п╢п╦я┌ п╢п╩я▐ п╪п╦я─п╟ я│п╡п╬п╠п╬п╢п╫п╬пЁп╬ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐, п╬я┌п╩п╦я┤п╟я▌я┴п╣пЁп╬я│я▐ п╢я┐я┘п╬п╪ я│п╬я┌я─я┐п╢п╫п╦я┤п╣я│я┌п╡п╟. CVS п╦ п╣я▒ п©п╬п╩я┐п╠п╣я│п©п╬я─я▐п╢п╬я┤п╫п╟я▐ п╪п╬п╢п╣п╩я▄ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ я│я┌п╟п╩п╦ п╨я─п╟п╣я┐пЁп╬п╩я▄п╫я▀п╪п╦ п╨п╟п╪п╫я▐п╪п╦ п╨я┐п╩я▄я┌я┐я─я▀ я│п╡п╬п╠п╬п╢п╫п╬пЁп╬ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐.

п²п╬ п╦ я┐ CVS п╣я│я┌я▄ я│п╡п╬п╦ п╫п╣п╢п╬я┤п╣я┌я▀, п╨п╬я┌п╬я─я▀п╣ я┐п╤п╣ п╢п╟п╡п╫п╬ п╡я│п╣п╪ п╫п╟п╢п╬п╣п╩п╦. п≈п╢п╣я│я▄ п╫п╟ я│я├п╣п╫п╣ п╦ п©п╬я▐п╡п╩я▐п╣я┌я│я▐ Subversion. п╒п╡п╬я─я├я▀ Subversion я│я┌я─п╣п╪я▐я┌я│я▐ п╥п╟п╡п╬п╣п╡п╟я┌я▄ я│п╣я─п╢я├п╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ CVS я│я─п╟п╥я┐ я│ п╢п╡я┐я┘ я│я┌п╬я─п╬п╫: п╡п╬-п©п╣я─п╡я▀я┘, Subversion я│п╬п╥п╢п╟я▒я┌я│я▐ п╨п╟п╨ я│п╦я│я┌п╣п╪п╟ я│ п╬я┌п╨я─я▀я┌я▀п╪ п╦я│я┘п╬п╢п╫я▀п╪ п╨п╬п╢п╬п╪, п╨п╬я┌п╬я─п╟я▐ п©п╬ я│п╡п╬п╣п╪я┐ я┐я│я┌я─п╬п╧я│я┌п╡я┐ п╦ п╬я┴я┐я┴п╣п╫п╦я▐п╪ п╬я┌ я─п╟п╠п╬я┌я▀ п╫п╟п©п╬п╪п╦п╫п╟п╣я┌ CVS, п╟ п╡п╬-п╡я┌п╬я─я▀я┘, п╬п╫п╟ п©я▀я┌п╟п╣я┌я│я▐ п╦я│п©я─п╟п╡п╦я┌я▄ п╫п╟п╦п╠п╬п╩п╣п╣ п╬я┤п╣п╡п╦п╢п╫я▀п╣ п╫п╣п╢п╬я│я┌п╟я┌п╨п╦ CVS. п≤ я┘п╬я┌я▐ я┌п╬, я┤я┌п╬ п©п╬п╩я┐я┤п╟п╣я┌я│я▐ п╡ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣, п╫п╣ п╬п╠я▐п╥п╟я┌п╣п╩я▄п╫п╬ я▐п╡п╩я▐п╣я┌я│я▐ п╫п╬п╡я▀п╪ п╡п╦я┌п╨п╬п╪ п╡ я─п╟п╥п╡п╦я┌п╦п╦ я┌п╣я┘п╫п╬п╩п╬пЁп╦п╧ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦, Subversion п╫п╟ я│п╟п╪п╬п╪ п╢п╣п╩п╣ п╬я┤п╣п╫я▄ п╪п╬я┴п╫п╬п╣, я┐п╢п╬п╠п╫п╬п╣ п╦ пЁп╦п╠п╨п╬п╣ я│я─п╣п╢я│я┌п╡п╬. п║п╣пЁп╬п╢п╫я▐ п╣п╢п╡п╟ п╩п╦ п╫п╣ п╡я│п╣ п╫п╬п╡я▀п╣ п©я─п╬п╣п╨я┌я▀ я│ п╬я┌п╨я─я▀я┌я▀п╪ п╦я│я┘п╬п╢п╫я▀п╪ п╨п╬п╢п╬п╪ п╡п╪п╣я│я┌п╬ CVS п╡я▀п╠п╦я─п╟я▌я┌ Subversion.

п╜я┌п╟ п╨п╫п╦пЁп╟ п╬п©п╦я│я▀п╡п╟п╣я┌ я│п╦я│я┌п╣п╪я┐ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ Subversion п©п╬п╨п╬п╩п╣п╫п╦я▐ 1.4. п°я▀ я│я┌я─п╣п╪п╦п╩п╦я│я▄ п╬я┘п╡п╟я┌п╦я┌я▄ п╪п╟я┌п╣я─п╦п╟п╩ п╨п╟п╨ п╪п╬п╤п╫п╬ я┬п╦я─п╣. п▓ я┌п╬ п╤п╣ п╡я─п╣п╪я▐ я│п╩п╣п╢я┐п╣я┌ п╦п╪п╣я┌я▄ п╡ п╡п╦п╢я┐, я┤я┌п╬ я─п╟п╥я─п╟п╠п╬я┌п╨п╬п╧ Subversion п╥п╟п╫п╦п╪п╟п╣я┌я│я▐ п╟п╨я┌п╦п╡п╫п╬п╣ я█п╫п╣я─пЁп╦я┤п╫п╬п╣ я│п╬п╬п╠я┴п╣я│я┌п╡п╬, я┌п╟п╨ я┤я┌п╬ я┐п╤п╣ я│п╣п╧я┤п╟я│ п╦п╢я▒я┌ я─п╟п╠п╬я┌п╟ п╫п╟п╢ я─я▐п╢п╬п╪ п╬я│п╬п╠п╣п╫п╫п╬я│я┌п╣п╧ п╦ я┐п╩я┐я┤я┬п╣п╫п╦п╧, п╨п╬я┌п╬я─я▀п╣ п╠я┐п╢я┐я┌ п╡п╫п╣я│п╣п╫я▀ п╡ п©п╬я│п╩п╣п╢я┐я▌я┴п╦п╣ п╡п╣я─я│п╦п╦ Subversion. п╜я┌п╦ п╫п╬п╡п╬п╡п╡п╣п╢п╣п╫п╦я▐ п╪п╬пЁя┐я┌ п©я─п╦п╡п╣я│я┌п╦ п╨ п╫п╣п╨п╬я┌п╬я─я▀п╪ я─п╟я│я┘п╬п╤п╢п╣п╫п╦я▐п╪ п╪п╣п╤п╢я┐ п╨п╬п╪п╟п╫п╢п╟п╪п╦ п╦ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╪п╦ п©п╬я▐я│п╫п╣п╫п╦я▐п╪п╦ п╡ я┌п╣п╨я│я┌п╣ п╨п╫п╦пЁп╦.

п■п╩я▐ п╨п╬пЁп╬ п╫п╟п©п╦я│п╟п╫п╟ я█я┌п╟ п╨п╫п╦пЁп╟?

п╜я┌п╟ п╨п╫п╦пЁп╟ п╫п╟п©п╦я│п╟п╫п╟ п╢п╩я▐ п╩я▌п╢п╣п╧, п╨п╬я┌п╬я─я▀п╣ п╡п╩п╟п╢п╣я▌я┌ п╥п╫п╟п╫п╦я▐п╪п╦ п╬ п╨п╬п╪п©я▄я▌я┌п╣я─п╟я┘ п╦ я┘п╬я┌я▐я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ Subversion п╢п╩я▐ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╢п╟п╫п╫я▀п╪п╦. Subversion п╪п╬п╤п╣я┌ я─п╟п╠п╬я┌п╟я┌я▄ п╫п╟ я─п╟п╥п╫я▀я┘ п╬п©п╣я─п╟я├п╦п╬п╫п╫я▀я┘ я│п╦я│я┌п╣п╪п╟я┘, п╫п╬ п╬я│п╫п╬п╡п╫я▀п╪ п╦п╫я┌п╣я─я└п╣п╧я│п╬п╪ п╢п╩я▐ п╡п╥п╟п╦п╪п╬п╢п╣п╧я│я┌п╡п╦я▐ я│ п╫п╣п╧ я▐п╡п╩я▐п╣я┌я│я▐ п╨п╬п╪п╟п╫п╢п╫п╟я▐ я│я┌я─п╬п╨п╟. п≤п╫я│я┌я─я┐п╪п╣п╫я┌ п╢п╩я▐ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ (svn) п╦ я─я▐п╢ п╡я│п©п╬п╪п╬пЁп╟я┌п╣п╩я▄п╫я▀я┘ п©я─п╬пЁя─п╟п╪п╪, я█я┌п╬ п╦п╪п╣п╫п╫п╬ я┌п╬, я┤п╣п╪я┐ п©п╬я│п╡я▐я┴п╣п╫п╟ я█я┌п╟ п╨п╫п╦пЁп╟.

п■п╩я▐ п╩п╦п╫п╣п╧п╫п╬я│я┌п╦ п╦п╥п╩п╬п╤п╣п╫п╦я▐ п©я─п╦п╪п╣я─я▀ п╡ п╨п╫п╦пЁп╣ п©п╬п╢я─п╟п╥я┐п╪п╣п╡п╟я▌я┌, я┤я┌п╬ я┤п╦я┌п╟я┌п╣п╩я▄ п©п╬п╩я▄п╥я┐п╣я┌я│я▐ Unix-п©п╬п╢п╬п╠п╫п╬п╧ п╬п©п╣я─п╟я├п╦п╬п╫п╫п╬п╧ я│п╦я│я┌п╣п╪п╬п╧ п╦ п╬я┌п╫п╬я│п╦я┌п╣п╩я▄п╫п╬ я│п╡п╬п╠п╬п╢п╫п╬ я┤я┐п╡я│я┌п╡я┐п╣я┌ я│п╣п╠я▐ я│ Unix п╦ п╦п╫я┌п╣я─я└п╣п╧я│п╬п╪ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦. п·п╢п╫п╟п╨п╬, п©я─п╬пЁя─п╟п╪п╪п╟ svn я─п╟п╠п╬я┌п╟п╣я┌ п╦ п╫п╟ п╢я─я┐пЁп╦я┘ п©п╩п╟я┌я└п╬я─п╪п╟я┘, п╫п╟п©я─п╦п╪п╣я─ п╡ Microsoft Windows. п▓п╡п╬п╢ п╦ п╡я▀п╡п╬п╢ я█я┌п╬п╧ п©я─п╬пЁя─п╟п╪п╪я▀ п╡ Windows п╦ Unix п©я─п╟п╨я┌п╦я┤п╣я│п╨п╦ п╦п╢п╣п╫я┌п╦я┤п╫я▀, п╥п╟ п╦я│п╨п╩я▌я┤п╣п╫п╦п╣п╪ п╫п╣п╥п╫п╟я┤п╦я┌п╣п╩я▄п╫я▀я┘ я─п╟п╥п╩п╦я┤п╦п╧, п╡я─п╬п╢п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ я│п╦п╪п╡п╬п╩п╟ п╬п╠я─п╟я┌п╫п╬п╧ п╨п╬я│п╬п╧ я┤п╣я─я┌я▀ (\) п╡п╪п╣я│я┌п╬ п©я─я▐п╪п╬п╧ п╨п╬я│п╬п╧ (/) п╡ п╨п╟я┤п╣я│я┌п╡п╣ я─п╟п╥п╢п╣п╩п╦я┌п╣п╩я▐ п╨п╬п╪п©п╬п╫п╣п╫я┌п╬п╡ п©я┐я┌п╦ п╨ я└п╟п╧п╩я┐.

п°п╫п╬пЁп╦п╣ п╫п╟я┬п╦ я┤п╦я┌п╟я┌п╣п╩п╦ Б─■ п©я─п╬пЁя─п╟п╪п╪п╦я│я┌я▀ п╦п╩п╦ я│п╦я│я┌п╣п╪п╫я▀п╣ п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╬я─я▀, п╦я│п©я▀я┌я▀п╡п╟я▌я┴п╦п╣ п©п╬я┌я─п╣п╠п╫п╬я│я┌я▄ п╬я┌я│п╩п╣п╤п╦п╡п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ п╦я│я┘п╬п╢п╫п╬п╪ п╨п╬п╢п╣. п╒п╟п╨п╬п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ Subversion я▐п╡п╩я▐п╣я┌я│я▐ я│п╟п╪я▀п╪ я─п╟я│п©я─п╬я│я┌я─п╟п╫я▒п╫п╫я▀п╪ п╦ п©п╬п╩п╬п╤п╣п╫п╬ п╡ п╬я│п╫п╬п╡я┐ п╡я│п╣я┘ п©я─п╦п╪п╣я─п╬п╡ п╡ я█я┌п╬п╧ п╨п╫п╦пЁп╣. п·п╢п╫п╟п╨п╬, Subversion п╪п╬п╤п╫п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╢п╩я▐ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╦п╫я└п╬я─п╪п╟я├п╦п╣п╧ я│п╟п╪п╬пЁп╬ я─п╟п╥п╫п╬пЁп╬ я─п╬п╢п╟: пЁя─п╟я└п╦п╨п╟, п╪я┐п╥я▀п╨п╟, п╠п╟п╥я▀ п╢п╟п╫п╫я▀я┘, п╢п╬п╨я┐п╪п╣п╫я┌п╟я├п╦я▐ Б─■ я█я┌п╬я┌ я│п©п╦я│п╬п╨ п╪п╬п╤п╫п╬ п©я─п╬п╢п╬п╩п╤п╟я┌я▄ п╢п╬ п╠п╣я│п╨п╬п╫п╣я┤п╫п╬я│я┌п╦. п■п╩я▐ Subversion п╩я▌п╠я▀п╣ п╢п╟п╫п╫я▀п╣ Б─■ я█я┌п╬ п©я─п╬я│я┌п╬ п╢п╟п╫п╫я▀п╣.

п║ п╬п╢п╫п╬п╧ я│я┌п╬я─п╬п╫я▀, п╪я▀ п©п╦я│п╟п╩п╦ п╨п╫п╦пЁя┐ п╢п╩я▐ я┤п╦я┌п╟я┌п╣п╩я▐, п╨п╬я┌п╬я─я▀п╧ п╫п╦п╨п╬пЁп╢п╟ п╫п╣ п©п╬п╩я▄п╥п╬п╡п╟п╩я│я▐ я│п╦я│я┌п╣п╪п╟п╪п╦ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ я─п╟п╫п╣п╣, п╟ я│ п╢я─я┐пЁп╬п╧ п©я▀я┌п╟п╩п╦я│я▄ п╬п╠п╩п╣пЁя┤п╦я┌я▄ п©п╣я─п╣я┘п╬п╢ п╫п╟ Subversion п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪ CVS (п╦ п╢я─я┐пЁп╦я┘ я│п╦я│я┌п╣п╪). п÷п╬ п╪п╣я─п╣ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦, п╡ я┌п╣п╨я│я┌п╣ п╨п╫п╦пЁп╦ п╡я│я┌я─п╣я┤п╟я▌я┌я│я▐ я│п©п╣я├п╦п╟п╩я▄п╫я▀п╣ п╡я─п╣п╥п╨п╦, п©п╬я│п╡я▐я┴п╣п╫п╫я▀п╣ п╢я─я┐пЁп╦п╪ я│п╦я│я┌п╣п╪п╟п╪ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦, п╟ п╬п╠п╥п╬я─ п╬я│п╫п╬п╡п╫я▀я┘ я─п╟п╥п╩п╦я┤п╦п╧ п╪п╣п╤п╢я┐ CVS п╦ Subversion п╡я▀п╫п╣я│п╣п╫ п╡ п╬я┌п╢п╣п╩я▄п╫п╬п╣ п©я─п╦п╩п╬п╤п╣п╫п╦п╣.

п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣, я┤я┌п╬ п©я─п╦п╪п╣я─я▀ п╦я│я┘п╬п╢п╫п╬пЁп╬ п╨п╬п╢п╟ я▐п╡п╩я▐я▌я┌я│я▐ п╡я│п╣пЁп╬ п╩п╦я┬я▄ п©я─п╦п╪п╣я─п╟п╪п╦. п╔п╬я┌я▐ п╬п╫п╦ п╦ п╪п╬пЁя┐я┌ п╠я▀я┌я▄ я│п╬п╠я─п╟п╫я▀ я│ п©п╬п╪п╬я┴я▄я▌ п╬п©я─п╣п╢п╣п╩я▒п╫п╫я▀я┘ п╥п╟п╨п╩п╦п╫п╟п╫п╦п╧ п╢п╩я▐ п╨п╬п╪п©п╦п╩я▐я┌п╬я─п╟, п╡ я┌п╣п╨я│я┌п╣ п╨п╫п╦пЁп╦ п╬п╫п╦ п©я─п╦п╡п╬п╢я▐я┌я│я▐ п╢п╩я▐ п╦п╩п╩я▌я│я┌я─п╟я├п╦п╦ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╣п╧ п©я─п╬п╠п╩п╣п╪я▀ п╦ п╫п╣ п╬п╠я▐п╥п╟я┌п╣п╩я▄п╫п╬ я│п╩я┐п╤п╟я┌ п©я─п╦п╪п╣я─п╬п╪ я┘п╬я─п╬я┬п╣пЁп╬ я│я┌п╦п╩я▐ п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟п╫п╦я▐.

п п╟п╨ я┤п╦я┌п╟я┌я▄ я█я┌я┐ п╨п╫п╦пЁя┐?

п п╫п╦пЁп╟ п©я─п╣п╢п╫п╟п╥п╫п╟я┤п╣п╫п╟ п╢п╩я▐ п╩я▌п╢п╣п╧ я│ я│п╟п╪я▀п╪ я─п╟п╥п╫я▀п╪ я┐я─п╬п╡п╫п╣п╪ п©п╬п╢пЁп╬я┌п╬п╡п╨п╦ Б─■ п╬я┌ п╫п╬п╡п╦я┤п╨п╬п╡, п╫п╣ п╦п╪п╣п╡я┬п╦я┘ п╢п╣п╩п╟ я│ я┐п©я─п╟п╡п╩п╣п╫п╦п╣п╪ п╡п╣я─я│п╦я▐п╪п╦ я─п╟п╫п╣п╣, п╢п╬ п╬п©я▀я┌п╫я▀я┘ я│п╦я│я┌п╣п╪п╫я▀я┘ п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╬я─п╬п╡. п▓п╟п╤п╫п╬я│я┌я▄ я┌п╬п╧ п╦п╩п╦ п╦п╫п╬п╧ пЁп╩п╟п╡я▀ п╢п╩я▐ я┤п╦я┌п╟я┌п╣п╩я▐ п╠я┐п╢п╣я┌ п╥п╟п╡п╦я│п╣я┌я▄ п╬я┌ я┐я─п╬п╡п╫я▐ п╣пЁп╬ п©п╬п╢пЁп╬я┌п╬п╡п╨п╦. п÷я─п╦п╡п╣п╢я▒п╪ п╫п╟я┬п╦ я─п╣п╨п╬п╪п╣п╫п╢п╟я├п╦п╦ п╢п╩я▐ я─п╟п╥п╫я▀я┘ пЁя─я┐п©п© я┤п╦я┌п╟я┌п╣п╩п╣п╧:

п·п©я▀я┌п╫я▀п╣ я│п╦я│я┌п╣п╪п╫я▀п╣ п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╬я─я▀

п÷я─п╣п╢п©п╬п╩п╟пЁп╟п╣я┌я│я▐, я┤я┌п╬ я┤п╦я┌п╟я┌п╣п╩п╦ я█я┌п╬п╧ пЁя─я┐п©п©я▀ я─п╟п╫п╫п╣п╣ я┐п╤п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╩п╦ я│п╦я│я┌п╣п╪я┐ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ п╦ я┌п╣п©п╣я─я▄ п╦п╪ п╫п╣ я┌п╣я─п©п╦я┌я│я▐ п©п╬п╢п╫я▐я┌я▄ я│п╣я─п╡п╣я─ Subversion п╨п╟п╨ п╪п╬п╤п╫п╬ я│п╨п╬я─п╣п╣. п▓ п⌠п╩п╟п╡п╟б═5, п░п╢п╪п╦п╫п╦я│я┌я─п╦я─п╬п╡п╟п╫п╦п╣ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╦ п⌠п╩п╟п╡п╟б═6, п²п╟я│я┌я─п╬п╧п╨п╟ я│п╣я─п╡п╣я─п╟ п©п╬п╨п╟п╥п╟п╫п╬, п╨п╟п╨ я│п╬п╥п╢п╟я┌я▄ п©п╣я─п╡п╬п╣ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╦ я│п╢п╣п╩п╟я┌я▄ п╣пЁп╬ п╢п╬я│я┌я┐п©п╫я▀п╪ п╡ я│п╣я┌п╦. п■п╟п╩п╣п╣ п╪п╬п╤п╫п╬ п©п╣я─п╣п╧я┌п╦ п╨ п╦п╥я┐я┤п╣п╫п╦я▌ п╨п╩п╦п╣п╫я┌п╟ Subversion, п©я─п╦я┤я▒п╪ я┤я┌п╣п╫п╦п╣ п⌠п╩п╟п╡п╟б═2, п╜п╨я│п╨я┐я─я│п╦я▐ п©п╬ Subversion п╦ п÷я─п╦п╩п╬п╤п╣п╫п╦п╣б═B, Subversion п╢п╩я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ CVS п╠я┐п╢п╣я┌ п╫п╟п╦п╠п╬п╩п╣п╣ п╠я▀я│я┌я─я▀п╪ п©я┐я┌я▒п╪ п╨ я├п╣п╩п╦.

п²п╬п╡п╦я┤п╨п╦

п÷п╬-п╡п╦п╢п╦п╪п╬п╪я┐, п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╬я─ я┐п╤п╣ я┐я│я┌п╟п╫п╬п╡п╦п╩ Subversion п╡ я│п╣я┌п╦ п╦ п╡п╟п╪ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╫п╟я┐я┤п╦я┌я▄я│я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╨п╩п╦п╣п╫я┌п╬п╪. п∙я│п╩п╦ п╡я▀ я─п╟п╫я▄я┬п╣ п╫п╣ п©п╬п╩я▄п╥п╬п╡п╟п╩п╦я│я▄ я│п╦я│я┌п╣п╪п╬п╧ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦, я┌п╬ п⌠п╩п╟п╡п╟б═1, п╓я┐п╫п╢п╟п╪п╣п╫я┌п╟п╩я▄п╫я▀п╣ п©п╬п╫я▐я┌п╦я▐ п╠я┐п╢п╣я┌ п╫п╣п╬п╠я┘п╬п╢п╦п╪я▀п╪ п╡п╡п╣п╢п╣п╫п╦п╣п╪. п░ п⌠п╩п╟п╡п╟б═2, п╜п╨я│п╨я┐я─я│п╦я▐ п©п╬ Subversion я│п╬п╢п╣я─п╤п╦я┌ п╬я│п╫п╬п╡п╫я▀п╣ я│п╡п╣п╢п╣п╫п╦я▐ п╬ п╨п╩п╦п╣п╫я┌п╣ Subversion.

п÷я─п╬п╢п╡п╦п╫я┐я┌я▀п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦

п═п╟п╫п╬ п╦п╩п╦ п©п╬п╥п╢п╫п╬ п╡п╟я┬ п©я─п╬п╣п╨я┌ п╠я┐п╢п╣я┌ я─п╟п╥я─п╟я│я┌п╟я┌я▄я│я▐, п╦ я┌п╬пЁп╢п╟, п╫п╣п╥п╟п╡п╦я│п╦п╪п╬ п╬я┌ я┌п╬пЁп╬, п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╬я─ п╡я▀ п╦п╩п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄, п╡п╟п╪ п©п╬я┌я─п╣п╠я┐п╣я┌я│я▐ я┐п╥п╫п╟я┌я▄, п╨п╟п╨ п╢п╣п╩п╟я┌я▄ п╡ Subversion п╠п╬п╩п╣п╣ я│п╩п╬п╤п╫я▀п╣ п╡п╣я┴п╦: п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╡п╣я┌п╨п╦ п╦ п╬я│я┐я┴п╣я│я┌п╡п╩я▐я┌я▄ я│п╩п╦я▐п╫п╦я▐ (п⌠п╩п╟п╡п╟б═4, п▓п╣я┌п╡п╩п╣п╫п╦п╣ п╦ я│п╩п╦я▐п╫п╦п╣), я─п╟п╠п╬я┌п╟я┌я▄ я│п╬ я│п╡п╬п╧я│я┌п╡п╟п╪п╦ (п⌠п╩п╟п╡п╟б═3, п÷я─п╬я└п╣я│я│п╦п╬п╫п╟п╩я▄п╫п╬п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ Subversion), п╫п╟я│я┌я─п╟п╦п╡п╟я┌я▄ я─п╟п╠п╬я┤я┐я▌ я│я─п╣п╢я┐ (п⌠п╩п╟п╡п╟б═3, п÷я─п╬я└п╣я│я│п╦п╬п╫п╟п╩я▄п╫п╬п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ Subversion) п╦ я┌.п╢. п╜я┌п╦ пЁп╩п╟п╡я▀ п╫п╣ я▐п╡п╩я▐я▌я┌я│я▐ п╡п╟п╤п╫я▀п╪п╦ п╡ я│п╟п╪п╬п╪ п╫п╟я┤п╟п╩п╣ я─п╟п╠п╬я┌я▀, п╫п╬ п╦я┘ я│п╩п╣п╢я┐п╣я┌ п©я─п╬я┤п╣я│я┌я▄, п╨п╬пЁп╢п╟ п╡я▀ я─п╟п╥п╠п╣я─я▒я┌п╣я│я▄ я│ п╬я│п╫п╬п╡п╟п╪п╦.

п═п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╦

п÷я─п╣п╢п©п╬п╩п╟пЁп╟п╣я┌я│я▐, я┤я┌п╬ п╡я▀ я┐п╤п╣ п╥п╫п╟п╨п╬п╪я▀ я│ Subversion п╦ я┘п╬я┌п╦я┌п╣ п╩п╦п╠п╬ я─п╟я│я┬п╦я─п╦я┌я▄ п╣я▒, п╩п╦п╠п╬ я│п╬п╥п╢п╟я┌я▄ п╫п╬п╡п╬п╣ п©я─п╬пЁя─п╟п╪п╪п╫п╬п╣ п╬п╠п╣я│п©п╣я┤п╣п╫п╦п╣ п╫п╟ п╬я│п╫п╬п╡п╣ п╣я▒ п╪п╫п╬пЁп╬я┤п╦я│п╩п╣п╫п╫я▀я┘ API[2]. п╖я┌п╬ п╤, п⌠п╩п╟п╡п╟б═8, п≤п╫я└п╬я─п╪п╟я├п╦я▐ п╢п╩я▐ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡ п╫п╟п©п╦я│п╟п╫п╟ п╦п╪п╣п╫п╫п╬ п╢п╩я▐ п╡п╟я│.

п п╫п╦пЁп╟ п╥п╟п╡п╣я─я┬п╟п╣я┌я│я▐ я│п©я─п╟п╡п╬я┤п╫я▀п╪ п╪п╟я┌п╣я─п╦п╟п╩п╬п╪ Б─■ п⌠п╩п╟п╡п╟б═9, п÷п╬п╩п╫п╬п╣ я│п©я─п╟п╡п╬я┤п╫п╬п╣ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п©п╬ Subversion п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ я│п©я─п╟п╡п╬я┤п╫п╬п╣ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п©п╬ п╡я│п╣п╪ п╨п╬п╪п╟п╫п╢п╟п╪ Subversion, п╟ п╫п╣я│п╨п╬п╩я▄п╨п╬ п©п╬п╩п╣п╥п╫я▀я┘ я┌п╣п╪ я─п╟я│п╨я─я▀я┌п╬ п╡ п©я─п╦п╩п╬п╤п╣п╫п╦я▐я┘. п  я█я┌п╦п╪ я─п╟п╥п╢п╣п╩п╟п╪ п╡я▀ я│п╨п╬я─п╣п╣ п╡я│п╣пЁп╬ п╠я┐п╢п╣я┌п╣ п╬п╠я─п╟я┴п╟я┌я▄я│я▐ я┐п╤п╣ п©п╬я│п╩п╣ п©я─п╬я┤я┌п╣п╫п╦я▐ п╨п╫п╦пЁп╦.

п║п╬пЁп╩п╟я┬п╣п╫п╦я▐, п©я─п╦п╫я▐я┌я▀п╣ п╡ п╨п╫п╦пЁп╣

п▓ я█я┌п╬п╪ я─п╟п╥п╢п╣п╩п╣ п©я─п╦п╡п╬п╢я▐я┌я│я▐ я│п╬пЁп╩п╟я┬п╣п╫п╦я▐, п©я─п╦п╫я▐я┌я▀п╣ п╡ п╨п╫п╦пЁп╣.

п╒п╦п©п╬пЁя─п╟я└я│п╨п╦п╣ я│п╬пЁп╩п╟я┬п╣п╫п╦я▐

п°п╬п╫п╬я┬п╦я─п╦п╫п╫я▀п╧ я┬я─п╦я└я┌

п≤я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╢п╩я▐ п╥п╟п©п╦я│п╦ п╨п╬п╪п╟п╫п╢, я─п╣п╥я┐п╩я▄я┌п╟я┌п╬п╡ п╦я┘ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ п╦ п©п╟я─п╟п╪п╣я┌я─п╬п╡ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦.

п°п╬п╫п╬я┬п╦я─п╦п╫п╫я▀п╧ я┬я─п╦я└я┌ я│ п╨я┐я─я│п╦п╡п╬п╪

п≤я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╡ п╨п╬п╢п╣ п╦ я┌п╣п╨я│я┌п╣ п╢п╩я▐ п╬п╠п╬п╥п╫п╟я┤п╣п╫п╦я▐ п©п╬п╢п╩п╣п╤п╟я┴п╦я┘ п╥п╟п╪п╣п╫п╣ я█п╩п╣п╪п╣п╫я┌п╬п╡.

п я┐я─я│п╦п╡

п≤я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╢п╩я▐ п╦п╪я▒п╫ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡.

п÷п╦п╨я┌п╬пЁя─п╟п╪п╪я▀

[п≈п╟п╪п╣я┤п╟п╫п╦п╣]п≈п╟п╪п╣я┤п╟п╫п╦п╣

п≈п╟п╪п╣я┤п╟п╫п╦п╣, п╬я┌п╫п╬я│я▐я┴п╣п╣я│я▐ п╨ п╬п╨я─я┐п╤п╟я▌я┴п╣п╪я┐ я┌п╣п╨я│я┌я┐.

[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

п÷п╬п╩п╣п╥п╫я▀п╧ я│п╬п╡п╣я┌, п╬я┌п╫п╬я│я▐я┴п╦п╧я│я▐ п╨ п╬п╨я─я┐п╤п╟я▌я┴п╣п╪я┐ я┌п╣п╨я│я┌я┐.

[п▓п╫п╦п╪п╟п╫п╦п╣]п▓п╫п╦п╪п╟п╫п╦п╣

п÷я─п╣п╢я┐п©я─п╣п╤п╢п╣п╫п╦п╣, п╬я┌п╫п╬я│я▐я┴п╣п╣я│я▐ п╨ п╬п╨я─я┐п╤п╟я▌я┴п╣п╪я┐ я┌п╣п╨я│я┌я┐.

п║я┌я─я┐п╨я┌я┐я─п╟ п╨п╫п╦пЁп╦

п÷я─п╦п╡п╣п╢я▒п╪ п╨я─п╟я┌п╨п╦п╧ п╬п╠п╥п╬я─ я│п╬п╢п╣я─п╤п╟п╫п╦я▐ п╬я┌п╢п╣п╩я▄п╫я▀я┘ пЁп╩п╟п╡ п╨п╫п╦пЁп╦.

п·п╠ я█я┌п╬п╧ п╨п╫п╦пЁп╣

п▓ я█я┌п╬п╧ пЁп╩п╟п╡п╣ п©я─п╦п╡п╬п╢я▐я┌я│я▐ я│п╡п╣п╢п╣п╫п╦я▐ п╬п╠ п╦я│я┌п╬я─п╦п╦ Subversion, п╬п╠я│я┐п╤п╢п╟я▌я┌я│я▐ п╣я▒ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦, п╟я─я┘п╦я┌п╣п╨я┌я┐я─п╟ п╦ п╨п╬п╪п©п╬п╫п╣п╫я┌я▀.

п⌠п╩п╟п╡п╟б═1, п╓я┐п╫п╢п╟п╪п╣п╫я┌п╟п╩я▄п╫я▀п╣ п©п╬п╫я▐я┌п╦я▐

п⌠п╩п╟п╡п╟ п╬п╠я┼я▐я│п╫я▐п╣я┌ п╬я│п╫п╬п╡я▀ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦, п╡ п╫п╣п╧ я─п╟п╥п╠п╦я─п╟я▌я┌я│я▐ я─п╟п╥п╩п╦я┤п╫я▀п╣ п╪п╬п╢п╣п╩п╦ я─п╟п╠п╬я┌я▀ я│ п╡п╣я─я│п╦я▐п╪п╦, п╟ я┌п╟п╨п╤п╣ я─п╟я│я│п╨п╟п╥п╟п╫п╬ п╬ я┘я─п╟п╫п╦п╩п╦я┴п╟я┘, я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦я▐я┘ п╦ п©я─п╟п╡п╨п╟я┘ п╡ Subversion.

п⌠п╩п╟п╡п╟б═2, п╜п╨я│п╨я┐я─я│п╦я▐ п©п╬ Subversion

п·п╢п╦п╫ п╢п╣п╫я▄ п╦п╥ п╤п╦п╥п╫п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ Subversion. п⌠п╩п╟п╡п╟ п©п╬я▐я│п╫я▐п╣я┌, п╨п╟п╨ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╨п╩п╦п╣п╫я┌ Subversion п╢п╩я▐ п©п╬п╩я┐я┤п╣п╫п╦я▐ п╢п╟п╫п╫я▀я┘, п╡п╫п╣я│п╣п╫п╦я▐ п╡ п╫п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╦ я└п╦п╨я│п╟я├п╦п╦ п╦п╥п╪п╣п╫я▒п╫п╫я▀я┘ п╢п╟п╫п╫я▀я┘ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣.

п⌠п╩п╟п╡п╟б═3, п÷я─п╬я└п╣я│я│п╦п╬п╫п╟п╩я▄п╫п╬п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ Subversion

п═п╟я│я│п╪п╟я┌я─п╦п╡п╟я▌я┌я│я▐ я│п╩п╬п╤п╫я▀п╣ п╡п╬п©я─п╬я│я▀, я│ п╨п╬я┌п╬я─я▀п╪п╦ п©п╬я│я┌п╬я▐п╫п╫я▀п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ я─п╟п╫п╬ п╦п╩п╦ п©п╬п╥п╢п╫п╬ я│я┌п╬п╩п╨п╫я┐я┌я│я▐. п²п╟п©я─п╦п╪п╣я─, п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╦п╣ п╪п╣я┌п╟п╢п╟п╫п╫я▀я┘, п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣ я└п╟п╧п╩п╬п╡ п╦ peg revisions.

п⌠п╩п╟п╡п╟б═4, п▓п╣я┌п╡п╩п╣п╫п╦п╣ п╦ я│п╩п╦я▐п╫п╦п╣

п▓ я█я┌п╬п╧ пЁп╩п╟п╡п╣ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟я▌я┌я│я▐ п╡п╣я┌п╨п╦, п╪п╣я┌п╨п╦ п╦ я│п╩п╦я▐п╫п╦я▐, п©п╬п╨п╟п╥п╟п╫я▀ я█я└я└п╣п╨я┌п╦п╡п╫я▀п╣ п╪п╣я┌п╬п╢я▀ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ п╡п╣я┌п╡п╩п╣п╫п╦п╧ п╦ я│п╩п╦я▐п╫п╦п╧, п©я─п╦п╡п╬п╢я▐я┌я│я▐ я┌п╦п©п╦я┤п╫я▀п╣ п©я─п╦п╪п╣я─я▀ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ я█я┌п╦я┘ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╣п╧, п╟ я┌п╟п╨п╤п╣ п╢п╟я▌я┌я│я▐ я│п╡п╣п╢п╣п╫п╦я▐ п╬п╠ п╬я┌п╪п╣п╫п╣ п╡п╫п╣я│я▒п╫п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п⌠п╩п╟п╡п╟ я┌п╟п╨п╤п╣ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌, п╨п╟п╨ п╩п╣пЁп╨п╬ п©п╣я─п╣п╨п╩я▌я┤п╦я┌я▄я│я▐ я│ п╬п╢п╫п╬п╧ п╡п╣я┌п╨п╦ п╫п╟ п╢я─я┐пЁя┐я▌.

п⌠п╩п╟п╡п╟б═5, п░п╢п╪п╦п╫п╦я│я┌я─п╦я─п╬п╡п╟п╫п╦п╣ я┘я─п╟п╫п╦п╩п╦я┴п╟

п▓ пЁп╩п╟п╡п╣ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟я▌я┌я│я▐ п╬я│п╫п╬п╡п╫я▀п╣ п╬я│п╬п╠п╣п╫п╫п╬я│я┌п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟ Subversion, п╡п╨п╩я▌я┤п╟я▐ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ п╦п╫я│я┌я─я┐п╪п╣п╫я┌п╬п╡ п╢п╩я▐ я│п╬п╥п╢п╟п╫п╦я▐, п╫п╟я│я┌я─п╬п╧п╨п╦ п╦ п©п╬п╢п╢п╣я─п╤п╨п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟.

п⌠п╩п╟п╡п╟б═6, п²п╟я│я┌я─п╬п╧п╨п╟ я│п╣я─п╡п╣я─п╟

п▓ я█я┌п╬п╧ пЁп╩п╟п╡п╣ п©п╬п╨п╟п╥п╟п╫п╬, п╨п╟п╨ п╫п╟я│я┌я─п╬п╦я┌я▄ я│п╣я─п╡п╣я─ Subversion. п≈п╢п╣я│я▄ п╤п╣ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟я▌я┌я│я▐ я┌я─п╦ я│п©п╬я│п╬п╠п╟ п╬я─пЁп╟п╫п╦п╥п╟я├п╦п╦ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐: HTTP, п©я─п╬я┌п╬п╨п╬п╩ svn п╦ п╩п╬п╨п╟п╩я▄п╫я▀п╧ п╢п╬я│я┌я┐п©. п я─п╬п╪п╣ я┌п╬пЁп╬, п╡ пЁп╩п╟п╡п╣ я┐п╢п╣п╩я▐п╣я┌я│я▐ п╡п╫п╦п╪п╟п╫п╦п╣ п╡п╬п©я─п╬я│п╟п╪ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╦я▐ п╩п╦я┤п╫п╬я│я┌п╦, п©я─п╬п╡п╣я─п╨п╦ п©я─п╟п╡ п╢п╬я│я┌я┐п©п╟ п╦ п╬я─пЁп╟п╫п╦п╥п╟я├п╦п╦ п╟п╫п╬п╫п╦п╪п╫п╬пЁп╬ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐.

п⌠п╩п╟п╡п╟б═7, п÷я─п╬я└п╣я│я│п╦п╬п╫п╟п╩я▄п╫п╟я▐ п╫п╟я│я┌я─п╬п╧п╨п╟ Subversion

п▓ я█я┌п╬п╧ пЁп╩п╟п╡п╣ п©п╬п╢я─п╬п╠п╫п╬ я─п╟я│я│п╪п╬я┌я─п╣п╫я▀ я└п╟п╧п╩я▀ п╢п╩я▐ п╫п╟я│я┌я─п╬п╧п╨п╦ п╨п╩п╦п╣п╫я┌п╟ Subversion, п╬п╠я─п╟п╠п╬я┌п╨п╟ я┌п╣п╨я│я┌п╟ п╫п╟ п╫п╟я├п╦п╬п╫п╟п╩я▄п╫п╫я▀я┘ я▐п╥я▀п╨п╟я┘ п╦ я│п╬п╡п╪п╣я│я┌п╫п╟я▐ я─п╟п╠п╬я┌п╟ Subversion я│ п©я─п╬пЁя─п╟п╪п╪п╟п╪п╦ я│я┌п╬я─п╬п╫п╫п╦я┘ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡.

п⌠п╩п╟п╡п╟б═8, п≤п╫я└п╬я─п╪п╟я├п╦я▐ п╢п╩я▐ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡

п▓ я█я┌п╬п╧ пЁп╩п╟п╡п╣ п╬п╠я│я┐п╤п╢п╟п╣я┌я│я▐ п╡п╫я┐я┌я─п╣п╫п╫п╣п╣ я┐я│я┌я─п╬п╧я│я┌п╡п╬ Subversion, я└п╟п╧п╩п╬п╡п╟я▐ я│п╦я│я┌п╣п╪п╟ Subversion п╦ я│п╩я┐п╤п╣п╠п╫я▀п╣ п╬п╠п╩п╟я│я┌п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│ я┌п╬я┤п╨п╦ п╥я─п╣п╫п╦я▐ п©я─п╬пЁя─п╟п╪п╪п╦я│я┌п╟. п≈п╢п╣я│я▄ п╤п╣ я─п╟п╥п╠п╦я─п╟п╣я┌я│я▐ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ п╬я┌п╨я─я▀я┌я▀я┘ API п╢п╩я▐ п╫п╟п©п╦я│п╟п╫п╦я▐ п©я─п╬пЁя─п╟п╪п╪, п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╦я┘ Subversion, п╟ я┌п╟п╨п╤п╣ п©я─п╦п╡п╬п╢п╦я┌я│я▐ п╦п╫я└п╬я─п╪п╟я├п╦я▐ п╬ я┌п╬п╪, п╨п╟п╨ п╡я▀ п╪п╬п╤п╣я┌п╣ п╡п╫п╣я│я┌п╦ п╡п╨п╩п╟п╢ п╡ я─п╟п╥я─п╟п╠п╬я┌п╨я┐ Subversion.

п⌠п╩п╟п╡п╟б═9, п÷п╬п╩п╫п╬п╣ я│п©я─п╟п╡п╬я┤п╫п╬п╣ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п©п╬ Subversion

п⌠п╩п╟п╡п╟ п©п╬п╢я─п╬п╠п╫п╬ п╬п╠я┼я▐я│п╫я▐п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ п╡я│п╣я┘ п©п╬п╢п╨п╬п╪п╟п╫п╢ svn, svnadmin п╦ svnlook. п▓я│п╣ п©п╬я▐я│п╫п╣п╫п╦я▐ я│п╬п©я─п╬п╡п╬п╤п╢п╟я▌я┌я│я▐ п╪п╫п╬п╤п╣я│я┌п╡п╬п╪ п©я─п╦п╪п╣я─п╬п╡.

п÷я─п╦п╩п╬п╤п╣п╫п╦п╣б═A, п▒я▀я│я┌я─я▀п╧ я│я┌п╟я─я┌ п╡ Subversion

п■п╩я▐ я│п╟п╪я▀я┘ п╫п╣я┌п╣я─п©п╣п╩п╦п╡я▀я┘, я┐я─п╟пЁп╟п╫п╫п╬п╣ п╬п©п╦я│п╟п╫п╦п╣ я┌п╬пЁп╬, п╨п╟п╨ я┐я│я┌п╟п╫п╬п╡п╦я┌я▄ п╦ п╫п╣п╪п╣п╢п╩п╣п╫п╫п╬ п©я─п╦я│я┌я┐п©п╦я┌я▄ п╨ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▌ Subversion. п°я▀ п╡п╟я│ п©я─п╣п╢я┐п©я─п╣п╢п╦п╩п╦.

п÷я─п╦п╩п╬п╤п╣п╫п╦п╣б═B, Subversion п╢п╩я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ CVS

п▓ п©я─п╦п╩п╬п╤п╣п╫п╦п╦ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟я▌я┌я│я▐ я│я┘п╬п╢я│я┌п╡п╟ п╦ я─п╟п╥п╩п╦я┤п╦я▐ п╪п╣п╤п╢я┐ Subversion п╦ CVS, п©я─п╦п╡п╬п╢п╦я┌я│я▐ я─я▐п╢ я─п╣п╨п╬п╪п╣п╫п╢п╟я├п╦п╧, п©п╬п╥п╡п╬п╩я▐я▌я┴п╦я┘ п╦п╥п╠п╟п╡п╦я┌я▄я│я▐ п╬я┌ п╡я─п╣п╢п╫я▀я┘ п©я─п╦п╡я▀я┤п╣п╨, п©я─п╦п╬п╠я─п╣я┌я▒п╫п╫я▀я┘ я│ пЁп╬п╢п╟п╪п╦ я─п╟п╠п╬я┌я▀ я│ CVS. п≈п╢п╣я│я▄ я┌п╟п╨п╤п╣ п©я─п╦п╡п╬п╢п╦я┌я│я▐ п╦п╫я└п╬я─п╪п╟я├п╦я▐ п╬ п╫я┐п╪п╣я─п╟я├п╦п╦ п©я─п╟п╡п╬п╨ п╡ Subversion, я─п╟я│я│п╨п╟п╥я▀п╡п╟п╣я┌я│я▐ п╬ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ п╢п╩я▐ п╨п╟я┌п╟п╩п╬пЁп╬п╡, п©я─п╦п╡п╬п╢я▐я┌я│я▐ я│п╡п╣п╢п╣п╫п╦я▐ п╬п╠ п╟п╡я┌п╬п╫п╬п╪п╫я▀я┘ п╬п©п╣я─п╟я├п╦я▐я┘, п╡п╣я┌п╨п╟я┘, п╪п╣я┌п╨п╟я┘ п╦ п╪п╣я┌п╟п╢п╟п╫п╫я▀я┘, п©п╬я▐я│п╫я▐п╣я┌я│я▐ я─п╟п╥п╩п╦я┤п╦п╣ п╪п╣п╤п╢я┐ п©п╬п╢п╨п╬п╪п╟п╫п╢п╟п╪п╦ update п╦ status, п╥п╟я┌я─п╬п╫я┐я┌я▀ п╡п╬п©я─п╬я│я▀, я│п╡я▐п╥п╟п╫п╫я▀п╣ я│ я─п╟п╥я─п╣я┬п╣п╫п╦п╣п╪ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡ п╦ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╦п╣п╪ п╩п╦я┤п╫п╬я│я┌п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐.

п÷я─п╦п╩п╬п╤п╣п╫п╦п╣б═C, WebDAV п╦ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╬п╣ я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦

п╜я┌п╬ п©я─п╦п╩п╬п╤п╣п╫п╦п╣ п©п╬п╢я─п╬п╠п╫п╬ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟п╣я┌ WebDAV п╦ DeltaV п╦ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌, п╨п╟п╨ п╫п╟я│я┌я─п╬п╦я┌я▄ я┘я─п╟п╫п╦п╩п╦я┴п╣ Subversion п╢п╩я▐ п©п╬п╢п╨п╩я▌я┤п╣п╫п╦я▐ п╡ п╡п╦п╢п╣ я│п╬п╡п╪п╣я│я┌п╫п╬ п╦я│п©п╬п╩я▄п╥я┐п╣п╪п╬пЁп╬ я─п╣я│я┐я─я│п╟ DAV.

п÷я─п╦п╩п╬п╤п╣п╫п╦п╣б═D, п≤п╫я│я┌я─я┐п╪п╣п╫я┌я▀ п╬я┌ я│я┌п╬я─п╬п╫п╫п╦я┘ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡

п≈п╢п╣я│я▄ п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫я▀ п╫п╣п╨п╬я┌п╬я─я▀п╣ п©я─п╬пЁя─п╟п╪п╪я▀, п╨п╬я┌п╬я─я▀п╣ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ Subversion п╡ я│п╡п╬п╣п╧ я─п╟п╠п╬я┌п╣, п╡п╨п╩я▌я┤п╟я▐ п╨п╩п╦п╣п╫я┌я▀ п╬я┌ я│я┌п╬я─п╬п╫п╫п╦я┘ п©я─п╬п╦п╥п╡п╬п╢п╦я┌п╣п╩п╣п╧, п╦п╫я│я┌я─я┐п╪п╣п╫я┌я▀ п╢п╩я▐ п©я─п╬я│п╪п╬я┌я─п╟ я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╦ п╢я─я┐пЁп╦п╣ п©я─п╬пЁя─п╟п╪п╪я▀.

п╜я┌п╟ п╨п╫п╦пЁп╟ я─п╟я│п©я─п╬я│я┌я─п╟п╫я▐п╣я┌я│я▐ я│п╡п╬п╠п╬п╢п╫п╬

п╜я┌п╟ п╨п╫п╦пЁп╟ п╫п╟я┤п╦п╫п╟п╩п╟я│я▄ я│ я└я─п╟пЁп╪п╣п╫я┌п╬п╡ п╢п╬п╨я┐п╪п╣п╫я┌п╟я├п╦п╦, п╫п╟п©п╦я│п╟п╫п╫я▀я┘ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╟п╪п╦ п©я─п╬п╣п╨я┌п╟ Subversion, п╨п╬я┌п╬я─я▀п╣ п╥п╟я┌п╣п╪ п╠я▀п╩п╦ я│п╬п╠я─п╟п╫я▀ п╡ п╣п╢п╦п╫п╬п╣ я├п╣п╩п╬п╣ п╦ п╬я┌я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫я▀. п÷п╬я█я┌п╬п╪я┐, п╬п╫п╟ п╡я│п╣пЁп╢п╟ п╠я┐п╢п╣я┌ я─п╟я│п©я─п╬я│я┌я─п╟п╫я▐я┌я▄я│я▐ п╫п╟ я┐я│п╩п╬п╡п╦я▐я┘ я│п╡п╬п╠п╬п╢п╫п╬п╧ п╩п╦я├п╣п╫п╥п╦п╦ (я│п╪. п÷я─п╦п╩п╬п╤п╣п╫п╦п╣б═E, Copyright.) п╓п╟п╨я┌п╦я┤п╣я│п╨п╦, п╨п╫п╦пЁп╟ п©п╦я│п╟п╩п╟я│я▄ я┐ п╡я│п╣я┘ п╫п╟ п╡п╦п╢я┐, п╨п╟п╨ я┤п╟я│я┌я▄ Subversion, я┤я┌п╬ п╬п╥п╫п╟я┤п╟п╣я┌ п╢п╡п╣ п╡п╣я┴п╦:

  • п▓я▀ п╡я│п╣пЁп╢п╟ п╪п╬п╤п╣я┌п╣ п╫п╟п╧я┌п╦ я│п╟п╪я┐я▌ п©п╬я│п╩п╣п╢п╫я▌я▌ п╡п╣я─я│п╦я▌ п╨п╫п╦пЁп╦ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ Subversion, я│п╬п╥п╢п╟п╫п╫п╬п╪ я│п©п╣я├п╦п╟п╩я▄п╫п╬ п╢п╩я▐ п╫п╣я▒.

  • п▓я▀ п╪п╬п╤п╣я┌п╣ я─п╟я│п©я─п╬я│я┌я─п╟п╫я▐я┌я▄ я█я┌я┐ п╨п╫п╦пЁя┐ п╦ п╡п╫п╬я│п╦я┌я▄ п╡ п╫п╣я▒ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п©п╬ я│п╡п╬п╣п╪я┐ я┐я│п╪п╬я┌я─п╣п╫п╦я▌ Б─■ п╩п╦я├п╣п╫п╥п╦я▐ п╫п╟ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ п╨п╫п╦пЁп╦ я▐п╡п╩я▐п╣я┌я│я▐ я│п╡п╬п╠п╬п╢п╫п╬п╧. п·я┌ п╡п╟я│ я┌я─п╣п╠я┐п╣я┌я│я▐ я┌п╬п╩я▄п╨п╬ я│я│я▀п╩п╟я┌я▄я│я▐ п╡ п╨п╟я┤п╣я│я┌п╡п╣ п©п╣я─п╡п╬п╦я│я┌п╬я┤п╫п╦п╨п╟ п╫п╟ п©п╣я─п╡п╬п╫п╟я┤п╟п╩я▄п╫я▀я┘ п╟п╡я┌п╬я─п╬п╡. п п╬п╫п╣я┤п╫п╬, п╠я┐п╢п╣я┌ п╩я┐я┤я┬п╣ п╡я│п╣пЁп╬, п╣я│п╩п╦ п╡п╪п╣я│я┌п╬ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ я─п╟я│п©я─п╬я│я┌я─п╟п╫я▐я┌я▄ я│п╬п╠я│я┌п╡п╣п╫п╫я┐я▌ п╡п╣я─я│п╦я▌ п╨п╫п╦пЁп╦, п╡я▀ п©п╬п╢п╣п╩п╦я┌п╣я│я▄ п╬я┌п╥я▀п╡п╟п╪п╦ п╦ п╦я│п©я─п╟п╡п╩п╣п╫п╦я▐п╪п╦ я│ я│п╬п╬п╠я┴п╣я│я┌п╡п╬п╪ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡ Subversion.

п■п╬я│я┌п╟я┌п╬я┤п╫п╬ я│п╡п╣п╤я┐я▌ п╡п╣я─я│п╦я▌ я█я┌п╬п╧ п╨п╫п╦пЁп╦ п╪п╬п╤п╫п╬ п╡п╥я▐я┌я▄ п╡ п≤п╫я┌п╣я─п╫п╣я┌п╣ п©п╬ п╟п╢я─п╣я│я┐ http://svnbook.red-bean.com.

п▒п╩п╟пЁп╬п╢п╟я─п╫п╬я│я┌п╦

п╜я┌п╬п╧ п╨п╫п╦пЁп╦ п╫п╣ п╠я▀п╩п╬ п╠ (п╦п╩п╦ п╠я▀п╩п╟ п╠ п╫п╣ я│я┌п╬п╩я▄ п©п╬п╩п╣п╥п╫п╟), п╣я│п╩п╦ п╠ п╫п╣ п╠я▀п╩п╬ Subversion. п÷п╬я█я┌п╬п╪я┐, п╟п╡я┌п╬я─я▀ я┘п╬я┌я▐я┌ п©п╬п╠п╩п╟пЁп╬п╢п╟я─п╦я┌я▄ Brian Behlendorf п╦ CollabNet п╥п╟ п╦я┘ я─п╣я┬п╣п╫п╦п╣ я└п╦п╫п╟п╫я│п╦я─п╬п╡п╟я┌я▄ я┌п╟п╨п╬п╧ я─п╦я│п╨п╬п╡п╟п╫п╫я▀п╧ п╦ п╟п╪п╠п╦я├п╦п╬п╥п╫я▀п╧ п©я─п╬п╣п╨я┌; Jim Blandy п╥п╟ п╬я─п╦пЁп╦п╫п╟п╩я▄п╫п╬п╣ п╫п╟п╥п╡п╟п╫п╦п╣ п╦ п╢п╦п╥п╟п╧п╫ Subversion Б─■ п╪я▀ п╩я▌п╠п╦п╪ я┌п╣п╠я▐, Jim; Karl Fogel п╥п╟ я┌п╬, я┤я┌п╬ я┌я▀ я┘п╬я─п╬я┬п╦п╧ п╢я─я┐пЁ п╦ п╡п╣п╩п╦п╨п╬п╩п╣п©п╫я▀п╧ п╩п╦п╢п╣я─ п╫п╟я┬п╣пЁп╬ я│п╬п╬п╠я┴п╣я│я┌п╡п╟.[3]

п▒п╩п╟пЁп╬п╢п╟я─п╦п╪ п╦п╥п╢п╟я┌п╣п╩я▄я│я┌п╡п╬ O'Reilly п╦ п╫п╟я┬п╦я┘ я─п╣п╢п╟п╨я┌п╬я─п╬п╡, Linda Mui п╦ Tatiana Diaz п╥п╟ п╦я┘ я┌п╣я─п©п╣п╫п╦п╣ п╦ п©п╬п╢п╢п╣я─п╤п╨я┐.

п²п╟п╨п╬п╫п╣я├, п╪я▀ п╠п╩п╟пЁп╬п╢п╟я─п╦п╪ п╡я│п╣я┘ я┌п╣я┘ п╩я▌п╢п╣п╧, п╨п╬я┌п╬я─я▀п╣ я┐я┤п╟я│я┌п╡п╬п╡п╟п╩п╦ п╡ я│п╬п╥п╢п╟п╫п╦п╦ я█я┌п╬п╧ п╨п╫п╦пЁп╦ я│п╡п╬п╦п╪п╦ п╬п╠п╥п╬я─п╟п╪п╦, п╪п╫п╣п╫п╦я▐п╪п╦ п╦ п╦я│п©я─п╟п╡п╩п╣п╫п╦я▐п╪п╦: п▒п╣п╥ я│п╬п╪п╫п╣п╫п╦я▐, я█я┌п╬ п╢п╟п╩п╣п╨п╬ п╫п╣ п©п╬п╩п╫я▀п╧ я│п©п╦я│п╬п╨ п╩я▌п╢п╣п╧, п╠п╣п╥ п©п╬п╪п╬я┴п╦ п╨п╬я┌п╬я─я▀я┘ я█я┌п╟ п╨п╫п╦пЁп╟ п╠я▀п╩п╟ п╠я▀ п╫п╣п©п╬п╩п╫п╬п╧ п╦ п╫п╣я┌п╬я┤п╫п╬п╧: David Anderson, Jani Averbach, Ryan Barrett, Francois Beausoleil, Jennifer Bevan, Matt Blais, Zack Brown, Martin Buchholz, Brane Cibej, John R. Daily, Peter Davis, Olivier Davy, Robert P. J. Day, Mo DeJong, Brian Denny, Joe Drew, Nick Duffek, Ben Elliston, Justin Erenkrantz, Shlomi Fish, Julian Foad, Chris Foote, Martin Furter, Dave Gilbert, Eric Gillespie, David Glasser, Matthew Gregan, Art Haas, Eric Hanchrow, Greg Hudson, Alexis Huxley, Jens B. Jorgensen, Tez Kamihira, David Kimdon, Mark Benedetto King, Andreas J. Koenig, Nuutti Kotivuori, Matt Kraai, Scott Lamb, Vincent Lefevre, Morten Ludvigsen, Paul Lussier, Bruce A. Mah, Philip Martin, Feliciano Matias, Patrick Mayweg, Gareth McCaughan, Jon Middleton, Tim Moloney, Christopher Ness, Mats Nilsson, Joe Orton, Amy Lyn Pilato, Kevin Pilch-Bisson, Dmitriy Popkov, Michael Price, Mark Proctor, Steffen Prohaska, Daniel Rall, Jack Repenning, Tobias Ringstrom, Garrett Rooney, Joel Rosdahl, Christian Sauer, Larry Shatzer, Russell Steicke, Sander Striker, Erik Sjoelund, Johan Sundstroem, John Szakmeister, Mason Thomas, Eric Wadsworth, Colin Watson, Alex Waugh, Chad Whitacre, Josef Wolf, Blair Zajac, п╟ я┌п╟п╨п╤п╣ п╡я│я▒ я│п╬п╬п╠я┴п╣я│я┌п╡п╬ Subversion.

п·я┌ Ben Collins-Sussman

п▒п╩п╟пЁп╬п╢п╟я─я▌ п╪п╬я▌ п╤п╣п╫я┐ Frances, п╨п╬я┌п╬я─п╟я▐ п╪п╫п╬пЁп╬ п╪п╣я│я▐я├п╣п╡ п╡п╪п╣я│я┌п╬ п╬п╠я▀я┤п╫п╬пЁп╬ б╚п■п╬я─п╬пЁп╟я▐, я▐ п╣я┴я▒ п©п╦я┬я┐ e-mailб╩ я│п╩я▀я┬п╟п╩п╟ б╚п■п╬я─п╬пЁп╟я▐, я▐ п╣я┴я▒ я─п╟п╠п╬я┌п╟я▌ п╫п╟п╢ п╨п╫п╦пЁп╬п╧б╩. п╞ п©я─п╣п╢я│я┌п╟п╡п╦я┌я▄ п╫п╣ п╪п╬пЁя┐, п╬я┌п╨я┐п╢п╟ я┐ п╫п╣я▒ я│я┌п╬п╩я▄п╨п╬ я┌п╣я─п©п╣п╫п╦я▐! п·п╫п╟ Б─■ п╡п╣п╩п╦п╨п╬п╩п╣п©п╫я▀п╧ п©я─п╬я┌п╦п╡п╬п╡п╣я│ п╪п╬п╣п╪я┐ я┌я─я┐п╢п╬пЁп╬п╩п╦п╥п╪я┐.

п▒п╩п╟пЁп╬п╢п╟я─я▌ п╡я│я▌ п╪п╬я▌ я─п╬п╢п╫я▌ п╦ п╢я─я┐п╥п╣п╧ п╥п╟ п╦я┘ п╦я│п╨я─п╣п╫п╫я▌я▌ п©п╬п╢п╢п╣я─п╤п╨я┐, п╫п╣я│п╪п╬я┌я─я▐ п╫п╟ п╬я┌я│я┐я┌я│я┌п╡п╦п╣ я┐ п╫п╦я┘ п╫п╟я│я┌п╬я▐я┴п╣пЁп╬ п╦п╫я┌п╣я─п╣я│п╟ п╨ п╪п╬п╣п╪я┐ п╥п╟п╫я▐я┌п╦я▌. (п²я┐, п╡я▀ п╥п╫п╟п╣я┌п╣, п╬п╫п╦ пЁп╬п╡п╬я─я▐я┌ б╚п·, я┌я▀ п©п╦я┬п╣я┬я▄ п╨п╫п╦пЁя┐?б╩, п╟ п╨п╬пЁп╢п╟ я┌я▀ пЁп╬п╡п╬я─п╦я┬я▄, я┤я┌п╬ я█я┌п╬ Б─■ п╨п╬п╪п©я▄я▌я┌п╣я─п╫п╟я▐ п╨п╫п╦пЁп╟, п╬п╫п╦ я│я─п╟п╥я┐ я┌п╣я─я▐я▌я┌ п╡п╣я│я▄ п╦п╫я┌п╣я─п╣я│).

п▒п╩п╟пЁп╬п╢п╟я─я▌ п╡я│п╣я┘ п╪п╬п╦я┘ п╠п╩п╦п╥п╨п╦я┘ п╢я─я┐п╥п╣п╧, я│п╢п╣п╩п╟п╡я┬п╦я┘ п╪п╣п╫я▐ п╬я┤п╣п╫я▄ п╠п╬пЁп╟я┌я▀п╪ я┤п╣п╩п╬п╡п╣п╨п╬п╪. п²п╣ я│п╪п╬я┌я─п╦я┌п╣ п╫п╟ п╪п╣п╫я▐ я┌п╟п╨, п╡я▀ п╤п╣ п╥п╫п╟п╣я┌п╣, п╨я┌п╬ п╡я▀.

Thanks to my parents for the perfect low-level formatting, and being unbelievable role models. Thanks to my son for the opportunity to pass that on.

п·я┌ Brian W. Fitzpatrick

п·пЁя─п╬п╪п╫п╬п╣ я│п©п╟я│п╦п╠п╬ п╪п╬п╣п╧ п╤п╣п╫п╣ Marie п╥п╟ п╣я▒ п╫п╣п╡п╣я─п╬я▐я┌п╫я▀п╣ п©п╬п╫п╦п╪п╟п╫п╦п╣, п©п╬п╢п╢п╣я─п╤п╨я┐ п╦, п©я─п╣п╤п╢п╣ п╡я│п╣пЁп╬, я┌п╣я─п©п╣п╫п╦п╣. п║п©п╟я│п╦п╠п╬ п╪п╬п╣п╪я┐ п╠я─п╟я┌я┐ Eric, п╨п╬я┌п╬я─я▀п╧ п©п╬п╥п╫п╟п╨п╬п╪п╦п╩ п╪п╣п╫я▐ я│ п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟п╫п╦п╣п╪ п©п╬п╢ UNIX. п·пЁя─п╬п╪п╫п╟я▐ п╠п╩п╟пЁп╬п╢п╟я─п╫п╬я│я┌я▄ п╪п╬п╦п╪ п°п╟п╪п╣ п╦ п▒п╟п╠я┐я┬п╨п╣ п╥п╟ п╡я│я▌ п╦я┘ п©п╬п╢п╢п╣я─п╤п╨я┐, п╟ я┌п╟п╨ п╤п╣ п╥п╟ я┌п╬, я┤я┌п╬ п╫п╣ п╡я│п©п╬п╪п╦п╫п╟я▌я┌, п╨п╟п╨ я▐ п╫п╟ п═п╬п╤п╢п╣я│я┌п╡п╬ п©я─п╦я┬я▒п╩ п╢п╬п╪п╬п╧ п╦ я│ пЁп╬п╩п╬п╡п╬п╧ п╥п╟п╩п╣п╥ п╡ я│п╡п╬п╧ п╫п╬я┐я┌п╠я┐п╨ п╦ я─п╟п╠п╬я┌п╟п╩ п╫п╟п╢ п╨п╫п╦пЁп╬п╧.

Mike п╦ Ben: п╠я▀п╩п╬ п╬я┤п╣п╫я▄ п©я─п╦я▐я┌п╫п╬ я─п╟п╠п╬я┌п╟я┌я▄ п╫п╟п╢ п╨п╫п╦пЁп╬п╧ п╡п╪п╣я│я┌п╣ я│ п╡п╟п╪п╦. Heck, п╠я▀п╩п╬ п©я─п╦я▐я┌п╫п╬ я─п╟п╠п╬я┌п╟я┌я▄ я│ я┌п╬п╠п╬п╧ п╫п╟ я─п╟п╠п╬я┌п╣!

п▓я│п╣п╪ я┤п╩п╣п╫п╟п╪ я│п╬п╬п╠я┴п╣я│я┌п╡п╟ Subversion п╦ "Apache Software Foundation" Б─■ я│п©п╟я│п╦п╠п╬ п╥п╟ я┌п╬, я┤я┌п╬ п╠я▀п╩ я│ п╡п╟п╪п╦. п²п╣ п╠я▀п╩п╬ п╢п╫я▐, я┤я┌п╬п╠ я▐ п╫п╣ п╫п╟я┐я┤п╦п╩я│я▐ я┤п╣п╪я┐-п╫п╦п╠я┐п╢я▄ я┐ п╨п╬пЁп╬-п╫п╦п╠я┐п╢я▄ п╦п╥ п╡п╟я│.

п²п╟п╨п╬п╫п╣я├, я│п©п╟я│п╦п╠п╬ п╪п╬п╣п╪я┐ п╢п╣п╢я┐я┬п╨п╣, п╨п╬я┌п╬я─я▀п╧ п╡я│п╣пЁп╢п╟ пЁп╬п╡п╬я─п╦п╩ б╚я│п╡п╬п╠п╬п╢п╟ я─п╟п╡п╫п╟ п╬я┌п╡п╣я┌я│я┌п╡п╣п╫п╫п╬я│я┌п╦б╩. п╞ п╫п╣ п╪п╬пЁя┐ п╫п╣ я│п╬пЁп╩п╟я│п╦я┌я▄я│я▐ я│ я█я┌п╦п╪.

п·я┌ C. Michael Pilato

п·я┌п╢п╣п╩я▄п╫п╬п╣ я│п©п╟я│п╦п╠п╬ п╪п╬п╣п╧ п╤п╣п╫п╣, Amy, п╥п╟ п╣я▒ п╩я▌п╠п╬п╡я▄, я┌п╣я─п©п╣п╫п╦п╣, п©п╬п╢п╢п╣я─п╤п╨я┐, п╥п╟ п©п╬п╫п╦п╪п╟п╫п╦п╣ п©п╬п╥п╢п╫п╦п╪п╦ п╫п╬я┤п╟п╪п╦, п╥п╟ я┌п╬, я┤я┌п╬ я┤п╦я┌п╟п╩п╟ п╡я│п╣ я─п╟п╥п╢п╣п╩я▀ я█я┌п╬п╧ п╨п╫п╦пЁп╦ Б─■ я┌я▀ п╡я│п╣пЁп╢п╟ п╢п╣п╩п╟п╩п╟ п╠п╬п╩я▄я┬п╣, я┤п╣п╪ я┌я─п╣п╠п╬п╡п╟п╩п╬я│я▄, п╦ п╢п╣п╩п╟п╩п╟ я█я┌п╬ я│ п╫п╣п╡п╣я─п╬я▐я┌п╫я▀п╪ п╦п╥я▐я┴п╣я│я┌п╡п╬п╪. Gavin, п╨п╬пЁп╢п╟ я┌я▀ п╢п╬я─п╟я│я┌я▒я┬я▄ п╢п╬ п©я─п╬я┤я┌п╣п╫п╦я▐ я█я┌п╬п╧ п╨п╫п╦пЁп╦, я▐ п╫п╟п╢п╣я▌я│я▄, я┌я▀ п╠я┐п╢п╣я┬я▄ пЁп╬я─п╢п╦я┌я▄я│я▐ я│п╡п╬п╦п╪ п╬я┌я├п╬п╪ я┌п╟п╨п╤п╣, п╨п╟п╨ п╬п╫ я│п╣п╧я┤п╟я│ пЁп╬я─п╢п╦я┌я│я▐ я┌п╬п╠п╬п╧. п°п╟п╪п╟ п╦ п©п╟п©п╟ (п╟ я┌п╟п╨п╤п╣ п╡я│я▐ п╪п╬я▐ я│п╣п╪я▄я▐), я│п©п╟я│п╦п╠п╬ п╡п╟п╪ п╥п╟ п╡п╟я┬я┐ п©п╬я│я┌п╬я▐п╫п╫я┐я▌ п©п╬п╢п╢п╣я─п╤п╨я┐ п╦ я█п╫я┌я┐п╥п╦п╟п╥п╪.

п║п╫п╦п╪п╟я▌ я┬п╩я▐п©я┐ п©п╣я─п╣п╢ Shep Kendall, п╨п╬я┌п╬я─я▀п╧ п╬я┌п╨я─я▀п╩ п╢п╩я▐ п╪п╣п╫я▐ п╪п╦я─ п╨п╬п╪п©я▄я▌я┌п╣я─п╬п╡; п©п╣я─п╣п╢ Ben Collins-Sussman, п╪п╬п╦п╪ п©я─п╬п╡п╬п╢п╫п╦п╨п╬п╪ п©п╬ п╪п╦я─я┐ я│п╡п╬п╠п╬п╢п╫п╬пЁп╬ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐; п©п╣я─п╣п╢ Karl Fogel Б─■ п╡я▀ п╪п╬п╧ .emacs; п©п╣я─п╣п╢ Greg Stein, п╥п╟ п©п╬п╪п╬я┴я▄ п╡ п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟п╫п╦п╦; п©п╣я─п╣п╢ Brian Fitzpatrick Б─■ п╥п╟ п©п╬п╩я┐я┤п╣п╫п╦п╣ п©п╦я│п╟я┌п╣п╩я▄я│п╨п╬пЁп╬ п╬п©я▀я┌п╟ я│ я┌п╬п╠п╬п╧. п°п╫п╬пЁп╦п╪ п╩я▌п╢я▐п╪, п╬я┌ п╨п╬я┌п╬я─я▀я┘ я▐ п©п╬я│я┌п╬я▐п╫п╫п╬ я┐п╥п╫п╟я▌ я┤я┌п╬-я┌п╬ п╫п╬п╡п╬п╣ Б─■ п╠я┐п╢я▄я┌п╣ я┌п╟п╨п╦п╪п╦ п╡я│п╣пЁп╢п╟!

п²п╟п╨п╬п╫п╣я├, п╒п╬п╪я┐, п╨я┌п╬ п╡п╣п╩п╦п╨п╬п╩п╣п©п╫п╬ п©я─п╬п╢п╣п╪п╬я│я┌я─п╦я─п╬п╡п╟п╩ п╡п╣п╫п╣я├ я┌п╡п╬я─п╣п╫п╦я▐ Б─■ я│п©п╟я│п╦п╠п╬ я┌п╣п╠п╣.

п╖я┌п╬ я┌п╟п╨п╬п╣ Subversion?

Subversion Б─■ я█я┌п╬ п╠п╣я│п©п╩п╟я┌п╫п╟я▐ я│п╦я│я┌п╣п╪п╟ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ я│ п╬я┌п╨я─я▀я┌я▀п╪ п╦я│я┘п╬п╢п╫я▀п╪ п╨п╬п╢п╬п╪. Subversion п©п╬п╥п╡п╬п╩я▐п╣я┌ я┐п©я─п╟п╡п╩я▐я┌я▄ я└п╟п╧п╩п╟п╪п╦ п╦ п╨п╟я┌п╟п╩п╬пЁп╟п╪п╦, п╟ я┌п╟п╨ п╤п╣ я│п╢п╣п╩п╟п╫п╫я▀п╪п╦ п╡ п╫п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦ п╡п╬ п╡я─п╣п╪п╣п╫п╦. п╜я┌п╬ п©п╬п╥п╡п╬п╩я▐п╣я┌ п╡п╬я│я│я┌п╟п╫п╬п╡п╦я┌я▄ п╠п╬п╩п╣п╣ я─п╟п╫п╫п╦п╣ п╡п╣я─я│п╦п╦ п╢п╟п╫п╫я▀я┘, п╢п╟я▒я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╦п╥я┐я┤п╦я┌я▄ п╦я│я┌п╬я─п╦я▌ п╡я│п╣я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п▒п╩п╟пЁп╬п╢п╟я─я▐ я█я┌п╬п╪я┐ п╪п╫п╬пЁп╦п╣ я│я┤п╦я┌п╟я▌я┌ я│п╦я│я┌п╣п╪я┐ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ я│п╡п╬п╣пЁп╬ я─п╬п╢п╟ б╚п╪п╟я┬п╦п╫п╬п╧ п╡я─п╣п╪п╣п╫п╦б╩.

Subversion п╪п╬п╤п╣я┌ я─п╟п╠п╬я┌п╟я┌я▄ я┤п╣я─п╣п╥ я│п╣я┌я▄, я┤я┌п╬ п©п╬п╥п╡п╬п╩я▐п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╣я▒ п╫п╟ я─п╟п╥п╫я▀я┘ п╨п╬п╪п©я▄я▌я┌п╣я─п╟я┘. п▓ п╨п╟п╨п╬п╧ я┌п╬ я│я┌п╣п©п╣п╫п╦, п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╠п╬п╩я▄я┬п╬пЁп╬ п╨п╬п╩п╦я┤п╣я│я┌п╡п╟ п╩я▌п╢п╣п╧ п╫п╣ п╥п╟п╡п╦я│п╦п╪п╬ п╬я┌ п╦я┘ п╪п╣я│я┌п╬п©п╬п╩п╬п╤п╣п╫п╦я▐ я│п╬п╡п╪п╣я│я┌п╫п╬ я─п╟п╠п╬я┌п╟я┌я▄ п╫п╟п╢ п╣п╢п╦п╫я▀п╪ п╨п╬п╪п©п╩п╣п╨я┌п╬п╪ п╢п╟п╫п╫я▀я┘ п©п╬п╬я┴я─я▐п╣я┌ я│п╬я┌я─я┐п╢п╫п╦я┤п╣я│я┌п╡п╬. п п╬пЁп╢п╟ п╫п╣я┌ я┌п╬пЁп╬ п╬я┌п╡п╣я┌я│я┌п╡п╣п╫п╫п╬пЁп╬ п╥п╡п╣п╫п╟ я├п╣п©п╦, я┌п╬пЁп╬ п╨п╬п╫я┌я─п╬п╩п╦я─я┐я▌я┴п╣пЁп╬ я█п╩п╣п╪п╣п╫я┌п╟, п╨п╬я┌п╬я─я▀п╧ я┐я┌п╡п╣я─п╤п╢п╟п╣я┌ п╡я│п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я─п╟п╠п╬я┌п╟ я│я┌п╟п╫п╬п╡п╦я┌я│я▐ п╠п╬п╩п╣п╣ я█я└я└п╣п╨я┌п╦п╡п╫п╬п╧. п÷я─п╦ я█я┌п╬п╪ п╫п╣ п╫я┐п╤п╫п╬ п╬п©п╟я│п╟я┌я▄я│я▐, я┤я┌п╬ п╬я┌п╨п╟п╥ п╬я┌ п╨п╬п╫я┌я─п╬п╩п╦я─я┐я▌я┴п╣пЁп╬ я█п╩п╣п╪п╣п╫я┌п╟ п©п╬п╡п╩п╦я▐п╣я┌ п╫п╟ п╨п╟я┤п╣я│я┌п╡п╬, п╡п╣п╢я▄ п╠п╩п╟пЁп╬п╢п╟я─я▐ я│п╬я┘я─п╟п╫п╣п╫п╦я▌ п╦я│я┌п╬я─п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧, п╢п╟п╤п╣ п╣я│п╩п╦ п©я─п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╦ п╢п╟п╫п╫я▀я┘ п╠я┐п╢я┐я┌ п╢п╬п©я┐я┴п╣п╫я▀ п╬я┬п╦п╠п╨п╦, п╡я│п╣пЁп╢п╟ п╪п╬п╤п╫п╬ я│п╢п╣п╩п╟я┌я▄ п╬я┌п╨п╟я┌ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╨ п©я─п╣п╤п╫п╣п╪я┐ я│п╬я│я┌п╬я▐п╫п╦я▌.

п²п╣п╨п╬я┌п╬я─я▀п╣ я│п╦я│я┌п╣п╪я▀ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ п╡я▀я│я┌я┐п©п╟я▌я┌ я┌п╟п╨п╤п╣ п╡ п╨п╟я┤п╣я│я┌п╡п╣ я│п╦я│я┌п╣п╪ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╣п╧ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐ (SCM[4]). п╒п╟п╨п╦п╣ я│п╦я│я┌п╣п╪я▀ я│п©п╣я├п╦п╟п╩я▄п╫п╬ я│п╬п╥п╢п╟п╫я▀ п╢п╩я▐ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╢п╣я─п╣п╡я▄я▐п╪п╦ п╦я│я┘п╬п╢п╫п╬пЁп╬ п╨п╬п╢п╟ п╦ п╦п╪п╣я▌я┌ п╪п╫п╬п╤п╣я│я┌п╡п╬ п╬я│п╬п╠п╣п╫п╫п╬я│я┌п╣п╧, п╫п╣п©п╬я│я─п╣п╢я│я┌п╡п╣п╫п╫п╬ п╬я┌п╫п╬я│я▐я┴п╦я┘я│я▐ п╨ я─п╟п╥я─п╟п╠п╬я┌п╨п╣ п©я─п╬пЁя─п╟п╪п╪: п╬п╫п╦ п©п╬п╫п╦п╪п╟я▌я┌ я▐п╥я▀п╨п╦ п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟п╫п╦я▐ п╦ п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐я▌я┌ п╦п╫я│я┌я─я┐п╪п╣п╫я┌я▀ п╢п╩я▐ я│п╠п╬я─п╨п╦ п©я─п╬пЁя─п╟п╪п╪. Subversion п╫п╣ я▐п╡п╩я▐п╣я┌я│я▐ я┌п╟п╨п╬п╧ я│п╦я│я┌п╣п╪п╬п╧, п╬п╫п╟ п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ я│п╦я│я┌п╣п╪я┐ п╬п╠я┴п╣пЁп╬ п╫п╟п╥п╫п╟я┤п╣п╫п╦я▐, п╨п╬я┌п╬я─я┐я▌ п╪п╬п╤п╫п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╢п╩я▐ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╩я▌п╠я▀п╪ п╫п╟п╠п╬я─п╬п╪ я└п╟п╧п╩п╬п╡. п■п╩я▐ п▓п╟я│ я█я┌п╬ п╠я┐п╢я┐я┌ п╦я│я┘п╬п╢п╫п╦п╨п╦ п▓п╟я┬п╦я┘ п©я─п╬пЁя─п╟п╪п╪, п╟ п╢п╩я▐ п╨п╬пЁп╬-я┌п╬ п╢я─я┐пЁп╬пЁп╬ я█я┌п╬ п╠я┐п╢п╣я┌ я│п©п╦я│п╬п╨ п©я─п╬п╢я┐п╨я┌п╬п╡ п╦п╩п╦ я│п╡п╣п╢я▒п╫п╫п╬п╣ я├п╦я└я─п╬п╡п╬п╣ п╡п╦п╢п╣п╬.

п≤я│я┌п╬я─п╦я▐ Subversion

п▓ п╫п╟я┤п╟п╩п╣ 2000 пЁп╬п╢п╟ п╨п╬п╪п©п╟п╫п╦я▐ CollabNet, Inc. (http://www.collab.net) п╫п╟я┤п╟п╩п╟ п©п╬п╦я│п╨ п╩я▌п╢п╣п╧ п╢п╩я▐ п╫п╟п©п╦я│п╟п╫п╦я▐ я│п╦я│я┌п╣п╪я▀, я│п©п╬я│п╬п╠п╫п╬п╧ п╥п╟п╪п╣п╫п╦я┌я▄ CVS. CollabNet п©я─п╣п╢п╩п╟пЁп╟п╣я┌ п╨п╬п╪п©п╩п╣п╨я│ п©я─п╬пЁя─п╟п╪п╪п╫я▀я┘ я│я─п╣п╢я│я┌п╡ п╢п╩я▐ я│п╬п╡п╪п╣я│я┌п╫п╬п╧ я─п╟п╠п╬я┌я▀, п╦п╥п╡п╣я│я┌п╫я▀п╧ п©п╬п╢ п╫п╟п╥п╡п╟п╫п╦п╣п╪ CollabNet Enterprise Edition (CEE) [5], п╬п╢п╫п╦п╪ п╦п╥ я│п╬я│я┌п╟п╡п╩я▐я▌я┴п╦я┘ п╨п╬я┌п╬я─п╬пЁп╬ я▐п╡п╩я▐п╣я┌я│я▐ я│я─п╣я│я┌п╡п╬ п╢п╩я▐ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦. п▓ п╨п╟я┤п╣я│я┌п╡п╣ я┌п╟п╨п╬пЁп╬ я│я─п╣п╢я│я┌п╡п╟ п╡ CEE п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╩п╟я│я▄ CVS, я┘п╬я┌я▐ п╣я▒ п╫п╣п╢п╬я│я┌п╟я┌п╨п╦ п╠я▀п╩п╦ п╬я┤п╣п╡п╦п╢п╫я▀ я│ я│п╟п╪п╬пЁп╬ п╫п╟я┤п╟п╩п╟, п╦ п╢п╩я▐ CollabNet п╠я▀п╩п╬ я▐я│п╫п╬, я┤я┌п╬ я─п╟п╫п╬ п╦п╩п╦ п©п╬п╥п╢п╫п╬ п©я─п╦п╢я▒я┌я│я▐ п╦я│п╨п╟я┌я▄ п╥п╟п╪п╣п╫я┐. п  я│п╬п╤п╟п╩п╣п╫п╦я▌, CVS я│я┌п╟п╩п╟ я│я┌п╟п╫п╢п╟я─я┌п╬п╪ п╢п╣-я└п╟п╨я┌п╬ п╡ п╪п╦я─п╣ п╬я┌п╨я─я▀я┌п╬пЁп╬ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐, п©я─п╦я┤я▒п╪ п©п╬ я┌п╬п╧ п╩п╦я┬я▄ п©я─п╦я┤п╦п╫п╣, я┤я┌п╬ п╫п╦я┤п╣пЁп╬ п╩я┐я┤я┬п╣пЁп╬ п╡ я┌п╬ п╡я─п╣п╪я▐ п╫п╣ я│я┐я┴п╣я│я┌п╡п╬п╡п╟п╩п╬, п©п╬ п╨я─п╟п╧п╫п╣п╧ п╪п╣я─п╣ я│я─п╣п╢п╦ п©я─п╬пЁя─п╟п╪п╪ я│п╬ я│п╡п╬п╠п╬п╢п╫п╬п╧ п╩п╦я├п╣п╫п╥п╦п╣п╧. п≤ я┌п╬пЁп╢п╟ CollabNet я─п╣я┬п╦п╩п╟ п╫п╟п©п╦я│п╟я┌я▄ п╫п╬п╡я┐я▌ я│п╦я│я┌п╣п╪я┐ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ я│ п╫я┐п╩я▐, я│п╬я┘я─п╟п╫п╦п╡ п╬я│п╫п╬п╡п╫я▀п╣ п╦п╢п╣п╦ CVS, п╫п╬ п╠п╣п╥ п╬я┬п╦п╠п╬п╨ п╦ п╫п╣я┐п╢п╬п╠я│я┌п╡, п©я─п╦я│я┐я┴п╦я┘ CVS.

п▓ я└п╣п╡я─п╟п╩п╣ 2000 пЁп╬п╢п╟ CollabNet я│п╡я▐п╥п╟п╩п╟я│я▄ я│ п╟п╡я┌п╬я─п╬п╪ п╨п╫п╦пЁп╦ Open Source Development with CVS [6] п п╟я─п╩п╬п╪ п╓п╬пЁп╣п╩п╣п╪ [Karl Fogel] п╦ п©я─п╣п╢п╩п╬п╤п╦п╩п╟ п╣п╪я┐ п©я─п╦п╫я▐я┌я▄ я┐я┤п╟я│я┌п╦п╣ п╡ я█я┌п╬п╪ п╫п╬п╡п╬п╪ п©я─п╬п╣п╨я┌п╣. п║п╟п╪п╬п╣ п╦п╫я┌п╣я─п╣я│п╫п╬п╣ я┌п╬, я┤я┌п╬ п п╟я─п╩ п╨п╟п╨ я─п╟п╥ я┌п╬пЁп╢п╟ я┐п╤п╣ п╬п╠я│я┐п╤п╢п╟п╩ п©я─п╬п╣п╨я┌ п╫п╬п╡п╬п╧ я│п╦я│я┌п╣п╪я▀ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ я│п╬ я│п╡п╬п╦п╪ п╢я─я┐пЁп╬п╪ п■п╤п╦п╪п╬п╪ п▒п╩я█п╫п╢п╦ [Jim Blandy]. п∙я┴я▒ п╡ 1995 пЁп╬п╢я┐ п╬п╫п╦ я│п╬п╥п╢п╟п╩п╦ п╨п╬п╪п©п╟п╫п╦я▌ Cyclic Software, п╨п╬я┌п╬я─п╟я▐ п╥п╟п╫п╦п╪п╟п╩п╟я│я▄ п©п╬п╢п╢п╣я─п╤п╨п╬п╧ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ CVS, п╦ я┘п╬я┌я▐ п©п╬п╥п╢п╫п╣п╣ я█я┌п╬я┌ п╠п╦п╥п╫п╣я│ п╠я▀п╩ п©я─п╬п╢п╟п╫, п╢я─я┐п╥я▄я▐ п©я─п╬п╢п╬п╩п╤п╟п╩п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ CVS п╡ п©п╬п╡я│п╣п╢п╫п╣п╡п╫п╬п╧ я─п╟п╠п╬я┌п╣. п≤я┘ я─п╟п╥п╬я┤п╟я─п╬п╡п╟п╫п╦п╣ п╡ CVS п©я─п╦п╡п╣п╩п╬ п■п╤п╦п╪п╟ п╨ п╬п╠п╢я┐п╪я▀п╡п╟п╫п╦я▌ я┐п╩я┐я┤я┬п╣п╫п╦я▐ п©я─п╦п╫я├п╦п©п╬п╡ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦. п▓п©п╬я│п╩п╣п╢я│я┌п╡п╦п╦ п■п╤п╦п╪ п╫п╣ я┌п╬п╩я▄п╨п╬ п©я─п╦п╢я┐п╪п╟п╩ п╫п╟п╥п╡п╟п╫п╦п╣ б╚Subversionб╩, п╫п╬ п╦ я─п╟п╥я─п╟п╠п╬я┌п╟п╩ п╬я│п╫п╬п╡п╫я▀п╣ п©я─п╦п╫я├п╦п©я▀ я┐я│я┌я─п╬п╧я│я┌п╡п╟ я┘я─п╟п╫п╦п╩п╦я┴п╟ Subversion. п п╟я─п╩ я│я─п╟п╥я┐ я│п╬пЁп╩п╟я│п╦п╩я│я▐ п╫п╟ п©я─п╣п╢п╩п╬п╤п╣п╫п╦п╣ CollabNet, п╟ я─п╟п╠п╬я┌п╬п╢п╟я┌п╣п╩я▄ п■п╤п╦п╪п╟, RedHat Software, п©п╬п╤п╣я─я┌п╡п╬п╡п╟п╩ я│п╡п╬п╦п╪ я│п╬я┌я─я┐п╢п╫п╦п╨п╬п╪ п╢п╩я▐ я█я┌п╬пЁп╬ п©я─п╬п╣п╨я┌п╟, п©я─п╣п╢п╬я│я┌п╟п╡п╦п╡ п╣п╪я┐ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ я─п╟п╠п╬я┌п╟я┌я▄ п╫п╟п╢ Subversion п╡ я┌п╣я┤п╣п╫п╦п╣ п╫п╣п╬пЁя─п╟п╫п╦я┤п╣п╫п╫п╬пЁп╬ п╡я─п╣п╪п╣п╫п╦. CollabNet п╡п╥я▐п╩п╟ п╫п╟ я─п╟п╠п╬я┌я┐ п п╟я─п╩п╟ п╦ п▒п╣п╫п╟ п п╬п╩п╩п╦п╫п╥п╟-п║п╟я│я│п╪п╟п╫п╟ [Ben Collins-Sussman], п╦ п╡ п╪п╟п╣ п╫п╟я┤п╟п╩п╟я│я▄ я─п╟п╠п╬я┌п╟ п©п╬ п©я─п╬п╣п╨я┌п╦я─п╬п╡п╟п╫п╦я▌ я│п╦я│я┌п╣п╪я▀. п▒п╩п╟пЁп╬п╢п╟я─я▐ п╫п╣я│п╨п╬п╩я▄п╨п╦п╪ п╦п╫я┌я┐п╦я┌п╦п╡п╫п╬ я┌п╬я┤п╫я▀п╪ я┬п╟пЁп╟п╪, п©я─п╣п╢п©я─п╦п╫я▐я┌я▀я┘ п▒я─п╟п╧п╟п╫п╬п╪ п▒п╣п╩п╣п╫п╢п╬я─я└п╬п╪ [Brian Behlendorf] п╦ п■п╤п╣п╧я│п╬п╫п╬п╪ п═п╬п╠п╠п╦п╫я│п╬п╪ [Jason Robbins] п╦п╥ CollabNet п╦ п⌠я─п╣пЁп╬п╪ п║я┌п╟п╧п╫п╬п╪, п╫п╟ я┌п╬я┌ п╪п╬п╪п╣п╫я┌ п╫п╣п╥п╟п╡п╦я│п╦п╪я▀п╪ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╪, п╟п╨я┌п╦п╡п╫п╬ я┐я┤п╟я│я┌п╡я┐я▌я┴п╦п╪ п╡ я│п╬п╥п╢п╟п╫п╦п╦ я│п©п╣я├п╦я└п╦п╨п╟я├п╦п╦ WebDAV/DeltaV, п╡п╬п╨я─я┐пЁ Subversion п╠я▀я│я┌я─п╬ п╬п╠я─п╟п╥п╬п╡п╟п╩п╬я│я▄ я│п╬п╬п╠я┴п╣я│я┌п╡п╬ п╟п╨я┌п╦п╡п╫я▀я┘ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡. п·п╨п╟п╥п╟п╩п╬я│я▄, я┤я┌п╬ п╪п╫п╬пЁп╦п╣ п╩я▌п╢п╦ п╦я│п©я▀я┌я▀п╡п╟п╩п╦ п©п╬я┘п╬п╤п╣п╣ я┤я┐п╡я│я┌п╡п╬ я─п╟п╥п╬я┤п╟я─п╬п╡п╟п╫п╦я▐ п╬я┌ CVS, п╦ п╬п╫п╦ я│ я─п╟п╢п╬я│я┌я▄я▌ п©я─п╦п╡п╣я┌я│я┌п╡п╬п╡п╟п╩п╦ п©п╬я▐п╡п╦п╡я┬я┐я▌я│я▐, п╫п╟п╨п╬п╫п╣я├, п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╦п╥п╪п╣п╫п╦я┌я▄ п©п╬п╩п╬п╤п╣п╫п╦п╣ п╡п╣я┴п╣п╧.

п║я┌п╟я─я┌п╬п╡я▀п╧ п╨п╬п╩п╩п╣п╨я┌п╦п╡ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡ я─п╣я┬п╦п╩ п╬я│я┌п╟п╫п╬п╡п╦я┌я▄я│я▐ п╫п╟ п╢п╬я│я┌п╦п╤п╣п╫п╦п╦ я─я▐п╢п╟ п©я─п╬я│я┌я▀я┘ я├п╣п╩п╣п╧. п·п╫п╦ п╫п╣ я│п╬п╠п╦я─п╟п╩п╦я│я▄ п╦п╥п╬п╠я─п╣я┌п╟я┌я▄ п╡п╣п╩п╬я│п╦п©п╣п╢ п╡ п©п╬п╢я┘п╬п╢п╟я┘ п╨ я┐п©я─п╟п╡п╩п╣п╫п╦я▌ п╡п╣я─я│п╦я▐п╪п╦, я│п╨п╬я─п╣п╣ п╦п╪ п©я─п╬я│я┌п╬ я┘п╬я┌п╣п╩п╬я│я▄ п╦я│п©я─п╟п╡п╦я┌я▄ CVS. п╜я┌п╬я┌ п╨п╬п╩п╩п╣п╨я┌п╦п╡ я─п╣я┬п╦п╩, я┤я┌п╬ Subversion п╢п╬п╩п╤п╫п╟ я│п╬п╬я┌п╡п╣я┌я│я┌п╡п╬п╡п╟я┌я▄ CVS п©п╬ п╫п╟п╠п╬я─я┐ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╣п╧, я│п╬я┘я─п╟п╫п╦я┌я▄ я┌я┐ п╤п╣ я│п╟п╪я┐я▌ п╪п╬п╢п╣п╩я▄ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╦ п╦п╥п╠п╣п╤п╟я┌я▄ п╫п╣п╢п╬я│я┌п╟я┌п╨п╬п╡ CVS. п╔п╬я┌я▐ п©п╣я─п╣п╢ п╫п╦п╪п╦ п╫п╣ я│я┌п╬я▐п╩п╟ п╥п╟п╢п╟я┤п╟ я│п╢п╣п╩п╟я┌я▄ я│п╦я│я┌п╣п╪я┐, п©п╬п╩п╫п╬я│я┌я▄я▌ п╦п╢п╣п╫я┌п╦я┤п╫я┐я▌ CVS, п╠я▀п╩п╬ я▐я│п╫п╬, я┤я┌п╬ Subverion п╢п╬п╩п╤п╫п╟ п╠я▀я┌я▄ п©п╬я┘п╬п╤п╟ п╫п╟ CVS, я┤я┌п╬п╠я▀ п╩я▌п╠п╬п╧ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ CVS п╪п╬пЁ п©п╣я─п╣п╧я┌п╦ п╫п╟ п╫п╬п╡я┐я▌ я│п╦я│я┌п╣п╪я┐ п╠п╣п╥ п╬я│п╬п╠я▀я┘ п╥п╟я┌я─я┐п╢п╫п╣п╫п╦п╧.

п≤ п╡п╬я┌, 31 п╟п╡пЁя┐я│я┌п╟ 2001 пЁп╬п╢п╟, я│п©я┐я│я┌я▐ я┤п╣я┌я▀я─п╫п╟п╢я├п╟я┌я▄ п╪п╣я│я▐я├п╣п╡ я│ п╫п╟я┤п╟п╩п╟ я─п╟п╠п╬я┌я▀, п╨п╬п╪п╟п╫п╢п╟ п©я─п╣п╨я─п╟я┌п╦п╩п╟ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ CVS п╦ п©п╣я─п╣я┬п╩п╟ п╫п╟ Subversion п╢п╩я▐ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ я│п╬п╠я│я┌п╡п╣п╫п╫п╬пЁп╬ п╦я│я┘п╬п╢п╫п╬пЁп╬ п╨п╬п╢п╟ Б─■ Subversion я│я┌п╟п╩п╟ б╚я│п╟п╪п╬п╢п╬я│я┌п╟я┌п╬я┤п╫п╬п╧б╩.

п╔п╬я┌я▐ CollabNet я│я┌п╬п╦я┌ я┐ п╦я│я┌п╬п╨п╬п╡ п©я─п╬п╣п╨я┌п╟ п╦ п©я─п╬п╢п╬п╩п╤п╟п╣я┌ я└п╦п╫п╟п╫я│п╦я─п╬п╡п╟я┌я▄ п╬я│п╫п╬п╡п╫я┐я▌ я┤п╟я│я┌я▄ я─п╟п╠п╬я┌я▀, п╬п©п╩п╟я┤п╦п╡п╟я▐ п©п╬п╩п╫я▀п╧ я─п╟п╠п╬я┤п╦п╧ п╢п╣п╫я▄ п╫п╣я│п╨п╬п╩я▄п╨п╦я┘ п╡п╣п╢я┐я┴п╦я┘ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡, Subversion я─п╟п╥п╡п╦п╡п╟п╣я┌я│я▐ п©п╬п╢п╬п╠п╫п╬ п╠п╬п╩я▄я┬п╦п╫я│я┌п╡я┐ п©я─п╬п╣п╨я┌п╬п╡ я│ п╬я┌п╨я─я▀я┌я▀п╪ п╦я│я┘п╬п╢п╫я▀п╪ п╨п╬п╢п╬п╪, я┐п©я─п╟п╡п╩я▐я▐я│я▄ я│п╡п╬п╠п╬п╢п╫я▀п╪ п╦ п©я─п╬п╥я─п╟я┤п╫я▀п╪ п╫п╟п╠п╬я─п╬п╪ п©я─п╟п╡п╦п╩, п©п╬п╬я┴я─я▐я▌я┴п╦я┘ п╪п╣я─п╦я┌п╬п╨я─п╟я┌п╦я▌. п⌡п╦я├п╣п╫п╥п╦я▐ CollabNet п©п╬п╩п╫п╬я│я┌я▄я▌ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐п╣я┌ п©я─п╦п╫я├п╦п©п╟п╪ я│п╡п╬п╠п╬п╢п╫п╬пЁп╬ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐ Debian Б─■ п╩я▌п╠п╬п╧ я┤п╣п╩п╬п╡п╣п╨ п╪п╬п╤п╣я┌ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟я┌я▄, п╦п╥п╪п╣п╫я▐я┌я▄ п╦ я─п╟я│п©я─п╬я│я┌я─п╟п╫я▐я┌я▄ Subversion я┌п╟п╨, п╨п╟п╨ п╣п╪я┐ п╥п╟п╠п╩п╟пЁп╬я─п╟я│я│я┐п╢п╦я┌я│я▐; п╢п╩я▐ я█я┌п╬пЁп╬ п╫п╣ я┌я─п╣п╠я┐п╣я┌я│я▐ я─п╟п╥я─п╣я┬п╣п╫п╦я▐ п╫п╦ п╬я┌ CollabNet, п╫п╦ п╬я┌ п╨п╬пЁп╬-п╩п╦п╠п╬ п╣я┴я▒.

п▓п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ Subversion

п·п╠я│я┐п╤п╢п╟я┌я▄ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ Subversion я┐п╢п╬п╠п╫п╣п╣ п╡я│п╣пЁп╬ п╡ я─п╟п╥я─п╣п╥п╣ п╣я▒ я┐п╩я┐я┤я┬п╣п╫п╦п╧ п©п╬ я│я─п╟п╡п╫п╣п╫п╦я▌ я│ CVS. п║я┐я┌я▄ п╫п╣п╨п╬я┌п╬я─я▀я┘ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟п╣п╪я▀я┘ п╥п╢п╣я│я▄ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╣п╧ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ п╫п╣ я│п╬п╡я│п╣п╪ п©п╬п╫я▐я┌п╫п╟ я┤п╦я┌п╟я┌п╣п╩я▐п╪, п╨п╬я┌п╬я─я▀п╣ п©п╩п╬я┘п╬ п╥п╫п╟п╨п╬п╪я▀ я│ CVS. п∙я│п╩п╦ п╤п╣ п╡я▀ я│п╬п╡я│п╣п╪ п╫п╣ п╦п╪п╣п╣я┌п╣ п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫п╦я▐ п╬п╠ я┐п©я─п╟п╡п╩п╣п╫п╦п╦ п╡п╣я─я│п╦я▐п╪п╦, я┌п╬ п╡п╟п╪ п╩я┐я┤я┬п╣ я│п╫п╟я┤п╟п╩п╟ п©я─п╬я┤п╦я┌п╟я┌я▄ пЁп╩п╟п╡я┐ 2, б╚п·я│п╫п╬п╡п╫я▀п╣ п©п╬п╫я▐я┌п╦я▐б╩, пЁп╢п╣ п╢п╟я▒я┌я│я▐ п╢п╬я│я┌я┐п©п╫п╬п╣ п╡п╡п╣п╢п╣п╫п╦п╣ п╡ я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦.

Subversion п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣я┌ я│п╩п╣п╢я┐я▌я┴п╦п╣ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦:

п п╬п╫я┌я─п╬п╩я▄ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╨п╟я┌п╟п╩п╬пЁп╬п╡

CVS я│п╩п╣п╢п╦я┌ я┌п╬п╩я▄п╨п╬ п╥п╟ п╦я│я┌п╬я─п╦п╣п╧ п╬я┌п╢п╣п╩я▄п╫я▀я┘ я└п╟п╧п╩п╬п╡, я┌п╬пЁп╢п╟ п╨п╟п╨ Subversion п╦я│п©п╬п╩я▄п╥я┐п╣я┌ б╚п╡п╦я─я┌я┐п╟п╩я▄п╫я┐я▌б╩ я└п╟п╧п╩п╬п╡я┐я▌ я│п╦я│я┌п╣п╪я┐ я│ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▐п╪п╦ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦, п╨п╬я┌п╬я─п╟я▐ я│п©п╬я│п╬п╠п╫п╟ п╬я┌я│п╩п╣п╤п╦п╡п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡п╬ п╡я─п╣п╪п╣п╫п╦ я├п╣п╩я▀я┘ я│я┌я─я┐п╨я┌я┐я─ п╨п╟я┌п╟п╩п╬пЁп╬п╡. п÷п╬п╢ я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦ п©п╬п©п╟п╢п╟я▌я┌ п╦ я└п╟п╧п╩я▀, п╦ п╨п╟я┌п╟п╩п╬пЁп╦.

п²п╟я│я┌п╬я▐я┴п╟я▐ п╦я│я┌п╬я─п╦я▐ п╡п╣я─я│п╦п╧

CVS п╨п╬п╫я┌я─п╬п╩п╦я─я┐п╣я┌ п╩п╦я┬я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я└п╟п╧п╩п╬п╡, п©п╬я█я┌п╬п╪я┐ я┌п╟п╨п╦п╣ п╬п©п╣я─п╟я├п╦п╦, п╨п╟п╨ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣ п╦ п©п╣я─п╣п╦п╪п╣п╫п╬п╡п╟п╫п╦п╣, я┘п╬я┌я▐ п╦ п╬я┌п╫п╬я│я▐я┴п╦п╣я│я▐ п╨ я└п╟п╧п╩п╟п╪, п╫п╬ п©п╬ я│я┐я┴п╣я│я┌п╡я┐ я▐п╡п╩я▐я▌я┴п╦п╣я│я▐ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡, я│п╬п╢п╣я─п╤п╟я┴п╦я┘ я█я┌п╦ я└п╟п╧п╩я▀, п╡ CVS п╫п╣ п©п╬п╢п╢п╣я─п╤п╦п╡п╟я▌я┌я│я▐. п я─п╬п╪п╣ я┌п╬пЁп╬, п╡ CVS п╡я▀ п╫п╣ п╪п╬п╤п╣я┌п╣ п╥п╟п╪п╣п╫п╦я┌я▄ я└п╟п╧п╩, п©п╬п╪п╣я┴я▒п╫п╫я▀п╧ п©п╬п╢ я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦, п╢я─я┐пЁп╦п╪ я└п╟п╧п╩п╬п╪ я│ я┌п╣п╪ п╤п╣ п╦п╪п╣п╫п╣п╪, п╫п╬ я│п╬п╡п╣я─я┬п╣п╫п╫п╬ п╦п╫я▀п╪ я│п╬п╢п╣я─п╤п╟п╫п╦п╣п╪, п╡п╬п╥п╪п╬п╤п╫п╬ п╫п╦п╨п╟п╨ п╫п╣ я│п╡я▐п╥п╟п╫п╫я▀п╪ я│п╬ я│я┌п╟я─я▀п╪ п╬п╠я┼п╣п╨я┌п╬п╪, п╠п╣п╥ п╫п╟я│п╩п╣п╢п╬п╡п╟п╫п╦я▐ я┌п╟п╨п╦п╪ я█п╩п╣п╪п╣п╫я┌п╬п╪ п╡я│п╣п╧ п╦я│я┌п╬я─п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧. Subversion п╢п╣п╩п╟п╣я┌ п╡п╬п╥п╪п╬п╤п╫я▀п╪ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╣, я┐п╢п╟п╩п╣п╫п╦п╣, п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣ п╦ п©п╣я─п╣п╦п╪п╣п╫п╬п╡п╟п╫п╦п╣ п╨п╟п╨ я└п╟п╧п╩п╬п╡, я┌п╟п╨ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡. п÷я─п╦ я█я┌п╬п╪ п╨п╟п╤п╢я▀п╧ п╡п╫п╬п╡я▄ п╢п╬п╠п╟п╡п╩п╣п╫п╫я▀п╧ я└п╟п╧п╩ п╫п╟я┤п╦п╫п╟п╣я┌ п╤п╦п╥п╫я▄ я│ я┤п╦я│я┌п╬пЁп╬ п╩п╦я│я┌п╟, я│п╬я┘я─п╟п╫я▐я▐ я│п╬п╠я│я┌п╡п╣п╫п╫я┐я▌ п╦я│я┌п╬я─п╦я▌ п╦п╥п╪п╣п╫п╣п╫п╦п╧.

п░я┌п╬п╪п╟я─п╫п╟я▐ я└п╦п╨я│п╟я├п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧

п п╟п╤п╢я▀п╧ п╫п╟п╠п╬я─ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╩п╦п╠п╬ п©п╬п©п╟п╢п╟п╣я┌ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ я├п╣п╩п╦п╨п╬п╪, п╩п╦п╠п╬ п╫п╣ п©п╬п©п╟п╢п╟п╣я┌ я┌я┐п╢п╟ п╡п╬п╡я│п╣. п╜я┌п╬ п©п╬п╥п╡п╬п╩я▐п╣я┌ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╟п╪ я│п╬п╥п╢п╟п╡п╟я┌я▄ п╦ я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╩п╬пЁп╦я┤п╣я│п╨п╦ п╬п©я─п╟п╡п╢п╟п╫п╫я▀п╪п╦ п╨я┐я│п╨п╟п╪п╦, п©я─п╣п╢п╬я┌п╡я─п╟я┴п╟я▐ я┌п╣п╪ я│п╟п╪я▀п╪ п©я─п╬п╠п╩п╣п╪я▀, п╨п╬я┌п╬я─я▀п╣ п╪п╬пЁя┐я┌ п╡п╬п╥п╫п╦п╨п╟я┌я▄ п╡ я┌п╣я┘ я│п╩я┐я┤п╟я▐я┘, п╨п╬пЁп╢п╟ я┌п╬п╩я▄п╨п╬ я┤п╟я│я┌я▄ п╫п╣п╬п╠я┘п╬п╢п╦п╪я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п©п╬п╪п╣я┴п╟п╣я┌я│я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ я┐я│п©п╣я┬п╫п╬.

п°п╣я┌п╟п╢п╟п╫п╫я▀п╣ я│ п╡п╣я─я│п╦я▐п╪п╦

п п╟п╤п╢я▀п╧ я└п╟п╧п╩ п╦ п╨п╟я┌п╟п╩п╬пЁ п╦п╪п╣п╣я┌ я│п╬п╠я│я┌п╡п╣п╫п╫я▀п╧ п╫п╟п╠п╬я─ я│п╡п╬п╧я│я┌п╡, п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫п╫я▀я┘ п╡ п╡п╦п╢п╣ п╫п╟п╥п╡п╟п╫п╦я▐ п╦ п╥п╫п╟я┤п╣п╫п╦я▐. п▓я▀ п╪п╬п╤п╣я┌п╣ я│п╬п╥п╢п╟п╡п╟я┌я▄ п╦ я│п╬я┘я─п╟п╫я▐я┌я▄ п╩я▌п╠я▀п╣ п╫п╣п╬п╠я┘п╬п╢п╦п╪я▀п╣ п©п╟я─я▀ п╫п╟п╥п╡п╟п╫п╦п╧ я│п╡п╬п╧я│я┌п╡ п╦ п╦я┘ п╥п╫п╟я┤п╣п╫п╦п╧. п║п╡п╬п╧я│я┌п╡п╟ я└п╟п╧п╩п╬п╡ я┌п╬я┤п╫п╬ я┌п╟п╨ п╤п╣ п╫п╟я┘п╬п╢я▐я┌я│я▐ п©п╬п╢ я┐п©я─п╟п╡п╩п╣п╫п╦п╣п╪ п╡п╣я─я│п╦я▐п╪п╦, п╨п╟п╨ п╦ п╦я┘ я│п╬п╢п╣я─п╤п╦п╪п╬п╣.

п▓я▀п╠п╬я─ я│я─п╣п╢я│я┌п╡ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐ п©п╬ я│п╣я┌п╦

п▓ Subversion п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╟п╠я│я┌я─п╟п╨я├п╦я▐ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐, я┤я┌п╬ п©п╬п╥п╡п╬п╩я▐п╣я┌ я─п╣п╟п╩п╦п╥п╬п╡я▀п╡п╟я┌я▄ я│п╟п╪я▀п╣ я─п╟п╥п╫я▀п╣ я│п╣я┌п╣п╡я▀п╣ п╪п╣я┘п╟п╫п╦п╥п╪я▀ п╢п╬я│я┌я┐п©п╟. Subversion п╪п╬п╤п╣я┌ п╠я▀я┌я▄ п©п╬п╢п╨п╩я▌я┤п╣п╫п╟ п╨ я│п╣я─п╡п╣я─я┐ HTTP Apache п╡ п╡п╦п╢п╣ п╪п╬п╢я┐п╩я▐, я┤я┌п╬ п╢п╟я▒я┌ п╣п╧ п╬пЁя─п╬п╪п╫п╬п╣ п©я─п╣п╦п╪я┐я┴п╣я│я┌п╡п╬ я│ я┌п╬я┤п╨п╦ п╥я─п╣п╫п╦я▐ я┐я│я┌п╬п╧я┤п╦п╡п╬я│я┌п╦ я─п╟п╠п╬я┌я▀ п╦ я│п©п╬я│п╬п╠п╫п╬я│я┌п╦ п╨ п╡п╥п╟п╦п╪п╬п╢п╣п╧я│я┌п╡п╦я▌, п╟ я┌п╟п╨п╤п╣ п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣я┌ п©я─я▐п╪п╬п╧ п╢п╬я│я┌я┐п© п╨ я│я┐я┴п╣я│я┌п╡я┐я▌я┴п╦п╪ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▐п╪ я█я┌п╬пЁп╬ я│п╣я─п╡п╣я─п╟, п╡п╨п╩я▌я┤п╟я▐ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╦п╣ п╩п╦я┤п╫п╬я│я┌п╦, п©я─п╬п╡п╣я─п╨я┐ п©я─п╟п╡ п╢п╬я│я┌я┐п©п╟ п╦ я│п╤п╟я┌п╦п╣ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п©я─п╦ п©п╣я─п╣п╢п╟я┤п╣. п я─п╬п╪п╣ я┌п╬пЁп╬, п╦п╪п╣п╣я┌я│я▐ п╩я▒пЁп╨п╦п╧ я│п╟п╪п╬я│я┌п╬я▐я┌п╣п╩я▄п╫я▀п╧ я│п╣я─п╡п╣я─ Subversion, п╨п╬я┌п╬я─я▀п╧ п╦я│п©п╬п╩я▄п╥я┐п╣я┌ я│п╬п╠я│я┌п╡п╣п╫п╫я▀п╧ п©я─п╬я┌п╬п╨п╬п╩ п╡п╥п╟п╦п╪п╬п╢п╣п╧я│я┌п╡п╦я▐ я│ п╨п╩п╦п╣п╫я┌п╟п╪п╦ п╦ п╪п╬п╤п╣я┌ п╩п╣пЁп╨п╬ я┌я┐п╫п╫п╣п╩п╦я─п╬п╡п╟я┌я▄ п╢п╟п╫п╫я▀п╣ я┤п╣я─п╣п╥ SSH.

п∙п╢п╦п╫я▀п╧ я│п©п╬я│п╬п╠ я─п╟п╠п╬я┌я▀ я│ п╢п╟п╫п╫я▀п╪п╦

Subversion п╬п╠п╫п╟я─я┐п╤п╦п╡п╟п╣я┌ я─п╟п╥п╩п╦я┤п╦я▐ п╪п╣п╤п╢я┐ я└п╟п╧п╩п╟п╪п╦ я│ п©п╬п╪п╬я┴я▄я▌ я│п©п╣я├п╦п╟п╩я▄п╫п╬пЁп╬ п╠п╦п╫п╟я─п╫п╬пЁп╬ п╟п╩пЁп╬я─п╦я┌п╪п╟, п╨п╬я┌п╬я─я▀п╧ п╬п╢п╦п╫п╟п╨п╬п╡п╬ я─п╟п╠п╬я┌п╟п╣я┌ п╨п╟п╨ я│ я┌п╣п╨я│я┌п╬п╡я▀п╪п╦, я┌п╟п╨ п╦ я│ п╠п╦п╫п╟я─п╫я▀п╪п╦ я└п╟п╧п╩п╟п╪п╦. п╓п╟п╧п╩я▀ п╥п╟п©п╦я│я▀п╡п╟я▌я┌я│я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╡ я│п╤п╟я┌п╬п╪ п╡п╦п╢п╣ п╫п╣п╥п╟п╡п╦я│п╦п╪п╬ п╬я┌ п╦я┘ я┌п╦п©п╟, п╟ я─п╟п╥п╩п╦я┤п╦я▐ п╪п╣п╤п╢я┐ п╬я┌п╢п╣п╩я▄п╫я▀п╪п╦ п╡п╣я─я│п╦я▐п╪п╦ п╪п╬пЁя┐я┌ п©п╣я─п╣п╢п╟п╡п╟я┌я▄я│я▐ п©п╬ я│п╣я┌п╦ п╡ п╬п╠п╬п╦я┘ п╫п╟п©я─п╟п╡п╩п╣п╫п╦я▐я┘.

п╜я└я└п╣п╨я┌п╦п╡п╫я▀п╣ п╡п╣я┌п╨п╦ п╦ п╪п╣я┌п╨п╦

п÷п╩п╟я┌п╟ п╥п╟ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ п╡п╣я┌п╬п╨ п╦ п╪п╣я┌п╬п╨ п╫п╣ п╢п╬п╩п╤п╫п╟ п╠я▀я┌я▄ п©я─п╬п©п╬я─я├п╦п╬п╫п╟п╩я▄п╫п╟ я─п╟п╥п╪п╣я─я┐ п©я─п╬п╣п╨я┌п╟. Subversion я│п╬п╥п╢п╟я▒я┌ п╡п╣я┌п╨п╦ п╦ п╪п╣я┌п╨п╦ п©я┐я┌я▒п╪ п©я─п╬я│я┌п╬пЁп╬ п╨п╬п©п╦я─п╬п╡п╟п╫п╦я▐ п©я─п╬п╣п╨я┌п╟, п╦я│п©п╬п╩я▄п╥я┐я▐ п╪п╣я┘п╟п╫п╦п╥п╪, п©п╬я┘п╬п╤п╦п╧ п╫п╟ п╤я▒я│я┌п╨п╦п╣ я│я│я▀п╩п╨п╦ п╡ я└п╟п╧п╩п╬п╡я▀я┘ я│п╦я│я┌п╣п╪п╟я┘. п▒п╩п╟пЁп╬п╢п╟я─я▐ я█я┌п╬п╪я┐, п╬п©п╣я─п╟я├п╦п╦ п©п╬ я│п╬п╥п╢п╟п╫п╦я▌ п╡п╣я┌п╬п╨ п╦ п╪п╣я┌п╬п╨ п╥п╟п╫п╦п╪п╟я▌я┌ п╫п╣п╪п╫п╬пЁп╬ п╡я─п╣п╪п╣п╫п╦.

п■я─я┐п╤п╣п╩я▌п╠п╫п╬я│я┌я▄ п©п╬ п╬я┌п╫п╬я┬п╣п╫п╦я▌ п╨ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╟п╪

Subversion п╫п╣ п╦п╪п╣п╣я┌ п╦я│я┌п╬я─п╦я┤п╣я│п╨п╬пЁп╬ п╠п╟пЁп╟п╤п╟. п·п╫п╟ я─п╣п╟п╩п╦п╥п╬п╡п╟п╫п╟ п╡ п╡п╦п╢п╣ п╫п╟п╠п╬я─п╟ п╢п╦п╫п╟п╪п╦я┤п╣я│п╨п╦я┘ п╠п╦п╠п╩п╦п╬я┌п╣п╨ п╫п╟ я▐п╥я▀п╨п╣ C, API п╨п╬я┌п╬я─я▀я┘ я┘п╬я─п╬я┬п╬ п╦п╥п╡п╣я│я┌п╣п╫. п╜я┌п╬ п╢п╣п╩п╟п╣я┌ Subversion я┤я─п╣п╥п╡я▀я┤п╟п╧п╫п╬ я┐п╢п╬п╠п╫п╬п╧ п╢п╩я▐ я│п╬п©я─п╬п╡п╬п╤п╢п╣п╫п╦я▐ я│п╦я│я┌п╣п╪п╬п╧, п©я─п╦пЁп╬п╢п╫п╬п╧ п╢п╩я▐ п╡п╥п╟п╦п╪п╬п╢п╣п╧я│я┌п╡п╦я▐ я│ п╢я─я┐пЁп╦п╪п╦ п©я─п╦п╩п╬п╤п╣п╫п╦я▐п╪п╦ п╦ я▐п╥я▀п╨п╟п╪п╦ п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟п╫п╦я▐.

п░я─я┘п╦я┌п╣п╨я┌я┐я─п╟ Subversion

п·п╠я┴п╦п╧ п╡п╥пЁп╩я▐п╢ п╫п╟ я┐я│я┌я─п╬п╧я│я┌п╡п╬ Subversion п©п╬п╨п╟п╥п╟п╫ п╫п╟ я─п╦я│я┐п╫п╨п╣ 1.1, б╚п░я─я┘п╦я┌п╣п╨я┌я┐я─п╟ Subversionб╩.

п═п╦я│я┐п╫п╬п╨ 1. п░я─я┘п╦я┌п╣п╨я┌я┐я─п╟ Subversion

п░я─я┘п╦я┌п╣п╨я┌я┐я─п╟ Subversion


п²п╟ п╬п╢п╫п╬п╧ я│я┌п╬я─п╬п╫п╣ я│я┘п╣п╪я▀ п╦п╥п╬п╠я─п╟п╤п╣п╫п╬ я┘я─п╟п╫п╦п╩п╦я┴п╣ Subversion, п╡ п╨п╬я┌п╬я─п╬п╪ я┘я─п╟п╫п╦я┌я│я▐ п╦п╫я└п╬я─п╪п╟я├п╦я▐ я│ п╡п╣я─я│п╦я▐п╪п╦. п²п╟ п©я─п╬я┌п╦п╡п╬п©п╬п╩п╬п╤п╫п╬п╧ я│я┌п╬я─п╬п╫п╣ п©п╬п╨п╟п╥п╟п╫п╟ п©я─п╬пЁя─п╟п╪п╪п╟-п╨п╩п╦п╣п╫я┌ Subversion, п╨п╬я┌п╬я─п╟я▐ я┐п©я─п╟п╡п╩я▐п╣я┌ п╩п╬п╨п╟п╩я▄п╫я▀п╪п╦ п╬я┌я─п╟п╤п╣п╫п╦я▐п╪п╦ я─п╟п╥п╩п╦я┤п╫я▀я┘ я└я─п╟пЁп╪п╣п╫я┌п╬п╡ я█я┌п╦я┘ п╢п╟п╫п╫я▀я┘ (я┌п╟п╨п╤п╣ п╫п╟п╥я▀п╡п╟п╣п╪я▀п╪п╦ б╚я─п╟п╠п╬я┤п╦п╪п╦ п╨п╬п©п╦я▐п╪п╦б╩). п°п╣п╤п╢я┐ я█я┌п╦п╪п╦ я│я┌п╬я─п╬п╫п╟п╪п╦ п©я─п╬п╩п╬п╤п╣п╫я▀ я─п╟п╥п╩п╦я┤п╫я▀п╣ п╪п╟я─я┬я─я┐я┌я▀, п©я─п╬я┘п╬п╢я▐я┴п╦п╣ я┤п╣я─п╣п╥ я─п╟п╥п╫я▀п╣ я│п╩п╬п╦ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐[7]. п²п╣п╨п╬я┌п╬я─я▀п╣ п╦п╥ я█я┌п╦я┘ п╪п╟я─я┬я─я┐я┌п╬п╡ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ п╨п╬п╪п©я▄я▌я┌п╣я─п╫я▀п╣ я│п╣я┌п╦ п╦ я│п╣я┌п╣п╡я▀п╣ я│п╣я─п╡п╣я─п╟, я┤я┌п╬п╠я▀ п╢п╬я│я┌п╦я┤я▄ я┘я─п╟п╫п╦п╩п╦я┴п╟, п╡ я┌п╬ п╡я─п╣п╪я▐ п╨п╟п╨ п╢я─я┐пЁп╦п╣ п╪п╟я─я┬я─я┐я┌я▀ п╡ я│п╣я┌п╦ п╫п╣ п╫я┐п╤п╢п╟я▌я┌я│я▐ п╦ п╡п╣п╢я┐я┌ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐ п╫п╟п©я─я▐п╪я┐я▌.

п п╬п╪п©п╬п╫п╣п╫я┌я▀ Subversion

пёя│я┌п╟п╫п╬п╡п╩п╣п╫п╫п╟я▐ Subversion п╦п╪п╣п╣я┌ п╫п╣я│п╨п╬п╩я▄п╨п╬ п╨п╬п╪п©п╬п╫п╣п╫я┌п╬п╡. п²п╦п╤п╣ п©я─п╦п╡п╬п╢п╦я┌я│я▐ п╨я─п╟я┌п╨п╦п╧ п╬п╠п╥п╬я─ я┌п╬пЁп╬, я┤я┌п╬ п╡я▀ п©п╬п╩я┐я┤п╟п╣я┌п╣. п²п╣ я┌я─п╣п╡п╬п╤я▄я┌п╣я│я▄, п╣я│п╩п╦ п╨я─п╟я┌п╨п╦п╣ п╬п©п╦я│п╟п╫п╦я▐ п╥п╟я│я┌п╟п╡п╩я▐я▌я┌ п╡п╟я│ я┤п╣я│п╟я┌я▄ п╥п╟я┌я▀п╩п╬п╨, п╡ я█я┌п╬п╧ п╨п╫п╦пЁп╣ п╣я│я┌я▄ п╣я┴п╣ п╪п╫п╬пЁп╬ я│я┌я─п╟п╫п╦я├, п©п╬я│п╡я▐я┴п╣п╫п╫я▀я┘ п╬п╠п╩п╣пЁя┤п╣п╫п╦я▌ п╡п╟я┬п╣пЁп╬ п╥п╟п╪п╣я┬п╟я┌п╣п╩я▄я│я┌п╡п╟.

svn

п п╩п╦п╣п╫я┌ я│ п╦п╫я┌п╣я─я└п╣п╧я│п╬п╪ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦.

svnversion

п÷я─п╬пЁя─п╟п╪п╪п╟, п©п╬п╨п╟п╥я▀п╡п╟я▌я┴п╟я▐ я│п╬я│я┌п╬я▐п╫п╦п╣ (п╡ п©я─п╣п╢п╣п╩п╟я┘ я─п╣п╡п╦п╥п╦п╧ я│я┐я┴п╣я│я┌п╡я┐я▌я┴п╦я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡) я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦.

svnlook

п≤п╫я│я┌я─я┐п╪п╣п╫я┌ п©я─я▐п╪п╬пЁп╬ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪ Subversion.

svnadmin

п≤п╫я│я┌я─я┐п╪п╣п╫я┌ п╢п╩я▐ я│п╬п╥п╢п╟п╫п╦я▐, п╫п╟я│я┌я─п╬п╧п╨п╦ п╦п╩п╦ п╡п╬я│я│я┌п╟п╫п╬п╡п╩п╣п╫п╦я▐ я┘я─п╟п╫п╦п╩п╦я┴п╟ Subversion.

svndumpfilter

п÷я─п╬пЁя─п╟п╪п╪п╟ п╢п╩я▐ я└п╦п╩я▄я┌я─п╟я├п╦п╦ п╢п╟п╪п©п╬п╡я▀я┘ п©п╬я┌п╬п╨п╬п╡ я┘я─п╟п╫п╦п╩п╦я┴п╟ Subversion.

mod_dav_svn

п÷п╬п╢п╨п╩я▌я┤п╟п╣п╪я▀п╧ п╪п╬п╢я┐п╩я▄ п╢п╩я▐ HTTP-я│п╣я─п╡п╣я─п╟ Apache, п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╦п╧я│я▐ п╢п╩я▐ п©я─п╣п╢п╬я│я┌п╟п╡п╩п╣п╫п╦я▐ я│п╣я┌п╣п╡п╬пЁп╬ п╢п╬я│я┌я┐п©п╟ п╨ п╡п╟я┬п╣п╪я┐ я┘я─п╟п╫п╦п╩п╦я┴я┐.

svnserve

п║п╬п╠я│я┌п╡п╣п╫п╫я▀п╧ п╬я┌п╢п╣п╩я▄п╫я▀п╧ я│п╣я─п╡п╣я─, п╥п╟п©я┐я│п╨п╟п╣п╪я▀п╧ п╨п╟п╨ п©я─п╬я├п╣я│я│-п╢п╣п╪п╬п╫ п╦ п╢п╬я│я┌я┐п©п╫я▀п╧ п©п╬я│я─п╣п╢я│я┌п╡п╬п╪ SSH; п╣я┴п╣ п╬п╢п╦п╫ я│п©п╬я│п╬п╠ п╢п╩я▐ п©я─п╣п╢п╬я│я┌п╟п╡п╩п╣п╫п╦я▐ я│п╣я┌п╣п╡п╬пЁп╬ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐.

svnsync

п÷я─п╬пЁя─п╟п╪п╪п╟ п╢п╩я▐ п©п╬я│п╩п╣п╢п╬п╡п╟я┌п╣п╩я▄п╫п╬пЁп╬ п╥п╣я─п╨п╟п╩п╦я─п╬п╡п╟п╫п╦я▐ п╬п╢п╫п╬пЁп╬ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╡ п╢я─я┐пЁп╬п╣ я┤п╣я─п╣п╥ я│п╣я┌я▄.

п÷я─п╦ я┐я│п╩п╬п╡п╦п╦ п╨п╬я─я─п╣п╨я┌п╫п╬ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╫п╬п╧ Subversion п╡я▀ пЁп╬я┌п╬п╡я▀ п╨ я│я┌п╟я─я┌я┐. п║п╩п╣п╢я┐я▌я┴п╦п╣ п╢п╡п╣ пЁп╩п╟п╡я▀ п╬п©п╦я│я▀п╡п╟я▌я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ svn Б─■ CLI-п╨п╩п╦п╣п╫я┌п╟ Subversion.




[1] п║п╦я│я┌п╣п╪п╟ п©п╟я─п╟п╩п╩п╣п╩я▄п╫п╬пЁп╬ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦

[2] Application Program Interface, п╦п╫я┌п╣я─я└п╣п╧я│ п©я─п╦п╨п╩п╟п╢п╫п╬пЁп╬ п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟п╫п╦я▐

[3] п■п╟, п╦ я│п©п╟я│п╦п╠п╬, Karl, п╥п╟ я┌п╡п╬п╧ я┌я─я┐п╢п╬пЁп╬п╩п╦п╥п╪ п©я─п╦ п╫п╟п©п╦я│п╟п╫п╦п╦ я█я┌п╬п╧ п╨п╫п╦пЁп╦.

[4] Software Configuration Management

[5] п я─п╬п╪п╣ я┌п╬пЁп╬, п╣я┴п╣ я│я┐я┴п╣я│я┌п╡я┐п╣я┌ CollabNet Team Edition (CTE), п©я─п╣п╢п╫п╟п╥п╫п╟я┤п╣п╫п╫я▀п╧ п╡ п╬я│п╫п╬п╡п╫п╬п╪ п╢п╩я▐ п╫п╣п╠п╬п╩я▄я┬п╦я┘ п╨п╬п╪п╟п╫п╢ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡.

[6] б╚п═п╟п╥я─п╟п╠п╬я┌п╨п╟ п©я─п╬пЁя─п╟п╪п╪п╫ я│ п╬я┌п╨я─я▀я┌я▀п╪ п╦я│я┘п╬п╢п╫я▀п╪ п╨п╬п╢п╬п╪ я│ п©п╬п╪п╬я┴я▄я▌ CVSб╩

[7] Repository Access (RA) layers

п⌠п╩п╟п╡п╟ 1. п╓я┐п╫п╢п╟п╪п╣п╫я┌п╟п╩я▄п╫я▀п╣ п©п╬п╫я▐я┌п╦я▐

п║п╬п╢п╣я─п╤п╟п╫п╦п╣

п╔я─п╟п╫п╦п╩п╦я┴п╣
п°п╬п╢п╣п╩п╦ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╦я▐
п÷я─п╬п╠п╩п╣п╪п╟ я─п╟п╥п╢п╣п╩п╣п╫п╦я▐ я└п╟п╧п╩п╬п╡
п°п╬п╢п╣п╩я▄ п▒п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣-п≤п╥п╪п╣п╫п╣п╫п╦п╣-п═п╟п╥п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣
п°п╬п╢п╣п╩я▄ п п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п≤п╥п╪п╣п╫п╣п╫п╦п╣-п║п╩п╦я▐п╫п╦п╣
Subversion п╡ п╢п╣п╧я│я┌п╡п╦п╦
URL я┘я─п╟п╫п╦п╩п╦я┴п╟ п╡ Subversion
п═п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦
п÷я─п╟п╡п╨п╦
п п╟п╨ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦ п╬я┌я│п╩п╣п╤п╦п╡п╟я▌я┌ я┘я─п╟п╫п╦п╩п╦я┴п╣
п║п╪п╣я┬п╦п╡п╟п╫п╦п╣ п©я─п╟п╡п╬п╨ п╡ я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦я▐я┘
п·п╠п╫п╬п╡п╩п╣п╫п╦я▐ п╦ я└п╦п╨я│п╟я├п╦п╦ п╬я┌п╢п╣п╩п╣п╫я▀ п╢я─я┐пЁ п╬я┌ п╢я─я┐пЁп╟
п║п╪п╣я┬п╦п╡п╟п╫п╦п╣ п©я─п╟п╡п╬п╨ Б─■ я█я┌п╬ п╫п╬я─п╪п╟п╩я▄п╫п╬
п║п╪п╣я┬п╦п╡п╟п╫п╦п╣ п©я─п╟п╡п╬п╨ Б─■ я█я┌п╬ п©п╬п╩п╣п╥п╫п╬
п║п╪п╣я┬п╦п╡п╟п╫п╦п╣ п©я─п╟п╡п╬п╨ п╦п╪п╣п╣я┌ п╬пЁя─п╟п╫п╦я┤п╣п╫п╦я▐
п÷п╬п╢п╡п╬п╢я▐ п╦я┌п╬пЁп╦

п╜я┌п╟ пЁп╩п╟п╡п╟ п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ п╨я─п╟я┌п╨п╬п╣, п©я─п╬п╪п╣п╤я┐я┌п╬я┤п╫п╬п╣ п╡п╡п╣п╢п╣п╫п╦п╣ п╡ Subversion. п∙я│п╩п╦ я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦ п╢п╩я▐ п╡п╟я│ п╡ п╫п╬п╡п╦п╫п╨я┐, я┌п╬ я█я┌п╟ пЁп╩п╟п╡п╟ я│п©п╣я├п╦п╟п╩я▄п╫п╬ п╢п╩я▐ п╡п╟я│. п°я▀ п╫п╟я┤п╫п╣п╪ я│ п╬п╠я│я┐п╤п╢п╣п╫п╦я▐ п╬я│п╫п╬п╡п╫я▀я┘ п©п╬п╫я▐я┌п╦п╧ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦, п©п╬п╢п╬п╧п╢п╣п╪ п╨ п╬я│п╫п╬п╡п╫я▀п╪ п╦п╢п╣я▐п╪, п╩п╣п╤п╟я┴п╦п╪ п╡ п╬я│п╫п╬п╡п╣ Subversion п╦ п©п╬п╨п╟п╤п╣п╪ п╫п╣я│п╨п╬п╩я▄п╨п╬ п©я─п╬я│я┌я▀я┘ п©я─п╦п╪п╣я─п╬п╡ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ Subversion.

п²п╣я│п╪п╬я┌я─я▐ п╫п╟ я┌п╬, я┤я┌п╬ п©я─п╦п╪п╣я─я▀ п╡ я█я┌п╬п╧ пЁп╩п╟п╡п╣ п©п╬п╨п╟п╥я▀п╡п╟я▌я┌ п╩я▌п╢п╣п╧, я─п╟п╥п╢п╣п╩я▐я▌я┴п╦я┘ п╪п╣п╤п╢я┐ я│п╬п╠п╬п╧ п╫п╟п╠п╬я─ п╦я│я┘п╬п╢п╫я▀я┘ п╨п╬п╢п╬п╡ п©я─п╬пЁя─п╟п╪п╪, п©п╬п╪п╫п╦я┌п╣, я┤я┌п╬ Subversion п╪п╬п╤п╣я┌ я┐п©я─п╟п╡п╩я▐я┌я▄ п╫п╟п╠п╬я─п╬п╪ я└п╟п╧п╩п╬п╡ п╩я▌п╠п╬пЁп╬ я┌п╦п©п╟ Б─■ п╬п╫п╟ п╫п╣ п╬пЁя─п╟п╫п╦я┤п╦п╡п╟п╣я┌я│я▐ п©п╬п╪п╬я┴я▄я▌ п╨п╬п╪п©я▄я▌я┌п╣я─п╫я▀п╪ п©я─п╬пЁя─п╟п╪п╪п╦я│я┌п╟п╪.

п╔я─п╟п╫п╦п╩п╦я┴п╣

Subversion я▐п╡п╩я▐п╣я┌я│я▐ я├п╣п╫я┌я─п╟п╩п╦п╥п╬п╡п╟п╫п╫п╬п╧ я│п╦я│я┌п╣п╪п╬п╧ п╢п╩я▐ я│п╬п╡п╪п╣я│я┌п╫п╬пЁп╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╦п╫я└п╬я─п╪п╟я├п╦п╦. п▓ я│п╡п╬п╧ п╬я│п╫п╬п╡п╣ я█я┌п╬ я┘я─п╟п╫п╦п╩п╦я┴п╣, я▐п╡п╩я▐я▌я┴п╣п╣я│я▐ я├п╣п╫я┌я─п╬п╪ я┘я─п╟п╫п╣п╫п╦я▐ п╢п╟п╫п╫я▀я┘. п╔я─п╟п╫п╦п╩п╦я┴п╣ я│п╬п╢п╣я─п╤п╦я┌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╡ я└п╬я─п╪п╣ п╢п╣я─п╣п╡п╟ я└п╟п╧п╩п╬п╡ Б─■ я┌п╦п©п╦я┤п╫п╬п╪ п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫п╦п╦ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡. п⌡я▌п╠п╬п╣ п╨п╬п╩п╦я┤п╣я│я┌п╡п╬ п╨п╩п╦п╣п╫я┌п╬п╡ п©п╬п╢п╨п╩я▌я┤п╟п╣я┌я│я▐ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐ п╦ я┤п╦я┌п╟п╣я┌ п╦п╩п╦ п╥п╟п©п╦я│я▀п╡п╟п╣я┌ я█я┌п╦ я└п╟п╧п╩я▀. п≈п╟п©п╦я│я▀п╡п╟я▐ п╢п╟п╫п╫я▀п╣, п╨п╩п╦п╣п╫я┌ п╢п╣п╩п╟п╣я┌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╢п╬я│я┌я┐п©п╫п╬п╧ п╢п╩я▐ п╬я│я┌п╟п╩я▄п╫я▀я┘; я┤п╦я┌п╟я▐ п╢п╟п╫п╫я▀п╣, п╨п╩п╦п╣п╫я┌ п©п╬п╩я┐я┤п╟п╣я┌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬я┌ п╢я─я┐пЁп╦я┘. п═п╦я│я┐п╫п╬п╨б═1.1, б╚п╒п╦п©п╦я┤п╫п╟я▐ п╨п╩п╦п╣п╫я┌/я│п╣я─п╡п╣я─п╫п╟я▐ я│п╦я│я┌п╣п╪п╟б╩ п╦п╩п╩я▌я│я┌я─п╦я─я┐п╣я┌ я█я┌п╬.

п═п╦я│я┐п╫п╬п╨ 1.1. п╒п╦п©п╦я┤п╫п╟я▐ п╨п╩п╦п╣п╫я┌/я│п╣я─п╡п╣я─п╫п╟я▐ я│п╦я│я┌п╣п╪п╟

п╒п╦п©п╦я┤п╫п╟я▐ п╨п╩п╦п╣п╫я┌/я│п╣я─п╡п╣я─п╫п╟я▐ я│п╦я│я┌п╣п╪п╟


п÷п╬я┤п╣п╪я┐ п╪я▀ п╥п╟п╬я│я┌я─я▐п╣п╪ п╫п╟ я█я┌п╬п╪ п╡п╫п╦п╪п╟п╫п╦п╣? п÷п╬п╨п╟ я█я┌п╬ п╥п╡я┐я┤п╦я┌ п╨п╟п╨ п╬п©я─п╣п╢п╣п╩п╣п╫п╦п╣ я┌п╦п©п╦я┤п╫п╬пЁп╬ я└п╟п╧п╩-я│п╣я─п╡п╣я─п╟. п≤ п╢п╣п╧я│я┌п╡п╦я┌п╣п╩я▄п╫п╬, я┘я─п╟п╫п╦п╩п╦я┴п╣ я▐п╡п╩я▐п╣я┌я│я▐ я─п╟п╥п╫п╬п╡п╦п╢п╫п╬я│я┌я▄я▌ я└п╟п╧п╩-я│п╣я─п╡п╣я─п╟, п╬п╢п╫п╟п╨п╬ п╫п╣ я│п╬п╡я│п╣п╪ п╬п╠я▀я┤п╫п╬пЁп╬. п╖я┌п╬ п╢п╣п╩п╟п╣я┌ я┘я─п╟п╫п╦п╩п╦я┴п╣ Subversion п╬я│п╬п╠п╣п╫п╫я▀п╪ Б─■ я█я┌п╬ я┌п╬, я┤я┌п╬ п╬п╫ п╥п╟п©п╬п╪п╦п╫п╟п╣я┌ п╨п╟п╤п╢п╬п╣ п╡п╫п╣я│п╣п╫п╫п╬п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╣: п╩я▌п╠п╬п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╣ п╩я▌п╠п╬пЁп╬ я└п╟п╧п╩п╟, я─п╟п╡п╫п╬ п╨п╟п╨ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я│п╟п╪п╬п╪ п╢п╣я─п╣п╡п╣ п╨п╟я┌п╟п╩п╬пЁп╬п╡, я┌п╟п╨п╦п╣ п╨п╟п╨ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╣, я┐п╢п╟п╩п╣п╫п╦п╣ п╦ я─п╣п╬я─пЁп╟п╫п╦п╥п╟я├п╦я▐ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡.

п÷я─п╦ я┤я┌п╣п╫п╦п╦ п╢п╟п╫п╫я▀я┘ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╨п╩п╦п╣п╫я┌ п╬п╠я▀я┤п╫п╬ п╡п╦п╢п╦я┌ я┌п╬п╩я▄п╨п╬ п©п╬я│п╩п╣п╢п╫я▌я▌ п╡п╣я─я│п╦я▌ п╢п╣я─п╣п╡п╟ я└п╟п╧п╩п╬п╡. п²п╬ п╨п╩п╦п╣п╫я┌ я┌п╟п╨п╤п╣ п╦п╪п╣п╣я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п©я─п╬я│п╪п╬я┌я─п╣я┌я▄ п©я─п╣п╢я▀п╢я┐я┴п╦п╣ я│п╬я│я┌п╬я▐п╫п╦я▐ я└п╟п╧п╩п╬п╡п╬п╧ я│п╦я│я┌п╣п╪я▀. п²п╟п©я─п╦п╪п╣я─, п╨п╩п╦п╣п╫я┌ п╪п╬п╤п╣я┌ п╥п╟п©я─п╬я│п╦я┌я▄ я┌п╟п╨п╦п╣ п╢п╟п╫п╫я▀п╣ п╨п╟п╨, б╚п╖я┌п╬ я│п╬п╢п╣я─п╤п╟п╩ я█я┌п╬я┌ п╨п╟я┌п╟п╩п╬пЁ п╡ п©я─п╬я┬п╩я┐я▌ я│я─п╣п╢я┐?б╩ п╦п╩п╦ б╚п я┌п╬ п╠я▀п╩ п©п╬я│п╩п╣п╢п╫п╦п╪ п╦п╥п╪п╣п╫я▐п╡я┬п╦п╪ я█я┌п╬я┌ я└п╟п╧п╩ п╦ п╨п╟п╨п╦п╣ п╡п╫п╬я│п╦п╩п╦я│я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐?б╩ п▓п╬п©я─п╬я│я▀ п©п╬п╢п╬п╠п╫п╬пЁп╬ я┌п╦п©п╟ я▐п╡п╩я▐я▌я┌я│я▐ п╬я│п╫п╬п╡п╬п©п╬п╩п╟пЁп╟я▌я┴п╦п╪п╦ п╢п╩я▐ п╩я▌п╠п╬п╧ я│п╦я│я┌п╣п╪я▀ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ Б─■ я│п╦я│я┌п╣п╪я▀, я─п╟п╥я─п╟п╠п╬я┌п╟п╫п╫п╬п╧ п╢п╩я▐ п╥п╟п©п╦я│п╦ п╦ п╬я┌я│п╩п╣п╤п╦п╡п╟п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╡п╬ п╡я─п╣п╪п╣п╫п╦.

п°п╬п╢п╣п╩п╦ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╦я▐

п·я│п╫п╬п╡п╫п╬п╧ п╥п╟п╢п╟я┤п╣п╧ я│п╦я│я┌п╣п╪я▀ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ я▐п╡п╩я▐п╣я┌я│я▐ п╬п╠п╣я│п©п╣я┤п╣п╫п╦п╣ я│п╬п╡п╪п╣я│я┌п╫п╬пЁп╬ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦я▐ п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╦п╫я└п╬я─п╪п╟я├п╦п╦. п·п╢п╫п╟п╨п╬ я─п╟п╥п╫я▀п╣ я│п╦я│я┌п╣п╪я▀ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ я─п╟п╥п╫я▀п╣ я│п©п╬я│п╬п╠я▀ п╢п╩я▐ п╢п╬я│я┌п╦п╤п╣п╫п╦я▐ я█я┌п╬п╧ я├п╣п╩п╦. п·я┤п╣п╫я▄ п╡п╟п╤п╫п╬ п©п╬п╫п╦п╪п╟я┌я▄ п╬я┌п╩п╦я┤п╦я▐ п╪п╣п╤п╢я┐ я█я┌п╦п╪п╦ я│п©п╬я│п╬п╠п╟п╪п╦. п▓п╬-п©п╣я─п╡я▀я┘, я█я┌п╬ п©п╬п╪п╬п╤п╣я┌ я│я─п╟п╡п╫п╦я┌я▄ п╦ я│п╬п©п╬я│я┌п╟п╡п╦я┌я▄ я│я┐я┴п╣я│я┌п╡я┐я▌я┴п╦п╣ я│п╦я│я┌п╣п╪я▀ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦, п╡ я│п╩я┐я┤п╟п╣, п╣я│п╩п╦ п╡я▀ я│я┌п╬п╩п╨п╫п╣я┌п╣я│я▄ я│ п╢я─я┐пЁп╦п╪п╦ я│п╦я│я┌п╣п╪п╟п╪п╦, п©п╬п╢п╬п╠п╫я▀п╪п╦ Subversion. п я─п╬п╪п╣ я┌п╬пЁп╬, п╡п©п╬я│п╩п╣п╢я│я┌п╡п╦п╦ я█я┌п╬ п©п╬я│п©п╬я│п╬п╠я│я┌п╡я┐п╣я┌ п╦ п╠п╬п╩п╣п╣ я█я└п╣п╨я┌п╦п╡п╫п╬п╪я┐ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▌ Subversion, я┌п╟п╨ п╨п╟п╨ я█я┌п╟ я│п╦я│я┌п╣п╪п╟ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌ п╫п╣я│п╨п╬п╩я▄п╨п╬ я─п╟п╥п╩п╦я┤п╫я▀я┘ я│п©п╬я│п╬п╠п╬п╡ я─п╟п╠п╬я┌я▀.

п÷я─п╬п╠п╩п╣п╪п╟ я─п╟п╥п╢п╣п╩п╣п╫п╦я▐ я└п╟п╧п╩п╬п╡

п▓я│п╣п╪ я│п╦я│я┌п╣п╪п╟п╪ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ п©я─п╦я┘п╬п╢п╦я┌я│я▐ я─п╣я┬п╟я┌я▄ п╬п╢п╫я┐ п╦ я┌я┐ п╤п╣ п╬я│п╫п╬п╡п╫я┐я▌ п©я─п╬п╠п╩п╣п╪я┐: п╨п╟п╨ п©я─п╣п╢п╬я│я┌п╟п╡п╦я┌я▄ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ я│п╬п╡п╪п╣я│я┌п╫п╬пЁп╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╦п╫я└п╬я─п╪п╟я├п╦п╦, п©я─п╦ я█я┌п╬п╪ п╫п╣ п©п╬п╥п╡п╬п╩я▐я▐ п╦п╪ п╫п╟я│я┌я┐п©п╟я┌я▄ п╢я─я┐пЁ п╢я─я┐пЁя┐ п╫п╟ п©я▐я┌п╨п╦? п■п╣п╩п╬ п╡ я┌п╬п╪, я┤я┌п╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╥п╟п©я─п╬я│я┌п╬ п╪п╬пЁя┐я┌ я│п╩я┐я┤п╟п╧п╫п╬ п©п╣я─п╣п╥п╟п©п╦я│п╟я┌я▄ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я│п╢п╣п╩п╟п╫п╫я▀п╣ п╢я─я┐пЁ п╢я─я┐пЁп╬п╪.

п═п╟я│я│п╪п╟я┌я─п╦п╡п╟п╣п╪я┐я▌ я│п╦я┌я┐п╟я├п╦я▌ п╦п╩п╩я▌я│я┌я─п╦я─я┐п╣я┌ п═п╦я│я┐п╫п╬п╨б═1.2, б╚п÷я─п╬п╠п╩п╣п╪п╟ п©п╬я┌п╣я─п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧б╩. п■п╬п©я┐я│я┌п╦п╪, я┐ п╫п╟я│ п╣я│я┌я▄ п╢п╡п╟ я│п╬я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╟ Б─■ п⌠п╟я─я─п╦ п╦ п║п╟п╩п╩п╦. п п╟п╤п╢я▀п╧ п╦п╥ п╫п╦я┘ я─п╣я┬п╦п╩ п╬п╢п╫п╬п╡я─п╣п╪п╣п╫п╫п╬ п╬я┌я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟я┌я▄ п╬п╢п╦п╫ п╦ я┌п╬я┌ п╤п╣ я└п╟п╧п╩ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟. п∙я│п╩п╦ п©п╣я─п╡я▀п╪ я│п╡п╬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ я│п╬я┘я─п╟п╫п╦я┌ п⌠п╟я─я─п╦, я┌п╬ п╡п╬п╥п╪п╬п╤п╫п╬, я┤я┌п╬ (п╫п╣я│п╨п╬п╩я▄п╨п╦п╪п╦ п╪п╦п╫я┐я┌п╟п╪п╦ п©п╬п╥п╤п╣) п║п╟п╩п╩п╦ п╪п╬п╤п╣я┌ п╫п╣п©я─п╣п╢п╫п╟п╪п╣я─п╣п╫п╫п╬ п©п╣я─п╣п╥п╟п©п╦я│п╟я┌я▄ п╦я┘ я│п╡п╬п╣п╧ п╫п╬п╡п╬п╧ п╡п╣я─я│п╦п╣п╧ я└п╟п╧п╩п╟. п²п╣я│п╪п╬я┌я─я▐ п╫п╟ я┌п╬, я┤я┌п╬ п╡п╣я─я│п╦я▐ я└п╟п╧п╩п╟ п⌠п╟я─я─п╦ п╫п╣ п╠я┐п╢п╣я┌ п©п╬п╩п╫п╬я│я┌я▄я▌ п©п╬я┌п╣я─я▐п╫п╟ (я┌п╟п╨ п╨п╟п╨ я│п╦я│я┌п╣п╪п╟ п©п╬п╪п╫п╦я┌ п╨п╟п╤п╢п╬п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╣), п╡п╫п╣я│п╣п╫п╫я▀п╣ п⌠п╟я─я─п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╫п╣ п╠я┐п╢я┐я┌ п╬я┌я─п╟п╤п╣п╫я▀ п╡ п╫п╬п╡п╬п╧ п╡п╣я─я│п╦п╦ я└п╟п╧п╩п╟ п║п╟п╩п╩п╦, п©п╬я┌п╬п╪я┐ я┤я┌п╬, п╫п╟я┤п╦п╫п╟я▐, п╬п╫п╟ п╫п╣ п╡п╦п╢п╣п╩п╟ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п⌠п╟я─я─п╦. п═п╟п╠п╬я┌п╟ п⌠п╟я─я─п╦ я└п╟п╨я┌п╦я┤п╣я│п╨п╦ п©п╬я┌п╣я─я▐п╫п╟ Б─■ п╦п╩п╦, п©п╬ п╨я─п╟п╧п╫п╣п╧ п╪п╣я─п╣, п╬я┌я│я┐я┌я│я┌п╡я┐п╣я┌ п╡ п©п╬я│п╩п╣п╢п╫п╣п╧ п╡п╣я─я│п╦п╦ я└п╟п╧п╩п╟ Б─■ п©п╬ я│п╩я┐я┤п╟п╧п╫п╬я│я┌п╦. п п╟п╨ я─п╟п╥ я█я┌п╬п╧ я│п╦я┌я┐п╟я├п╦п╦ п╪я▀ п╦ я┘п╬я┌п╦п╪ п╦п╥п╠п╣п╤п╟я┌я▄!

п═п╦я│я┐п╫п╬п╨ 1.2. п÷я─п╬п╠п╩п╣п╪п╟ п©п╬я┌п╣я─п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧

п÷я─п╬п╠п╩п╣п╪п╟ п©п╬я┌п╣я─п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧


п°п╬п╢п╣п╩я▄ п▒п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣-п≤п╥п╪п╣п╫п╣п╫п╦п╣-п═п╟п╥п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣

п■п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ п╫п╣я│п╨п╬п╩я▄п╨п╬ п╟п╡я┌п╬я─п╬п╡ п╫п╣ п╪п╣я┬п╟п╩п╬ я─п╟п╠п╬я┌п╟я┌я▄ п╢я─я┐пЁ п╢я─я┐пЁя┐, п╪п╫п╬пЁп╦п╣ я│п╦я│я┌п╣п╪я▀ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ п©я─п╦п╪п╣п╫я▐я▌я┌ п╪п╬п╢п╣п╩я▄ п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я─п╟п╥п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣. п╜я┌п╟ п╪п╬п╢п╣п╩я▄ п╥п╟п©я─п╣я┴п╟п╣я┌ п╬п╢п╫п╬п╡я─п╣п╪п╣п╫п╫п╬п╣ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦п╣ я└п╟п╧п╩п╟ п╫п╣я│п╨п╬п╩я▄п╨п╦п╪п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪п╦. п╜п╨я│п╨п╩я▌п╥п╦п╡п╫п╬я│я┌я▄ п╢п╬я│я┌я┐п©п╟ пЁп╟я─п╟п╫я┌п╦я─я┐п╣я┌я│я▐ п╠п╩п╬п╨п╦я─п╬п╡п╨п╟п╪п╦. п÷п╣я─п╣п╢ п╫п╟я┤п╟п╩п╬п╪ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦я▐ п⌠п╟я─я─п╦ п╢п╬п╩п╤п╣п╫ б╚п╥п╟п╠п╩п╬п╨п╦я─п╬п╡п╟я┌я▄б╩ я└п╟п╧п╩. п∙я│п╩п╦ п⌠п╟я─я─п╦ п╥п╟п╠п╩п╬п╨п╦я─я┐п╣я┌ я└п╟п╧п╩, п║п╟п╩п╩п╦ я┐п╤п╣ п╫п╣ я│п╪п╬п╤п╣я┌ п╣пЁп╬ п╥п╟п╠п╩п╬п╨п╦я─п╬п╡п╟я┌я▄ п╦ п╡п╫п╣я│я┌п╦ я│п╡п╬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐. п∙п╧ п╬я│я┌п╟п╣я┌я│я▐ я┌п╬п╩я▄п╨п╬ я┤п╦я┌п╟я┌я▄ я└п╟п╧п╩ п╦ п╤п╢п╟я┌я▄, п©п╬п╨п╟ п⌠п╟я─я─п╦ п╥п╟п╨п╬п╫я┤п╦я┌ я│п╡п╬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦ я│п╫п╦п╪п╣я┌ п╠п╩п╬п╨п╦я─п╬п╡п╨я┐. п⌡п╦я┬я▄ п©п╬я│п╩п╣ я┌п╬пЁп╬, п╨п╟п╨ п⌠п╟я─я─п╦ я─п╟п╥п╠п╩п╬п╨п╦я─я┐п╣я┌ я└п╟п╧п╩, п║п╟п╩п╩п╦ я│п╪п╬п╤п╣я┌ п©п╬п╩я┐я┤п╦я┌я▄ п╣пЁп╬, п╥п╟п╠п╩п╬п╨п╦я─п╬п╡п╟я┌я▄ п╦ п╫п╟я┤п╟я┌я▄ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦п╣. п═п╦я│я┐п╫п╬п╨б═1.3, б╚п°п╬п╢п╣п╩я▄ п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я─п╟п╥п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣б╩ п╢п╣п╪п╬п╫я│я┌я─п╦я─я┐п╣я┌ я█я┌п╬ п©я─п╬я│я┌п╬п╣ я─п╣я┬п╣п╫п╦п╣.

п═п╦я│я┐п╫п╬п╨ 1.3. п°п╬п╢п╣п╩я▄ п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я─п╟п╥п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣

п°п╬п╢п╣п╩я▄ п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я─п╟п╥п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣


п÷я─п╬п╠п╩п╣п╪п╬п╧ п╪п╬п╢п╣п╩п╦ п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я─п╟п╥п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣ я▐п╡п╩я▐п╣я┌я│я▐ я┌п╬, я┤я┌п╬ п╬п╫п╟ п╫п╣п╪п╫п╬пЁп╬ п╬пЁя─п╟п╫п╦я┤п╣п╫п╫п╟я▐ п╦ я┤п╟я│я┌п╬ п╢п╬я│я┌п╟п╡п╩я▐п╣я┌ п╫п╣я┐п╢п╬п╠я│я┌п╡п╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪:

  • п▒п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣ п╪п╬п╤п╣я┌ п╡я▀п╥п╡п╟я┌я▄ п©я─п╬п╠п╩п╣п╪я▀ п╟п╢п╪п╦п╫п╦я│я┌я─п╦я─п╬п╡п╟п╫п╦я▐. п≤п╫п╬пЁп╢п╟ п⌠п╟я─я─п╦ п╪п╬п╤п╣я┌ п╥п╟п╠п╩п╬п╨п╦я─п╬п╡п╟я┌я▄ я└п╟п╧п╩, п╟ п╥п╟я┌п╣п╪ п╥п╟п╠я▀я┌я▄ п╬п╠ я█я┌п╬п╪. п°п╣п╤п╢я┐ я┌п╣п╪, п╬п╤п╦п╢п╟я▐ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦я▐ я└п╟п╧п╩п╟, я┐ п║п╟п╩п╩п╦ п╠я┐п╢я┐я┌ я│п╡я▐п╥п╟п╫я▀ я─я┐п╨п╦. п░ п⌠п╟я─я─п╦ я┌п╣п╪ п╡я─п╣п╪п╣п╫п╣п╪ я┐п╣я┘п╟п╩ п╡ п╬я┌п©я┐я│п╨. п╒п╣п©п╣я─я▄ п║п╟п╩п╩п╦, п╢п╩я▐ я│п╫я▐я┌п╦я▐ п╠п╩п╬п╨п╦я─п╬п╡п╨п╦ п⌠п╟я─я─п╦, п╫я┐п╤п╫п╬ п╬п╠я─п╟я┴п╟я┌я▄я│я▐ п╨ п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╬я─я┐. п║п╦я┌я┐п╟я├п╦я▐ п╥п╟п╨п╟п╫я┤п╦п╡п╟п╣я┌я│я▐ п╫п╣ п╫я┐п╤п╫п╬п╧ п╥п╟п╢п╣я─п╤п╨п╬п╧ п╦ п©п╬я┌п╣я─я▐п╫п╫я▀п╪ п╡я─п╣п╪п╣п╫п╣п╪.

  • п▒п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣ п╪п╬п╤п╣я┌ п╡я▀п╥п╡п╟я┌я▄ п╦п╥п╩п╦я┬п╫я▌я▌ п©п╬я┬п╟пЁп╬п╡п╬я│я┌я▄. п▓п©п╬п╩п╫п╣ п╡п╣я─п╬я▐я┌п╫п╟ я│п╦я┌я┐п╟я├п╦я▐, п╨п╬пЁп╢п╟ п⌠п╟я─я─п╦ я─п╣п╢п╟п╨я┌п╦я─я┐п╣я┌ п╫п╟я┤п╟п╩п╬ я┌п╣п╨я│я┌п╬п╡п╬пЁп╬ я└п╟п╧п╩п╟, п╟ п║п╟п╩п╩п╦ п╫я┐п╤п╫п╬ п╬я┌я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟я┌я▄ п╨п╬п╫я├п╬п╡п╨я┐ я█я┌п╬пЁп╬ п╤п╣ я└п╟п╧п╩п╟? п╜я┌п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│п╬п╡я│п╣п╪ п╫п╣ п©п╣я─п╣п╨я─я▀п╡п╟я▌я┌я│я▐. п·п╫п╦ п╪п╬пЁп╩п╦ п╠я▀ п╩п╣пЁп╨п╬ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟я┌я▄ я└п╟п╧п╩ п╬п╢п╫п╬п╡я─п╣п╪п╣п╫п╫п╬, п╦ п©я─п╦ я┐я│п╩п╬п╡п╦п╦ п╨п╬я─я─п╣п╨я┌п╫п╬пЁп╬ я│п╩п╦я▐п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧ я█я┌п╬ п╫п╣ п╡я▀п╥п╡п╟п╩п╬ п╠я▀ п╫п╦п╨п╟п╨п╦я┘ п╬я│п╬п╠п╣п╫п╫я▀я┘ п©я─п╬п╠п╩п╣п╪. п²п╣я┌ п╫п╦п╨п╟п╨п╬п╧ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦ п╠п╩п╬п╨п╦я─п╬п╡п╟я┌я▄ я└п╟п╧п╩ п╡ я┌п╟п╨п╬п╧ я│п╦я┌я┐п╟я├п╦п╦.

  • п▒п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣ п╪п╬п╤п╣я┌ п╡я▀п╥п╡п╟я┌я▄ п╩п╬п╤п╫п╬п╣ я┤я┐п╡я│я┌п╡п╬ п╠п╣п╥п╬п©п╟я│п╫п╬я│я┌п╦. п÷я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┤я┌п╬ п⌠п╟я─я─п╦ п╠п╩п╬п╨п╦я─я┐п╣я┌ п╦ я─п╣п╢п╟п╨я┌п╦я─я┐п╣я┌ я└п╟п╧п╩ п░, п╡ я┌п╬ п╡я─п╣п╪я▐ п╨п╟п╨ п║п╟п╩п╩п╦ п╬п╢п╫п╬п╡я─п╣п╪п╣п╫п╫п╬ п╠п╩п╬п╨п╦я─я┐п╣я┌ п╦ я─п╣п╢п╟п╨я┌п╦я─я┐п╣я┌ я└п╟п╧п╩ п▓. п²п╬ п╢п╬п©я┐я│я┌п╦п╪, я┤я┌п╬ п░ п╦ п▓ п╥п╟п╡п╦я│я▐я┌ п╢я─я┐пЁ п╬я┌ п╢я─я┐пЁп╟ п╦ я│п╢п╣п╩п╟п╫п╫я▀п╣ п╡ п╨п╟п╤п╢п╬п╪ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│п╣п╪п╟п╫я┌п╦я┤п╣я│п╨п╦ п╫п╣ я│п╬п╡п╪п╣я│я┌п╦п╪я▀. п²п╣п╬п╤п╦п╢п╟п╫п╫п╬ п░ п╦ п▓ п╠п╬п╩я▄я┬п╣ п╫п╣ я─п╟п╠п╬я┌п╟я▌я┌ п╡п╪п╣я│я┌п╣. п▒п╩п╬п╨п╦я─я┐я▌я┴п╟я▐ я│п╦я│я┌п╣п╪п╟ п╠п╣я│я│п╦п╩я▄п╫п╟ п╡ п©я─п╣п╢п╬я┌п╡я─п╟я┴п╣п╫п╦п╦ п©я─п╬п╠п╩п╣п╪я▀ Б─■ п╡п╪п╣я│я┌п╬ я█я┌п╬пЁп╬ п╬п╫п╟ п╬п╠п╣я│п©п╣я┤п╦п╩п╟ п╩п╬п╤п╫п╬п╣ я┤я┐п╡я│я┌п╡п╬ п╠п╣п╥п╬п©п╟я│п╫п╬я│я┌п╦. п■п╩я▐ п⌠п╟я─я─п╦ п╦ п║п╟п╩п╩п╦ п©я─п╬я│я┌п╬ п╡п╬п╬п╠я─п╟п╥п╦я┌я▄, я┤я┌п╬, п╠п╩п╬п╨п╦я─я┐я▐ я└п╟п╧п╩я▀ п╨п╟п╤п╢я▀п╧ п╫п╟я┤п╦п╫п╟п╣я┌ п╠п╣п╥п╬п©п╟я│п╫я┐я▌ п╦п╥п╬п╩п╦я─п╬п╡п╟п╫п╫я┐я▌ п╥п╟п╢п╟я┤я┐ п╦ п╫п╣ п╠п╣я│п©п╬п╨п╬п╦я┌я▄я│я▐ п╬п╠ п╬п╠я│я┐п╤п╢п╣п╫п╦п╦ п╦я┘ п╫п╣я│п╬п╡п╪п╣я│я┌п╦п╪я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╥п╟я─п╟п╫п╣п╣. п≈п╟я┤п╟я│я┌я┐я▌, п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣ п©п╬п╢п╪п╣п╫я▐п╣я┌ п╫п╟я│я┌п╬я▐я┴п╣п╣ п╬п╠я┴п╣п╫п╦п╣.

п°п╬п╢п╣п╩я▄ п п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п≤п╥п╪п╣п╫п╣п╫п╦п╣-п║п╩п╦я▐п╫п╦п╣

Subversion, CVS п╦ я─я▐п╢ п╢я─я┐пЁп╦я┘ я│п╦я│я┌п╣п╪ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ п╡ п╨п╟я┤п╣я│я┌п╡п╣ п╟п╩я▄я┌п╣я─п╫п╟я┌п╦п╡я▀ п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦я▌ п©п╬п╩я▄п╥я┐я▌я┌я│я▐ п╪п╬п╢п╣п╩я▄я▌ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я│п╩п╦я▐п╫п╦п╣. п▓ я█я┌п╬п╧ п╪п╬п╢п╣п╩п╦ п╨п╟п╤п╢я▀п╧ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╦п╧ п╨п╩п╦п╣п╫я┌ я│п╡я▐п╥я▀п╡п╟п╣я┌я│я▐ я│ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪ п©я─п╬п╣п╨я┌п╟ п╦ я│п╬п╥п╢п╟п╣я┌ п©п╣я─я│п╬п╫п╟п╩я▄п╫я┐я▌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ Б─■ п╩п╬п╨п╟п╩я▄п╫п╬п╣ п╬я┌я─п╟п╤п╣п╫п╦п╣ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡ я┘я─п╟п╫п╦п╩п╦я┴п╟. п÷п╬я│п╩п╣ я█я┌п╬пЁп╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ я─п╟п╠п╬я┌п╟я▌я┌ п╬п╢п╫п╬п╡я─п╣п╪п╣п╫п╫п╬ п╦ п╫п╣п╥п╟п╡п╦я│п╦п╪п╬ п╢я─я┐пЁ п╬я┌ п╢я─я┐пЁп╟, п╦п╥п╪п╣п╫я▐я▐ я│п╡п╬п╦ п╩п╦я┤п╫я▀п╣ п╨п╬п©п╦п╦. п▓ п╨п╬п╫я├п╣ п╨п╬п╫я├п╬п╡, п╩п╦я┤п╫я▀п╣ п╨п╬п©п╦п╦ я│п╩п╦п╡п╟я▌я┌я│я▐ п╡ п╫п╬п╡я┐я▌, п╦я┌п╬пЁп╬п╡я┐я▌ п╡п╣я─я│п╦я▌. п·п╠я▀я┤п╫п╬ я│п╦я│я┌п╣п╪п╟ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ п©п╬п╪п╬пЁп╟п╣я┌ п╡ я│п╩п╦я▐п╫п╦п╦, п╫п╬, я─п╟п╥я┐п╪п╣п╣я┌я│я▐, п╥п╟ п╣пЁп╬ п╨п╬я─я─п╣п╨я┌п╫п╬п╣ п╡я▀п©п╬п╩п╫п╣п╫п╦п╣ п╬я┌п╡п╣я┤п╟п╣я┌ я┤п╣п╩п╬п╡п╣п╨.

п▓ п╨п╟я┤п╣я│я┌п╡п╣ п©я─п╦п╪п╣я─п╟ п©я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┤я┌п╬ п⌠п╟я─я─п╦ п╦ п║п╟п╩п╩п╦ я│п╬п╥п╢п╟п╩п╦ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦ п╬п╢п╫п╬пЁп╬ п╦ я┌п╬пЁп╬ п╤п╣ п©я─п╬п╣п╨я┌п╟, я│п╨п╬п©п╦я─п╬п╡п╟п╡ п╦я┘ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟. п·п╫п╦ я─п╟п╠п╬я┌п╟я▌я┌ п╬п╢п╫п╬п╡я─п╣п╪п╣п╫п╫п╬ п╦ п╡ я│п╡п╬п╦я┘ я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦я▐я┘ п╡п╫п╬я│я▐я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ п╬п╢п╦п╫ п╦ я┌п╬я┌ п╤п╣ я└п╟п╧п╩ п░. п÷п╣я─п╡п╬п╧ я│п╡п╬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ я│п╬я┘я─п╟п╫я▐п╣я┌ п║п╟п╩п╩п╦. п п╬пЁп╢п╟ п©п╬п╥п╤п╣ п⌠п╟я─я─п╦ п©п╬п©я▀я┌п╟п╣я┌я│я▐ я│п╬я┘я─п╟п╫п╦я┌я▄ я│п╡п╬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я┘я─п╟п╫п╦п╩п╦я┴п╣ п©я─п╬п╦п╫я└п╬я─п╪п╦я─я┐п╣я┌ п╣пЁп╬ п╬ я┌п╬п╪, я┤я┌п╬ п╣пЁп╬ я└п╟п╧п╩ п░ я┐я│я┌п╟я─п╣п╩. п■я─я┐пЁп╦п╪п╦ я│п╩п╬п╡п╟п╪п╦, я└п╟п╧п╩ п░ п╨п╟п╨п╦п╪ я┌п╬ п╬п╠я─п╟п╥п╬п╪ п╦п╥п╪п╣п╫п╦п╩я│я▐ я│п╬ п╡я─п╣п╪п╣п╫п╦, п╨п╬пЁп╢п╟ п╬п╫ п╣пЁп╬ п©п╬я│п╩п╣п╢п╫п╦п╧ я─п╟п╥ п╨п╬п©п╦я─п╬п╡п╟п╩. п÷п╬я█я┌п╬п╪я┐ п⌠п╟я─я─п╦ п©я─п╬я│п╦я┌ я│п╡п╬п╧ п╨п╩п╦п╣п╫я┌ я│п╩п╦я┌я▄ п╩я▌п╠я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╡ п╣пЁп╬ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ я└п╟п╧п╩п╟ п░. п÷п╬ я│я┤п╟я│я┌п╩п╦п╡п╬п╪я┐ я│п╬п╡п©п╟п╢п╣п╫п╦я▌, п╦п╥п╪п╣п╫п╣п╫п╦я▐ п║п╟п╩п╩п╦ п╫п╣ п©п╣я─п╣п╨я─я▀п╡п╟я▌я┌я│я▐ я│ п╣пЁп╬ я│п╬п╠я│я┌п╡п╣п╫п╫я▀п╪п╦; п©п╬я│п╩п╣ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦я▐ п╬п╠п╬п╦я┘ п╫п╟п╠п╬я─п╬п╡ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╬п╫ я│п╬я┘я─п╟п╫я▐п╣я┌ я│п╡п╬я▌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╬п╠я─п╟я┌п╫п╬ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п═п╦я│я┐п╫п╬п╨б═1.4, б╚п°п╬п╢п╣п╩я▄ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я│п╩п╦я▐п╫п╦п╣б╩ п╦ п═п╦я│я┐п╫п╬п╨б═1.5, б╚п°п╬п╢п╣п╩я▄ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я│п╩п╦я▐п╫п╦п╣ (п©я─п╬п╢п╬п╩п╤п╣п╫п╦п╣)б╩ п©п╬п╨п╟п╥я▀п╡п╟я▌я┌ я█я┌п╬я┌ п©я─п╬я├п╣я│я│.

п═п╦я│я┐п╫п╬п╨ 1.4. п°п╬п╢п╣п╩я▄ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я│п╩п╦я▐п╫п╦п╣

п°п╬п╢п╣п╩я▄ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я│п╩п╦я▐п╫п╦п╣


п═п╦я│я┐п╫п╬п╨ 1.5. п°п╬п╢п╣п╩я▄ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я│п╩п╦я▐п╫п╦п╣ (п©я─п╬п╢п╬п╩п╤п╣п╫п╦п╣)

п°п╬п╢п╣п╩я▄ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я│п╩п╦я▐п╫п╦п╣ (п©я─п╬п╢п╬п╩п╤п╣п╫п╦п╣)


п░ я┤я┌п╬ п╠я┐п╢п╣я┌, п╣я│п╩п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п║п╟п╩п╩п╦ п©п╣я─п╣п╨я─я▀п╡п╟я▌я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п⌠п╟я─я─п╦? п╖я┌п╬ я┌п╬пЁп╢п╟? п╜я┌п╟ я│п╦я┌я┐п╟я├п╦я▐ п╫п╟п╥я▀п╡п╟п╣я┌я│я▐ п╨п╬п╫я└п╩п╦п╨я┌п╬п╪ п╦, п╨п╟п╨ п©я─п╟п╡п╦п╩п╬, я█я┌п╬ п╫п╣ я▐п╡п╩я▐п╣я┌я│я▐ п╠п╬п╩я▄я┬п╬п╧ п©я─п╬п╠п╩п╣п╪п╬п╧. п п╬пЁп╢п╟ п⌠п╟я─я─п╦ п©я─п╬я│п╦я┌ я│п╡п╬п╧ п╨п╩п╦п╣п╫я┌ я│п╩п╦я┌я▄ п©п╬я│п╩п╣п╢п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, п╣пЁп╬ п╨п╬п©п╦я▐ я└п╟п╧п╩п╟ п░ п©п╬п╪п╣я┤п╟п╣я┌я│я▐ п╫п╣п╨п╬я┌п╬я─я▀п╪ п╬п╠я─п╟п╥п╬п╪ п╨п╟п╨ п╫п╟я┘п╬п╢я▐я┴п╟я▐я│я▐ п╡ я│п╬я│я┌п╬я▐п╫п╦п╦ п╨п╬п╫я└п╩п╦п╨я┌п╟: я┐ п╫п╣пЁп╬ п╠я┐п╢п╣я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╡п╦п╢п╣я┌я▄ п╬п╠п╟ п╫п╟п╠п╬я─п╟ п╨п╬п╫я└п╩п╦п╨я┌я┐я▌я┴п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╦ п╡я─я┐я┤п╫я┐я▌ я│п╢п╣п╩п╟я┌я▄ п╪п╣п╤п╢я┐ п╫п╦п╪п╦ п╡я▀п╠п╬я─. п÷п╬п╪п╫п╦я┌п╣, я┤я┌п╬ п÷п· п╫п╣ п╪п╬п╤п╣я┌ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ я─п╟п╥я─п╣я┬п╟я┌я▄ п╨п╬п╫я└п╩п╦п╨я┌я▀; я┌п╬п╩я▄п╨п╬ я┤п╣п╩п╬п╡п╣п╨ я│п©п╬я│п╬п╠п╣п╫ п╨ п©п╬п╫п╦п╪п╟п╫п╦я▌ п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦я▌ п╬я│п╪я▀я│п╩п╣п╫п╫п╬пЁп╬ п╡я▀п╠п╬я─п╟. п═п╟п╥я─п╣я┬п╦п╡ п╡я─я┐я┤п╫я┐я▌ п©п╣я─п╣п╨я─я▀п╡п╟я▌я┴п╦п╣я│я▐ п╦п╥п╪п╣п╫п╣п╫п╦я▐ Б─■ п╡п╬п╥п╪п╬п╤п╫п╬, п©п╬я│п╩п╣ п╬п╠я│я┐п╤п╢п╣п╫п╦я▐ я│ п║п╟п╩п╩п╦ Б─■ п╬п╫ п╪п╬п╤п╣я┌ п╠п╣п╥п╬п©п╟я│п╫п╬ я│п╬я┘я─п╟п╫п╦я┌я▄ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╫я▀п╧ я└п╟п╧п╩ п╬п╠я─п╟я┌п╫п╬ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣.

п°п╬п╢п╣п╩я▄ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я│п╩п╦я▐п╫п╦п╣ п╪п╬п╤п╣я┌ п╡я▀пЁп╩я▐п╢п╣я┌я▄ п╫п╣п╪п╫п╬пЁп╬ я┘п╟п╬я┌п╦я┤п╫п╬, п╬п╢п╫п╟п╨п╬, п╫п╟ п©я─п╟п╨я┌п╦п╨п╣ п╬п╫п╟ п╬я┌п╩п╦я┤п╫п╬ я─п╟п╠п╬я┌п╟п╣я┌. п÷п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╪п╬пЁя┐я┌ я─п╟п╠п╬я┌п╟я┌я▄ п©п╟я─п╟п╩п╩п╣п╩я▄п╫п╬, п╫п╣ я┌я─п╟я┌я▐ п╡я─п╣п╪я▐ п╫п╟ п╬п╤п╦п╢п╟п╫п╦п╣ п╢я─я┐пЁ п╢я─я┐пЁп╟. п÷я─п╦ я─п╟п╠п╬я┌п╣ п╫п╟п╢ п╬п╢п╫п╦п╪п╦ п╦ я┌п╣п╪п╦ п╤п╣ я└п╟п╧п╩п╟п╪п╦ п╬п╨п╟п╥я▀п╡п╟п╣я┌я│я▐, я┤я┌п╬ п╠п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ п©п╟я─п╟п╩п╩п╣п╩я▄п╫п╬ п╡п╫п╬я│п╦п╪я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ я│п╬п╡я│п╣п╪ п╫п╣ п©п╣я─п╣п╨я─я▀п╡п╟я▌я┌я│я▐; п╨п╬п╫я└п╩п╦п╨я┌я▀ п╠я▀п╡п╟я▌я┌ я─п╣п╢п╨п╬. п≤ п╡я─п╣п╪я▐, п╨п╬я┌п╬я─п╬п╣ п╠я▀п╩п╬ п©п╬я┌я─п╟я┤п╣п╫п╬ п╫п╟ я─п╟п╥я─п╣я┬п╣п╫п╦п╣ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡, п╨п╟п╨ п©я─п╟п╡п╦п╩п╬, п╥п╫п╟я┤п╦я┌п╣п╩я▄п╫п╬ п╪п╣п╫я▄я┬п╣ п╡я─п╣п╪п╣п╫п╦, п╬я┌п╫п╦п╪п╟п╣п╪п╬пЁп╬ п╠п╩п╬п╨п╦я─я┐я▌я┴п╣п╧ я│п╦я│я┌п╣п╪п╬п╧.

п²п╟п╨п╬п╫п╣я├, п╡я│п╣ я│я┘п╬п╢п╦я┌я│я▐ п╨ я┌п╟п╨п╬п╪я┐ п╨я─п╦я┌п╦я┤п╣я│п╨п╬п╪я┐ я└п╟п╨я┌п╬я─я┐ п╨п╟п╨ п╡п╥п╟п╦п╪п╬п╢п╣п╧я│я┌п╡п╦п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧. п÷я─п╦ п©п╩п╬я┘п╬п╪ п╡п╥п╟п╦п╪п╬п©п╬п╫п╦п╪п╟п╫п╦п╦ я┐п╡п╣п╩п╦я┤п╦п╡п╟п╣я┌я│я▐ п╨п╬п╩п╦я┤п╣я│я┌п╡п╬ п╨п╟п╨ я│п╦п╫я┌п╟п╨я│п╦я┤п╣я│п╨п╦я┘, я┌п╟п╨ п╦ я│п╣п╪п╟п╫я┌п╦я┤п╣я│п╨п╦я┘ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡. п²п╣я┌ я│п╦я│я┌п╣п╪я▀, п╨п╬я┌п╬я─п╟я▐ п╪п╬п╤п╣я┌ п©п╬п╡я▀я│п╦я┌я▄ я┐я─п╬п╡п╣п╫я▄ п╡п╥п╟п╦п╪п╬п©п╬п╫п╦п╪п╟п╫п╦я▐, п╦ п╫п╣я┌ я│п╦я│я┌п╣п╪я▀, п╨п╬я┌п╬я─п╟я▐ п╪п╬п╤п╣я┌ п╬п©я─п╣п╢п╣п╩я▐я┌я▄ я│п╣п╪п╟п╫я┌п╦я┤п╣я│п╨п╦п╣ п╨п╬п╫я└п╩п╦п╨я┌я▀. п²п╣ я│я┌п╬п╦я┌ п╡п╬п╥п╩п╟пЁп╟я┌я▄ п╠п╬п╩я▄я┬п╦п╣ п╫п╟п╢п╣п╤п╢я▀ п╫п╟ я┌п╬, я┤я┌п╬ п╠п╩п╬п╨п╦я─я┐я▌я┴п╟я▐ я│п╦я│я┌п╣п╪п╟ п╩я┐я┤я┬п╣ п╥п╟я┴п╦я┴п╣п╫п╟ п╬я┌ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡; п╫п╟ п©я─п╟п╨я┌п╦п╨п╣ п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣ я│п╫п╦п╤п╟п╣я┌ п©я─п╬п╢я┐п╨я┌п╦п╡п╫п╬я│я┌я▄ п╨п╟п╨ п╫п╦я┤я┌п╬ п╢я─я┐пЁп╬п╣.

Subversion п╡ п╢п╣п╧я│я┌п╡п╦п╦

п²п╟я│я┌п╟п╩п╬ п╡я─п╣п╪я▐ п©п╣я─п╣п╧я┌п╦ п╬я┌ п╟п╠я│я┌я─п╟п╨я├п╦п╧ п╨ п╨п╬п╫п╨я─п╣я┌п╦п╨п╣. п▓ я█я┌п╬п╪ я─п╟п╥п╢п╣п╩п╣ п╪я▀ п©п╬п╨п╟п╤п╣п╪ я─п╣п╟п╩я▄п╫я▀п╣ п©я─п╦п╪п╣я─я▀ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ Subversion.

URL я┘я─п╟п╫п╦п╩п╦я┴п╟ п╡ Subversion

п▓ п╨п╫п╦пЁп╣ п╢п╩я▐ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦ я└п╟п╧п╩п╬п╡ п╦ п╢п╦я─п╣п╨я┌п╬я─п╦п╧ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ Subversion п©я─п╦п╪п╣п╫я▐я▌я┌я│я▐ URL. п▓ п╬я│п╫п╬п╡п╫п╬п╪, п╡ я█я┌п╦я┘ URL п╦я│п©п╬п╩я▄п╥я┐я▌я┌я│я▐ я│я┌п╟п╫п╢п╟я─я┌п╫я▀п╣ п©я─п╟п╡п╦п╩п╟ п╥п╟п©п╦я│п╦, п©п╬п╥п╡п╬п╩я▐я▌я┴п╦п╣ я┐п╨п╟п╥я▀п╡п╟я┌я▄ п╦п╪я▐ я│п╣я─п╡п╣я─п╟ п╦ п╫п╬п╪п╣я─ п©п╬я─я┌п╟ п╨п╟п╨ я┤п╟я│я┌я▄ URL:

$ svn checkout http://svn.example.com:9834/repos
Б─╕

п·п╢п╫п╟п╨п╬, п╡ п╬п╠я─п╟п╠п╬я┌п╨п╣ URL я│п╦я│я┌п╣п╪п╬п╧ Subversion п╣я│я┌я▄ п╫п╣п╨п╬я┌п╬я─я▀п╣ п╫я▌п╟п╫я│я▀, п╬ п╨п╬я┌п╬я─я▀я┘ п╫я┐п╤п╫п╬ п©п╬п╪п╫п╦я┌я▄. п²п╟п©я─п╦п╪п╣я─, п╡ я│п╬п╬я┌п╡п╣я┌я│я┌п╡п╦п╦ я│ п©я─п╦п╫я▐я┌я▀п╪п╦ я│п╬пЁп╩п╟я┬п╣п╫п╦я▐п╪п╦, URL, п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╦п╧ п╪п╣я┌п╬п╢ п╢п╬я│я┌я┐п©п╟ file: (я█я┌п╬я┌ п╪п╣я┌п╬п╢ п╢п╬я│я┌я┐п©п╟ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╢п╩я▐ п╩п╬п╨п╟п╩я▄п╫я▀я┘ я┘я─п╟п╫п╦п╩п╦я┴), п╢п╬п╩п╤п╣п╫ п╩п╦п╠п╬ п╡п╨п╩я▌я┤п╟я┌я▄ п╦п╪я▐ я│п╣я─п╡п╣я─п╟ localhost, п╩п╦п╠п╬ п╡п╬п╬п╠я┴п╣ п╫п╣ я│п╬п╢п╣я─п╤п╟я┌я▄ п╦п╪п╣п╫п╦ я│п╣я─п╡п╣я─п╟:

$ svn checkout file:///path/to/repos
Б─╕
$ svn checkout file://localhost/path/to/repos
Б─╕

п я─п╬п╪п╣ я┌п╬пЁп╬, я┌п╣п╪, п╨я┌п╬ п©я─п╦п╪п╣п╫я▐п╣я┌ я│я┘п╣п╪я┐ file: п╫п╟ п©п╩п╟я┌я└п╬я─п╪п╣ Windows, п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╫п╣п╬я└п╦я├п╦п╟п╩я▄п╫я▀п╣ б╚я│я┌п╟п╫п╢п╟я─я┌п╫я▀п╣б╩ п©я─п╟п╡п╦п╩п╟ п╥п╟п©п╦я│п╦ п©я─п╦ п╬п╠я─п╟я┴п╣п╫п╦п╦ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐, п╨п╬я┌п╬я─п╬п╣ п╫п╟я┘п╬п╢п╦я┌я│я▐ п╫п╟ п╬п╢п╫п╬п╪ п╨п╬п╪п©я▄я▌я┌п╣я─п╣, п╫п╬ п╫п╟ я─п╟п╥п╫я▀я┘ п╢п╦я│п╨п╟я┘ я│ п╨п╩п╦п╣п╫я┌п╬п╪. п·п╠п╣ п©я─п╦п╡п╣п╢п╣п╫п╫я▀п╣ п╫п╦п╤п╣ п╥п╟п©п╦я│п╦ п╠я┐п╢я┐я┌ я─п╟п╠п╬я┌п╟я┌я▄; п╥п╢п╣я│я▄ X Б─■ я█я┌п╬ п╦п╪я▐ п╢п╦я│п╨п╟, п╫п╟ п╨п╬я┌п╬я─п╬п╪ п╫п╟я┘п╬п╢п╦я┌я│я▐ я┘я─п╟п╫п╦п╩п╦я┴п╣:

C:\> svn checkout file:///X:/path/to/repos
Б─╕
C:\> svn checkout "file:///X|/path/to/repos"
Б─╕

п÷я─п╦ п╡я┌п╬я─п╬п╧ я└п╬я─п╪п╣ п╥п╟п©п╦я│п╦ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ п╡п╣я─я┌п╦п╨п╟п╩я▄п╫п╟я▐ я┤п╣я─я┌п╟ п╫п╣ я─п╟я│я├п╣п╫п╦п╡п╟п╩п╟я│я▄ п╨п╟п╨ п╨п╟п╫п╟п╩, п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╡п╥я▐я┌я▄ URL п╡ п╨п╟п╡я▀я┤п╨п╦. п╒п╟п╨п╤п╣ п╬п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ п╡ URL п©я─я▐п╪п╬пЁп╬ я│п╩п╣я┬п╟, п╫п╣я│п╪п╬я┌я─я▐ п╫п╟ я┌п╬, я┤я┌п╬ я─п╬п╢п╫п╟я▐ (п╫п╣-URL) я└п╬я─п╪п╟ п╥п╟п©п╦я│п╦ п©я┐я┌п╦ п╡ Windows п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╬п╠я─п╟я┌п╫я▀п╧ я│п╩п╣я┬.

п²я┐ п╦ п╫п╟п╨п╬п╫п╣я├, п╫я┐п╤п╫п╬ я│п╨п╟п╥п╟я┌я▄ п╬ я┌п╬п╪, я┤я┌п╬ п╨п╩п╦п╣п╫я┌ Subversion п©я─п╦ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ п╨п╬п╢п╦я─я┐п╣я┌ URL я┌п╬я┤п╫п╬ я┌п╟п╨ п╤п╣, п╨п╟п╨ я█я┌п╬ п╢п╣п╩п╟п╣я┌ п╡п╣п╠-п╠я─п╟я┐п╥п╣я─. п²п╟п©я─п╦п╪п╣я─, п╣я│п╩п╦ URL п╠я┐п╢п╣я┌ я│п╬п╢п╣я─п╤п╟я┌я▄ п©я─п╬п╠п╣п╩ п╦п╩п╦ ASCII-я│п╦п╪п╡п╬п╩я▀ п╡ п╡п╣я─я┘п╫п╣п╪ я─п╣пЁп╦я│я┌я─п╣:

$ svn checkout "http://host/path with space/project/espaц╠a"

Б─╕я┌п╬ Subversion я│п╨я─п╬п╣я┌ п╫п╣п╠п╣п╥п╬п©п╟я│п╫я▀п╣ я│п╦п╪п╡п╬п╩я▀ п╦ п╠я┐п╢п╣я┌ п╡п╣я│я┌п╦ я│п╣п╠я▐ я┌п╟п╨, п╨п╟п╨ п╠я┐п╢я┌п╬ п╡я▀ п╫п╟п©п╣я┤п╟я┌п╟п╩п╦:

$ svn checkout http://host/path%20with%20space/project/espa%C3%B1a

п∙я│п╩п╦ п╡ URL п╣я│я┌я▄ п©я─п╬п╠п╣п╩я▀, п╡п╬п╥я▄п╪п╦я┌п╣ п╣пЁп╬ п╡ п╨п╟п╡я▀я┤п╨п╦, п╦ я┌п╬пЁп╢п╟ п╨п╬п╪п╟п╫п╢п╫п╟я▐ п╬п╠п╬п╩п╬я┤п╨п╟ п╬п╠я─п╟п╠п╬я┌п╟п╣я┌ я█я┌п╬ п╡я│п╣ п╨п╟п╨ п╬п╢п╦п╫ п╟я─пЁя┐п╪п╣п╫я┌ п©я─п╬пЁя─п╟п╪п╪я▀ svn.

п═п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦

п▓я▀ я┐п╤п╣ я┤п╦я┌п╟п╩п╦ п╬ я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦я▐я┘; я┌п╣п©п╣я─я▄ п╪я▀ п©п╬п╨п╟п╤п╣п╪ п╨п╟п╨ п╨п╩п╦п╣п╫я┌ Subversion я│п╬п╥п╢п╟п╣я┌ п╦ п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╦я┘.

п═п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ Subversion п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ п╬п╠я▀я┤п╫п╬п╣ п╢п╣я─п╣п╡п╬ п╨п╟я┌п╟п╩п╬пЁп╬п╡ п╫п╟ п╡п╟я┬п╣п╪ п╨п╬п╪п©я▄я▌я┌п╣я─п╣, я│п╬п╢п╣я─п╤п╟я┴п╣п╣ п╫п╟п╠п╬я─ я└п╟п╧п╩п╬п╡. п▓я▀ п╪п╬п╤п╣я┌п╣ п©п╬ я│п╡п╬п╣п╪я┐ я┐я│п╪п╬я┌я─п╣п╫п╦я▌ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟я┌я▄ я█я┌п╦ я└п╟п╧п╩я▀ п╦, п╣я│п╩п╦ я█я┌п╬ п╦я│я┘п╬п╢п╫я▀п╣ п╨п╬п╢я▀, п╡я▀ п╪п╬п╤п╣я┌п╣ п╬п╠я▀я┤п╫я▀п╪ я│п©п╬я│п╬п╠п╬п╪ я│п╨п╬п╪п©п╦п╩п╦я─п╬п╡п╟я┌я▄ п╦п╥ п╫п╦я┘ п©я─п╬пЁя─п╟п╪п╪я┐. п▓п╟я┬п╟ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ Б─■ я█я┌п╬ п╡п╟я┬п╣ п╩п╦я┤п╫п╬п╣ я─п╟п╠п╬я┤п╣п╣ п©я─п╬я│я┌я─п╟п╫я│я┌п╡п╬. Subversion п╨п╟п╨ п╫п╣ я│п╪п╣я┬п╦п╡п╟п╣я┌ я│ п╡п╟я┬п╦п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╡п╫п╬я│п╦п╪я▀п╣ п╢я─я┐пЁп╦п╪п╦, я┌п╟п╨ п╦ п╫п╣ п╢п╣п╩п╟п╣я┌ п╢п╬я│я┌я┐п©п╫я▀п╪п╦ п╢п╩я▐ п╢я─я┐пЁп╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я│п╢п╣п╩п╟п╫п╫я▀п╣ п╡п╟п╪п╦, п©п╬п╨п╟ п╡я▀ я│п╟п╪п╦ п╫п╣ п©я─п╦п╨п╟п╤п╣я┌п╣ я│п╢п╣п╩п╟я┌я▄ я█я┌п╬. п▓я▀ п╢п╟п╤п╣ п╪п╬п╤п╣я┌п╣ п╦п╪п╣я┌я▄ п╫п╣я│п╨п╬п╩я▄п╨п╬ я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦п╧ п╬п╢п╫п╬пЁп╬ п╦ я┌п╬пЁп╬ п╤п╣ п©я─п╬п╣п╨я┌п╟.

п÷п╬я│п╩п╣ я┌п╬пЁп╬, п╨п╟п╨ п╡я▀ п╡п╫п╣я│п╩п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я└п╟п╧п╩я▀ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╦ я┐п╠п╣п╢п╦п╩п╦я│я▄ п╡ я┌п╬п╪, я┤я┌п╬ п╬п╫п╦ п╨п╬я─я─п╣п╨я┌п╫п╬ я─п╟п╠п╬я┌п╟я▌я┌, Subversion п©я─п╣п╢п╩п╟пЁп╟п╣я┌ п╡п╟п╪ п╨п╬п╪п╟п╫п╢я▀ б╚п©я┐п╠п╩п╦п╨п╟я├п╦п╦б╩ (п╥п╟п©п╦я│п╦ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣) п╡п╟я┬п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧, п╡ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ я┤п╣пЁп╬ п╬п╫п╦ я│я┌п╟п╫я┐я┌ п╢п╬я│я┌я┐п©п╫я▀п╪п╦ п╢п╩я▐ п╡я│п╣я┘ я┐я┤п╟я│я┌п╫п╦п╨п╬п╡ п©я─п╬п╣п╨я┌п╟. п∙я│п╩п╦ п╢я─я┐пЁп╦п╣ я┐я┤п╟я│я┌п╫п╦п╨п╦ п©я─п╬п╣п╨я┌п╟ п╬п©я┐п╠п╩п╦п╨п╬п╡п╟п╩п╦ я│п╡п╬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐, Subversion п©я─п╣п╢п╩п╟пЁп╟п╣я┌ п╡п╟п╪ п╨п╬п╪п╟п╫п╢я▀ п╢п╩я▐ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦я▐ (п©я┐я┌п╣п╪ я┤я┌п╣п╫п╦я▐ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟) я█я┌п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ я│ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╣п╧.

п═п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ я│п╬п╢п╣я─п╤п╦я┌ п╫п╣я│п╨п╬п╩я▄п╨п╬ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я▀я┘ я└п╟п╧п╩п╬п╡, я│п╬п╥п╢п╟п╫п╫я▀я┘ п╦ п╬п╠я│п╩я┐п╤п╦п╡п╟п╣п╪я▀я┘ Subversion, п╨п╬я┌п╬я─я▀п╣ п©п╬п╪п╬пЁп╟я▌я┌ п╣п╧ п©я─п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦п╦ я█я┌п╦я┘ п╨п╬п╪п╟п╫п╢. п▓ я┤п╟я│я┌п╫п╬я│я┌п╦, п╨п╟п╤п╢я▀п╧ п╨п╟я┌п╟п╩п╬пЁ п╡ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│п╬п╢п╣я─п╤п╦я┌ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁ я│ п╦п╪п╣п╫п╣п╪ .svn п╨п╬я┌п╬я─я▀п╧ п╫п╟п╥я▀п╡п╟п╣я┌я│я▐ я│п╩я┐п╤п╣п╠п╫я▀п╪ п╨п╟я┌п╟п╩п╬пЁп╬п╪ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п╓п╟п╧п╩я▀ п╡ я│п╩я┐п╤п╣п╠п╫п╬п╪ п╨п╟я┌п╟п╩п╬пЁп╣ п©п╬п╪п╬пЁп╟я▌я┌ Subversion п╬п©я─п╣п╢п╣п╩п╦я┌я▄ п╨п╟п╨п╦п╣ я└п╟п╧п╩я▀ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│п╬п╢п╣я─п╤п╟я┌ п╫п╣п╬п©я┐п╠п╩п╦п╨п╬п╡п╟п╫п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╦ п╨п╟п╨п╦п╣ я└п╟п╧п╩я▀ я┐я│я┌п╟я─п╣п╩п╦ п©п╬ п╬я┌п╫п╬я┬п╣п╫п╦я▌ п╨ я└п╟п╧п╩п╟п╪ п╢я─я┐пЁп╦я┘ я┐я┤п╟я│я┌п╫п╦п╨п╬п╡.

п п╟п╨ п©я─п╟п╡п╦п╩п╬, я┘я─п╟п╫п╦п╩п╦я┴п╣ Subversion я│п╬п╢п╣я─п╤п╦я┌ я└п╟п╧п╩я▀ (п╦п╩п╦ п╦я│я┘п╬п╢п╫я▀п╧ п╨п╬п╢) п╫п╣я│п╨п╬п╩я▄п╨п╦я┘ п©я─п╬п╣п╨я┌п╬п╡; п╬п╠я▀я┤п╫п╬ п╨п╟п╤п╢я▀п╧ п©я─п╬п╣п╨я┌ п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌я│я▐ п╡ п╡п╦п╢п╣ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╟ я└п╟п╧п╩п╬п╡п╬п╧ я│п╦я│я┌п╣п╪я▀ я┘я─п╟п╫п╦п╩п╦я┴п╟. п÷я─п╦ я┌п╟п╨п╬п╪ п©п╬п╢я┘п╬п╢п╣, п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╟я▐ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╬п╠я▀я┤п╫п╬ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐п╣я┌ п╬я┌п╢п╣п╩я▄п╫п╬п╪я┐ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁя┐ я┘я─п╟п╫п╦п╩п╦я┴п╟.

п²п╟п©я─п╦п╪п╣я─, п©я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┤я┌п╬ я┐ п╡п╟я│ п╣я│я┌я▄ я┘я─п╟п╫п╦п╩п╦я┴п╣, я│п╬п╢п╣я─п╤п╟я┴п╣п╣ п╢п╡п╟ п©я─п╬пЁя─п╟п╪п╪п╫я▀я┘ п©я─п╬п╣п╨я┌п╟: paint п╦ calc. п п╟п╤п╢я▀п╧ п©я─п╬п╣п╨я┌ я─п╟я│п©п╬п╩п╟пЁп╟п╣я┌я│я▐ п╡ я│п╡п╬п╣п╪ я│п╬п╠я│я┌п╡п╣п╫п╫п╬п╪ п╨п╟я┌п╟п╩п╬пЁп╣ п╨п╟п╨ п©п╬п╨п╟п╥п╟п╫п╬ п╫п╟ п═п╦я│я┐п╫п╬п╨б═1.6, б╚п╓п╟п╧п╩п╬п╡п╟я▐ я│п╦я│я┌п╣п╪п╟ я┘я─п╟п╫п╦п╩п╦я┴п╟б╩.

п═п╦я│я┐п╫п╬п╨ 1.6. п╓п╟п╧п╩п╬п╡п╟я▐ я│п╦я│я┌п╣п╪п╟ я┘я─п╟п╫п╦п╩п╦я┴п╟

п╓п╟п╧п╩п╬п╡п╟я▐ я│п╦я│я┌п╣п╪п╟ я┘я─п╟п╫п╦п╩п╦я┴п╟


п■п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ я│п╬п╥п╢п╟я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, п╡п╟п╪ п╫я┐п╤п╫п╬ п©п╬п╩я┐я┤п╦я┌я▄ п╨п╟п╨п╬п╧-п╩п╦п╠п╬ п╦п╥ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╬п╡ я┘я─п╟п╫п╦п╩п╦я┴п╟. (п▓п╬п╥п╪п╬п╤п╫п╬, я┌п╣я─п╪п╦п╫ п©п╬п╩я┐я┤п╦я┌я▄ п╥п╡я┐я┤п╦я┌ п╨п╟п╨ я┤я┌п╬-я┌п╬, я│п╡я▐п╥п╟п╫п╫п╬п╣ я│ п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣п╪ п╦п╩п╦ я─п╣п╥п╣я─п╡п╦я─п╬п╡п╟п╫п╦п╣п╪ я─п╣я│я┐я─я│п╬п╡, п╫п╬ я█я┌п╬ п╫п╣ я┌п╟п╨; п╢п╟п╫п╫п╟я▐ п╨п╬п╪п╟п╫п╢п╟ п©я─п╬я│я┌п╬ я│п╬п╥п╢п╟п╣я┌ п╢п╩я▐ п╡п╟я│ п╩п╦я┤п╫я┐я▌ п╨п╬п©п╦я▌ п©я─п╬п╣п╨я┌п╟.) п²п╟п©я─п╦п╪п╣я─, п╣я│п╩п╦ п╡я▀ п©п╬п╩я┐я┤п╦я┌п╣ /calc, я┐ п╡п╟я│ п╠я┐п╢п╣я┌ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╫п╟п©п╬п╢п╬п╠п╦п╣ я█я┌п╬п╧:

$ svn checkout http://svn.example.com/repos/calc
A    calc/Makefile
A    calc/integer.c
A    calc/button.c
Checked out revision 56.

$ ls -A calc
Makefile  integer.c  button.c  .svn/

п▒я┐п╨п╡я▀ п░ пЁп╬п╡п╬я─я▐я┌ п╬ я┌п╬п╪, я┤я┌п╬ Subversion п╢п╬п╠п╟п╡п╦п╩ я█я┌п╬я┌ я█п╩п╣п╪п╣п╫я┌ п╡ п╡п╟я┬я┐ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌. п╒п╣п©п╣я─я▄ я┐ п╡п╟я│ п╣я│я┌я▄ п╩п╦я┤п╫п╟я▐ п╨п╬п©п╦я▐ п╨п╟я┌п╟п╩п╬пЁп╟ /calc я┘я─п╟п╫п╦п╩п╦я┴п╟, я│ п╬п╢п╫п╦п╪ п╫п╣п╠п╬п╩я▄я┬п╦п╪ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╣п╪ Б─■ п╨п╟я┌п╟п╩п╬пЁп╬п╪ .svn, я│п╬п╢п╣я─п╤п╟я┴п╦п╪, п╨п╟п╨ п╠я▀п╩п╬ я┐п╨п╟п╥п╟п╫п╬ п╡я▀я┬п╣, п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌, п╫п╣п╬п╠я┘п╬п╢п╦п╪я┐я▌ Subversion.

п÷я─п╣п╢п©п╬п╩п╬п╤п╦п╪, п╡я▀ п╡п╫п╣я│п╩п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ button.c. п╒п╟п╨ п╨п╟п╨ п╨п╟я┌п╟п╩п╬пЁ .svn п©п╬п╪п╫п╦я┌ п╢п╟я┌я┐ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я└п╟п╧п╩п╟ п╦ п╣пЁп╬ п╬я─п╦пЁп╦п╫п╟п╩я▄п╫п╬п╣ я│п╬п╢п╣я─п╤п╦п╪п╬п╣, Subversion п╪п╬п╤п╣я┌ я│п╨п╟п╥п╟я┌я▄ п╬ я┌п╬п╪, я┤я┌п╬ п╡я▀ п╦п╥п╪п╣п╫п╦п╩п╦ я└п╟п╧п╩. Subversion п╫п╣ п©я┐п╠п╩п╦п╨я┐п╣я┌ п╡п╟я┬п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧, п©п╬п╨п╟ п╡я▀ п╫п╣ п©я─п╦п╨п╟п╤п╣я┌п╣ я█я┌п╬ я│п╢п╣п╩п╟я┌я▄. п÷я┐п╠п╩п╦п╨п╟я├п╦я▐ п╡п╟я┬п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╠п╬п╩п╣п╣ п╦п╥п╡п╣я│я┌п╫п╟ п╨п╟п╨ я└п╦п╨я│п╟я├п╦я▐ (п╦п╩п╦ checking in) п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣.

п■п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ п╬п©я┐п╠п╩п╦п╨п╬п╡п╟я┌я▄ п╡п╟я┬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╡я▀ п╪п╬п╤п╣я┌п╣ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╨п╬п╪п╟п╫п╢п╬п╧ commit.

$ svn commit button.c -m "Fixed a typo in button.c."
Sending        button.c
Transmitting file data .
Committed revision 57.

п╒п╣п©п╣я─я▄ п╡п╟я┬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ button.c, п╡п╪п╣я│я┌п╣ я│ п©я─п╦п╪п╣я┤п╟п╫п╦п╣п╪, п╬п©п╦я│я▀п╡п╟я▌я┴п╦п╪ я█я┌п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ (п╟ п╦п╪п╣п╫п╫п╬: п╦я│п©я─п╟п╡п╩п╣п╫п╦п╣ п╬п©п╣я┤п╟я┌п╨п╦), п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╫я▀ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣; п╣я│п╩п╦ п╢я─я┐пЁп╬п╧ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ я│п╬п╥п╢п╟я│я┌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ /calc, п╬п╫ я┐п╡п╦п╢п╦я┌ п╡п╟я┬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ п©п╬я│п╩п╣п╢п╫п╣п╧ п╡п╣я─я│п╦п╦ я└п╟п╧п╩п╟.

п÷я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┐ п╡п╟я│ п╣я│я┌я▄ п©п╟я─я┌п╫п╣я─, п║п╟п╩п╩п╦, п╨п╬я┌п╬я─п╟я▐ я│п╬п╥п╢п╟п╩п╟ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ /calc п╬п╢п╫п╬п╡я─п╣п╪п╣п╫п╫п╬ я│ п╡п╟п╪п╦. п п╬пЁп╢п╟ п╡я▀ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╩п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ button.c, я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п║п╟п╩п╩п╦ п╬я│я┌п╟п╩п╟я│я▄ п╫п╣п╦п╥п╪п╣п╫п╣п╫п╫п╬п╧, я┌п╟п╨ п╨п╟п╨ Subversion п╪п╬п╢п╦я└п╦я├п╦я─я┐п╣я┌ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦ я┌п╬п╩я▄п╨п╬ п©п╬ п╥п╟п©я─п╬я│я┐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧.

п■п╩я▐ п©я─п╦п╡п╣п╢п╣п╫п╦я▐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡ п╟п╨я┌я┐п╟п╩я▄п╫п╬п╣ я│п╬я│я┌п╬я▐п╫п╦п╣ п║п╟п╩п╩п╦ п╪п╬п╤п╣я┌ п©п╬п©я─п╬я│п╦я┌я▄ Subversion п╬п╠п╫п╬п╡п╦я┌я▄ п╣я▒ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, п╦я│п©п╬п╩я▄п╥я┐я▐ п╨п╬п╪п╟п╫п╢я┐ Subversion update. п╜я┌п╬ п╡п╨п╩я▌я┤п╦я┌ п╡п╟я┬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ п╣п╣ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, я┌п╟п╨ п╤п╣ п╨п╟п╨ п╦ п╡я│п╣ п╢я─я┐пЁп╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╫п╫я▀п╣ п©п╬я│п╩п╣ я┌п╬пЁп╬, п╨п╟п╨ п╬п╫п╟ я│п╬п╥п╢п╟п╡п╟п╩п╟ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌.

$ pwd
/home/sally/calc

$ ls -A
.svn/ Makefile integer.c button.c

$ svn update
U    button.c
Updated to revision 57.

п▓я▀п╡п╬п╢ п╨п╬п╪п╟п╫п╢я▀ svn update пЁп╬п╡п╬я─п╦я┌, я┤я┌п╬ Subversion п╬п╠п╫п╬п╡п╦п╩п╟ я│п╬п╢п╣я─п╤п╦п╪п╬п╣ button.c. п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣, я┤я┌п╬ п║п╟п╩п╩п╦ п╫п╣ п╢п╬п╩п╤п╫п╟ я┐п╨п╟п╥я▀п╡п╟я┌я▄, п╨п╟п╨п╬п╧ я└п╟п╧п╩ п╬п╠п╫п╬п╡п╦я┌я▄; п╢п╩я▐ п╬п©я─п╣п╢п╣п╩п╣п╫п╦я▐ я└п╟п╧п╩п╬п╡, п╨п╬я┌п╬я─я▀п╣ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п©я─п╦п╡п╣я│я┌п╦ п╡ п╟п╨я┌я┐п╟п╩я▄п╫п╬п╣ я│п╬я│я┌п╬я▐п╫п╦п╣, Subversion п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╡ п╨п╟я┌п╟п╩п╬пЁп╣ .svn, п╟ я┌п╟п╨п╤п╣ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟.

п÷я─п╟п╡п╨п╦

п·п©п╣я─п╟я├п╦я▐ svn commit п©я┐п╠п╩п╦п╨я┐п╣я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╩я▌п╠п╬пЁп╬ п╨п╬п╩п╦я┤п╣я│я┌п╡п╟ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡ п╥п╟ п╬п╢п╫я┐ п╟я┌п╬п╪п╟я─п╫я┐я▌ п╬п©п╣я─п╟я├п╦я▌. п▓ я│п╡п╬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡я▀ п╪п╬п╤п╣я┌п╣ п╪п╣п╫я▐я┌я▄ я│п╬п╢п╣я─п╤п╦п╪п╬п╣ я└п╟п╧п╩п╬п╡, я│п╬п╥п╢п╟п╡п╟я┌я▄, я┐п╢п╟п╩я▐я┌я▄, п©п╣я─п╣п╦п╪п╣п╫п╬п╡я▀п╡п╟я┌я▄ п╦ п╨п╬п©п╦я─п╬п╡п╟я┌я▄ я└п╟п╧п╩я▀ п╦ п╨п╟я┌п╟п╩п╬пЁп╦, п╟ п╥п╟я┌п╣п╪ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ п╡я│п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╥п╟ п╬п╢п╫я┐ п╟я┌п╬п╪п╟я─п╫я┐я▌ я┌я─п╟п╫п╥п╟п╨я├п╦я▌.

п÷п╬п╢ б╚п╟я┌п╬п╪п╟я─п╫п╬п╧ я┌я─п╟п╫п╥п╟п╨я├п╦п╣п╧б╩ п©п╬п╫п╦п╪п╟п╣я┌я│я▐ я│п╩п╣п╢я┐я▌я┴п╣п╣: п╩п╦п╠п╬ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╡п╫п╬я│я▐я┌я│я▐ п╡я│п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п©п╬п╩п╫п╬я│я┌я▄я▌, п╩п╦п╠п╬ п╬п╫п╦ п╫п╣ п╡п╫п╬я│я▐я┌я│я▐ п╡п╬п╬п╠я┴п╣. Subversion п╡п╣п╢я▒я┌ я│п╣п╠я▐ я┌п╟п╨, п©я─п╦п╫п╦п╪п╟я▐ п╡ я─п╟я│я┤п╣я┌ п╡п╬п╥п╪п╬п╤п╫я▀п╣ п©я─п╬пЁя─п╟п╪п╪п╫я▀п╣ я│п╠п╬п╦, я│п╦я│я┌п╣п╪п╫я▀п╣ я│п╠п╬п╦, п©я─п╬п╠п╩п╣п╪я▀ я│ я│п╣я┌я▄я▌, п╟ я┌п╟п╨п╤п╣ п╫п╣п╡п╣я─п╫я▀п╣ п╢п╣п╧я│я┌п╡п╦я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐.

п п╟п╤п╢я▀п╧ я─п╟п╥, п╨п╬пЁп╢п╟ п©я─п╬п╦я│я┘п╬п╢п╦я┌ я└п╦п╨я│п╟я├п╦я▐, я│п╬п╥п╢п╟я▒я┌я│я▐ п╫п╬п╡п╬п╣ я│п╬я│я┌п╬я▐п╫п╦п╣ я└п╟п╧п╩п╬п╡п╬п╧ я│п╦я│я┌п╣п╪я▀, п╨п╬я┌п╬я─п╬п╣ п╫п╟п╥я▀п╡п╟п╣я┌я│я▐ п©я─п╟п╡п╨п╬п╧. п п╟п╤п╢п╟я▐ п©я─п╟п╡п╨п╟ п©п╬п╩я┐я┤п╟п╣я┌ я┐п╫п╦п╨п╟п╩я▄п╫я▀п╧ п╫п╬п╪п╣я─, п╫п╟ п╣п╢п╦п╫п╦я├я┐ п╠п╬п╩я▄я┬п╦п╧ п╫п╬п╪п╣я─п╟ п©я─п╣п╢я▀п╢я┐я┴п╣п╧ п©я─п╟п╡п╨п╦. п²п╟я┤п╟п╩я▄п╫п╟я▐ п©я─п╟п╡п╨п╟ я┌п╬п╩я▄п╨п╬ я┤я┌п╬ я│п╬п╥п╢п╟п╫п╫п╬пЁп╬ я┘я─п╟п╫п╦п╩п╦я┴п╟ п©п╬п╩я┐я┤п╟п╣я┌ п╫п╬п╪п╣я─ 0 п╦ п╫п╣ я│п╬п╢п╣я─п╤п╦я┌ п╫п╦я┤п╣пЁп╬, п╨я─п╬п╪п╣ п©я┐я│я┌п╬пЁп╬ п╨п╬я─п╫п╣п╡п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟.

п═п╦я│я┐п╫п╬п╨б═1.7, б╚п╔я─п╟п╫п╦п╩п╦я┴п╣б╩ п╬я┌п╩п╦я┤п╫п╬ п╦п╩п╩я▌я│я┌я─п╦я─я┐п╣я┌ я┘я─п╟п╫п╦п╩п╦я┴п╣. п÷я─п╣п╢я│я┌п╟п╡я▄я┌п╣ п╪п╟я│я│п╦п╡ п╫п╬п╪п╣я─п╬п╡ п©я─п╟п╡п╬п╨, п╫п╟я┤п╦п╫п╟я▌я┴п╦п╧я│я▐ я│ 0, я│ п╫п╟п©я─п╟п╡п╩п╣п╫п╦п╣п╪ я│п╩п╣п╡п╟ п╫п╟п©я─п╟п╡п╬. п п╟п╤п╢я▀п╧ п╫п╬п╪п╣я─ п©я─п╟п╡п╨п╦ п╦п╪п╣п╣я┌ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╣п╣ п╢п╣я─п╣п╡п╬ я└п╟п╧п╩п╬п╡, п╟ п╨п╟п╤п╢п╬п╣ п╢п╣я─п╣п╡п╬ п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ б╚я│п╫п╦п╪п╬п╨б╩ я┌п╬пЁп╬, п╨п╟п╨ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╡я▀пЁп╩я▐п╢п╣п╩п╬ п©п╬я│п╩п╣ я└п╦п╨я│п╟я├п╦п╦.

п═п╦я│я┐п╫п╬п╨ 1.7. п╔я─п╟п╫п╦п╩п╦я┴п╣

п╔я─п╟п╫п╦п╩п╦я┴п╣


п▓п╟п╤п╫п╬ п©п╬п╪п╫п╦я┌я▄, я┤я┌п╬ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦ п╫п╣ п╡я│п╣пЁп╢п╟ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┌ п╨п╟п╨п╬п╧-я┌п╬ п╬п╢п╫п╬п╧ п©я─п╟п╡п╨п╣ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣; п╬п╫п╦ п╪п╬пЁя┐я┌ я│п╬п╢п╣я─п╤п╟я┌я▄ я└п╟п╧п╩я▀ п╦п╥ я─п╟п╥п╫я▀я┘ п©я─п╟п╡п╬п╨. п²п╟п©я─п╦п╪п╣я─, п╡я▀ п©п╬п╩я┐я┤п╦п╩п╦ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟, я┐ п╨п╬я┌п╬я─п╬пЁп╬ я│п╟п╪п╟я▐ п©п╬я│п╩п╣п╢п╫я▐я▐ п©я─п╟п╡п╨п╟ Б─■ 4:

calc/Makefile:4
     integer.c:4
     button.c:4

п²п╟ п╢п╟п╫п╫я▀п╧ п╪п╬п╪п╣п╫я┌ я─п╟п╠п╬я┤п╦п╧ п╨п╟я┌п╟п╩п╬пЁ п©п╬п╩п╫п╬я│я┌я▄я▌ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐п╣я┌ п©я─п╟п╡п╨п╣ 4 п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п■п╬п©я┐я│я┌п╦п╪, я┤я┌п╬ п╡я▀ п╡п╫п╣я│п╩п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ button.c п╦ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╩п╦ я█я┌п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐. п÷я─п╦ п╬я┌я│я┐я┌я│я┌п╡п╦п╦ п╢я─я┐пЁп╦я┘ я└п╦п╨я│п╟я├п╦п╧ п╡п╟я┬п╟ я└п╦п╨я│п╟я├п╦я▐ я│п╬п╥п╢п╟я│я┌ п©я─п╟п╡п╨я┐ п©п╬п╢ п╫п╬п╪п╣я─п╬п╪ 5, п╦ я┌п╣п©п╣я─я▄ п╡п╟я┬п╟ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╡я▀пЁп╩я▐п╢п╦я┌ я│п╩п╣п╢я┐я▌я┴п╦п╪ п╬п╠я─п╟п╥п╬п╪:

calc/Makefile:4
     integer.c:4
     button.c:5

п÷я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┤я┌п╬ п©п╬я│п╩п╣ я█я┌п╬пЁп╬ п║п╟п╩п╩п╦ я└п╦п╨я│п╦я─я┐п╣я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ integer.c, я│п╬п╥п╢п╟п╡п╟я▐ п©я─п╟п╡п╨я┐ 6. п∙я│п╩п╦ п╡я▀ п╡п╬я│п©п╬п╩я▄п╥я┐п╣я┌п╣я│я▄ svn update п╢п╩я▐ п©я─п╦п╡п╣п╢п╣п╫п╦я▐ я│п╡п╬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡ п╟п╨я┌я┐п╟п╩я▄п╫п╬п╣ я│п╬я│я┌п╬я▐п╫п╦п╣, я┌п╬ п╬п╫п╟ я│я┌п╟п╫п╣я┌ п╡я▀пЁп╩я▐п╢п╣я┌я▄ я┌п╟п╨:

calc/Makefile:6
     integer.c:6
     button.c:6

п≤п╥п╪п╣п╫п╣п╫п╦я▐, п╡п╫п╣я│п╣п╫п╫я▀п╣ п║п╟п╩п╩п╦ п╡ integer.c п╠я┐п╢я┐я┌ п╬я┌я─п╟п╤п╣п╫я▀ п╡ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╦ п╡п╟я┬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ button.c я┌п╟п╨п╤п╣ п╠я┐п╢я┐я┌ п©я─п╦я│я┐я┌я│я┌п╡п╬п╡п╟я┌я▄. п▓ я█я┌п╬п╪ п©я─п╦п╪п╣я─п╣ я┌п╣п╨я│я┌ Makefile п╡ п©я─п╟п╡п╨п╟я┘ 4, 5 п╦ 6 п╦п╢п╣п╫я┌п╦я┤п╣п╫, п╬п╢п╫п╟п╨п╬ Subversion п©я─п╬я│я┌п╟п╡п╩я▐п╣я┌ п╫п╬п╪п╣я─ п©я─п╟п╡п╨п╦ 6 п╢п╩я▐ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ Makefile, я┤я┌п╬п╠я▀ п©п╬п╨п╟п╥п╟я┌я▄ я┤я┌п╬ я└п╟п╧п╩ п╫п╣ я┐я│я┌п╟я─п╣п╩. п╒п╟п╨п╦п╪ п╬п╠я─п╟п╥п╬п╪, п©п╬я│п╩п╣ я┌п╬пЁп╬ п╨п╟п╨ п╡я▀ п╡я▀п©п╬п╩п╫п╦я┌п╣ п©п╬п╩п╫п╬п╣ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╣ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╬п╫п╟ п╠я┐п╢п╣я┌ п©п╬п╩п╫п╬я│я┌я▄я▌ я│п╬п╬я┌п╡п╣я┌я│я┌п╡п╬п╡п╟я┌я▄ я┌п╣п╨я┐я┴п╣п╪я┐ я│п╬я│я┌п╬я▐п╫п╦я▌ я┘я─п╟п╫п╦п╩п╦я┴п╟.

п п╟п╨ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦ п╬я┌я│п╩п╣п╤п╦п╡п╟я▌я┌ я┘я─п╟п╫п╦п╩п╦я┴п╣

п▓ я│п╩я┐п╤п╣п╠п╫п╬п╪ п╨п╟я┌п╟п╩п╬пЁп╣ .svn/ п╢п╩я▐ п╨п╟п╤п╢п╬пЁп╬ я└п╟п╧п╩п╟ я─п╟п╠п╬я┤п╣пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ Subversion п╥п╟п©п╦я│я▀п╡п╟п╣я┌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬ п╢п╡я┐я┘ п╡п╟п╤п╫п╣п╧я┬п╦я┘ я│п╡п╬п╧я│я┌п╡п╟я┘:

  • п╫п╟ п╨п╟п╨п╬п╧ п©я─п╟п╡п╨п╣ п╬я│п╫п╬п╡п╟п╫ п╡п╟я┬ я─п╟п╠п╬я┤п╦п╧ я└п╟п╧п╩ (я█я┌п╬ п╫п╟п╥я▀п╡п╟п╣я┌я│я▐ я─п╟п╠п╬я┤п╟я▐ п©я─п╟п╡п╨п╟ я└п╟п╧п╩п╟), п╦

  • п╡я─п╣п╪п╣п╫п╫п╬п╧ (я┐п╢п╟я─п╣п╫п╦п╣ п╫п╟ п©п╬я│п╩п╣п╢п╫п╦п╧ я│п╩п╬пЁ) п╪п╣я┌п╨п╣, п╬п©я─п╣п╢п╣п╩я▐я▌я┴п╣п╧, п╨п╬пЁп╢п╟ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п©п╬я│п╩п╣п╢п╫п╦п╧ я─п╟п╥ п╬п╠п╫п╬п╡п╩я▐п╩п╟я│я▄ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟.

п≤я│п©п╬п╩я▄п╥я┐я▐ я█я┌я┐ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п©я─п╦ я│п╬п╣п╢п╦п╫п╣п╫п╦п╦ я│ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪, Subversion п╪п╬п╤п╣я┌ я│п╨п╟п╥п╟я┌я▄, п╡ п╨п╟п╨п╬п╪ п╦п╥ я│п╩п╣п╢я┐я▌я┴п╦я┘ я┤п╣я┌я▀я─п╣я┘ я│п╬я│я┌п╬я▐п╫п╦п╧ п╫п╟я┘п╬п╢п╦я┌я│я▐ я─п╟п╠п╬я┤п╦п╧ я└п╟п╧п╩:

п²п╣ п╦п╥п╪п╣п╫я▐п╩я│я▐ п╦ п╫п╣ я┐я│я┌п╟я─п╣п╩

п╓п╟п╧п╩ п╫п╣ п╦п╥п╪п╣п╫я▐п╩я│я▐ п╡ я─п╟п╠п╬я┤п╣п╪ п╨п╟я┌п╟п╩п╬пЁп╣, п╟ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ я┌п╟п╨п╤п╣ п╫п╣ я└п╦п╨я│п╦я─п╬п╡п╟п╩п╦я│я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я█я┌п╬пЁп╬ я└п╟п╧п╩п╟ я│п╬ п╡я─п╣п╪п╣п╫п╦ я│п╬п╥п╢п╟п╫п╦я▐ п╣пЁп╬ я─п╟п╠п╬я┤п╣п╧ п©я─п╟п╡п╨п╦. п п╬п╪п╟п╫п╢я▀ svn commit п╦ svn update п╫п╦п╨п╟п╨п╦я┘ п╬п©п╣я─п╟я├п╦п╧ п╢п╣п╩п╟я┌я▄ п╫п╣ п╠я┐п╢я┐я┌.

п≤п╥п╪п╣п╫я▐п╩я│я▐ п╩п╬п╨п╟п╩я▄п╫п╬ п╦ п╫п╣ я┐я│я┌п╟я─п╣п╩

п╓п╟п╧п╩ п╠я▀п╩ п╦п╥п╪п╣п╫п╣п╫ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╫п╬ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╫п╣ я└п╦п╨я│п╦я─п╬п╡п╟п╩п╦я│я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я█я┌п╬пЁп╬ я└п╟п╧п╩п╟ п©п╬я│п╩п╣п╢п╫п╣пЁп╬ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п∙я│я┌я▄ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╨п╬я┌п╬я─я▀п╣ п╫п╣ п╠я▀п╩п╦ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╫я▀ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣, п©п╬я█я┌п╬п╪я┐ svn commit п╡я▀п©п╬п╩п╫п╦я┌ я└п╦п╨я│п╟я├п╦я▌ п╡п╟я┬п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧, п╟ svn update п╫п╣ я│п╢п╣п╩п╟п╣я┌ п╫п╦я┤п╣пЁп╬.

п²п╣ п╦п╥п╪п╣п╫я▐п╩я│я▐ п╦ я┐я│я┌п╟я─п╣п╩

п▓ я─п╟п╠п╬я┤п╣п╪ п╨п╟я┌п╟п╩п╬пЁп╣ я└п╟п╧п╩ п╫п╣ п╦п╥п╪п╣п╫я▐п╩я│я▐, п╫п╬ п╠я▀п╩ п╦п╥п╪п╣п╫п╣п╫ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п²п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╡я▀п©п╬п╩п╫п╦я┌я▄ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╣ я└п╟п╧п╩п╟ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ п╬п╫ я│п╬п╬я┌п╡п╣я┌я│я┌п╡п╬п╡п╟п╩ я┌п╣п╨я┐я┴п╣п╧ п╬п©я┐п╠п╩п╦п╨п╬п╡п╟п╫п╫п╬п╧ п©я─п╟п╡п╨п╣. п п╬п╪п╟п╫п╢п╟ svn commit п╫п╣ я│п╢п╣п╩п╟п╣я┌ п╫п╦я┤п╣пЁп╬, п╟ svn update п╬п╠п╫п╬п╡п╦я┌ п╡п╟я┬я┐ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ я└п╟п╧п╩п╟ п╡ я│п╬п╬я┌п╡п╣я┌я│я┌п╡п╦п╦ я│ п©п╬я│п╩п╣п╢п╫п╦п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦.

п≤п╥п╪п╣п╫я▐п╩я│я▐ п╩п╬п╨п╟п╩я▄п╫п╬ п╦ я┐я│я┌п╟я─п╣п╩

п╓п╟п╧п╩ п╠я▀п╩ п╦п╥п╪п╣п╫п╣п╫ п╨п╟п╨ п╡ я─п╟п╠п╬я┤п╣п╪ п╨п╟я┌п╟п╩п╬пЁп╣, я┌п╟п╨ п╦ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. svn commit п©п╬я┌п╣я─п©п╦я┌ п╫п╣я┐п╢п╟я┤я┐, п╡я▀п╢п╟п╡ п╬я┬п╦п╠п╨я┐ б╚out-of-dateб╩. п╓п╟п╧п╩ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ я│п╫п╟я┤п╟п╩п╟ п╬п╠п╫п╬п╡п╦я┌я▄; svn update п©п╬п©я▀я┌п╟п╣я┌я│я▐ п╬п╠я┼п╣п╢п╦п╫п╦я┌я▄ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│ п╬п©я┐п╠п╩п╦п╨п╬п╡п╟п╫п╫я▀п╪п╦. п∙я│п╩п╦ Subversion п╫п╣ я│п╪п╬п╤п╣я┌ п╡я▀п©п╬п╩п╫п╦я┌я▄ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╣ я│п╟п╪п╬я│я┌п╬я▐я┌п╣п╩я▄п╫п╬, п╬п╫п╟ п©я─п╣п╢п╩п╬п╤п╦я┌ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▌ я─п╟п╥я─п╣я┬п╦я┌я▄ п╨п╬п╫я└п╩п╦п╨я┌ п╡я─я┐я┤п╫я┐я▌.

п°п╬п╤п╣я┌ п©п╬п╨п╟п╥п╟я┌я▄я│я▐, я┤я┌п╬ я│п╩п╣п╢п╦я┌я▄ п╥п╟ п╟п╨я┌я┐п╟п╩я▄п╫я▀п╪ я│п╬я│я┌п╬я▐п╫п╦п╣п╪ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│п╩п╬п╤п╫п╬. п╜я┌п╬ п╫п╣ я┌п╟п╨. п■п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ я┐п╥п╫п╟я┌я▄ я│п╬я│я┌п╬я▐п╫п╦п╣ п╩я▌п╠п╬пЁп╬ я█п╩п╣п╪п╣п╫я┌п╟ п╡ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, я│я┐я┴п╣я│я┌п╡я┐п╣я┌ п╨п╬п╪п╟п╫п╢п╟ svn status. п≈п╟ п╠п╬п╩п╣п╣ п©п╬п╢я─п╬п╠п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╣п╧ п╬п╠ я█я┌п╬п╧ п╨п╬п╪п╟п╫п╢п╣ п╬п╠я─п╟я┌п╦я┌п╣я│я▄ п╨ б╚svn statusб╩.

п║п╪п╣я┬п╦п╡п╟п╫п╦п╣ п©я─п╟п╡п╬п╨ п╡ я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦я▐я┘

Subversion я│я┌п╟я─п╟п╣я┌я│я▐ п╠я▀я┌я▄ пЁп╦п╠п╨п╬п╧ п╫п╟я│я┌п╬п╩я▄п╨п╬, п╫п╟я│п╨п╬п╩я▄п╨п╬ я█я┌п╬ п╡п╬п╥п╪п╬п╤п╫п╬. п²п╟п©я─п╦п╪п╣я─, я│я┐я┴п╣я│я┌п╡я┐п╣я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╦п╪п╣я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, я│п╬п╢п╣я─п╤п╟я┴я┐я▌ я└п╟п╧п╩я▀ п╦ п╨п╟я┌п╟п╩п╬пЁп╦, п╦п╪п╣я▌я┴п╦п╣ я│п╪п╣я┬п╟п╫п╫я▀п╣ п╫п╬п╪п╣я─п╟ я─п╟п╠п╬я┤п╦я┘ п©я─п╟п╡п╬п╨. п²п╬, п╨ я│п╬п╤п╟п╩п╣п╫п╦я▌, я█я┌п╟ пЁп╦п╠п╨п╬я│я┌я▄ п╦п╫п╬пЁп╢п╟ я│п╪я┐я┴п╟п╣я┌ п╫п╣п╨п╬я┌п╬я─я▀я┘ п╫п╬п╡я▀я┘ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧. п∙я│п╩п╦ я─п╟п╫я▄я┬п╣ п©я─п╦п╪п╣я─я▀, п©п╬п╨п╟п╥я▀п╡п╟я▌я┴п╦п╣ я│п╪п╣я┬п╟п╫п╫я▀п╣ п©я─п╟п╡п╨п╦, п╡я▀п╥я▀п╡п╟п╩п╦ я┐ п╡п╟я│ я┤я┐п╡я│я┌п╡п╬ я─п╟я│я┌п╣я─я▐п╫п╫п╬я│я┌п╦, я┌п╬ я█я┌п╬ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬, п╨п╬я┌п╬я─п╬п╣ я─п╟я│я│п╨п╟п╥я▀п╡п╟п╣я┌, п╢п╩я▐ я┤п╣пЁп╬ я┌п╟п╨п╟я▐ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ я│я┐я┴п╣я│я┌п╡я┐п╣я┌ п╦ п╨п╟п╨ п╣п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄, п©я─п╣п╢п╫п╟п╥п╫п╟я┤п╣п╫п╟ п╢п╩я▐ п╡п╟я│.

п·п╠п╫п╬п╡п╩п╣п╫п╦я▐ п╦ я└п╦п╨я│п╟я├п╦п╦ п╬я┌п╢п╣п╩п╣п╫я▀ п╢я─я┐пЁ п╬я┌ п╢я─я┐пЁп╟

п·п╢п╫п╬ п╦п╥ я└я┐п╫п╢п╟п╪п╣п╫я┌п╟п╩я▄п╫я▀я┘ п©я─п╟п╡п╦п╩ Subversion п╥п╟п╨п╩я▌я┤п╟п╣я┌я│я▐ п╡ я┌п╬п╪, я┤я┌п╬ б╚п©п╣я─п╣п╢п╟я▌я┴п╣п╣б╩ п╢п╣п╧я│я┌п╡п╦п╣ п╫п╣ п©я─п╦п╡п╬п╢п╦я┌ п╨ б╚п©я─п╦п╫п╦п╪п╟п╣п╪п╬п╪я┐б╩, п╦ п╫п╟п╬п╠п╬я─п╬я┌. п╒п╬, я┤я┌п╬ п╡я▀ пЁп╬я┌п╬п╡я▀ п╡п╫п╣я│я┌п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣, п╫п╣ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ п╡я▀ пЁп╬я┌п╬п╡я▀ п©я─п╦п╫я▐я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╬я┌ п╢я─я┐пЁп╦я┘. п░ п╣я│п╩п╦ п╡я▀ п╡я│п╣ п╣я┴п╣ я─п╟п╠п╬я┌п╟п╣я┌п╣ п╫п╟п╢ п╫п╬п╡я▀п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦, я┌п╬ svn update п╦п╥я▐я┴п╫п╬ п╬п╠я┼п╣п╢п╦п╫п╦я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟ я│ п╡п╟я┬п╦п╪п╦ я│п╬п╠я│я┌п╡п╣п╫п╫я▀п╪п╦, п╡п╪п╣я│я┌п╬ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ п╥п╟я│я┌п╟п╡п╩я▐я┌я▄ п╡п╟я│ п╬п©я┐п╠п╩п╦п╨п╬п╡п╟я┌я▄ п╦я┘.

п⌠п╩п╟п╡п╫я▀п╪ п©п╬п╠п╬я┤п╫я▀п╪ я█я└я└п╣п╨я┌п╬п╪ я█я┌п╬пЁп╬ п©я─п╟п╡п╦п╩п╟ я▐п╡п╩я▐п╣я┌я│я▐ я┌п╬, я┤я┌п╬ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╢п╬п╩п╤п╫п╟ п╡п╣я│я┌п╦ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я▀п╧ я┐я┤п╣я┌ п©я─п╦ я│п╪п╣я┬п╦п╡п╟п╫п╦п╦ п©я─п╟п╡п╬п╨ п╦ п╠я▀я┌я▄ п╟п╨п╨я┐я─п╟я┌п╫п╬п╧ п©я─п╦ п╩я▌п╠п╬п╪ я│п╪п╣я┬п╦п╡п╟п╫п╦п╦. п≤ я┌п╬, я┤я┌п╬ п╨п╟я┌п╟п╩п╬пЁп╦ п©п╬п©п╟п╢п╟я▌я┌ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩я▄ п╡п╣я─я│п╦п╧, п╢п╣п╩п╟п╣я┌ я█я┌п╬ п╣я┴п╣ п╠п╬п╩п╣п╣ я│п╩п╬п╤п╫я▀п╪ п╢п╩я▐ п©п╬п╫п╦п╪п╟п╫п╦я▐.

п■п╬п©я┐я│я┌п╦п╪, я┐ п╡п╟я│ п╣я│я┌я▄ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐, п©п╬п╩п╫п╬я│я┌я▄я▌ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╟я▐ п©я─п╟п╡п╨п╣ 10. п÷п╬я│п╩п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я└п╟п╧п╩п╟ foo.html, п╡я▀ п╡я▀п©п╬п╩п╫я▐п╣я┌п╣ п╨п╬п╪п╟п╫п╢я┐ svn commit, п╨п╬я┌п╬я─п╟я▐ я│п╬п╥п╢п╟п╣я┌ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п©я─п╟п╡п╨я┐ 15. п÷п╬я│п╩п╣ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ я└п╦п╨я│п╟я├п╦п╦ п╠п╬п╩я▄я┬п╟я▐ я┤п╟я│я┌я▄ п╫п╬п╡п╦я┤п╨п╬п╡ п╬п╤п╦п╢п╟я▌я┌, я┤я┌п╬ п╡я│я▐ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╠я┐п╢п╣я┌ п╦п╪п╣я┌я▄ п©я─п╟п╡п╨я┐ 15, п╬п╢п╫п╟п╨п╬ я█я┌п╬ п╫п╣ я┌п╟п╨. п°п╣п╤п╢я┐ п©я─п╟п╡п╨п╟п╪п╦ 10 п╦ 15 п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╪п╬пЁп╩п╬ п╠я▀я┌я▄ п╡п╫п╣я│п╣п╫п╬ п╩я▌п╠п╬п╣ п╨п╬п╩п╦я┤п╣я│я┌п╡п╬ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п╒п╟п╨ п╨п╟п╨ п╨п╬п╪п╟п╫п╢п╟ svn update п╫п╣ п╡я▀п©п╬п╩п╫я▐п╩п╟я│я▄, п╟ svn commit п╫п╣ п╥п╟пЁя─я┐п╤п╟п╣я┌ п╦п╥п╪п╣п╫п╣п╫п╦п╧, п╨п╩п╦п╣п╫я┌ п╫п╦я┤п╣пЁп╬ п╫п╣ п╥п╫п╟п╣я┌ п╬ п╫п╟я┘п╬п╢я▐я┴п╦я┘я│я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐я┘. п║ п╢я─я┐пЁп╬п╧ я│я┌п╬я─п╬п╫я▀, п╣я│п╩п╦ п╠я▀ п╨п╬п╪п╟п╫п╢п╟ svn commit п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ п╥п╟пЁя─я┐п╤п╟п╩п╟ п©п╬я│п╩п╣п╢п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я┌п╬ п╡я│п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╪п╬п╤п╫п╬ п╠я▀п╩п╬ п╠я▀ п╫п╟п╥п╫п╟я┤п╦я┌я▄ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╧ п╫п╬п╪п╣я─ п©я─п╟п╡п╨п╦ - 15. п·п╢п╫п╟п╨п╬ я█я┌п╬ п╫п╟я─я┐я┬п╦п╩п╬ п╠я▀ я└я┐п╫п╢п╟п╪п╣п╫я┌п╟п╩я▄п╫п╬п╣ п©я─п╟п╡п╦п╩п╬, я│п╬пЁп╩п╟я│п╫п╬ п╨п╬я┌п╬я─п╬п╪я┐ б╚п©п╣я─п╣п╢п╟я┤п╟б╩ п╦ б╚п©п╬п╩я┐я┤п╣п╫п╦п╣б╩ я▐п╡п╩я▐я▌я┌я│я▐ п╫п╣п╥п╟п╡п╦я│п╦п╪я▀п╪п╦ п╬п©п╣я─п╟я├п╦я▐п╪п╦. п║п╩п╣п╢п╬п╡п╟я┌п╣п╩я▄п╫п╬, п╡я│п╣, я┤я┌п╬ п╪п╬п╤п╣я┌ я│п╢п╣п╩п╟я┌я▄ п╨п╩п╦п╣п╫я┌ Subversion, я█я┌п╬ п©п╬п╪п╣я┌п╦я┌я▄ п╬п╢п╦п╫ я└п╟п╧п╩ Б─■ foo.html Б─■ п╨п╟п╨ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╧ п©я─п╟п╡п╨п╣ 15. п·я│я┌п╟п╩я▄п╫п╟я▐ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п©я─п╬п╢п╬п╩п╤п╟п╣я┌ я│п╬п╬я┌п╡п╣я┌я│я┌п╡п╬п╡п╟я┌я▄ п©я─п╟п╡п╨п╣ 10. п╒п╬п╩я▄п╨п╬ п©я─п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦п╦ svn update п╠я┐п╢я┐я┌ п╥п╟пЁя─я┐п╤п╣п╫я▀ п©п╬я│п╩п╣п╢п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╦ п╡я│я▐ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╠я┐п╢п╣я┌ п©п╬п╪п╣я┤п╣п╫п╟ п╨п╟п╨ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╟я▐ п©я─п╟п╡п╨п╣ 15.

п║п╪п╣я┬п╦п╡п╟п╫п╦п╣ п©я─п╟п╡п╬п╨ Б─■ я█я┌п╬ п╫п╬я─п╪п╟п╩я▄п╫п╬

п╓п╟п╨я┌п╦я┤п╣я│п╨п╦, п╨п╟п╤п╢я▀п╧ я─п╟п╥ п©я─п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦п╦ svn commit п©я─п╟п╡п╨п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│п╪п╣я┬п╦п╡п╟я▌я┌я│я▐. п╒п╬п╩я▄п╨п╬ я┤я┌п╬ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╫п╫я▀п╣ я█п╩п╣п╪п╣п╫я┌я▀ п╬я┌п╪п╣я┤п╟я▌я┌я│я▐ п╨п╟п╨ п╦п╪п╣я▌я┴п╦п╣ п╠п╬п╩я▄я┬п╦п╧ п╫п╬п╪п╣я─ я─п╟п╠п╬я┤п╣п╧ п©я─п╟п╡п╨п╦, я┤п╣п╪ п╡я│п╣ п╬я│я┌п╟п╩я▄п╫я▀п╣. п÷п╬я│п╩п╣ п╫п╣я│п╨п╬п╩я▄п╨п╦я┘ я└п╦п╨я│п╟я├п╦п╧ (п╠п╣п╥ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╧ п╪п╣п╤п╢я┐ п╫п╦п╪п╦) п©я─п╟п╡п╨п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╠я┐п╢я┐я┌ п©п╬п╩п╫п╬я│я┌я▄я▌ п©п╣я─п╣п╪п╣я┬п╟п╫я▀. п■п╟п╤п╣ п╣я│п╩п╦ п╡я▀ я▐п╡п╩я▐п╣я┌п╣я│я▄ п╣п╢п╦п╫я│я┌п╡п╣п╫п╫я▀п╪ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪ я┘я─п╟п╫п╦п╩п╦я┴п╟, п╡я▀ п╡я│п╣ я─п╟п╡п╫п╬ я│ я█я┌п╦п╪ я│я┌п╬п╩п╨п╫п╣я┌п╣я│я▄. п■п╩я▐ п©я─п╬я│п╪п╬я┌я─п╟ я█я┌п╬п╧ я│п╪п╣я│п╦ я─п╟п╠п╬я┤п╦я┘ п©я─п╟п╡п╬п╨ п╡п╬я│п©п╬п╩я▄п╥я┐п╧я┌п╣я│я▄ п╨п╬п╪п╟п╫п╢п╬п╧ svn status --verbose (я│п╪. б╚svn statusб╩).

п╖п╟я│я┌п╬ п╫п╬п╡я▀п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╢п╟п╤п╣ п╫п╣ п©п╬п╢п╬п╥я─п╣п╡п╟я▌я┌ п╬ я┌п╬п╪, я┤я┌п╬ п╦я┘ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ я│п╬п╢п╣я─п╤п╦я┌ я│п╪п╣я┬п╟п╫п╫я▀п╣ п©я─п╟п╡п╨п╦. п╜я┌п╬ п╪п╬п╤п╣я┌ я│п╠п╦я┌я▄ я│ я┌п╬п╩п╨я┐, я┌п╟п╨ п╨п╟п╨ п╪п╫п╬пЁп╦п╣ п╨п╬п╪п╟п╫п╢я▀ п╨п╩п╦п╣п╫я┌п╟ я┤я┐п╡я│я┌п╡п╦я┌п╣п╩я▄п╫я▀ п╨ я─п╟п╠п╬я┤п╣п╧ п©я─п╟п╡п╨п╣ я█п╩п╣п╪п╣п╫я┌п╟, я│ п╨п╬я┌п╬я─я▀п╪ п╬п╫ я─п╟п╠п╬я┌п╟п╣я┌. п²п╟п©я─п╦п╪п╣я─, п╨п╬п╪п╟п╫п╢п╟ svn log п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╢п╩я▐ п╡я▀п╡п╬п╢п╟ п╦я│я┌п╬я─п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟ (я│п╪. б╚svn logб╩). п п╬пЁп╢п╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╡я▀п╥я▀п╡п╟п╣я┌ я█я┌я┐ п╨п╬п╪п╟п╫п╢я┐ п©я─п╦п╪п╣п╫п╦я┌п╣п╩я▄п╫п╬ п╨ п╬п╠я┼п╣п╨я┌я┐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╬п╫ п╬п╤п╦п╢п╟п╣я┌ я┐п╡п╦п╢п╣я┌я▄ п©п╬п╩п╫я┐я▌ п╦я│я┌п╬я─п╦я▌ я█я┌п╬пЁп╬ п╬п╠я┼п╣п╨я┌п╟. п·п╢п╫п╟п╨п╬ п╣я│п╩п╦ я─п╟п╠п╬я┤п╟я▐ п©я─п╟п╡п╨п╟ п╬п╠я┼п╣п╨я┌п╟ п╬я┤п╣п╫я▄ я│я┌п╟я─п╟я▐ (п╦п╥-п╥п╟ я┌п╬пЁп╬, я┤я┌п╬ п╨п╬п╪п╟п╫п╢п╟ svn update п╢п╬п╩пЁп╬ п╫п╣ п╡я▀п©п╬п╩п╫я▐п╩п╟я│я▄) п╠я┐п╢п╣я┌ п©п╬п╨п╟п╥п╟п╫п╟ п╦я│я┌п╬я─п╦я▐ п╢п╩я▐ п╠п╬п╩п╣п╣ я│я┌п╟я─п╬п╧ п╡п╣я─я│п╦п╦ я█я┌п╬пЁп╬ п╬п╠я┼п╣п╨я┌п╟.

п║п╪п╣я┬п╦п╡п╟п╫п╦п╣ п©я─п╟п╡п╬п╨ Б─■ я█я┌п╬ п©п╬п╩п╣п╥п╫п╬

п∙я│п╩п╦ я┐ п╡п╟я│ п╬я┤п╣п╫я▄ п╠п╬п╩я▄я┬п╬п╧ п©я─п╬п╣п╨я┌, п╡я▀ п╪п╬п╤п╣я┌п╣ п╫п╟п╧я┌п╦ п©п╬п╩п╣п╥п╫я▀п╪ п╡я─п╣п╪я▐ п╬я┌ п╡я─п╣п╪п╣п╫п╦ п©я─п╦п╫я┐п╢п╦я┌п╣п╩я▄п╫п╬ б╚п╡п╬п╥п╡я─п╟я┴п╟я┌я▄б╩ я┤п╟я│я┌п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╨ п╠п╬п╩п╣п╣ я─п╟п╫п╫п╦п╪ п©я─п╟п╡п╨п╟п╪; п╨п╟п╨ я█я┌п╬ п╢п╣п╩п╟п╣я┌я│я▐, п╡я▀ я┐п╥п╫п╟п╣я┌п╣ п╡ п⌠п╩п╟п╡п╟б═2, п╜п╨я│п╨я┐я─я│п╦я▐ п©п╬ Subversion. п▓п╬п╥п╪п╬п╤п╫п╬, п╡я▀ п╥п╟я┘п╬я┌п╦я┌п╣ п©я─п╬я┌п╣я│я┌п╦я─п╬п╡п╟я┌я▄ п╠п╬п╩п╣п╣ я─п╟п╫п╫я▌я▌ п╡п╣я─я│п╦я▌ п╪п╬п╢я┐п╩я▐, п╫п╟я┘п╬п╢я▐я┴п╣пЁп╬я│я▐ п╡ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╣ п╦п╩п╦ я┌п╬я┤п╫п╬ я┐п╥п╫п╟я┌я▄, п╨п╬пЁп╢п╟ п╡ п╨п╬п╫п╨я─п╣я┌п╫п╬п╪ я└п╟п╧п╩п╣ п©п╬я▐п╡п╦п╩п╟я│я▄ п╬я┬п╦п╠п╨п╟. п╜я┌п╬ Б─■ б╚п╪п╟я┬п╦п╫п╟ п╡я─п╣п╪п╣п╫п╦б╩, я┌п╬я┌ п╟я│п©п╣п╨я┌ я│п╦я│я┌п╣п╪я▀ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦, п╨п╬я┌п╬я─я▀п╧ п©п╬п╥п╡п╬п╩я▐п╣я┌ п©п╣я─п╣п╪п╣я┴п╟я┌я▄ п╡ п╦я│я┌п╬я─п╦п╦ п╩я▌п╠я┐я▌ я┤п╟я│я┌я▄ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡п©п╣я─п╣п╢ п╦ п╫п╟п╥п╟п╢.

п║п╪п╣я┬п╦п╡п╟п╫п╦п╣ п©я─п╟п╡п╬п╨ п╦п╪п╣п╣я┌ п╬пЁя─п╟п╫п╦я┤п╣п╫п╦я▐

п²п╣я│п╪п╬я┌я─я▐ п╫п╟ я┌п╬, я┤я┌п╬ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╪п╬п╤п╫п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я│п╪п╣я┬п╦п╡п╟п╫п╦п╣ п©я─п╟п╡п╬п╨, я┐ я█я┌п╬п╧ пЁп╦п╠п╨п╬я│я┌п╦ я│я┐я┴п╣я│я┌п╡я┐я▌я┌ п╬пЁя─п╟п╫п╦я┤п╣п╫п╦я▐.

п▓п╬-п©п╣я─п╡я▀я┘, п╫п╣п╩я▄п╥я▐ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ я┐п╢п╟п╩п╣п╫п╦п╣ я┐я│я┌п╟я─п╣п╡я┬п╣пЁп╬ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟. п∙я│п╩п╦ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ я│я┐я┴п╣я│я┌п╡я┐п╣я┌ п╠п╬п╩п╣п╣ п╫п╬п╡п╟я▐ п╡п╣я─я│п╦я▐ я█п╩п╣п╪п╣п╫я┌п╟, п©п╬п©я▀я┌п╨п╟ я┐п╢п╟п╩п╣п╫п╦я▐ п╠я┐п╢п╣я┌ п╬я┌п╨п╩п╬п╫п╣п╫п╟ п╢п╩я▐ п©я─п╣п╢п╬я┌п╡я─п╟я┴п╣п╫п╦я▐ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ п╫п╣п©я─п╣п╢п╫п╟п╪п╣я─п╣п╫п╫п╬пЁп╬ я┐п╫п╦я┤я┌п╬п╤п╣п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╬ п╨п╬я┌п╬я─я▀я┘ п╡я▀ п╫п╣ п╡ п╨я┐я─я│п╣.

п▓п╬-п╡я┌п╬я─я▀я┘, п╫п╣п╩я▄п╥я▐ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦п╣ п╪п╣я┌п╟п╢п╟п╫п╫я▀я┘ п╢п╩я▐ п╫п╣п╬п╠п╫п╬п╡п╩п╣п╫п╫п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟. п· п©я─п╦я│п╡п╬п╣п╫п╦п╦ б╚я│п╡п╬п╧я│я┌п╡б╩ я█п╩п╣п╪п╣п╫я┌п╟п╪ п╡я▀ я┐п╥п╫п╟п╣я┌п╣ п╡ п⌠п╩п╟п╡п╟б═3, п÷я─п╬я└п╣я│я│п╦п╬п╫п╟п╩я▄п╫п╬п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ Subversion. п═п╟п╠п╬я┤п╟я▐ п©я─п╟п╡п╨п╟ п╨п╟я┌п╟п╩п╬пЁп╟ п╬п©я─п╣п╢п╣п╩я▐п╣я┌ п╨п╬п╫п╨я─п╣я┌п╫я▀п╧ п╫п╟п╠п╬я─ п╡я┘п╬п╢я▐я┴п╦я┘ п╡ п╫п╣п╣ я█п╩п╣п╪п╣п╫я┌п╬п╡ п╦ я│п╡п╬п╧я│я┌п╡, п©п╬я█я┌п╬п╪я┐ я└п╦п╨я│п╟я├п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧ я│п╡п╬п╧я│я┌п╡ п╢п╩я▐ я┐я│я┌п╟я─п╣п╡я┬п╣пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ п╪п╬п╤п╣я┌ п©я─п╦п╡п╣я│я┌п╦ п╨ я┐п╫п╦я┤я┌п╬п╤п╣п╫п╦я▌ я│п╡п╬п╧я│я┌п╡, п╬ п╨п╬я┌п╬я─я▀я┘ п╡я▀ п╫п╣ п╥п╫п╟п╣я┌п╣.

п÷п╬п╢п╡п╬п╢я▐ п╦я┌п╬пЁп╦

п▓ я█я┌п╬п╧ пЁп╩п╟п╡п╣ п╪я▀ я─п╟я│я│п╪п╬я┌я─п╣п╩п╦ я─я▐п╢ я└я┐п╫п╢п╟п╪п╣п╫я┌п╟п╩я▄п╫я▀я┘ п╨п╬п╫я├п╣п©я├п╦п╧ Subversion:

  • п°я▀ п╡п╡п╣п╩п╦ я┌п╟п╨п╦п╣ п©п╬п╫я▐я┌п╦я▐ п╨п╟п╨ я├п╣п╫я┌я─п╟п╩я▄п╫п╬п╣ я┘я─п╟п╫п╦п╩п╦я┴п╣, я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╦ п╪п╟я│я│п╦п╡ п©я─п╟п╡п╬п╨ я┘я─п╟п╫п╦п╩п╦я┴п╟.

  • п°я▀ я─п╟я│я│п╪п╬я┌я─п╣п╩п╦ п╫п╟ п╫п╣я│п╨п╬п╩я▄п╨п╦я┘ п©я─п╬я│я┌я▀я┘ п©я─п╦п╪п╣я─п╟я┘, п╨п╟п╨ п©я─п╦ п©п╬п╪п╬я┴п╦ Subversion п╢п╡п╟ п©п╟я─я┌п╫п╣я─п╟ п╪п╬пЁя┐я┌ п©я┐п╠п╩п╦п╨п╬п╡п╟я┌я▄ п╦ п©п╬п╩я┐я┤п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я│п╢п╣п╩п╟п╫п╫я▀п╣ п╢я─я┐пЁ п╢я─я┐пЁп╬п╪, п╦я│п©п╬п╩я▄п╥я┐я▐ п╪п╬п╢п╣п╩я▄ б╚п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я│п╩п╦я▐п╫п╦п╣б╩.

  • п°я▀ п╫п╣п╪п╫п╬пЁп╬ п©п╬пЁп╬п╡п╬я─п╦п╩п╦ п╬ я┌п╬п╪, п╨п╟п╨ Subversion п╬я┌я│п╩п╣п╤п╦п╡п╟п╣я┌ п╦ я┐п©я─п╟п╡п╩я▐п╣я┌ п╦п╫я└п╬я─п╪п╟я├п╦п╣п╧ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦.

п²п╟ п╢п╟п╫п╫я▀п╧ п╪п╬п╪п╣п╫я┌ я┐ п╡п╟я│ п╢п╬п╩п╤п╫п╬ п╠я▀я┌я▄ я┘п╬я─п╬я┬п╣п╣ п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫п╦п╣ п╬ я┌п╬п╪, п╨п╟п╨ п╡п╬п╬п╠я┴п╣ я─п╟п╠п╬я┌п╟п╣я┌ Subversion. п╒п╣п©п╣я─я▄, п╡п╬п╬я─я┐п╤п╣п╫п╫я▀п╣ я█я┌п╦п╪п╦ п╥п╫п╟п╫п╦я▐п╪п╦, п╡я▀ пЁп╬я┌п╬п╡я▀ п©п╣я─п╣п╧я┌п╦ п╨ я│п╩п╣п╢я┐я▌я┴п╣п╧ пЁп╩п╟п╡п╣, п╨п╬я┌п╬я─п╟я▐ п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ п©п╬п╢я─п╬п╠п╫я▀п╧ п╬п╠п╥п╬я─ п╨п╬п╪п╟п╫п╢ п╦ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╣п╧ Subversion.

п⌠п╩п╟п╡п╟ 2. п╜п╨я│п╨я┐я─я│п╦я▐ п©п╬ Subversion

п║п╬п╢п╣я─п╤п╟п╫п╦п╣

п╖п╦я┌п╟п╧я┌п╣ я│п©я─п╟п╡п╨я┐!
п≤п╪п©п╬я─я┌
п÷я┐я┌п╣я┬п╣я│я┌п╡п╦п╣ п╡п╬ п╡я─п╣п╪п╣п╫п╦ п╡п╪п╣я│я┌п╣ я│ Subversion
п║п╬п╥п╢п╟п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦
п÷я─п╬я│я┌п╣п╧я┬п╦п╧ я─п╟п╠п╬я┤п╦п╧ я├п╦п╨п╩
п·п╠п╫п╬п╡п╩п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦
п▓п╫п╣я│п╣п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌
п░п╫п╟п╩п╦п╥ п╦п╥п╪п╣п╫п╣п╫п╦п╧
svn status
svn diff
svn revert
п═п╟п╥я─п╣я┬п╣п╫п╦п╣ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡ (п©я─п╦ я│п╩п╦я▐п╫п╦п╦ я│ я┤я┐п╤п╦п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦)
п║п╩п╦я▐п╫п╦п╣ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡ п╡я─я┐я┤п╫я┐я▌
п п╬п©п╦я─п╬п╡п╟п╫п╦п╣ я└п╟п╧п╩п╟ п©п╬п╡п╣я─я┘ п╡п╟я┬п╣пЁп╬ я─п╟п╠п╬я┤п╣пЁп╬ я└п╟п╧п╩п╟
п≤я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ svn revert
п╓п╦п╨я│п╟я├п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧
п░п╫п╟п╩п╦п╥ п╦я│я┌п╬я─п╦п╦
svn log
svn diff
п░п╫п╟п╩п╦п╥ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧
п║я─п╟п╡п╫п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪
п║я─п╟п╡п╫п╣п╫п╦п╣ я┘я─п╟п╫п╦п╩п╦я┴п╟ я│ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪
svn cat
svn list
п≈п╟п╨п╩я▌я┤п╦я┌п╣п╩я▄п╫п╬п╣ я│п╩п╬п╡п╬ п╬п╠ п╦я│я┌п╬я─п╦п╦
п■я─я┐пЁп╦п╣ п©п╬п╩п╣п╥п╫я▀п╣ п╨п╬п╪п╟п╫п╢я▀
svn cleanup
svn import
п÷п╬п╢п╡п╬п╢я▐ п╦я┌п╬пЁп╦

п÷п╣я─п╣п╧п╢п╣п╪ п╨ п╠п╬п╩п╣п╣ я┌п╣я│п╫п╬п╧ я─п╟п╠п╬я┌п╣ я│ Subversion. п  я┌п╬п╪я┐ п╪п╬п╪п╣п╫я┌я┐, п╨п╬пЁп╢п╟ п╡я▀ п╢п╬п╧п╢я▒я┌п╣ п╢п╬ п╨п╬п╫я├п╟ я█я┌п╬п╧ пЁп╩п╟п╡я▀, п╡я▀ я│п╪п╬п╤п╣я┌п╣ п╡я▀п©п╬п╩п╫п╦я┌я▄ п©я─п╟п╨я┌п╦я┤п╣я│п╨п╦ п╡я│п╣ п╥п╟п╢п╟я┤п╦, п╡п╬п╥п╫п╦п╨п╟я▌я┴п╦п╣ п©я─п╦ п©п╬п╡я│п╣п╢п╫п╣п╡п╫п╬п╪ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦ Subversion. п▓я▀ п╫п╟я┤п╫п╣я┌п╣ я│ п©п╣я─п╡п╬п╫п╟я┤п╟п╩я▄п╫п╬пЁп╬ я│п╬п╥п╢п╟п╫п╦я▐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡п╟я┬п╣пЁп╬ п╨п╬п╢п╟ п╦ п©я─п╬п╧п╢п╣я┌п╣ я┤п╣я─п╣п╥ п╡п╫п╣я│п╣п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╦ п©я─п╬п╡п╣я─п╨я┐ я█я┌п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п▓я▀ п©п╬п╥п╫п╟п╨п╬п╪п╦я┌п╣я│я▄ я│ я┌п╣п╪, п╨п╟п╨ п╡п╫п╣п╢я─п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я│п╢п╣п╩п╟п╫п╫я▀п╣ п╢я─я┐пЁп╦п╪п╦, п╡ п╡п╟я┬я┐ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╦ п©я─п╬п╡п╣я─п╦я┌я▄ п╦я┘, п╟ я┌п╟п╨п╤п╣ я│п╪п╬п╤п╣я┌п╣ я─п╣я┬п╦я┌я▄ п╡п╬п╥п╪п╬п╤п╫я▀п╣ п╨п╬п╫я└п╩п╦п╨я┌я▀.

п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ я┌п╬, я┤я┌п╬ я█я┌п╟ пЁп╩п╟п╡п╟ п╫п╣ я│я┌п╟п╡п╦я┌ я├п╣п╩п╦ п╠я▀я┌я▄ п╡я│п╣п╬п╠я┼п╣п╪п╩я▌я┴п╦п╪ п╬п©п╦я│п╟п╫п╦п╣п╪ п╡я│п╣я┘ п╨п╬п╪п╟п╫п╢ Subversion Б─■ я│п╨п╬я─п╣п╣ я█я┌п╬ п╫п╣я└п╬я─п╪п╟п╩я▄п╫п╬п╣ п╡п╡п╣п╢п╣п╫п╦п╣ п╡ п╫п╟п╦п╠п╬п╩п╣п╣ я┌п╦п©п╦я┤п╫я▀п╣ п╥п╟п╢п╟я┤п╦, я─п╣я┬п╟п╣п╪я▀п╣ я│ п©п╬п╪п╬я┴я▄я▌ Subversion. п╜я┌п╟ пЁп╩п╟п╡п╟ п©я─п╣п╢п©п╬п╩п╟пЁп╟п╣я┌, я┤я┌п╬ п╡я▀ п©я─п╬я┤п╦я┌п╟п╩п╦ п╦ п©п╬п╫я▐п╩п╦ п⌠п╩п╟п╡п╟б═1, п╓я┐п╫п╢п╟п╪п╣п╫я┌п╟п╩я▄п╫я▀п╣ п©п╬п╫я▐я┌п╦я▐ п╦ я┘п╬я─п╬я┬п╬ я─п╟п╥п╬п╠я─п╟п╩п╦я│я▄ я│ п╬п╠я┴п╣п╧ п╪п╬п╢п╣п╩я▄я▌ Subversion. п≈п╟ п©п╬п╢я─п╬п╠п╫я▀п╪ п╬п©п╦я│п╟п╫п╦п╣п╪ п╡я│п╣я┘ п╨п╬п╪п╟п╫п╢ п╬п╠я─п╟я┌п╦я┌п╣я│я▄ п╡ п⌠п╩п╟п╡п╟б═9, п÷п╬п╩п╫п╬п╣ я│п©я─п╟п╡п╬я┤п╫п╬п╣ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п©п╬ Subversion.

п╖п╦я┌п╟п╧я┌п╣ я│п©я─п╟п╡п╨я┐!

п÷я─п╣п╤п╢п╣ я┤п╣п╪ п©я─п╬п╢п╬п╩п╤п╦я┌я▄ я┤я┌п╣п╫п╦п╣, п╥п╟п©п╬п╪п╫п╦я┌п╣ я│п╟п╪я┐я▌ пЁп╩п╟п╡п╫я┐я▌ п╦п╥ п╡я│п╣я┘ п╨п╬п╪п╟п╫п╢ Subversion: svn help. п п╩п╦п╣п╫я┌ Subversion я│ п╦п╫я┌п╣я─я└п╣п╧я│п╬п╪ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ я│п╟п╪п╬п╢п╬п╨я┐п╪п╣п╫я┌п╦я─п╬п╡п╟п╫ Б─■ п╨п╬п╪п╟п╫п╢п╟ svn help <subcommand> п╡ п╩я▌п╠п╬п╧ п╪п╬п╪п╣п╫я┌ п©п╬п╢я│п╨п╟п╤п╣я┌ я│п╦п╫я┌п╟п╨я│п╦я│, п╬п©п╦я│п╟п╫п╦п╣ п©п╟я─п╟п╪п╣я┌я─п╬п╡ п╦ п©п╬п╡п╣п╢п╣п╫п╦я▐ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀ subcommand.

п≤п╪п©п╬я─я┌

п╖я┌п╬п╠я▀ п╦п╪п©п╬я─я┌п╦я─п╬п╡п╟я┌я▄ п╫п╬п╡я▀п╧ п©я─п╬п╣п╨я┌ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ Subversion, п╡п╬я│п©п╬п╩я▄п╥я┐п╧я┌п╣я│я▄ п╨п╬п╪п╟п╫п╢п╬п╧ svn import. п╔п╬я┌я▐, п╡п╣я─п╬я▐я┌п╫п╬, я█я┌п╬ п╠я┐п╢п╣я┌ п©п╣я─п╡я▀п╪, я┤я┌п╬ п╡я▀ я│п╢п╣п╩п╟п╣я┌п╣ п©я─п╦ я┐я│я┌п╟п╫п╬п╡п╨п╣ я│п╣я─п╡п╣я─п╟ Subversion, п╡п©п╬я│п╩п╣п╢я│я┌п╡п╦п╦ п╡я▀ п╠я┐п╢п╣я┌п╣ п╥п╟п╫п╦п╪п╟я┌я▄я│я▐ я█я┌п╦п╪ п╫п╣я┤п╟я│я┌п╬. п÷п╬п╢я─п╬п╠п╫п╬п╣ п╬п©п╦я│п╟п╫п╦п╣ п╨п╬п╪п╟п╫п╢я▀ б╚svn importб╩ п©я─п╦п╡п╬п╢п╦я┌я│я▐ п╢п╟п╩п╣п╣ п╡ я█я┌п╬п╧ пЁп╩п╟п╡п╣.

п÷я┐я┌п╣я┬п╣я│я┌п╡п╦п╣ п╡п╬ п╡я─п╣п╪п╣п╫п╦ п╡п╪п╣я│я┌п╣ я│ Subversion

п п╟п╨ я┐п╤п╣ п╠я▀п╩п╬ я│п╨п╟п╥п╟п╫п╬ п╡ б╚п÷я─п╟п╡п╨п╦б╩, п©я─п╟п╡п╨п╟ п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ б╚я│п╫п╦п╪п╬п╨б╩ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╡ п╨п╬п╫п╨я─п╣я┌п╫я▀п╧ п╪п╬п╪п╣п╫я┌ п╡я─п╣п╪п╣п╫п╦. п·п╢п╫п╟п╨п╬ п©п╬-п╫п╟я│я┌п╬я▐я┴п╣п╪я┐ п©п╬п╩п╣п╥п╫п╬п╧ Subversion (п╨п╟п╨ п╦ п╩я▌п╠я┐я▌ п╢я─я┐пЁя┐я▌ я│п╦я│я┌п╣п╪я┐ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦) п╢п╣п╩п╟п╣я┌ п╫п╣ я┌п╬, я┤я┌п╬ п╬п╫п╟ п©я─п╬я│я┌п╬ я┘я─п╟п╫п╦я┌ п╡я│п╣ п╡п╣я─я│п╦п╦ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡. п⌠п╩п╟п╡п╫п╬п╣ п╥п╟п╨п╩я▌я┤п╟п╣я┌я│я▐ п╡ я┌п╬п╪, я┤я┌п╬ п╡я▀ я─п╣п╟п╩я▄п╫п╬ п╪п╬п╤п╣я┌п╣ я┤я┌п╬-я┌п╬ п╢п╣п╩п╟я┌я▄ я│ я█я┌п╦п╪п╦ я│я┌п╟я─я▀п╪п╦ п╡п╣я─я│п╦я▐п╪п╦! п░ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ я│п╬п╡п╣я─я┬п╟я┌я▄ п©п╬п╢п╬п╠п╫я▀п╣ п©я┐я┌п╣я┬п╣я│я┌п╡п╦я▐ п╡п╬ п╡я─п╣п╪п╣п╫п╦, п╫я┐п╤п╣п╫ п╪п╣я┘п╟п╫п╦п╥п╪ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦ я█я┌п╦я┘ б╚я│п╫п╦п╪п╨п╬п╡б╩.

п²п╬п╪п╣я─п╟ п©я─п╟п╡п╬п╨ п╡ Subversion Б─■ п╬я┤п╣п╫я▄ п©я─п╬я│я┌п╟я▐ я┬я┌я┐п╨п╟: п╬п╠я▀я┤п╫я▀п╣, п╪п╬п╫п╬я┌п╬п╫п╫п╬ я┐п╡п╣п╩п╦я┤п╦п╡п╟я▌я┴п╦п╣я│я▐ я├п╣п╩я▀п╣ я┤п╦я│п╩п╟. п÷я─п╦ я│п╬п╥п╢п╟п╫п╦п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟ Subversion п╬п╫п╬ п╫п╟я┤п╦п╫п╟п╣я┌ я│п╡п╬п╣ я│я┐я┴п╣я│я┌п╡п╬п╡п╟п╫п╦п╣ я│ п©я─п╟п╡п╨п╦ 0, п╦ п╨п╟п╤п╢п╟я▐ п©п╬я│п╩п╣п╢я┐я▌я┴п╟я▐ я└п╦п╨я│п╟я├п╦я▐ я┐п╡п╣п╩п╦я┤п╦п╡п╟п╣я┌ п╫п╬п╪п╣я─ п©я─п╟п╡п╨п╦ п╫п╟ п╣п╢п╦п╫п╦я├я┐. Subversion п╫п╣ п©я─я▐я┤п╣я┌ я█я┌п╦ п╫п╬п╪п╣я─п╟ Б─■ п╬п╫п╦ я▐п╡п╩я▐я▌я┌я│я▐ п╫п╣п╬я┌я┼п╣п╪п╩п╣п╪п╬п╧ я┤п╟я│я┌я▄я▌ п╦я│я┌п╬я─п╦п╦ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦. п  п©я─п╦п╪п╣я─я┐, п©п╬я│п╩п╣ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ я└п╦п╨я│п╟я├п╦п╦ п╨п╩п╦п╣п╫я┌ Subversion п╦п╫я└п╬я─п╪п╦я─я┐п╣я┌ п╡п╟я│ п╬ п╫п╬п╡п╬п╪ п╫п╬п╪п╣я─п╣ п©я─п╟п╡п╨п╦:

$ svn commit --message "Corrected number of cheese slices."
Sending        sandwich.txt
Transmitting file data .
Committed revision 3.

п▓ п╠я┐п╢я┐я┴п╣п╪, п╡ п╩я▌п╠п╬п╧ п╪п╬п╪п╣п╫я┌ п╡я─п╣п╪п╣п╫п╦, п╣я│п╩п╦ п╡п╟п╪ п╫я┐п╤п╫п╬ п╠я┐п╢п╣я┌ я│п╬я│п╩п╟я┌я▄я│я▐ п╫п╟ я█я┌я┐ п©я─п╟п╡п╨я┐, п╡я▀ я│п╪п╬п╤п╣я┌п╣ я│п╢п╣п╩п╟я┌я▄ я█я┌п╬, п╬п╠я─п╟я┌п╦п╡я┬п╦я│я▄ п╨ п╫п╣п╧ п╨п╟п╨ п╨ п©я─п╟п╡п╨п╣ б╚3б╩. п²п╣п╨п╬я┌п╬я─я▀п╣ п©я─п╦я┤п╦п╫я▀, п©п╬ п╨п╬я┌п╬я─я▀п╪ п╪п╬п╤п╣я┌ п╡п╬п╥п╫п╦п╨п╫я┐я┌я▄ я┌п╟п╨п╟я▐ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌я▄, п╠я┐п╢я┐я┌ п©я─п╦п╡п╣п╢п╣п╫я▀ п╢п╟п╩п╣п╣ п╡ я█я┌п╬п╧ пЁп╩п╟п╡п╣.

п п╩п╦п╣п╫я┌ п╢п╩я▐ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ svn п©я─п╣п╢п╩п╟пЁп╟п╣я┌ п╫п╟ п╡я▀п╠п╬я─ п╢п╡п╣ п╬п©я├п╦п╦ п╢п╩я▐ я┐п╨п╟п╥п╟п╫п╦я▐ п©я─п╟п╡п╬п╨, п╨п╬я┌п╬я─я▀п╣ п╡я▀ я┘п╬я┌п╦я┌п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄. п▒п╬п╩п╣п╣ п╬п╠я┴п╣п╧ п╦п╥ п╫п╦я┘ я▐п╡п╩я▐п╣я┌я│я▐ --revision (-r), п╨п╬я┌п╬я─п╟я▐ п©я─п╦п╫п╦п╪п╟п╣я┌ п╡ п╨п╟я┤п╣я│я┌п╡п╣ п©п╟я─п╟п╪п╣я┌я─п╟ п╨п╟п╨ п╬п╢п╦п╫п╬я┤п╫я▀п╧ я┐п╨п╟п╥п╟я┌п╣п╩я▄ п©я─п╟п╡п╨п╦ (-r REV), я┌п╟п╨ п╦ п©п╟я─я┐ п©я─п╟п╡п╬п╨, я─п╟п╥п╢п╣п╩п╣п╫п╫я┐я▌ п╢п╡п╬п╣я┌п╬я┤п╦п╣п╪ (-r REV1:REV2). п▓я┌п╬я─п╬п╧ п╡п╟я─п╦п╟п╫я┌ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╢п╩я▐ я┐п╨п╟п╥п╟п╫п╦я▐ п╢п╦п╟п©п╟п╥п╬п╫п╟ п©я─п╟п╡п╬п╨, я┤я┌п╬ п╡ я│п╡п╬я▌ п╬я┤п╣я─п╣п╢я▄ п©п╬п╩п╣п╥п╫п╬ п╢п╩я▐ п╨п╬п╪п╟п╫п╢, я│я─п╟п╡п╫п╦п╡п╟я▌я┴п╦я┘ п╢п╡п╟ я│п╫п╦п╪п╨п╟ п╦п╩п╦ п╬п╠я─п╟п╠п╟я┌я▀п╡п╟я▌я┴п╦я┘ п╡п╨п╩я▌я┤п╦я┌п╣п╩я▄п╫п╬ п╡я│п╣ п©я─п╟п╡п╨п╦ п╪п╣п╤п╢я┐ п╢п╡я┐п╪я▐ я┐п╨п╟п╥п╟п╫п╫я▀п╪п╦ п©я─п╣п╢п╣п╩п╟п╪п╦.

п▓ Subversion 1.4 п╠я▀п╩п╟ п╡п╡п╣п╢п╣п╫п╟ п╡я┌п╬я─п╟я▐ п╬п©я├п╦я▐ п╢п╩я▐ я┐п╨п╟п╥п╟п╫п╦я▐ п╢п╦п╟п©п╟п╥п╬п╫п╟ п©я─п╟п╡п╬п╨ --change (-c). п╜я┌п╟ п╬п©я├п╦я▐ я▐п╡п╩я▐п╣я┌я│я▐ п©я─п╬я│я┌п╬ я│п╬п╨я─п╟я┴п╣п╫п╦п╣п╪ п╢п╩я▐ я┐п╨п╟п╥п╟п╫п╦я▐ п╢п╦п╟п©п╟п╥п╬п╫п╟ п©я─п╟п╡п╬п╨, пЁя─п╟п╫п╦я├п╟п╪п╦ п╨п╬я┌п╬я─п╬пЁп╬ я▐п╡п╩я▐я▌я┌я│я▐ я│п╬я│п╣п╢п╫п╦п╣ я├п╣п╩я▀п╣ я┤п╦я│п╩п╟. п■я─я┐пЁп╦п╪п╦ я│п╩п╬п╡п╟п╪п╦, -cREV я▐п╡п╩я▐п╣я┌я│я▐ я┌п╣п╪ п╤п╣ я│п╟п╪я▀п╪, я┤я┌п╬ п╦ -rREV-1:REV. п я─п╬п╪п╣ я┌п╬пЁп╬, я┌п╟п╨ п╤п╣ п©я─п╬я│я┌п╬ п╪п╬п╤п╫п╬ я┐п╨п╟п╥п╟я┌я▄ п╦ п╬п╠я─п╟я┌п╫я▀п╧ п╢п╦п╟п©п╟п╥п╬п╫, п©п╬п╪п╣я│я┌п╦п╡ п╢п╣я└п╦я│ п©п╣я─п╣п╢ п╫п╬п╪п╣я─п╬п╪ п©я─п╟п╡п╨п╦, -c -REV.

п║п╬п╥п╢п╟п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦

п п╟п╨ п©я─п╟п╡п╦п╩п╬, я─п╟п╠п╬я┌п╟ я│ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪ Subversion п╫п╟я┤п╦п╫п╟п╣я┌я│я▐ я│ я│п╬п╥п╢п╟п╫п╦я▐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п©я─п╬п╣п╨я┌п╟. п÷я─п╦ я│п╬п╥п╢п╟п╫п╦п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╫п╟ п╩п╬п╨п╟п╩я▄п╫п╬п╧ п╪п╟я┬п╦п╫п╣ я│п╬п╥п╢п╟п╣я┌я│я▐ п╨п╬п©п╦я▐ я┘я─п╟п╫п╦п╩п╦я┴п╟. п╜я┌п╟ п╨п╬п©п╦я▐ я│п╬п╢п╣я─п╤п╦я┌ HEAD (п©п╬я│п╩п╣п╢п╫я▌я▌ п©я─п╟п╡п╨я┐) я┘я─п╟п╫п╦п╩п╦я┴п╟, я┐п╨п╟п╥п╟п╫п╫п╬пЁп╬ п╡п╟п╪п╦ п╡ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╣:

$ svn checkout http://svn.collab.net/repos/svn/trunk
A  trunk/subversion.dsw
A  trunk/svn_check.dsp
A  trunk/COMMITTERS
A  trunk/configure.in
A  trunk/IDEAS
Б─╕
Checked out revision 2499.

п╔п╬я┌я▐ п╡ п©я─п╦п╡п╣п╢п╣п╫п╫п╬п╪ п©я─п╦п╪п╣я─п╣ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ я│п╬п╥п╢п╟п╣я┌я│я▐ п╫п╟ п╬я│п╫п╬п╡п╣ п╨п╬я─п╫п╣п╡п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟, п╡я▀ п╪п╬п╤п╣я┌п╣ п╩п╣пЁп╨п╬ я│п╬п╥п╢п╟я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╫п╟ п╬я│п╫п╬п╡п╣ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╟ п╩я▌п╠п╬п╧ я│я┌п╣п©п╣п╫п╦ п╡п╩п╬п╤п╣п╫п╫п╬я│я┌п╦, я┐п╨п╟п╥п╟п╡ п©я─п╦ я│п╬п╥п╢п╟п╫п╦п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁ п╡ URL:

$ svn checkout http://svn.collab.net/repos/svn/trunk/doc/book/tools
A  tools/readme-dblite.html
A  tools/fo-stylesheet.xsl
A  tools/svnbook.el
A  tools/dtd
A  tools/dtd/dblite.dtd
Б─╕
Checked out revision 2499.

п╒п╟п╨ п╨п╟п╨ Subversion п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╪п╬п╢п╣п╩я▄ б╚п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я│п╩п╦я▐п╫п╦п╣б╩ п╡п╪п╣я│я┌п╬ п╪п╬п╢п╣п╩п╦ б╚п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я─п╟п╥п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣б╩ (я│п╪. п⌠п╩п╟п╡п╟б═1, п╓я┐п╫п╢п╟п╪п╣п╫я┌п╟п╩я▄п╫я▀п╣ п©п╬п╫я▐я┌п╦я▐), п╡я▀ я┐п╤п╣ п╪п╬п╤п╣я┌п╣ п╫п╟я┤п╦п╫п╟я┌я▄ п╡п╫п╬я│п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я└п╟п╧п╩я▀ п╦ п╨п╟я┌п╟п╩п╬пЁп╦ я│п╡п╬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п▓п╟я┬п╟ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╫п╦я┤п╣п╪ п╫п╣ п╬я┌п╩п╦я┤п╟п╣я┌я│я▐ п╬я┌ п╩я▌п╠п╬пЁп╬ п╢я─я┐пЁп╬пЁп╬ п╫п╟п╠п╬я─п╟ я└п╟п╧п╩п╬п╡ п╡ п╡п╟я┬п╣п╧ я│п╦я│я┌п╣п╪п╣. п▓я▀ п╪п╬п╤п╣я┌п╣ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟я┌я▄ п╦ п╪п╣п╫я▐я┌я▄ п╦я┘, п©п╣я─п╣п╪п╣я┴п╟я┌я▄, п╡я▀ п╢п╟п╤п╣ п╪п╬п╤п╣я┌п╣ п©п╬п╩п╫п╬я│я┌я▄я▌ я┐п╢п╟п╩п╦я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╦ п╥п╟п╠я▀я┌я▄ п╬ п╫п╣п╧.

[п≈п╟п╪п╣я┤п╟п╫п╦п╣]п≈п╟п╪п╣я┤п╟п╫п╦п╣

п²п╣я│п╪п╬я┌я─я▐ п╫п╟ я┌п╬, я┤я┌п╬ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╡я▀пЁп╩я▐п╢п╦я┌ б╚п╨п╟п╨ п╦ п╩я▌п╠п╬п╧ п╢я─я┐пЁп╬п╧ п╫п╟п╠п╬я─ я└п╟п╧п╩п╬п╡ п╡ п╡п╟я┬п╣п╧ я│п╦я│я┌п╣п╪п╣б╩, п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ я│я┌п╟п╡п╦я┌я▄ Subversion п╡ п╦п╥п╡п╣я│я┌п╫п╬я│я┌я▄ п╡ я┌п╬п╪ я│п╩я┐я┤п╟п╣, п╣я│п╩п╦ п╡я▀ я│п╬п╠п╦я─п╟п╣я┌п╣я│я▄ я┤я┌п╬-п╩п╦п╠п╬ я─п╣п╬я─пЁп╟п╫п╦п╥п╬п╡я▀п╡п╟я┌я▄ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п∙я│п╩п╦ п╡я▀ я┘п╬я┌п╦я┌п╣ я│п╨п╬п©п╦я─п╬п╡п╟я┌я▄ п╦п╩п╦ п©п╣я─п╣п╪п╣я│я┌п╦я┌я▄ я█п╩п╣п╪п╣п╫я┌ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╡я▀ п╢п╬п╩п╤п╫я▀ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╨п╬п╪п╟п╫п╢я┐ svn copy п╦п╩п╦ svn move п╡п╪п╣я│я┌п╬ п╟п╫п╟п╩п╬пЁп╦я┤п╫я▀я┘ п╨п╬п╪п╟п╫п╢ п╬п©п╣я─п╟я├п╦п╬п╫п╫п╬п╧ я│п╦я│я┌п╣п╪я▀. п°я▀ п╣я┴п╣ п╬п╠я│я┐п╢п╦п╪ п╦я┘ п╡ я█я┌п╬п╧ пЁп╩п╟п╡п╣ п╠п╬п╩п╣п╣ п©п╬п╢я─п╬п╠п╫п╬.

п≤я│п╨п╩я▌я┤п╣п╫п╦п╣ я│п╬я│я┌п╟п╡п╩я▐я▌я┌ я│п╩я┐я┤п╟п╦, п╨п╬пЁп╢п╟ п╡я▀ пЁп╬я┌п╬п╡я▀ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ п╫п╬п╡я▀п╧ я└п╟п╧п╩ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁ, п╩п╦п╠п╬ п╡п╫п╣я│я┌п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ п╬п╢п╦п╫ п╦п╥ я│я┐я┴п╣я│я┌п╡я┐я▌я┴п╦я┘ я└п╟п╧п╩п╬п╡ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡. п╜я┌п╦ п╬п©п╣я─п╟я├п╦п╦ п╫п╣ я┌я─п╣п╠я┐я▌я┌ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫п╬пЁп╬ я┐п╡п╣п╢п╬п╪п╩п╣п╫п╦я▐ я│п╣я─п╡п╣я─п╟ Subversion.

п╔п╬я┌я▐ п╡я▀, п╨п╬п╫п╣я┤п╫п╬, п╪п╬п╤п╣я┌п╣ я│п╬п╥п╢п╟я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, я┐п╨п╟п╥п╟п╡ п╡ п╨п╟я┤п╣я│я┌п╡п╣ п╣п╢п╦п╫я│я┌п╡п╣п╫п╫п╬пЁп╬ п╟я─пЁя┐п╪п╣п╫я┌п╟ URL я┘я─п╟п╫п╦п╩п╦я┴п╟, п╡я▀ п╪п╬п╤п╣я┌п╣ я┌п╟п╨п╤п╣ я┐п╨п╟п╥п╟я┌я▄ п©п╬я│п╩п╣ п╫п╣пЁп╬ п╨п╟я┌п╟п╩п╬пЁ. п╒п╬пЁп╢п╟ п╡п╟я┬п╟ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╠я┐п╢п╣я┌ п╫п╟я┘п╬п╢п╦я┌я▄я│я▐ п╡ п╫п╬п╡п╬п╪ п╨п╟я┌п╟п╩п╬пЁп╣ я│ я┐п╨п╟п╥п╟п╫п╫я▀п╪ п╡п╟п╪п╦ п╦п╪п╣п╫п╣п╪. п²п╟п©я─п╦п╪п╣я─:

$ svn checkout http://svn.collab.net/repos/svn/trunk subv
A  subv/subversion.dsw
A  subv/svn_check.dsp
A  subv/COMMITTERS
A  subv/configure.in
A  subv/IDEAS
Б─╕
Checked out revision 2499.

п╜я┌п╟ п╨п╬п╪п╟п╫п╢п╟ я│п╬п╥п╢п╟я│я┌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╡ п╨п╟я┌п╟п╩п╬пЁп╣ я│ п╦п╪п╣п╫п╣п╪ subv, п╡п╪п╣я│я┌п╬ п╨п╟я┌п╟п╩п╬пЁп╟ trunk п╨п╟п╨ п╪я▀ п╢п╣п╩п╟п╩п╦ я─п╟п╫я▄я┬п╣.

п÷я─п╬я│я┌п╣п╧я┬п╦п╧ я─п╟п╠п╬я┤п╦п╧ я├п╦п╨п╩

п╔п╬я┌я▐ Subversion п╦п╪п╣п╣я┌ п╪п╫п╬п╤п╣я│я┌п╡п╬ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╣п╧, п╬п©я├п╦п╧ п╦ я┐п╨я─п╟я┬п╟я┌п╣п╩я▄я│я┌п╡, п╡ п╨п╟п╤п╢п╬п╢п╫п╣п╡п╫п╬п╧ п©я─п╟п╨я┌п╦п╨п╣ п╦я│п©п╬п╩я▄п╥я┐я▌я┌я│я▐ я┌п╬п╩я▄п╨п╬ п╫п╣п╨п╬я┌п╬я─я▀п╣ п╦п╥ п╫п╦я┘. п▓ я█я┌п╬п╪ я─п╟п╥п╢п╣п╩п╣ п╪я▀ п©я─п╬п╧п╢п╣п╪я│я▐ п©п╬ п╥п╟п╢п╟я┤п╟п╪, п╫п╟п╦п╠п╬п╩п╣п╣ я┤п╟я│я┌п╬ п╡я▀п©п╬п╩п╫я▐п╣п╪я▀п╪ п╡ я┌п╣я┤п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣пЁп╬ п╢п╫я▐.

п╒п╦п©п╦я┤п╫я▀п╧ я─п╟п╠п╬я┤п╦п╧ я├п╦п╨п╩ п╡я▀пЁп╩я▐п╢п╦я┌ п©я─п╦п╪п╣я─п╫п╬ я┌п╟п╨:

  • п·п╠п╫п╬п╡п╩п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦

    • svn update

  • п▓п╫п╣я│п╣п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧

    • svn add

    • svn delete

    • svn copy

    • svn move

  • п░п╫п╟п╩п╦п╥ п╦п╥п╪п╣п╫п╣п╫п╦п╧

    • svn status

    • svn diff

    • svn revert

  • п║п╩п╦я▐п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧, п╡я▀п©п╬п╩п╫п╣п╫п╫я▀я┘ п╢я─я┐пЁп╦п╪п╦, я│ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╣п╧

    • svn update

    • svn resolved

  • п╓п╦п╨я│п╟я├п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧

    • svn commit

п·п╠п╫п╬п╡п╩п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦

п÷я─п╦ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я─п╟п╠п╬я┌п╣ п╫п╟п╢ п©я─п╬п╣п╨я┌п╬п╪ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╢п╩я▐ п©п╬п╩я┐я┤п╣п╫п╦я▐ п╩я▌п╠я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧, п╡п╫п╣я│п╣п╫п╫я▀я┘ п╢я─я┐пЁп╦п╪п╦ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╟п╪п╦ п©я─п╬п╣п╨я┌п╟ я│ п╪п╬п╪п╣п╫я┌п╟ п╡п╟я┬п╣пЁп╬ п©п╬я│п╩п╣п╢п╫п╣пЁп╬ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐. п≤я│п©п╬п╩я▄п╥я┐п╧я┌п╣ svn update п╢п╩я▐ я│п╦п╫я┘я─п╬п╫п╦п╥п╟я├п╦п╦ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│ п©п╬я│п╩п╣п╢п╫п╣п╧ п©я─п╟п╡п╨п╬п╧ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣.

$ svn update
U  foo.c
U  bar.c
Updated to revision 2.

п▓ п╢п╟п╫п╫п╬п╪ я│п╩я┐я┤п╟п╣, п╨я┌п╬-я┌п╬ п╢я─я┐пЁп╬п╧ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╩ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я└п╟п╧п╩п╟я┘ foo.c п╦ bar.c п©п╬я│п╩п╣ п╡п╟я┬п╣пЁп╬ п©п╬я│п╩п╣п╢п╫п╣пЁп╬ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐, п╦ Subversion п╬п╠п╫п╬п╡п╦п╩п╟ п╡п╟я┬я┐ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, п╡п╨п╩я▌я┤п╦п╡ я█я┌п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐.

п═п╟я│я│п╪п╬я┌я─п╦п╪ п©п╬п©п╬п╢я─п╬п╠п╫п╣п╣ п╦п╫я└п╬я─п╪п╟я├п╦я▌, п╡я▀п╡п╬п╢п╦п╪я┐я▌ п╨п╬п╪п╟п╫п╢п╬п╧ svn update. п п╬пЁп╢п╟ я│п╣я─п╡п╣я─ п╬я┌п©я─п╟п╡п╩я▐п╣я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ п╡п╟я┬я┐ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, п╢п╩я▐ п╨п╟п╤п╢п╬пЁп╬ я█п╩п╣п╪п╣п╫я┌п╟ п╡я▀п╡п╬п╢п╦я┌я│я▐ п╩п╟я┌п╦п╫я│п╨п╟я▐ п╠я┐п╨п╡п╟ Б─■ п╨п╬п╢, п╬п©я─п╣п╢п╣п╩я▐я▌я┴п╦п╧ п╢п╣п╧я│я┌п╡п╦п╣, п╡я▀п©п╬п╩п╫п╣п╫п╫п╬п╣ Subversion п╢п╩я▐ п©я─п╦п╡п╣п╢п╣п╫п╦я▐ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡ п╟п╨я┌я┐п╟п╩я▄п╫п╬п╣ я│п╬я│я┌п╬я▐п╫п╦п╣:

U foo

п╓п╟п╧п╩ foo п╠я▀п╩ Updated Б─■ п╬п╠п╫п╬п╡п╩п╣п╫ (п©п╬п╩я┐я┤п╦п╩ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│ я│п╣я─п╡п╣я─п╟).

A foo

п╓п╟п╧п╩ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁ foo п╠я▀п╩ Added Б─■ п╢п╬п╠п╟п╡п╩п╣п╫ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌.

D foo

п╓п╟п╧п╩ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁ foo п╠я▀п╩ Deleted Б─■ я┐п╢п╟п╩п╣п╫ п╦п╥ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦.

R foo

п╓п╟п╧п╩ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁ foo п╠я▀п╩ Replaced Б─■ п╥п╟п╪п╣п╫п╣п╫ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦; я█я┌п╬ п╥п╫п╟я┤п╦я┌, я┤я┌п╬ foo п╠я▀п╩ я┐п╢п╟п╩п╣п╫, п╟ п╫п╬п╡я▀п╧ я█п╩п╣п╪п╣п╫я┌ я│ я┌п╟п╨п╦п╪ п╤п╣ п╦п╪п╣п╫п╣п╪ п╠я▀п╩ п╢п╬п╠п╟п╡п╩п╣п╫. п²п╣я│п╪п╬я┌я─я▐ п╫п╟ я┌п╬, я┤я┌п╬ п╬п╫п╦ п╪п╬пЁя┐я┌ п╦п╪п╣я┌я▄ п╬п╢п╦п╫п╟п╨п╬п╡п╬п╣ п╦п╪я▐, я┘я─п╟п╫п╦п╩п╦я┴п╣ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟п╣я┌ п╦я┘ п╨п╟п╨ я─п╟п╥п╫я▀п╣ п╬п╠я┼п╣п╨я┌я▀ я│ п╬я┌п╢п╣п╩я▄п╫п╬п╧ п╦я│я┌п╬я─п╦п╣п╧.

G foo

п╓п╟п╧п╩ foo п©п╬п╩я┐я┤п╦п╩ п╫п╬п╡я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟, п╬п╢п╫п╟п╨п╬ п╡п╟я┬п╟ п╩п╬п╨п╟п╩я▄п╫п╟я▐ п╨п╬п©п╦я▐ п╡ я┌п╬ п╤п╣ п╡я─п╣п╪я▐ я│п╬п╢п╣я─п╤п╦я┌ п╡п╟я┬п╦ я│п╬п╠я│я┌п╡п╣п╫п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐. п≤п╥п╪п╣п╫п╣п╫п╦я▐, п©п╬п╩я┐я┤п╣п╫п╫я▀п╣ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟, п╩п╦п╠п╬ п╫п╣ п©п╣я─п╣я│п╣п╨п╟я▌я┌я│я▐, п╩п╦п╠п╬ п╬п╫п╦ я┌п╬я┤п╫п╬ я┌п╟п╨п╦п╣ п╤п╣ п╨п╟п╨ п╡п╟я┬п╦ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п©п╬я█я┌п╬п╪я┐ Subversion я┐я│п©п╣я┬п╫п╬ п╡я▀п©п╬п╩п╫п╦п╩п╟ merGed Б─■ я│п╩п╦я▐п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧ я┘я─п╟п╫п╦п╩п╦я┴п╟ я│ я└п╟п╧п╩п╬п╪.

C foo

п╓п╟п╧п╩ foo п©п╬п╩я┐я┤п╦п╩ п╬я┌ я│п╣я─п╡п╣я─п╟ Conflicting Б─■ п╨п╬п╫я└п╩п╦п╨я┌я┐я▌я┴п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐. п≤п╥п╪п╣п╫п╣п╫п╦я▐ я│ я│п╣я─п╡п╣я─п╟ п©п╣я─п╣я│п╣п╨п╟я▌я┌я│я▐ я│ п╡п╟я┬п╦п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦ я└п╟п╧п╩п╟. п·п╢п╫п╟п╨п╬ я█я┌п╬ п╫п╣ п©п╬п╡п╬п╢ п╢п╩я▐ п©п╟п╫п╦п╨п╦. п╒п╟п╨п╬п╣ п©п╣я─п╣п╨я─я▀я┌п╦п╣ п©я─п╬я│я┌п╬ п╫я┐п╤п╢п╟п╣я┌я│я▐ п╡ я─п╟п╥я─п╣я┬п╣п╫п╦п╦ я┤п╣п╩п╬п╡п╣п╨п╬п╪ (п╡п╟п╪п╦); п╪я▀ п╬п╠я│я┐п╢п╦п╪ я█я┌я┐ я│п╦я┌я┐п╟я├п╦я▌ п©п╬п╥п╢п╫п╣п╣ п╡ я█я┌п╬п╧ пЁп╩п╟п╡п╣.

п▓п╫п╣я│п╣п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌

п╒п╣п©п╣я─я▄ п╡я▀ п╪п╬п╤п╣я┌п╣ п©я─п╦я│я┌я┐п©п╟я┌я▄ п╨ п╢п╣п╩я┐ п╦ п╡п╫п╬я│п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌. п п╟п╨ п©я─п╟п╡п╦п╩п╬, я├п╣п╩п╣я│п╬п╬п╠я─п╟п╥п╫п╣п╣ п╡я│п╣пЁп╬ я─п╟п╠п╬я┌п╟я┌я▄ п╬я┌п╢п╣п╩я▄п╫п╬ п©п╬ п╨п╟п╤п╢п╬п╪я┐ я┤п╟я│я┌п╫п╬п╪я┐ п╦п╥п╪п╣п╫п╣п╫п╦я▌ (п╦п╩п╦ п╫п╟п╠п╬я─я┐ п╦п╥п╪п╣п╫п╣п╫п╦п╧), я┌п╟п╨п╬п╪я┐ п╨п╟п╨ я─п╣п╟п╩п╦п╥п╟я├п╦я▐ п╫п╬п╡п╬п╧ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╬п╧ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦, п╦я│п©я─п╟п╡п╩п╣п╫п╦п╣ п╬я┬п╦п╠п╨п╦ п╦ я┌. п©. п≈п╢п╣я│я▄ п╡я▀ п╠я┐п╢п╣я┌п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ я┌п╟п╨п╦п╪п╦ п╨п╬п╪п╟п╫п╢п╟п╪п╦ Subversion п╨п╟п╨ svn add, svn delete, svn copy п╦ svn move. п·п╢п╫п╟п╨п╬, п╣я│п╩п╦ п╡я▀ п©я─п╬я│я┌п╬ я─п╣п╢п╟п╨я┌п╦я─я┐п╣я┌п╣ я└п╟п╧п╩я▀, п╨п╬я┌п╬я─я▀п╣ я┐п╤п╣ п╫п╟я┘п╬п╢я▐я┌я│я▐ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩п╣п╪ Subversion, п╫п╦ п╬п╢п╫п╟ п╦п╥ я█я┌п╦я┘ п╨п╬п╪п╟п╫п╢ п╡п╟п╪ п╫п╣ п╫я┐п╤п╫п╟. п▓ я│п╡п╬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡я▀ п╪п╬п╤п╣я┌п╣ п╢п╣п╩п╟я┌я▄ я│п╩п╣п╢я┐я▌я┴п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐:

п≤п╥п╪п╣п╫п╣п╫п╦я▐ я└п╟п╧п╩п╬п╡

п╜я┌п╬ я│п╟п╪я▀п╧ п©я─п╬я│я┌п╬п╧ п╡п╦п╢ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п▓п╟п╪ п╫п╣ п╫я┐п╤п╫п╬ я│п╬п╬п╠я┴п╟я┌я▄ Subversion п╬ я│п╡п╬п╣п╪ п╫п╟п╪п╣я─п╣п╫п╦п╦ п╦п╥п╪п╣п╫п╦я┌я▄ я└п╟п╧п╩; п©я─п╬я│я┌п╬ п╠п╣я─п╦я┌п╣ п╦ п╡п╫п╬я│п╦я┌п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐. Subversion я│п╪п╬п╤п╣я┌ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ п╬п©я─п╣п╢п╣п╩п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╫я▀п╣ я└п╟п╧п╩я▀.

п≤п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я│я┌я─я┐п╨я┌я┐я─п╣

п▓я▀ п╪п╬п╤п╣я┌п╣ п©п╬п©я─п╬я│п╦я┌я▄ Subversion б╚п╬я┌п╪п╣я┌п╦я┌я▄б╩ я└п╟п╧п╩я▀ п╦ п╨п╟я┌п╟п╩п╬пЁп╦ п╢п╩я▐ я┐п╢п╟п╩п╣п╫п╦я▐, п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐, п╨п╬п©п╦я─п╬п╡п╟п╫п╦я▐ п╦п╩п╦ п©п╣я─п╣п╪п╣я┴п╣п╫п╦я▐. п╔п╬я┌я▐ я█я┌п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│я─п╟п╥я┐ п╤п╣ п╬я┌я─п╟п╥я▐я┌я│я▐ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╫п╣ п©я─п╬п╦п╥п╬п╧п╢п╣я┌ п╫п╦ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐, п╫п╦ я┐п╢п╟п╩п╣п╫п╦я▐ п╢п╬ я┌п╣я┘ п©п╬я─, п©п╬п╨п╟ п╡я▀ п╫п╣ п╡я▀п©п╬п╩п╫п╦я┌п╣ я└п╦п╨я│п╟я├п╦я▌ п╦п╥п╪п╣п╫п╣п╫п╦п╧.

п■п╩я▐ п╡п╫п╣я│п╣п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡ я└п╟п╧п╩я▀ п╦я│п©п╬п╩я▄п╥я┐п╧я┌п╣ я│п╡п╬п╧ я┌п╣п╨я│я┌п╬п╡я▀п╧ я─п╣п╢п╟п╨я┌п╬я─, я┌п╣п╨я│я┌п╬п╡я▀п╧ п©я─п╬я├п╣я│я│п╬я─, пЁя─п╟я└п╦я┤п╣я│п╨я┐я▌ п©я─п╬пЁя─п╟п╪п╪я┐ п╦п╩п╦ п╩я▌п╠п╬п╧ п╢я─я┐пЁп╬п╧ п╦п╫я│я┌я─я┐п╪п╣п╫я┌, п╨п╬я┌п╬я─я▀п╧ п╡я▀ п╬п╠я▀я┤п╫п╬ п╦я│п©п╬п╩я▄п╥я┐п╣я┌п╣. Subversion п╬п╠я─п╟п╠п╟я┌я▀п╡п╟п╣я┌ п╠п╦п╫п╟я─п╫я▀п╣ я└п╟п╧п╩я▀ я┌п╟п╨ п╤п╣ п╩п╣пЁп╨п╬ п╨п╟п╨ п╦ я┌п╣п╨я│я┌п╬п╡я▀п╣ Б─■ п╦ п╫п╟я│я┌п╬п╩я▄п╨п╬ п╤п╣ я█я└я└п╣п╨я┌п╦п╡п╫п╬.

п═п╟я│я│п╪п╬я┌я─п╦п╪ я┤п╣я┌я▀я─п╣ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀ Subversion, п╨п╬я┌п╬я─я▀п╣ п╡я▀ я┤п╟я┴п╣ п╡я│п╣пЁп╬ п╠я┐п╢п╣я┌п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п©я─п╦ п╡п╫п╣я│п╣п╫п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡ я│я┌я─я┐п╨я┌я┐я─я┐ (п╨п╬п╪п╟п╫п╢я▀ svn import п╦ svn mkdir п╪я▀ я─п╟я│я│п╪п╬я┌я─п╦п╪ п©п╬п╥п╤п╣).

[п▓п╫п╦п╪п╟п╫п╦п╣]п▓п╫п╦п╪п╟п╫п╦п╣

п╔п╬я┌я▐ п╡я▀ п╪п╬п╤п╣я┌п╣ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟я┌я▄ я└п╟п╧п╩я▀ п╩я▌п╠я▀п╪п╦ п©я─п╬пЁя─п╟п╪п╪п╫я▀п╪п╦ я│я─п╣п╢я│я┌п╡п╟п╪п╦, п╫п╣ я│п╩п╣п╢я┐п╣я┌ п╪п╣п╫я▐я┌я▄ я│я┌я─я┐п╨я┌я┐я─я┐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╫п╣ п©я─п╬п╦п╫я└п╬я─п╪п╦я─п╬п╡п╟п╡ п╬ я│п╡п╬п╦я┘ п╢п╣п╧я│я┌п╡п╦я▐я┘ Subversion. п■п╩я▐ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│я┌я─я┐п╨я┌я┐я─я▀ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╦я│п©п╬п╩я▄п╥я┐п╧я┌п╣ п╨п╬п╪п╟п╫п╢я▀ svn copy, svn delete п╦ svn move, п╟ п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ п╫п╬п╡я▀я┘ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩я▄ п╡п╣я─я│п╦п╧ п╦я│п©п╬п╩я▄п╥я┐п╧я┌п╣ svn add.

svn add foo

п≈п╟п©п╩п╟п╫п╦я─п╬п╡п╟я┌я▄ я└п╟п╧п╩, п╨п╟я┌п╟п╩п╬пЁ п╦п╩п╦ я│п╦п╪п╡п╬п╩я▄п╫я┐я▌ я│я│я▀п╩п╨я┐ foo п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п÷я─п╦ я│п╩п╣п╢я┐я▌я┴п╣п╧ я└п╦п╨я│п╟я├п╦п╦ foo я│я┌п╟п╫п╣я┌ п╨п╬п╪п©п╬п╫п╣п╫я┌п╬п╪ я│п╡п╬п╣пЁп╬ я─п╬п╢п╦я┌п╣п╩я▄я│п╨п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟. п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ я┌п╬, я┤я┌п╬ п╣я│п╩п╦ foo я▐п╡п╩я▐п╣я┌я│я▐ п╨п╟я┌п╟п╩п╬пЁп╬п╪, я┌п╬ п╡я│п╣ я│п╬п╢п╣я─п╤п╟я┴п╣п╣я│я▐ п╡ foo п╠я┐п╢п╣я┌ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫п╬ п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐. п╖я┌п╬п╠я▀ п╢п╬п╠п╟п╡п╦я┌я▄ п╬я┌п╢п╣п╩я▄п╫п╬ я┌п╬п╩я▄п╨п╬ я│п╟п╪ п╨п╟я┌п╟п╩п╬пЁ foo, п╡п╬я│п©п╬п╩я▄п╥я┐п╧я┌п╣я│я▄ п©п╟я─п╟п╪п╣я┌я─п╬п╪ --non-recursive (-N).

svn delete foo

п≈п╟п©п╩п╟п╫п╦я─п╬п╡п╟я┌я▄ я┐п╢п╟п╩п╣п╫п╦п╣ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟ я└п╟п╧п╩п╟, п╨п╟я┌п╟п╩п╬пЁп╟ п╦п╩п╦ я│п╦п╪п╡п╬п╩я▄п╫п╬п╧ я│я│я▀п╩п╨п╦ foo. п∙я│п╩п╦ foo я▐п╡п╩я▐п╣я┌я│я▐ я└п╟п╧п╩п╬п╪ п╦п╩п╦ я│я│я▀п╩п╨п╬п╧, п╬п╫ я│я─п╟п╥я┐ п╤п╣ я┐п╢п╟п╩я▐п╣я┌я│я▐ п╦п╥ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п∙я│п╩п╦ foo я▐п╡п╩я▐п╣я┌я│я▐ п╨п╟я┌п╟п╩п╬пЁп╬п╪, п╬п╫ п╫п╣ я┐п╢п╟п╩я▐п╣я┌я│я▐, п╫п╬ Subversion п╥п╟п©п╩п╟п╫п╦я─я┐п╣я┌ п╣пЁп╬ я┐п╢п╟п╩п╣п╫п╦п╣. foo п╠я┐п╢п╣я┌ я┐п╢п╟п╩п╣п╫ п╦п╥ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟ п©я─п╦ я└п╦п╨я│п╟я├п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧.[8]

svn copy foo bar

п║п╬п╥п╢п╟я┌я▄ п╫п╬п╡я▀п╧ я█п╩п╣п╪п╣п╫я┌ bar п╨п╟п╨ п╨п╬п©п╦я▌ foo. bar п╠я┐п╢п╣я┌ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫ п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐. п п╬пЁп╢п╟ п©я─п╦ я│п╩п╣п╢я┐я▌я┴п╣п╧ я└п╦п╨я│п╟я├п╦п╦ bar п╠я┐п╢п╣я┌ п╢п╬п╠п╟п╡п╩п╣п╫ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣, п╡ п╣пЁп╬ п╦я│я┌п╬я─п╦п╦ п╠я┐п╢п╣я┌ п╬я┌п╪п╣я┤п╣п╫п╬ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣ (я┌п╬, я┤я┌п╬ п©п╣я─п╡п╬п╦я│я┌п╬я┤п╫п╦п╨п╬п╪ я▐п╡п╩я▐п╣я┌я│я▐ foo). svn copy п╫п╣ я│п╬п╥п╢п╟п╣я┌ п©я─п╬п╪п╣п╤я┐я┌п╬я┤п╫я▀я┘ п╨п╟я┌п╟п╩п╬пЁп╬п╡.

svn move foo bar

п╜я┌п╟ п╨п╬п╪п╟п╫п╢п╟ п©п╬п╩п╫п╬я│я┌я▄я▌ п╟п╫п╟п╩п╬пЁп╦я┤п╫п╟ п╡я▀п©п╬п╩п╫п╣п╫п╦я▌ svn copy foo bar; svn delete foo. п÷п╬я█я┌п╬п╪я┐, bar п╠я┐п╢п╣я┌ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫ п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ п╨п╟п╨ п╨п╬п©п╦я▐ foo, п╟ foo п╠я┐п╢п╣я┌ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫ п╢п╩я▐ я┐п╢п╟п╩п╣п╫п╦я▐. svn move п╫п╣ я│п╬п╥п╢п╟п╣я┌ п©я─п╬п╪п╣п╤я┐я┌п╬я┤п╫я▀я┘ п╨п╟я┌п╟п╩п╬пЁп╬п╡.

п░п╫п╟п╩п╦п╥ п╦п╥п╪п╣п╫п╣п╫п╦п╧

п÷п╬я│п╩п╣ п╡п╫п╣я│п╣п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡я▀ п╢п╬п╩п╤п╫я▀ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ п╦я┘ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣, п╫п╬ п©п╣я─п╣п╢ я█я┌п╦п╪ п╠я▀п╩п╬ п╠я▀ п╫п╣п©п╩п╬я┘п╬ п©п╬я│п╪п╬я┌я─п╣я┌я▄, я┤я┌п╬ п╤п╣, я│п╬п╠я│я┌п╡п╣п╫п╫п╬, п╡я▀ п╦п╥п╪п╣п╫п╦п╩п╦. п÷я─п╬п╟п╫п╟п╩п╦п╥п╦я─п╬п╡п╟п╡ п©п╣я─п╣п╢ я└п╦п╨я│п╟я├п╦п╣п╧ я│п╡п╬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╡я▀ я│п╪п╬п╤п╣я┌п╣ я│п╬я│я┌п╟п╡п╦я┌я▄ п╠п╬п╩п╣п╣ п╟п╨п╨я┐я─п╟я┌п╫п╬п╣ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╣. п я─п╬п╪п╣ я┌п╬пЁп╬, п╡я▀ п╪п╬п╤п╣я┌п╣ п╬п╠п╫п╟я─я┐п╤п╦я┌я▄, я┤я┌п╬ п╦п╥п╪п╣п╫п╦п╩п╦ я└п╟п╧п╩ п╫п╣п©я─п╣п╢п╫п╟п╪п╣я─п╣п╫п╫п╬, я┤я┌п╬ п©п╬п╥п╡п╬п╩п╦я┌ п╣я┴п╣ п╢п╬ я└п╦п╨я│п╟я├п╦п╦ п╡п╣я─п╫я┐я┌я▄ я└п╟п╧п╩ п╨ п©я─п╣п╢я▀п╢я┐я┴п╣п╪я┐ я│п╬я│я┌п╬я▐п╫п╦я▌. п  я┌п╬п╪я┐ п╤п╣, я█я┌п╬ я┘п╬я─п╬я┬п╟я▐ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п©п╣я─п╣я│п╪п╬я┌я─п╣я┌я▄ п╦ п©я─п╬п╡п╣я─п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п©п╣я─п╣п╢ п╦я┘ п©я┐п╠п╩п╦п╨п╟я├п╦п╣п╧. п╖я┌п╬п╠я▀ я┐п╡п╦п╢п╣я┌я▄ п╡я│п╣ я│п╢п╣п╩п╟п╫п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╡я▀ п╪п╬п╤п╣я┌п╣ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ svn status, svn diff п╦ svn revert. п÷п╣я─п╡я▀п╣ п╢п╡п╣ п╨п╬п╪п╟п╫п╢я▀ п╡я▀ п╪п╬п╤п╣я┌п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ п╫п╟п╧я┌п╦ п╦п╥п╪п╣п╫п╣п╫п╫я▀п╣ я└п╟п╧п╩я▀ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╟ п╥п╟я┌п╣п╪, п©я─п╦ п©п╬п╪п╬я┴п╦ я┌я─п╣я┌я▄п╣п╧, п╬я┌п╪п╣п╫п╦я┌я▄ п╫п╣п╨п╬я┌п╬я─я▀п╣ (п╦п╩п╦ п╡я│п╣) п╦п╥п╪п╣п╫п╣п╫п╦я▐.

Subversion п╠я▀п╩п╟ п╬п©я┌п╦п╪п╦п╥п╦я─п╬п╡п╟п╫п╟ п╢п╩я▐ я─п╣я┬п╣п╫п╦я▐ я┌п╟п╨п╬п╧ п╥п╟п╢п╟я┤п╦ п╦ я│п©п╬я│п╬п╠п╫п╟ п╡я▀п©п╬п╩п╫я▐я┌я▄ п╪п╫п╬п╤п╣я│я┌п╡п╬ п╢п╣п╧я│я┌п╡п╦п╧ п╠п╣п╥ п╬п╠я─п╟я┴п╣п╫п╦я▐ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐. п▓ я┤п╟я│я┌п╫п╬я│я┌п╦, я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ я│п╬п╢п╣я─п╤п╦я┌ п╡ .svn-п╬п╠п╩п╟я│я┌п╦ я│п╨я─я▀я┌я┐я▌ п╨я█я┬п╦я─п╬п╡п╟п╫я┐я▌ б╚п╫п╣я┌я─п╬п╫я┐я┌я┐я▌б╩ п╨п╬п©п╦я▌ п╨п╟п╤п╢п╬пЁп╬ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬пЁп╬ я└п╟п╧п╩п╟. п≈п╟ я│я┤п╣я┌ я█я┌п╬пЁп╬ Subversion п╪п╬п╤п╣я┌ п╠я▀я│я┌я─п╬ п©п╬п╨п╟п╥п╟я┌я▄, п╨п╟п╨ п╦п╥п╪п╣п╫п╦п╩п╦я│я▄ п╡п╟я┬п╦ я─п╟п╠п╬я┤п╦п╣ я└п╟п╧п╩я▀ п╦п╩п╦ п╢п╟п╤п╣ п©я─п╣п╢п╬я│я┌п╟п╡п╦я┌я▄, п╫п╣ я│п╡я▐п╥я▀п╡п╟я▐я│я▄ я│ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪, п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╬я┌п╨п╟я┌п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐.

svn status

п²п╟п╡п╣я─п╫п╬п╣, п╨п╬п╪п╟п╫п╢я┐ svn status п╡я▀ п╠я┐п╢п╣я┌п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я┤п╟я┴п╣, я┤п╣п╪ п╩я▌п╠я┐я▌ п╢я─я┐пЁя┐я▌ п╨п╬п╪п╟п╫п╢я┐ Subversion.

п÷я─п╦ п╥п╟п©я┐я│п╨п╣ svn status п╠п╣п╥ п©п╟я─п╟п╪п╣я┌я─п╬п╡ п╦п╥ п╨п╬я─п╫п╣п╡п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╠я┐п╢я┐я┌ п╫п╟п╧п╢п╣п╫я▀ п╡я│п╣ я│п╢п╣п╩п╟п╫п╫я▀п╣ п╡п╟п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я└п╟п╧п╩п╬п╡ п╦ я│я┌я─я┐п╨я┌я┐я─я▀. п²п╦п╤п╣ п©я─п╦п╡п╣п╢п╣п╫я▀ п©я─п╦п╪п╣я─я▀ я─п╟п╥п╩п╦я┤п╫я▀я┘ п╠я┐п╨п╡п╣п╫п╫я▀я┘ п╨п╬п╢п╬п╡, п╡п╬п╥п╡я─п╟я┴п╟п╣п╪я▀я┘ svn status. (п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣, я┤я┌п╬ я┌п╣п╨я│я┌, я│п╩п╣п╢я┐я▌я┴п╦п╧ п╥п╟ #, п╫п╟ я│п╟п╪п╬п╪ п╢п╣п╩п╣ svn status п╫п╣ п©п╣я┤п╟я┌п╟п╣я┌.)

  L     some_dir            # svn п╬я│я┌п╟п╡п╦п╩п╟ п╠п╩п╬п╨п╦я─п╬п╡п╨я┐ п╡ .svn-п╬п╠п╩п╟я│я┌п╦ п╢п╩я▐ some_dir
M       bar.c               # я│п╬п╢п╣я─п╤п╦п╪п╬п╣ bar.c п╦п╪п╣п╣я┌ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐
 M      baz.c               # п╡ baz.c п╣я│я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я│п╡п╬п╧я│я┌п╡п╟я┘, п╟ п╡ я│п╬п╢п╣я─п╤п╦п╪п╬п╪ п╫п╣я┌
X       3rd_party           # п╨п╟я┌п╟п╩п╬пЁ я▐п╡п╩я▐п╣я┌я│я▐ я┤п╟я│я┌я▄я▌ п╡п╫п╣я┬п╫п╣п╧ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦
?       foo.o               # svn п╫п╣ я┐п©я─п╟п╡п╩я▐п╣я┌ foo.o
!       some_dir            # svn я┐п©я─п╟п╡п╩я▐п╣я┌ я█я┌п╦п╪ я█п╩п╣п╪п╣п╫я┌п╬п╪, п╫п╬ п╬п╫ п╬я┌я│я┐я┌я│я┌п╡я┐п╣я┌ п╦п╩п╦ п©п╬п╡я─п╣п╤п╢п╣п╫
~       qux                 # я█п╩п╣п╪п╣п╫я┌ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╩я│я▐ п╨п╟п╨ я└п╟п╧п╩/п╨п╟я┌п╟п╩п╬пЁ/я│я│я▀п╩п╨п╟, п╫п╬ я┌п╦п© п╠я▀п╩ п╦п╥п╪п╣п╫п╣п╫
I       .screenrc           # svn п╫п╣ я┐п©я─п╟п╡п╩я▐п╣я┌ я█я┌п╦п╪ я█п╩п╣п╪п╣п╫я┌п╬п╪ п╦ п╫п╟я│я┌я─п╬п╣п╫п╟ п╫п╟ п╣пЁп╬ п╦пЁп╫п╬я─п╦я─п╬п╡п╟п╫п╦п╣
A  +    moved_dir           # п╢п╬п╠п╟п╡п╩п╣п╫ я│ п╦я│я┌п╬я─п╦п╣п╧ я│п╡п╬п╣пЁп╬ п©я─п╬п╦я│я┘п╬п╤п╢п╣п╫п╦я▐
M  +    moved_dir/README    # п╢п╬п╠п╟п╡п╩п╣п╫ я│ п╦я│я┌п╬я─п╦п╣п╧ п╦ п╦п╪п╣п╣я┌ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐
D       stuff/fish.c        # я└п╟п╧п╩ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫ п╢п╩я▐ я┐п╢п╟п╩п╣п╫п╦я▐
A       stuff/loot/bloo.h   # я└п╟п╧п╩ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫ п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐
C       stuff/loot/lump.c   # я└п╟п╧п╩ п╦п╪п╣п╣я┌ я┌п╣п╨я│я┌п╬п╡я▀п╧ п╨п╬п╫я└п╩п╦п╨я┌ я│ п╪п╬п╪п╣п╫я┌п╟ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐
 C      stuff/loot/glub.c   # я└п╟п╧п╩ п╦п╪п╣п╣я┌ п╨п╬п╫я└п╩п╦п╨я┌ п╡ я│п╡п╬п╧я│я┌п╡п╟я┘ я│ п╪п╬п╪п╣п╫я┌п╟ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐
R       xyz.c               # я└п╟п╧п╩ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫ п╢п╩я▐ п╥п╟п╪п╣п╫я▀
    S   stuff/squawk        # я└п╟п╧п╩ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁ п╠я▀п╩п╦ п©п╣я─п╣п╨п╩я▌я┤п╣п╫я▀ п╫п╟ п╡п╣я┌п╨я┐
     K  dog.jpg             # я└п╟п╧п╩ п╥п╟п╠п╩п╬п╨п╦я─п╬п╡п╟п╫ п╩п╬п╨п╟п╩я▄п╫п╬; п©я─п╦я│я┐я┌я│я┌п╡я┐п╣я┌ п╪п╟я─п╨п╣я─ п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦я▐
     O  cat.jpg             # я└п╟п╧п╩ п╥п╟п╠п╩п╬п╨п╦я─п╬п╡п╟п╫ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╢я─я┐пЁп╦п╪ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪
     B  bird.jpg            # я└п╟п╧п╩ п╥п╟п╠п╩п╬п╨п╦я─п╬п╡п╟п╫ п╩п╬п╨п╟п╩я▄п╫п╬, п╫п╬ п╠п╩п╬п╨п╦я─п╬п╡п╨п╟ п╠я▀п╩п╟ п╫п╟я─я┐я┬п╣п╫п╟
     T  fish.jpg            # я└п╟п╧п╩ п╥п╟п╠п╩п╬п╨п╦я─п╬п╡п╟п╫ п╩п╬п╨п╟п╩я▄п╫п╬, п╫п╬ п╠п╩п╬п╨п╦я─п╬п╡п╨п╟ п╠я▀п╩п╟ я│п╫я▐я┌п╟

svn status п©п╣я┤п╟я┌п╟п╣я┌ п©я▐я┌я▄ п╨п╬п╩п╬п╫п╬п╨ п╠я┐п╨п╡, п╥п╟я┌п╣п╪ п╫п╣я│п╨п╬п╩я▄п╨п╬ п©я─п╬п╠п╣п╩п╬п╡, п╥п╟я┌п╣п╪ п╦п╪я▐ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟. п÷п╣я─п╡п╟я▐ п╨п╬п╩п╬п╫п╨п╟ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌ я│я┌п╟я┌я┐я│ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟ п╦/п╦п╩п╦ п╣п╣ я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬. п÷я─п╦ я█я┌п╬п╪ п╦я│п©п╬п╩я▄п╥я┐я▌я┌я│я▐ я│п╩п╣п╢я┐я▌я┴п╦п╣ п╨п╬п╢я▀:

A item

п╓п╟п╧п╩, п╨п╟я┌п╟п╩п╬пЁ п╦п╩п╦ я│п╦п╪п╡п╬п╩я▄п╫п╟я▐ я│я│я▀п╩п╨п╟ item п╠я▀п╩ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫ п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣.

C item

п╓п╟п╧п╩ item п╫п╟я┘п╬п╢п╦я┌я│я▐ п╡ я│п╬я│я┌п╬я▐п╫п╦п╦ п╨п╬п╫я└п╩п╦п╨я┌п╟. п╜я┌п╬ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п©п╬п╩я┐я┤п╣п╫п╫я▀п╣ п╬я┌ я│п╣я─п╡п╣я─п╟, п©я─п╦ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╦ п©п╣я─п╣я│п╣п╨п╟я▌я┌я│я▐ я│ п╩п╬п╨п╟п╩я▄п╫я▀п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦, п╦п╪п╣я▌я┴п╦п╪п╦я│я▐ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п÷п╣я─п╣п╢ я└п╦п╨я│п╟я├п╦п╣п╧ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡п╟п╪ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ я─п╟п╥я─п╣я┬п╦я┌я▄ я█я┌п╬я┌ п╨п╬п╫я└п╩п╦п╨я┌.

D item

п╓п╟п╧п╩, п╨п╟я┌п╟п╩п╬пЁ п╦п╩п╦ я│п╦п╪п╡п╬п╩я▄п╫п╟я▐ я│я│я▀п╩п╨п╟ item п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫ п╢п╩я▐ я┐п╢п╟п╩п╣п╫п╦я▐ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟.

M item

п║п╬п╢п╣я─п╤п╦п╪п╬п╣ я└п╟п╧п╩п╟ item п╠я▀п╩п╬ п╦п╥п╪п╣п╫п╣п╫п╬.

R item

п╓п╟п╧п╩, п╨п╟я┌п╟п╩п╬пЁ п╦п╩п╦ я│п╦п╪п╡п╬п╩я▄п╫п╟я▐ я│я│я▀п╩п╨п╟ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫ п╢п╩я▐ п╥п╟п╪п╣п╫я▀ item п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п╜я┌п╬ п╥п╫п╟я┤п╦я┌, я┤я┌п╬ я│п╫п╟я┤п╟п╩п╟ п╬п╠я┼п╣п╨я┌ п╠я▀п╩ я┐п╢п╟п╩п╣п╫, п╟ п╥п╟я┌п╣п╪ п╢я─я┐пЁп╬п╧ п╬п╠я┼п╣п╨я┌ я│ я┌п╟п╨п╦п╪ п╤п╣ п╦п╪п╣п╫п╣п╪ п╠я▀п╩ п╢п╬п╠п╟п╡п╩п╣п╫, п╡я│п╣ п╡ п╬п╢п╫п╬п╧ п©я─п╟п╡п╨п╣.

X item

п п╟я┌п╟п╩п╬пЁ item п╫п╣ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫, п╫п╬ п╬я┌п╫п╬я│п╦я┌я│я▐ п╨ п╡п╫п╣я┬п╫п╦п╪ п╥п╟п╡п╦я│п╦п╪п╬я│я┌я▐п╪ Subversion. п▒п╬п╩п╣п╣ п©п╬п╢я─п╬п╠п╫п╬ п╬ п╡п╫п╣я┬п╫п╦я┘ п╥п╟п╡п╦я│п╦п╪п╬я│я┌я▐я┘ я│п╪. п╡ б╚п▓п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦б╩.

? item

п╓п╟п╧п╩, п╨п╟я┌п╟п╩п╬пЁ п╦п╩п╦ я│п╦п╪п╡п╬п╩я▄п╫п╟я▐ я│я│я▀п╩п╨п╟ п╫п╣ п╫п╟я┘п╬п╢п╦я┌я│я▐ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩п╣п╪ п╡п╣я─я│п╦п╧. п▓я▀ п╪п╬п╤п╣я┌п╣ я┐п╠я─п╟я┌я▄ п╥п╫п╟п╨п╦ п╡п╬п©я─п╬я│п╟ п╩п╦п╠п╬ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟п╡я┬п╦я│я▄ п©п╟я─п╟п╪п╣я┌я─п╬п╪ --quiet (-q) п╨п╬п╪п╟п╫п╢я▀ svn status, п╩п╦п╠п╬ я┐я│я┌п╟п╫п╬п╡п╦п╡ я│п╡п╬п╧я│я┌п╡п╬ svn:ignore я─п╬п╢п╦я┌п╣п╩я▄я│п╨п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟. п■п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬п╠ п╦пЁп╫п╬я─п╦я─п╬п╡п╟п╫п╦п╦ я└п╟п╧п╩п╬п╡ я│п╪. п╡ б╚п÷я─п╬п©я┐я│п╨ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡б╩.

! item

п╓п╟п╧п╩, п╨п╟я┌п╟п╩п╬пЁ п╦п╩п╦ я│п╦п╪п╡п╬п╩я▄п╫п╟я▐ я│я│я▀п╩п╨п╟ item п╫п╟я┘п╬п╢п╦я┌я│я▐ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩п╣п╪ п╡п╣я─я│п╦п╧, п╫п╬ п╬я┌я│я┐я┌я│я┌п╡я┐п╣я┌ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╦п╩п╦ п©п╬п╡я─п╣п╤п╢п╣п╫. п╜п╩п╣п╪п╣п╫я┌ п╪п╬п╤п╣я┌ п╬я┌я│я┐я┌я│я┌п╡п╬п╡п╟я┌я▄, п╣я│п╩п╦ п╬п╫ п╠я▀п╩ я┐п╢п╟п╩п╣п╫ п╠п╣п╥ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╨п╬п╪п╟п╫п╢ Subversion. п▓ я┤п╟я│я┌п╫п╬п╪ я│п╩я┐я┤п╟п╣, п╨п╟я┌п╟п╩п╬пЁ п╪п╬п╤п╣я┌ п╬п╨п╟п╥п╟я┌я▄я│я▐ п©п╬п╡я─п╣п╤п╢п╣п╫п╫я▀п╪, п╣я│п╩п╦ п╡я▀ п©я─п╣я─п╡п╟п╩п╦ я│п╬п╥п╢п╟п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╦п╩п╦ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╣. п▒я▀я│я┌я─я▀п╧ п╥п╟п©я┐я│п╨ svn update п╥п╟п╫п╬п╡п╬ п╡я▀я┌п╟я┴п╦я┌ я└п╟п╧п╩ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟, п╩п╦п╠п╬ svn revert file п╡п╬я│я│я┌п╟п╫п╬п╡п╦я┌ п╬я┌я│я┐я┌я│я┌п╡я┐я▌я┴п╦п╧ я└п╟п╧п╩.

~ item

п╓п╟п╧п╩, п╨п╟я┌п╟п╩п╬пЁ п╦п╩п╦ я│п╦п╪п╡п╬п╩я▄п╫п╟я▐ я│я│я▀п╩п╨п╟ item п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ я▐п╡п╩я▐п╣я┌я│я▐ п╬п╠я┼п╣п╨я┌п╬п╪ п╬п╢п╫п╬пЁп╬ я┌п╦п©п╟, п╟ я┌п╬, я┤я┌п╬ п╫п╟ я│п╟п╪п╬п╪ п╢п╣п╩п╣ п╫п╟я┘п╬п╢п╦я┌я│я▐ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, я▐п╡п╩я▐п╣я┌я│я▐ я┤п╣п╪-я┌п╬ п╢я─я┐пЁп╦п╪. п²п╟п©я─п╦п╪п╣я─, п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ Subversion п╪п╬п╤п╣я┌ п╦п╪п╣я┌я▄ я└п╟п╧п╩, п╟ п╡я▀ я┐п╢п╟п╩п╦п╩п╦ я└п╟п╧п╩ п╦ я│п╬п╥п╢п╟п╩п╦ п╫п╟ п╣пЁп╬ п╪п╣я│я┌п╣ п╨п╟я┌п╟п╩п╬пЁ, п╫п╣ п╦я│п©п╬п╩я▄п╥я┐я▐ п╢п╩я▐ я█я┌п╬пЁп╬ п╨п╬п╪п╟п╫п╢я▀ svn delete п╦п╩п╦ svn add.

I item

п╓п╟п╧п╩, п╨п╟я┌п╟п╩п╬пЁ п╦п╩п╦ я│п╦п╪п╡п╬п╩я▄п╫п╟я▐ я│я│я▀п╩п╨п╟ item п╫п╟я┘п╬п╢п╦я┌я│я▐ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩п╣п╪ п╡п╣я─я│п╦п╧, п╦ Subversion п╫п╟я│я┌я─п╬п╣п╫п╟ п╫п╟ п╣пЁп╬ п╦пЁп╫п╬я─п╦я─п╬п╡п╟п╫п╦п╣ п©я─п╦ п╬п©п╣я─п╟я├п╦я▐я┘ svn add, svn import п╦ svn status. п■п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬п╠ п╦пЁп╫п╬я─п╦я─п╬п╡п╟п╫п╫я▀я┘ я└п╟п╧п╩п╟я┘ я│п╪. п╡ б╚п÷я─п╬п©я┐я│п╨ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡б╩. п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ я┌п╬, я┤я┌п╬ я█я┌п╬я┌ я│п╦п╪п╡п╬п╩ п©п╬я▐п╡п╩я▐п╣я┌я│я▐ п©я─п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦ п╬п©я├п╦п╦ --no-ignore п╢п╩я▐ svn status Б─■ п╦п╫п╟я┤п╣ я└п╟п╧п╩ п╦пЁп╫п╬я─п╦я─я┐п╣я┌я│я▐ п╦ п╫п╣ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌я│я▐ п╡п╬п╬п╠я┴п╣!

п▓я┌п╬я─п╟я▐ п╨п╬п╩п╬п╫п╨п╟ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌ я│я┌п╟я┌я┐я│ я│п╡п╬п╧я│я┌п╡ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡ (п©п╬п╢я─п╬п╠п╫п╣п╣ п╬ я│п╡п╬п╧я│я┌п╡п╟я┘ я│п╪. п╡ б╚п║п╡п╬п╧я│я┌п╡п╟б╩). п∙я│п╩п╦ п╡п╬ п╡я┌п╬я─п╬п╧ п╨п╬п╩п╬п╫п╨п╣ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌я│я▐ M, я│п╡п╬п╧я│я┌п╡п╟ п╠я▀п╩п╦ п╦п╥п╪п╣п╫п╣п╫я▀. п∙я│п╩п╦ п╡ я█я┌п╬п╧ п╨п╬п╩п╬п╫п╨п╣ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌я│я▐ C, я┌п╬ я█я┌п╬ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ я│п╡п╬п╧я│я┌п╡п╟ я└п╟п╧п╩п╟ п╫п╟я┘п╬п╢я▐я┌я│я▐ п╡ я│п╬я│я┌п╬я▐п╫п╦п╦ п╨п╬п╫я└п╩п╦п╨я┌п╟, п╨п╬я┌п╬я─я▀п╧ п╢п╬п╩п╤п╣п╫ п╠я▀я┌я▄ я─п╟п╥я─п╣я┬п╣п╫ п╢п╬ я└п╦п╨я│п╟я├п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п▓п╬ п╡я│п╣я┘ п╢я─я┐пЁп╦я┘ я│п╩я┐я┤п╟я▐я┘ п╠я┐п╢п╣я┌ п╡я▀п╡п╣п╢п╣п╫ п©я─п╬п╠п╣п╩.

п╒я─п╣я┌я▄я▐ п╨п╬п╩п╬п╫п╨п╟ п╪п╬п╤п╣я┌ я│п╬п╢п╣я─п╤п╟я┌я▄ я┌п╬п╩я▄п╨п╬ п©я─п╬п╠п╣п╩ п╦п╩п╦ L, я█я┌п╬ п╥п╫п╟я┤п╦я┌, я┤я┌п╬ я┐ п╨п╟я┌п╟п╩п╬пЁп╟ п╥п╟п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╟ я─п╟п╠п╬я┤п╟я▐ п╬п╠п╩п╟я│я┌я▄ .svn. п▓я▀ я┐п╡п╦п╢п╦я┌п╣ L, п╣я│п╩п╦ п╥п╟п©я┐я│я┌п╦я┌п╣ svn status п╡ п╨п╟я┌п╟п╩п╬пЁп╣, п╡ п╨п╬я┌п╬я─п╬п╪ п╡я▀п©п╬п╩п╫я▐п╣я┌я│я▐ svn commit Б─■ п╫п╟п©я─п╦п╪п╣я─, п╨п╬пЁп╢п╟ п╡я▀ я─п╣п╢п╟п╨я┌п╦я─я┐п╣я┌п╣ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╣.

п╖п╣я┌п╡п╣я─я┌п╟я▐ п╨п╬п╩п╬п╫п╨п╟ п╪п╬п╤п╣я┌ я│п╬п╢п╣я─п╤п╟я┌я▄ я┌п╬п╩я▄п╨п╬ п©я─п╬п╠п╣п╩ п╦п╩п╦ +, я█я┌п╬ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ я█п╩п╣п╪п╣п╫я┌ п╠я▀п╩ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫ п╢п╩я▐ б╚п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ я│ п╦я│я┌п╬я─п╦п╣п╧б╩. п╜я┌п╬ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ я└п╟п╧п╩ п╦п╩п╦ п╨п╬я─п╣п╫я▄ я│п╨п╬п©п╦я─п╬п╡п╟п╫п╫п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟. + п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ я█п╩п╣п╪п╣п╫я┌ я▐п╡п╩я▐п╣я┌я│я▐ я┤п╟я│я┌я▄я▌ п©п╬п╢п╢п╣я─п╣п╡п╟, п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫п╫п╬пЁп╬ п╢п╩я▐ б╚п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ я│ п╦я│я┌п╬я─п╦п╣п╧б╩, я┌. п╣. п╬п╢п╦п╫ п╦п╥ я─п╬п╢п╦я┌п╣п╩я▄я│п╨п╦я┘ п╨п╟я┌п╟п╩п╬пЁп╬п╡ п╠я▀п╩ я│п╨п╬п©п╦я─п╬п╡п╟п╫, п╦ я█я┌п╬я┌ я█п╩п╣п╪п╣п╫я┌ п©я─п╬я│я┌п╬ п╣пЁп╬ я┤п╟я│я┌я▄. Mб═б═+ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ я█п╩п╣п╪п╣п╫я┌ я▐п╡п╩я▐п╣я┌я│я▐ я┤п╟я│я┌я▄я▌ п©п╬п╢п╢п╣я─п╣п╡п╟, п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫п╫п╬пЁп╬ п╢п╩я▐ б╚п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ я│ п╦я│я┌п╬я─п╦п╣п╧б╩, п╦ п╦п╪п╣п╣я┌ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐. п÷я─п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦п╦ я└п╦п╨я│п╟я├п╦п╦ п╡п╫п╟я┤п╟п╩п╣ п╠я┐п╢п╣я┌ б╚п╢п╬п╠п╟п╡п╩п╣п╫ я│ п╦я│я┌п╬я─п╦п╣п╧б╩ я─п╬п╢п╦я┌п╣п╩я▄я│п╨п╦п╧ п╨п╟я┌п╟п╩п╬пЁ, я┤я┌п╬ п╬п╥п╫п╟я┤п╟п╣я┌ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╬п╣ п╫п╟п╩п╦я┤п╦п╣ я└п╟п╧п╩п╟ п╡ п╨п╬п©п╦п╦. п÷п╬я│п╩п╣ я█я┌п╬пЁп╬ п╡ п╨п╬п©п╦я▌ п╠я┐п╢я┐я┌ п╥п╟пЁя─я┐п╤п╣п╫я▀ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐.

п÷я▐я┌п╟я▐ п╨п╬п╩п╬п╫п╨п╟ п╪п╬п╤п╣я┌ я│п╬п╢п╣я─п╤п╟я┌я▄ я┌п╬п╩я▄п╨п╬ п©я─п╬п╠п╣п╩ п╦п╩п╦ S. п╜я┌п╬ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ я└п╟п╧п╩ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁ п╠я▀п╩ п©п╣я─п╣п╨п╩я▌я┤п╣п╫ я│ п©я┐я┌п╦ п╬я│я┌п╟п╩я▄п╫п╬п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╫п╟ п╡п╣я┌п╨я┐ (п╦я│п©п╬п╩я▄п╥я┐я▐ svn switch).

п╗п╣я│я┌п╟я▐ п╨п╬п╩п╬п╫п╨п╟ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬ п╠п╩п╬п╨п╦я─п╬п╡п╨п╟я┘, п╨п╬я┌п╬я─я▀п╣ п©п╬п╢я─п╬п╠п╫п╬ я─п╟я│я│п╪п╬я┌я─п╣п╫я▀ п╡ б╚Lockingб╩. (п╜я┌п╬ п╫п╣ я┌п╣ п╠п╩п╬п╨п╦я─п╬п╡п╨п╦, п╨п╬я┌п╬я─я▀п╣ п╬я┌п╪п╣я┤п╟я▌я┌я│я▐ L п╡ я┌я─п╣я┌я▄п╣п╧ п╨п╬п╩п╬п╫п╨п╣; я│п╪. Three meanings of б╚lockб╩)

п∙я│п╩п╦ п╡я▀ я┐п╨п╟п╤п╣я┌п╣ п╨п╬п╫п╨я─п╣я┌п╫я▀п╧ п©я┐я┌я▄ п╢п╩я▐ svn status, я┌п╬ п©п╬п╩я┐я┤п╦я┌п╣ п╦п╫я└п╬я─п╪п╟я├п╦я▌ я┌п╬п╩я▄п╨п╬ п╬п╠ я█я┌п╬п╪ я█п╩п╣п╪п╣п╫я┌п╣:

$ svn status stuff/fish.c
D      stuff/fish.c

п я─п╬п╪п╣ я┌п╬пЁп╬, svn status п╦п╪п╣п╣я┌ п©п╟я─п╟п╪п╣я┌я─ --verbose (-v), п╨п╬я┌п╬я─я▀п╧ п©п╬п╨п╟п╤п╣я┌ п╡п╟п╪ я│я┌п╟я┌я┐я│ п╨п╟п╤п╢п╬пЁп╬ я█п╩п╣п╪п╣п╫я┌п╟ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╢п╟п╤п╣ п╣я│п╩п╦ п╬п╫ п╫п╣ п╪п╣п╫я▐п╩я│я▐:

$ svn status --verbose
M               44        23    sally     README
                44        30    sally     INSTALL
M               44        20    harry     bar.c
                44        18    ira       stuff
                44        35    harry     stuff/trout.c
D               44        19    ira       stuff/fish.c
                44        21    sally     stuff/things
A                0         ?     ?        stuff/things/bloo.h
                44        36    harry     stuff/things/gloo.c

п╜я┌п╬ б╚п╢п╩п╦п╫п╫п╟я▐ я└п╬я─п╪п╟б╩ п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫п╦я▐ п╡я▀п╡п╬п╢п╟ svn status. п÷п╣я─п╡п╟я▐ п╨п╬п╩п╬п╫п╨п╟ п╬я│я┌п╟п╩п╟я│я▄ я┌п╟ п╤п╣ я│п╟п╪п╟я▐, п╟ п╡п╬я┌ п╡я┌п╬я─п╟я▐ п╨п╬п╩п╬п╫п╨п╟ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌ я─п╟п╠п╬я┤я┐я▌ п©я─п╟п╡п╨я┐ я█п╩п╣п╪п╣п╫я┌п╟. п╒я─п╣я┌я▄я▐ п╦ я┤п╣я┌п╡п╣я─я┌п╟я▐ п╨п╬п╩п╬п╫п╨п╦ п©п╬п╨п╟п╥я▀п╡п╟я▌я┌ п©я─п╟п╡п╨я┐, п╡ п╨п╬я┌п╬я─п╬п╧ я█п╩п╣п╪п╣п╫я┌ п©п╬я│п╩п╣п╢п╫п╦п╧ я─п╟п╥ п╦п╥п╪п╣п╫я▐п╩я│я▐ п╦ п╟п╡я┌п╬я─п╟ я█я┌п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧.

п²п╦ п╬п╢п╦п╫ п╦п╥ я┐п╨п╟п╥п╟п╫п╫я▀я┘ п╡я▀я┬п╣ п╡я▀п╥п╬п╡п╬п╡ svn status п╫п╣ п╬п╠я─п╟я┴п╟п╣я┌я│я▐ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐, п╬п╫п╦ я─п╟п╠п╬я┌п╟я▌я┌ я┌п╬п╩я▄п╨п╬ п╩п╬п╨п╟п╩я▄п╫п╬, я│я─п╟п╡п╫п╦п╡п╟я▐ п╪п╣я┌п╟п╢п╟п╫п╫я▀п╣ п╨п╟я┌п╟п╩п╬пЁп╟ .svn я│ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╣п╧. п·я┌п╪п╣я┌п╦п╪, я┤я┌п╬ п╣я│я┌я▄ п©п╟я─п╟п╪п╣я┌я─ --show-updates (-u), я┐п╨п╟п╥я▀п╡п╟я▌я┴п╦п╧ п╫п╟ я│п╬п╣п╢п╦п╫п╣п╫п╦п╣ я│ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪ п╦ п╢п╬п╠п╟п╡п╩я▐я▌я┴п╦п╧ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬п╠ я┐я│я┌п╟я─п╣п╡п╟п╫п╦п╦ я█п╩п╣п╪п╣п╫я┌п╬п╡:

$ svn status --show-updates --verbose
M      *        44        23    sally     README
M               44        20    harry     bar.c
       *        44        35    harry     stuff/trout.c
D               44        19    ira       stuff/fish.c
A                0         ?     ?        stuff/things/bloo.h
Status against revision:   46

п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ п╢п╡п╣ п╥п╡п╣п╥п╢п╬я┤п╨п╦: п╣я│п╩п╦ я│п╣п╧я┤п╟я│ п╡я▀ п╥п╟п©я┐я│я┌п╦я┌п╣ svn update п╡я▀ п©п╬п╩я┐я┤п╦я┌п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╢п╩я▐ README п╦ trout.c. п╜я┌п╬ п╬я┤п╣п╫я▄ п©п╬п╩п╣п╥п╫п╟я▐ п╦п╫я└п╬я─п╪п╟я├п╦я▐ Б─■ п©п╣я─п╣п╢ я└п╦п╨я│п╟я├п╦п╣п╧ п╡п╟п╪ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╬п╠п╫п╬п╡п╦я┌я▄ п╦ п©п╬п╩я┐я┤п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│ я│п╣я─п╡п╣я─п╟ п╢п╩я▐ README, п╦п╩п╦ п╤п╣ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╬я┌п╨п╩п╬п╫п╦я┌ п╡п╟я┬я┐ я└п╦п╨я│п╟я├п╦я▌ п╨п╟п╨ п╫п╣ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴я┐я▌ п╟п╨я┌я┐п╟п╩я▄п╫п╬п╪я┐ я│п╬я│я┌п╬я▐п╫п╦я▌. (п÷п╬п╢я─п╬п╠п╫п╣п╣ п╬п╠ я█я┌п╬п╪ я┤я┐я┌я▄ п©п╬п╥п╤п╣.)

svn diff

п∙я┴п╣ п╬п╢п╦п╫ п╪п╣я┘п╟п╫п╦п╥п╪ п╢п╩я▐ п╟п╫п╟п╩п╦п╥п╟ п╦п╥п╪п╣п╫п╣п╫п╦п╧ Б─■ я█я┌п╬ п╨п╬п╪п╟п╫п╢п╟ svn diff. п≈п╟п©я┐я│я┌п╦п╡ svn diff п╠п╣п╥ п╟я─пЁя┐п╪п╣п╫я┌п╬п╡, п╪п╬п╤п╫п╬ я┐п╡п╦п╢п╣я┌я▄, п╨п╟п╨п╦п╣ п╦п╪п╣п╫п╫п╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡я▀ п╡п╫п╣я│п╩п╦, п╡ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ п╠я┐п╢я┐я┌ п╡я▀п╡п╣п╢п╣п╫я▀ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я└п╟п╧п╩п╬п╡ п╡ п╣п╢п╦п╫п╬п╪ я└п╬я─п╪п╟я┌п╣ п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫п╦я▐ я─п╟п╥п╩п╦я┤п╦п╧:[9]

$ svn diff
Index: bar.c
===================================================================
--- bar.c (revision 3)
+++ bar.c (working copy)
@@ -1,7 +1,12 @@
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
+
+#include <stdio.h>

 int main(void) {
-  printf("Sixty-four slices of American Cheese...\n");
+  printf("Sixty-five slices of American Cheese...\n");
 return 0;
 }

Index: README
===================================================================
--- README  (revision 3)
+++ README  (working copy)
@@ -193,3 +193,4 @@
+Note to self:  pick up laundry.

Index: stuff/fish.c
===================================================================
--- stuff/fish.c  (revision 1)
+++ stuff/fish.c  (working copy)
-Welcome to the file known as 'fish'.
-Information on fish will be here soon.

Index: stuff/things/bloo.h
===================================================================
--- stuff/things/bloo.h (revision 8)
+++ stuff/things/bloo.h (working copy)
+Here is a new file to describe
+things about bloo.

п п╬п╪п╟п╫п╢п╟ svn diff я└п╬я─п╪п╦я─я┐п╣я┌ я│п╡п╬п╧ п╡я▀п╡п╬п╢, я│я─п╟п╡п╫п╦п╡п╟я▐ п╡п╟я┬п╦ я─п╟п╠п╬я┤п╦п╣ я└п╟п╧п╩я▀ я│ п╨я█я┬п╦я─п╬п╡п╟п╫п╫я▀п╪п╦ б╚п╫п╣я┌я─п╬п╫я┐я┌я▀п╪п╦б╩ п╨п╬п©п╦я▐п╪п╦ п╦п╥ .svn. п▓п╣я│я▄ я┌п╣п╨я│я┌ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ я└п╟п╧п╩п╬п╡ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌я│я▐ п╨п╟п╨ п╢п╬п╠п╟п╡п╩п╣п╫п╫я▀п╧, п╟ п╡п╣я│я▄ я┌п╣п╨я│я┌ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ п╢п╩я▐ я┐п╢п╟п╩п╣п╫п╦я▐ я└п╟п╧п╩п╬п╡ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌я│я▐ п╨п╟п╨ я┐п╢п╟п╩п╣п╫п╫я▀п╧.

п▓я▀п╡п╬п╢ п©я─п╬п╦я│я┘п╬п╢п╦я┌ п╡ п╣п╢п╦п╫п╬п╪ я└п╬я─п╪п╟я┌п╣ п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫п╦я▐ я─п╟п╥п╩п╦я┤п╦п╧. п÷я─п╦ я█я┌п╬п╪ я┐п╢п╟п╩п╣п╫п╫я▀п╣ я│я┌я─п╬п╨п╦ п©я─п╣п╢п╡п╟я─я▐я▌я┌я│я▐ п╥п╫п╟п╨п╬п╪ -, п╟ п╢п╬п╠п╟п╡п╩п╣п╫п╫я▀п╣ Б─■ п╥п╫п╟п╨п╬п╪ +. п я─п╬п╪п╣ я█я┌п╬пЁп╬ svn diff п©п╣я┤п╟я┌п╟п╣я┌ п╦п╪п╣п╫п╟ я└п╟п╧п╩п╬п╡ п╦ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬ я│п╢п╡п╦пЁп╣ п╦п╫я└п╬я─п╪п╟я├п╦п╦, п╨п╬я┌п╬я─п╟я▐ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╟ п©я─п╬пЁя─п╟п╪п╪п╣ patch, п╦, я│п╩п╣п╢п╬п╡п╟я┌п╣п╩я▄п╫п╬, п╡я▀ п╪п╬п╤п╣я┌п╣ п©п╬п╩я┐я┤п╟я┌я▄ б╚п©п╟я┌я┤п╦б╩, п©п╣я─п╣п╫п╟п©я─п╟п╡п╦п╡ п╡я▀п╡п╬п╢ я─п╟п╥п╩п╦я┤п╦п╧ п╡ я└п╟п╧п╩:

$ svn diff > patchfile

п▓я▀ п╪п╬п╤п╣я┌п╣, п╫п╟п©я─п╦п╪п╣я─, п╬я┌п©я─п╟п╡п╦я┌я▄ п©п╬ я█п╩п╣п╨я┌я─п╬п╫п╫п╬п╧ п©п╬я┤я┌п╣ я└п╟п╧п╩ п©п╟я┌я┤п╟ п╢я─я┐пЁп╬п╪я┐ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨я┐ п╢п╩я▐ п╬п╥п╫п╟п╨п╬п╪п╩п╣п╫п╦я▐ п╦п╩п╦ я┌п╣я│я┌п╦я─п╬п╡п╟п╫п╦я▐ п©п╣я─п╣п╢ я└п╦п╨я│п╟я├п╦п╣п╧.

svn revert

п╒п╣п©п╣я─я▄ п©я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┤я┌п╬, п©я─п╬я│п╪п╬я┌я─п╣п╡ п╡я▀п╡п╬п╢ п╨п╬п╪п╟п╫п╢я▀ diff, п╡я▀ п╬п╠п╫п╟я─я┐п╤п╦п╩п╦, я┤я┌п╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ README п╬я┬п╦п╠п╬я┤п╫я▀ Б─■ п╨ п©я─п╦п╪п╣я─я┐, п©п╬я┌п╬п╪я┐, я┤я┌п╬ п╡ я│п╡п╬п╣п╪ я─п╣п╢п╟п╨я┌п╬я─п╣ п╡я▀ я│п╩я┐я┤п╟п╧п╫п╬ п╫п╟п╠я─п╟п╩п╦ я┌п╣п╨я│я┌, п©я─п╣п╢п╫п╟п╥п╫п╟я┤п╟п╡я┬п╦п╧я│я▐ п╢п╩я▐ п╢я─я┐пЁп╬пЁп╬ я└п╟п╧п╩п╟.

п▓ я┌п╟п╨п╬п╧ я│п╦я┌я┐п╟я├п╦п╦ п╨п╟п╨ п╫п╣п╩я▄п╥я▐ п╨я│я┌п╟я┌п╦ п╬п╨п╟п╤п╣я┌я│я▐ п╨п╬п╪п╟п╫п╢п╟ svn revert.

$ svn revert README
Reverted 'README'

Subversion п╡п╬п╥п╡я─п╟я┴п╟п╣я┌ я└п╟п╧п╩ п╡ я│п╬я│я┌п╬я▐п╫п╦п╣, п©я─п╣п╢я┬п╣я│я┌п╡я┐я▌я┴п╣п╣ п╪п╬п╢п╦я└п╦п╨п╟я├п╦п╦, п©я┐я┌п╣п╪ п╥п╟п╪п╣п╫я▀ я└п╟п╧п╩п╟ п╣пЁп╬ п╨я█я┬п╦я─п╬п╡п╟п╫п╫п╬п╧ б╚п©п╣я─п╡п╬п╫п╟я┤п╟п╩я▄п╫п╬п╧б╩ п╨п╬п©п╦п╣п╧ п╦п╥ .svn-п╬п╠п╩п╟я│я┌п╦. п я─п╬п╪п╣ я┌п╬пЁп╬, п╬п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣, я┤я┌п╬ svn revert п╪п╬п╤п╣я┌ п╬я┌п╪п╣п╫п╦я┌я▄ п╩я▌п╠я▀п╣ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫п╫я▀п╣ п╬п©п╣я─п╟я├п╦п╦ Б─■ п╫п╟п©я─п╦п╪п╣я─, п╡я▀ п╪п╬п╤п╣я┌п╣ п©я─п╦п╧я┌п╦ п╨ я─п╣я┬п╣п╫п╦я▌ п╡я│я▒-я┌п╟п╨п╦ п╫п╣ п╢п╬п╠п╟п╡п╩я▐я┌я▄ п╫п╬п╡я▀п╧ я└п╟п╧п╩:

$ svn status foo
?      foo

$ svn add foo
A         foo

$ svn revert foo
Reverted 'foo'

$ svn status foo
?      foo
[п≈п╟п╪п╣я┤п╟п╫п╦п╣]п≈п╟п╪п╣я┤п╟п╫п╦п╣

svn revert ITEM п╠я┐п╢п╣я┌ п╦п╪п╣я┌я▄ я┌п╬я┤п╫п╬ я┌п╟п╨п╬п╧ п╤п╣ я█я└я└п╣п╨я┌, п╨п╟п╨ п╦ я┐п╢п╟п╩п╣п╫п╦п╣ ITEM п╦п╥ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╟ п╥п╟я┌п╣п╪ п╡я▀п©п╬п╩п╫п╣п╫п╦п╣ svn update -r BASE ITEM. п·п╢п╫п╟п╨п╬, п╣я│п╩п╦ п╡я▀ п╬я┌п╪п╣п╫я▐п╣я┌п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╢п╩я▐ я└п╟п╧п╩п╟, svn revert п╠я┐п╢п╣я┌ п╦п╪п╣я┌я▄ п╬п╢п╫п╬ п╥п╫п╟я┤п╦я┌п╣п╩я▄п╫п╬п╣ п╬я┌п╩п╦я┤п╦п╣ Б─■ п╢п╩я▐ п╡п╬я│я│я┌п╟п╫п╬п╡п╩п╣п╫п╦я▐ я└п╟п╧п╩п╟ п╫п╣ п©я─п╬п╦я│я┘п╬п╢п╦я┌ я│п╬п╣п╢п╦п╫п╣п╫п╦я▐ я│ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪.

п≤п╩п╦, п╢п╬п©я┐я│я┌п╦п╪, п╡я▀ п╬я┬п╦п╠п╬я┤п╫п╬ я┐п╢п╟п╩п╦п╩п╦ я└п╟п╧п╩ п╦п╥-п©п╬п╢ п╨п╬п╫я┌я─п╬п╩я▐ п╡п╣я─я│п╦п╧:

$ svn status README
       README

$ svn delete README
D         README

$ svn revert README
Reverted 'README'

$ svn status README
       README

п═п╟п╥я─п╣я┬п╣п╫п╦п╣ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡ (п©я─п╦ я│п╩п╦я▐п╫п╦п╦ я│ я┤я┐п╤п╦п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦)

п°я▀ я┐п╤п╣ п╡п╦п╢п╣п╩п╦, п╨п╟п╨ svn status -u п╪п╬п╤п╣я┌ п©я─п╣п╢я┐п©я─п╣п╢п╦я┌я▄ п╬ п╨п╬п╫я└п╩п╦п╨я┌п╟я┘. п÷я─п╣п╢п©п╬п╩п╬п╤п╦п╪, п╡я▀ п╥п╟п©я┐я│я┌п╦п╩п╦ svn update п╦ я┐п╡п╦п╢п╣п╩п╦ п╨п╬п╣-я┤я┌п╬ п╦п╫я┌п╣я─п╣я│п╫п╬п╣:

$ svn update
U  INSTALL
G  README
C  bar.c
Updated to revision 46.

п п╬п╢я▀ U п╦ G п╦п╫я┌п╣я─п╣я│п╟ п╫п╣ п©я─п╣п╢я│я┌п╟п╡п╩я▐я▌я┌; я█я┌п╦ я└п╟п╧п╩я▀ п╠п╣п╥ п©я─п╬п╠п╩п╣п╪ п©п╬пЁп╩п╬я┌п╦п╩п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟. п╓п╟п╧п╩я▀, п╬я┌п╪п╣я┤п╣п╫п╫я▀п╣ U, п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╫п╣ я│п╬п╢п╣я─п╤п╟я┌ п╦ п╠я▀п╩п╦ Updated Б─■ п╬п╠п╫п╬п╡п╩п╣п╫я▀ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟. п·я┌п╪п╣я┤п╣п╫п╫я▀п╣ G п╠я▀п╩п╦ merGed Б─■ я│п╩п╦я┌я▀, я█я┌п╬ п╥п╫п╟я┤п╦я┌, я┤я┌п╬ я└п╟п╧п╩ п╦п╪п╣п╩ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╫п╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п©я─п╦я┬п╣п╢я┬п╦п╣ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟, п╫п╣ п©п╣я─п╣п╨я─я▀п╡п╟я▌я┌я│я▐ я│ п╩п╬п╨п╟п╩я▄п╫я▀п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦.

п░ п╡п╬я┌ я└п╟п╧п╩я▀, п╬я┌п╪п╣я┤п╣п╫п╫я▀п╣ C, п╦п╪п╣я▌я┌ п╨п╬п╫я└п╩п╦п╨я┌. п╜я┌п╬ п╥п╫п╟я┤п╦я┌, я┤я┌п╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│ я│п╣я─п╡п╣я─п╟ п©п╣я─п╣я│п╣п╨п╩п╦я│я▄ я│ п╡п╟я┬п╦п╪п╦ п╩п╦я┤п╫я▀п╪п╦, п╦ я┌п╣п©п╣я─я▄ п╡п╟п╪ п╫я┐п╤п╫п╬ п╡я─я┐я┤п╫я┐я▌ я│п╢п╣п╩п╟я┌я▄ п╪п╣п╤п╢я┐ п╫п╦п╪п╦ п╡я▀п╠п╬я─.

п▓я│я▐п╨п╦п╧ я─п╟п╥, п╨п╬пЁп╢п╟ п╡п╬п╥п╫п╦п╨п╟п╣я┌ п╨п╬п╫я└п╩п╦п╨я┌, п╡ п╣пЁп╬ п╬п╠п╫п╟я─я┐п╤п╣п╫п╦п╦ п╦ я─п╟п╥я─п╣я┬п╣п╫п╦п╦ п╡п╟п╪, п╨п╟п╨ п©я─п╟п╡п╦п╩п╬, п©п╬п╪п╬пЁп╟я▌я┌ я┌я─п╦ п╡п╣я┴п╦:

  • Subversion п©п╣я┤п╟я┌п╟п╣я┌ C п╡п╬ п╡я─п╣п╪я▐ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐ п╦ п╥п╟п©п╬п╪п╦п╫п╟п╣я┌, я┤я┌п╬ я└п╟п╧п╩ п╡ я│п╬я│я┌п╬я▐п╫п╦п╦ п╨п╬п╫я└п╩п╦п╨я┌п╟.

  • п∙я│п╩п╦ Subversion я│я┤п╦я┌п╟п╣я┌, я┤я┌п╬ я┌п╦п© я└п╟п╧п╩п╟ п╢п╬п©я┐я│п╨п╟п╣я┌ я│п╩п╦я▐п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧, п╬п╫п╟ п╡п╨п╩я▌я┤п╟п╣я┌ п╡ п╫п╣пЁп╬ п╪п╟я─п╨п╣я─я▀ п╨п╬п╫я└п╩п╦п╨я┌п╟ Б─■ я│п©п╣я├п╦п╟п╩я▄п╫я▀п╣ я┌п╣п╨я│я┌п╬п╡я▀п╣ я│я┌я─п╬п╨п╦, п╬я┌п╢п╣п╩я▐я▌я┴п╦п╣ б╚я│я┌п╬я─п╬п╫я▀б╩ п╨п╬п╫я└п╩п╦п╨я┌п╟ Б─■ я┤я┌п╬п╠я▀ п╡п╦п╥я┐п╟п╩я▄п╫п╬ п©п╬п╨п╟п╥п╟я┌я▄ п©п╣я─п╣я│п╣п╨п╟я▌я┴п╦п╣я│я▐ п╬п╠п╩п╟я│я┌п╦. (Subversion п╦я│п©п╬п╩я▄п╥я┐п╣я┌ я│п╡п╬п╧я│я┌п╡п╬ svn:mime-type п╢п╩я▐ п╬п©я─п╣п╢п╣п╩п╣п╫п╦я▐ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ п╨п╬п╫я┌п╣п╨я│я┌п╫п╬пЁп╬, п©п╬я│я┌я─п╬я┤п╫п╬пЁп╬ я│п╩п╦я▐п╫п╦я▐. п║п╪. б╚п╒п╦п© я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬ я└п╟п╧п╩п╟б╩ п╢п╩я▐ п╠п╬п╩п╣п╣ п©п╬п╢я─п╬п╠п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦.)

  • п■п╩я▐ п╨п╟п╤п╢п╬пЁп╬ п╨п╬п╫я└п╩п╦п╨я┌п╫п╬пЁп╬ я└п╟п╧п╩п╟ Subversion п╢п╬п╠п╟п╡п╩я▐п╣я┌ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╢п╬ я┌я─п╣я┘ п╫п╣ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я▀я┘ я└п╟п╧п╩п╬п╡:

    filename.mine

    п╜я┌п╬ п╡п╟я┬ я└п╟п╧п╩ п╡ я┌п╬п╪ п╡п╦п╢п╣, п╡ п╨п╟п╨п╬п╪ п╬п╫ п©я─п╦я│я┐я┌я│я┌п╡п╬п╡п╟п╩ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╢п╬ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐ Б─■ п╠п╣п╥ п╪п╟я─п╨п╣я─п╬п╡ п╨п╬п╫я└п╩п╦п╨я┌п╟. п╜я┌п╬я┌ я└п╟п╧п╩ я│п╬п╢п╣я─п╤п╦я┌ п╡ я│п╣п╠п╣ я┌п╬п╩я▄п╨п╬ п╡п╟я┬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦ п╫п╦я┤п╣пЁп╬ п╠п╬п╩я▄я┬п╣. (п∙я│п╩п╦ Subversion я─п╣я┬п╟п╣я┌, я┤я┌п╬ я└п╟п╧п╩ п╫п╣ п©я─п╦пЁп╬п╢п╣п╫ п╢п╩я▐ я│п╩п╦я▐п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧, я┌п╬ я└п╟п╧п╩ .mine п╫п╣ я│п╬п╥п╢п╟п╣я┌я│я▐, я┌п╟п╨ п╨п╟п╨ п╬п╫ п╠я┐п╢п╣я┌ п╦п╢п╣п╫я┌п╦я┤п╫я▀п╪ я─п╟п╠п╬я┤п╣п╪я┐ я└п╟п╧п╩я┐.)

    filename.rOLDREV

    п╜я┌п╬ я└п╟п╧п╩ п©я─п╟п╡п╨п╦ BASE, пЁп╢п╣ BASE Б─■ п©я─п╟п╡п╨п╟, п╨п╬я┌п╬я─п╟я▐ п╠я▀п╩п╟ п╢п╬ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п≤п╫я▀п╪п╦ я│п╩п╬п╡п╟п╪п╦, я█я┌п╬ я└п╟п╧п╩, п╨п╬я┌п╬я─я▀п╧ п╠я▀п╩ я┐ п╡п╟я│ п╢п╬ п╡п╫п╣я│п╣п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧.

    filename.rNEWREV

    п╜я┌п╬ я└п╟п╧п╩, п╨п╬я┌п╬я─я▀п╧ п╡п╟я┬ Subversion-п╨п╩п╦п╣п╫я┌ п©п╬п╩я┐я┤п╦п╩ я│ я│п╣я─п╡п╣я─п╟ п©я─п╦ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п╜я┌п╬я┌ я└п╟п╧п╩ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐п╣я┌ п©я─п╟п╡п╨п╣ HEAD я┘я─п╟п╫п╦п╩п╦я┴п╟.

    п≈п╢п╣я│я▄ OLDREV Б─■ я█я┌п╬ п╫п╬п╪п╣я─ п©я─п╟п╡п╨п╦ я└п╟п╧п╩п╟ п╡ п╨п╟я┌п╟п╩п╬пЁп╣ .svn, п╟ NEWREV Б─■ п╫п╬п╪п╣я─ п©я─п╟п╡п╨п╦ HEAD я┘я─п╟п╫п╦п╩п╦я┴п╟.

п²п╟п©я─п╦п╪п╣я─, п║п╟п╩п╩п╦ п╡п╫п╣я│п╩п╟ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я└п╟п╧п╩ sandwich.txt п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟. п·п╢п╫п╬п╡я─п╣п╪п╣п╫п╫п╬ п⌠п╟я─я─п╦ п╦п╥п╪п╣п╫п╦п╩ я└п╟п╧п╩ п╡ я│п╡п╬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╦ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╩ п╣пЁп╬. п║п╟п╩п╩п╦ п╬п╠п╫п╬п╡п╩я▐п╣я┌ я│п╡п╬я▌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п©п╣я─п╣п╢ я└п╦п╨я│п╟я├п╦п╣п╧ п╦ п©п╬п╩я┐я┤п╟п╣я┌ п╨п╬п╫я└п╩п╦п╨я┌:

$ svn update
C  sandwich.txt
Updated to revision 2.
$ ls -1
sandwich.txt
sandwich.txt.mine
sandwich.txt.r1
sandwich.txt.r2

п╒п╣п©п╣я─я▄ Subversion п╫п╣ п©п╬п╥п╡п╬п╩п╦я┌ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ я└п╟п╧п╩ sandwich.txt, п©п╬п╨п╟ п╫п╣ п╠я┐п╢я┐я┌ я┐п╢п╟п╩п╣п╫я▀ я┌я─п╦ п╡я─п╣п╪п╣п╫п╫я▀я┘ я└п╟п╧п╩п╟.

$ svn commit --message "Add a few more things"
svn: Commit failed (details follow):
svn: Aborting commit: '/home/sally/svn-work/sandwich.txt' remains in conflict

п■п╩я▐ я─п╟п╥я─п╣я┬п╣п╫п╦я▐ п╨п╬п╫я└п╩п╦п╨я┌п╟ я┐ п╡п╟я│ п╣я│я┌я▄ я┌я─п╦ п╡п╟я─п╦п╟п╫я┌п╟:

  • п·п╠я┼п╣п╢п╦п╫п╦я┌я▄ п╨п╬п╫я└п╩п╦п╨я┌я┐я▌я┴п╦п╧ я┌п╣п╨я│я┌ б╚п╡я─я┐я┤п╫я┐я▌б╩ (п©я┐я┌п╣п╪ п╟п╫п╟п╩п╦п╥п╟ п╦ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦я▐ п╪п╟я─п╨п╣я─п╬п╡ п╨п╬п╫я└п╩п╦п╨я┌п╟ п╡ я└п╟п╧п╩п╣).

  • п║п╨п╬п©п╦я─п╬п╡п╟я┌я▄ п╬п╢п╦п╫ п╦п╥ п╡я─п╣п╪п╣п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡ п©п╬п╡п╣я─я┘ я│п╡п╬п╣пЁп╬ я─п╟п╠п╬я┤п╣пЁп╬ я└п╟п╧п╩п╟.

  • п▓я▀п©п╬п╩п╫п╦я┌я▄ svn revert <filename> п╢п╩я▐ п╬я┌п╨п╟п╥п╟ п╬я┌ п╡я│п╣я┘ п╡п╟я┬п╦я┘ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧.

п÷п╬я│п╩п╣ я─п╟п╥я─п╣я┬п╣п╫п╦я▐ п╨п╬п╫я└п╩п╦п╨я┌п╟ п╡п╟п╪ п╫я┐п╤п╫п╬ п╦п╥п╡п╣я│я┌п╦я┌я▄ п╬п╠ я█я┌п╬п╪ Subversion, п╡я▀п©п╬п╩п╫п╦п╡ svn resolved. п╜я┌п╟ п╨п╬п╪п╟п╫п╢п╟ я┐п╢п╟п╩п╦я┌ я┌я─п╦ п╡я─п╣п╪п╣п╫п╫я▀я┘ я└п╟п╧п╩п╟, п╦ Subversion п╠п╬п╩я▄я┬п╣ п╫п╣ п╠я┐п╢п╣я┌ я│я┤п╦я┌п╟я┌я▄, я┤я┌п╬ я└п╟п╧п╩ п╫п╟я┘п╬п╢п╦я┌я│я▐ п╡ я│п╬я│я┌п╬я▐п╫п╦п╦ п╨п╬п╫я└п╩п╦п╨я┌п╟. [10]

$ svn resolved sandwich.txt
Resolved conflicted state of 'sandwich.txt'

п║п╩п╦я▐п╫п╦п╣ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡ п╡я─я┐я┤п╫я┐я▌

п║п╩п╦я▐п╫п╦п╣ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡ п╡я─я┐я┤п╫я┐я▌ п╪п╬п╤п╣я┌ п©п╬п╨п╟п╥п╟я┌я▄я│я▐ п©я┐пЁп╟я▌я┴п╦п╪, п╨п╬пЁп╢п╟ п╡я▀ п╢п╣п╩п╟п╣я┌п╣ я█я┌п╬ п╡ п©п╣я─п╡я▀п╧ я─п╟п╥, п╫п╬ п©п╬я│п╩п╣ п╫п╣п╠п╬п╩я▄я┬п╬п╧ п©я─п╟п╨я┌п╦п╨п╦ я│я┌п╟п╫п╣я┌ п╢п╩я▐ п╡п╟я│ я┌п╟п╨п╦п╪ п╤п╣ п©я─п╬я│я┌я▀п╪, п╨п╟п╨ п╣п╥п╢п╟ п╫п╟ п╡п╣п╩п╬я│п╦п©п╣п╢п╣.

п▓п╬п╥я▄п╪п╣п╪ п©я─п╦п╪п╣я─. п÷п╬ п╫п╣п╢п╬я─п╟п╥я┐п╪п╣п╫п╦я▌ п╡я▀ п╦ п╡п╟я┬ я│п╬я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨ п║п╟п╩п╩п╦ п╬п╢п╫п╬п╡я─п╣п╪п╣п╫п╫п╬ я─п╣п╢п╟п╨я┌п╦я─я┐п╣я┌п╣ я└п╟п╧п╩ sandwich.txt. п║п╟п╩п╩п╦ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╩п╟ я│п╡п╬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╦ п©п╬я█я┌п╬п╪я┐ п©я─п╦ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╦ я│п╡п╬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡я▀ п©п╬п╩я┐я┤п╦я┌п╣ п╨п╬п╫я└п╩п╦п╨я┌, п╢п╩я▐ я─п╟п╥я─п╣я┬п╣п╫п╦я▐ п╨п╬я┌п╬я─п╬пЁп╬ п╡п╟п╪ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╬я┌я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟я┌я▄ sandwich.txt. п■п╩я▐ п╫п╟я┤п╟п╩п╟ п©п╬я│п╪п╬я┌я─п╦п╪ п╫п╟ я└п╟п╧п╩:

$ cat sandwich.txt
Top piece of bread
Mayonnaise
Lettuce
Tomato
Provolone
<<<<<<< .mine
Salami
Mortadella
Prosciutto
=======
Sauerkraut
Grilled Chicken
>>>>>>> .r2
Creole Mustard
Bottom piece of bread

п║я┌я─п╬п╨п╦, п╫п╟я┤п╦п╫п╟я▌я┴п╦п╣я│я▐ я│п╬ п╥п╫п╟п╨п╬п╪ б╚п╪п╣п╫я▄я┬п╣ я┤п╣п╪б╩, б╚я─п╟п╡п╫п╬б╩ п╦ б╚п╠п╬п╩я▄я┬п╣ я┤п╣п╪б╩, я▐п╡п╩я▐я▌я┌я│я▐ п╪п╟я─п╨п╣я─п╟п╪п╦ п╨п╬п╫я└п╩п╦п╨я┌п╟. п÷п╣я─п╣п╢ я│п╩п╣п╢я┐я▌я┴п╣п╧ я└п╦п╨я│п╟я├п╦п╣п╧ п╡п╟п╪ п╫я┐п╤п╫п╬ п╠я┐п╢п╣я┌ я┐п╠п╣п╢п╦я┌я▄я│я▐, я┤я┌п╬ п╬п╫п╦ я┐п╢п╟п╩п╣п╫я▀ п╦п╥ я└п╟п╧п╩п╟. п╒п╣п╨я│я┌ п╪п╣п╤п╢я┐ п©п╣я─п╡я▀п╪п╦ п╢п╡я┐п╪я▐ п╪п╟я─п╨п╣я─п╟п╪п╦ я│п╬я│я┌п╬п╦я┌ п╦п╥ п╡п╟я┬п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡ п╨п╬п╫я└п╩п╦п╨я┌я┐я▌я┴п╣п╧ п╬п╠п╩п╟я│я┌п╦:

<<<<<<< .mine
Salami
Mortadella
Prosciutto
=======

п╒п╣п╨я│я┌ п╪п╣п╤п╢я┐ п╡я┌п╬я─я▀п╪ п╦ я┌я─п╣я┌я▄п╦п╪ п╪п╟я─п╨п╣я─п╬п╪ п╨п╬п╫я└п╩п╦п╨я┌п╟ Б─■ я█я┌п╬ я┌п╣п╨я│я┌ п╦п╥ я└п╦п╨я│п╟я├п╦п╦ п║п╟п╩п╩п╦:

=======
Sauerkraut
Grilled Chicken
>>>>>>> .r2

п║п╨п╬я─п╣п╣ п╡я│п╣пЁп╬ п╡я▀ п╫п╣ п╥п╟я┘п╬я┌п╦я┌п╣ п©я─п╬я│я┌п╬ я┐п╢п╟п╩п╦я┌я▄ п╪п╟я─п╨п╣я─я▀ п╨п╬п╫я└п╩п╦п╨я┌п╟ п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я│п╢п╣п╩п╟п╫п╫я▀п╣ п║п╟п╩п╩п╦, Б─■ п╬п╫п╟ я┐п╤п╟я│п╫п╬ я┐п╢п╦п╡п╦я┌я│я▐, п╨п╬пЁп╢п╟ п╢п╬п╧п╢п╣я┌ п╢п╬ я│п╟п╫п╢п╡п╦я┤п╟ п╦ п╫п╣ я┐п╡п╦п╢п╦я┌ я┌п╬пЁп╬, я┤я┌п╬ п╬п╤п╦п╢п╟п╩п╟. п╜я┌п╬ п╨п╟п╨ я─п╟п╥ я┌п╬я┌ я│п╩я┐я┤п╟п╧, п╨п╬пЁп╢п╟ п╡я▀ я│п╫п╦п╪п╟п╣я┌п╣ я┌я─я┐п╠п╨я┐ п╦п╩п╦ п©п╣я─п╣я│п╣п╨п╟п╣я┌п╣ п╬я└п╦я│ п╦ п╬п╠я┼я▐я│п╫я▐п╣я┌п╣ п║п╟п╩п╩п╦, я┤я┌п╬ п╫п╣ п╪п╬п╤п╣я┌п╣ п©п╬п╩я┐я┤п╦я┌я▄ п╦п╥ п╦я┌п╟п╩я▄я▐п╫я│п╨п╬пЁп╬ пЁп╟я│я┌я─п╬п╫п╬п╪п╟ п╨п╡п╟я┬п╣п╫я┐я▌ п╨п╟п©я┐я│я┌я┐. [11] п÷п╬я│п╩п╣ я┌п╬пЁп╬, п╨п╟п╨ п╡я▀ я│п╬пЁп╩п╟я│я┐п╣я┌п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╫я┐п╤п╫п╬ п╠я┐п╢п╣я┌ п╡я▀п©п╬п╩п╫п╦я┌я▄ я└п╦п╨я│п╟я├п╦я▌. п■п╩я▐ я█я┌п╬пЁп╬ п╬я┌я─п╣п╢п╟п╨я┌п╦я─я┐п╧я┌п╣ п╡п╟я┬ я└п╟п╧п╩ п╦ я┐п╢п╟п╩п╦я┌п╣ п╪п╟я─п╨п╣я─я▀ п╨п╬п╫я└п╩п╦п╨я┌п╟.

Top piece of bread
Mayonnaise
Lettuce
Tomato
Provolone
Salami
Mortadella
Prosciutto
Creole Mustard
Bottom piece of bread

п╒п╣п©п╣я─я▄ п╡я▀п©п╬п╩п╫п╦я┌п╣ svn resolved, п╦ п╡я▀ пЁп╬я┌п╬п╡я▀ п╨ я└п╦п╨я│п╟я├п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧:

$ svn resolved sandwich.txt
$ svn commit -m "Go ahead and use my sandwich, discarding Sally's edits."

п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ я┌п╬, я┤я┌п╬ svn resolved, п╡ п╬я┌п╩п╦я┤п╦п╣ п╬я┌ п╠п╬п╩я▄я┬п╦п╫я│я┌п╡п╟ п╨п╬п╪п╟п╫п╢, я│ п╨п╬я┌п╬я─я▀п╪п╦ п╪я▀ п╦п╪п╣п╩п╦ п╢п╣п╩п╬ п╡ я█я┌п╬п╧ пЁп╩п╟п╡п╣, я┌я─п╣п╠я┐п╣я┌ п╟я─пЁя┐п╪п╣п╫я┌. п▓ п╩я▌п╠п╬п╪ я│п╩я┐я┤п╟п╣ п╠я┐п╢я▄я┌п╣ п╬я│я┌п╬я─п╬п╤п╫я▀ п╦ п╡я▀п©п╬п╩п╫я▐п╧я┌п╣ svn resolved я┌п╬пЁп╢п╟, п╨п╬пЁп╢п╟ п╡я▀ я┐п╠п╣п╤п╢п╣п╫я▀, я┤я┌п╬ п╦я│п©я─п╟п╡п╦п╩п╦ п╨п╬п╫я└п╩п╦п╨я┌ п╡ я└п╟п╧п╩п╣. п÷п╬я│п╩п╣ я┌п╬пЁп╬ п╨п╟п╨ п╡я─п╣п╪п╣п╫п╫я▀п╣ я└п╟п╧п╩я▀ п╠я┐п╢я┐я┌ я┐п╢п╟п╩п╣п╫я▀, Subversion п©п╬п╥п╡п╬п╩п╦я┌ п╡п╟п╪ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ я└п╟п╧п╩, п╢п╟п╤п╣ п╣я│п╩п╦ п╬п╫ п╡я│п╣ п╣я┴п╣ я│п╬п╢п╣я─п╤п╦я┌ п╪п╟я─п╨п╣я─я▀ п╨п╬п╫я└п╩п╦п╨я┌п╟.

п∙я│п╩п╦ п╡я▀ п╦я│п©я▀я┌я▀п╡п╟п╣я┌п╣ п╥п╟я┌я─я┐п╢п╫п╣п╫п╦я▐ п©я─п╦ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦п╦ п╨п╬п╫я└п╩п╦п╨я┌я┐я▌я┴п╣пЁп╬ я└п╟п╧п╩п╟, п╡я│п╣пЁп╢п╟ п╪п╬п╤п╫п╬ п╬п╠я─п╟я┌п╦я┌я▄я│я▐ п╨ я┌п╣п╪ я┌я─п╣п╪ я└п╟п╧п╩п╟п╪, п╨п╬я┌п╬я─я▀п╣ Subversion я│п╬п╥п╢п╟п╣я┌ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ Б─■ п╡п╨п╩я▌я┤п╟я▐ п╡п╟я┬ я└п╟п╧п╩ п╡ я┌п╬п╪ п╡п╦п╢п╣, п╡ п╨п╟п╨п╬п╪ п╬п╫ п╠я▀п╩ п╢п╬ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐. п■п╩я▐ п╟п╫п╟п╩п╦п╥п╟ я█я┌п╦я┘ я┌я─п╣я┘ я└п╟п╧п╩п╬п╡ п╡я▀ п╢п╟п╤п╣ п╪п╬п╤п╣я┌п╣ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п©я─п╬пЁя─п╟п╪п╪п╟п╪п╦ п╢п╩я▐ я│п╩п╦я▐п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╬я┌ я│я┌п╬я─п╬п╫п╫п╦я┘ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡.

п п╬п©п╦я─п╬п╡п╟п╫п╦п╣ я└п╟п╧п╩п╟ п©п╬п╡п╣я─я┘ п╡п╟я┬п╣пЁп╬ я─п╟п╠п╬я┤п╣пЁп╬ я└п╟п╧п╩п╟

п∙я│п╩п╦ п╡я▀ п©п╬п╩я┐я┤п╦п╩п╦ п╨п╬п╫я└п╩п╦п╨я┌ п╦ я─п╣я┬п╦п╩п╦ п╬я┌п╨п╟п╥п╟я┌я▄я│я▐ п╬я┌ я│п╡п╬п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧, п╡я▀ п╪п╬п╤п╣я┌п╣ п©я─п╬я│я┌п╬ я│п╨п╬п©п╦я─п╬п╡п╟я┌я▄ п╬п╢п╦п╫ п╦п╥ п╡я─п╣п╪п╣п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡, я│п╬п╥п╢п╟п╫п╫я▀я┘ Subversion, п©п╬п╡п╣я─я┘ я└п╟п╧п╩п╟ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦:

$ svn update
C  sandwich.txt
Updated to revision 2.
$ ls sandwich.*
sandwich.txt  sandwich.txt.mine  sandwich.txt.r2  sandwich.txt.r1
$ cp sandwich.txt.r2 sandwich.txt
$ svn resolved sandwich.txt

п≤я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ svn revert

п∙я│п╩п╦ п╡я▀ п©п╬п╩я┐я┤п╦п╩п╦ п╨п╬п╫я└п╩п╦п╨я┌ п╦, п©я─п╬п╟п╫п╟п╩п╦п╥п╦я─п╬п╡п╟п╡, я─п╣я┬п╦п╩п╦ п╬я┌п╠я─п╬я│п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦ п╫п╟я┤п╟я┌я▄ я│п╫п╟я┤п╟п╩п╟, п©я─п╬я│я┌п╬ п╬я┌п╪п╣п╫п╦я┌п╣ п╡п╟я┬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐:

$ svn revert sandwich.txt
Reverted 'sandwich.txt'
$ ls sandwich.*
sandwich.txt

п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣, я┤я┌п╬ п©я─п╦ п╡п╬п╥п╡я─п╟я┌п╣ п╨п╬п╫я└п╩п╦п╨я┌я┐я▌я┴п╣пЁп╬ я└п╟п╧п╩п╟ п╨ п╦я│я┘п╬п╢п╫п╬п╪я┐ я│п╬я│я┌п╬я▐п╫п╦я▌ п╡п╟п╪ п╫п╣ п╫я┐п╤п╫п╬ п╡я▀п©п╬п╩п╫я▐я┌я▄ svn resolved.

п╓п╦п╨я│п╟я├п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧

п²п╟п╨п╬п╫п╣я├-я┌п╬! п▓я▀ п╥п╟п╨п╬п╫я┤п╦п╩п╦ я│ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦п╣п╪, я│п╩п╦п╩п╦ п╡я│п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│ я│п╣я─п╡п╣я─п╟ п╦ пЁп╬я┌п╬п╡я▀ п╨ я┌п╬п╪я┐, я┤я┌п╬п╠я▀ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ п╦я┘ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣.

п п╬п╪п╟п╫п╢п╟ svn commit п╬я┌п©я─п╟п╡п╩я▐п╣я┌ п╡я│п╣ п╡п╟я┬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п÷я─п╦ я└п╦п╨я│п╟я├п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╬п©п╦я│п╟я┌я▄ п╡п╟я┬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я┌п╣п╨я│я┌п╣ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦я▐. п⌡п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╣ п╠я┐п╢п╣я┌ п©я─п╦я│п╬п╣п╢п╦п╫п╣п╫п╬ п╨ я│п╬п╥п╢п╟п╫п╫п╬п╧ п©я─п╟п╡п╨п╣. п∙я│п╩п╦ п╡п╟я┬п╣ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╣ п╨п╬я─п╬я┌п╨п╬п╣, п╡я▀ п╪п╬п╤п╣я┌п╣ я┐п╨п╟п╥п╟я┌я▄ п╣пЁп╬ п╡ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╣, п╦я│п©п╬п╩я▄п╥я┐я▐ п╬п©я├п╦я▌ --message (п╦п╩п╦ -m):

$ svn commit --message "Corrected number of cheese slices."
Sending        sandwich.txt
Transmitting file data .
Committed revision 3.

п·п╢п╫п╟п╨п╬, п╣я│п╩п╦ п╡я▀ п╥п╟я─п╟п╫п╣п╣ я│п╬я│я┌п╟п╡п╩я▐п╩п╦ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╣ п╡ п©я─п╬я├п╣я│я│п╣ я─п╟п╠п╬я┌я▀, п╪п╬п╤п╫п╬ п©п╬п©я─п╬я│п╦я┌я▄ Subversion п╡п╥я▐я┌я▄ п╣пЁп╬ п╦п╥ я└п╟п╧п╩п╟, п©п╣я─п╣п╢п╟п╡ п╦п╪я▐ я█я┌п╬пЁп╬ я└п╟п╧п╩п╟ п╡ п©п╟я─п╟п╪п╣я┌я─п╣ --file:

$ svn commit --file logmsg
Sending        sandwich.txt
Transmitting file data .
Committed revision 4.

п∙я│п╩п╦ п╡я▀ п╫п╣ я┐п╨п╟п╤п╣я┌п╣ п╫п╦ п╬п©я├п╦п╦ --message, п╫п╦ п╬п©я├п╦п╦ --file, п╢п╩я▐ я│п╬я│я┌п╟п╡п╩п╣п╫п╦я▐ п╩п╬пЁ я│п╬п╬п╠я┴п╣п╫п╦я▐ Subversion п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ п╥п╟п©я┐я│я┌п╦я┌ п╡п╟я┬ п╩я▌п╠п╦п╪я▀п╧ я─п╣п╢п╟п╨я┌п╬я─ (я│п╪. editor-cmd п╡ я─п╟п╥п╢п╣п╩п╣ б╚Configб╩).

[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

п∙я│п╩п╦, п╫п╟п╠п╦я─п╟я▐ я│п╬п╬п╠я┴п╣п╫п╦п╣ п╡ я─п╣п╢п╟п╨я┌п╬я─п╣, п╡я▀ я─п╣я┬п╦я┌п╣ п╬я┌п╪п╣п╫п╦я┌я▄ я└п╦п╨я│п╟я├п╦я▌, я┌п╬ п╪п╬п╤п╣я┌п╣ п©я─п╬я│я┌п╬ п╡я▀п╧я┌п╦ п╦п╥ я─п╣п╢п╟п╨я┌п╬я─п╟ п╠п╣п╥ я│п╬я┘я─п╟п╫п╣п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п∙я│п╩п╦ п╡я▀ я┐п╤п╣ я│п╬я┘я─п╟п╫п╦п╩п╦ я│п╬п╬п╠я┴п╣п╫п╦п╣, п©я─п╬я│я┌п╬ я┐п╢п╟п╩п╦я┌п╣ я┌п╣п╨я│я┌ п╦ п╡я▀п©п╬п╩п╫п╦я┌п╣ я│п╬я┘я─п╟п╫п╣п╫п╦п╣ п╣я┴п╣ я─п╟п╥.

$ svn commit
Waiting for Emacs...Done

Log message unchanged or not specified
a)bort, c)ontinue, e)dit
a
$

п╔я─п╟п╫п╦п╩п╦я┴п╣, п╡ п╬п╠я┴п╣п╪-я┌п╬, п╫п╣ п╥п╫п╟п╣я┌ п╫п╦я┤п╣пЁп╬ п╬ я│п╪я▀я│п╩п╣ п╡п╟я┬п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧; п╬п╫п╬ я┌п╬п╩я▄п╨п╬ п╨п╬п╫я┌я─п╬п╩п╦я─я┐п╣я┌, я┤я┌п╬п╠я▀ п╫п╦п╨я┌п╬ п╫п╣ п╦п╥п╪п╣п╫п╦п╩ я┌п╣ п╤п╣ я└п╟п╧п╩я▀, я┤я┌п╬ п╦ п╡я▀. п∙я│п╩п╦ я█я┌п╬ п╡я│п╣-я┌п╟п╨п╦ я│п╩я┐я┤п╦п╩п╬я│я▄, п╡я│я▐ я└п╦п╨я│п╟я├п╦я▐ п╠я┐п╢п╣я┌ п╬я┌п╨п╩п╬п╫п╣п╫п╟, п╦ п╡я▀ п©п╬п╩я┐я┤п╦я┌п╣ я│п╬п╬п╠я┴п╣п╫п╦п╣ п╬ я┌п╬п╪, я┤я┌п╬ п╬п╢п╦п╫ п╦п╩п╦ п╫п╣я│п╨п╬п╩я▄п╨п╬ я└п╟п╧п╩п╬п╡ я┐я│я┌п╟я─п╣п╩п╦:

$ svn commit --message "Add another rule"
Sending        rules.txt
svn: Commit failed (details follow):
svn: Out of date: 'rules.txt' in transaction 'g'

п▓ я┌п╟п╨п╬п╪ я│п╩я┐я┤п╟п╣ п╡п╟п╪ п╫я┐п╤п╫п╬ п╡я▀п©п╬п╩п╫п╦я┌я▄ svn update, я─п╟п╥п╬п╠я─п╟я┌я▄я│я▐ я│п╬ п╡я│п╣п╪п╦ я│п╩п╦я▐п╫п╦я▐п╪п╦ п╦ п╨п╬п╫я└п╩п╦п╨я┌п╟п╪п╦ п╦ п©п╬п©я▀я┌п╟я┌я▄я│я▐ п╡я▀п©п╬п╩п╫п╦я┌я▄ я└п╦п╨я│п╟я├п╦я▌ я│п╫п╬п╡п╟.

п°я▀ я─п╟я│я│п╪п╬я┌я─п╣п╩п╦ п©я─п╬я│я┌п╣п╧я┬п╦п╧ я─п╟п╠п╬я┤п╦п╧ я├п╦п╨п╩ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ Subversion. п▓ Subversion я│я┐я┴п╣я│я┌п╡я┐п╣я┌ п╪п╫п╬пЁп╬ п╢я─я┐пЁп╦я┘ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╣п╧, п╨п╬я┌п╬я─я▀п╣ п╡я▀ п╪п╬п╤п╣я┌п╣ п©я─п╦п╪п╣п╫я▐я┌я▄ п╢п╩я▐ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╣п╧ п╦ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪; п╫п╬ п╬я┤п╣п╫я▄ п╪п╫п╬пЁп╬п╣ п╪п╬п╤п╫п╬ я│п╢п╣п╩п╟я┌я▄, п╦я│п©п╬п╩я▄п╥я┐я▐ п╦я│п╨п╩я▌я┤п╦я┌п╣п╩я▄п╫п╬ п╨п╬п╪п╟п╫п╢я▀, я─п╟я│я│п╪п╬я┌я─п╣п╫п╫я▀п╣ п╡ я█я┌п╬п╧ пЁп╩п╟п╡п╣.

п░п╫п╟п╩п╦п╥ п╦я│я┌п╬я─п╦п╦

п п╟п╨ п╪я▀ я┐п╤п╣ пЁп╬п╡п╬я─п╦п╩п╦, я┘я─п╟п╫п╦п╩п╦я┴п╣ п©п╬я┘п╬п╤п╣ п╫п╟ п╪п╟я┬п╦п╫я┐ п╡я─п╣п╪п╣п╫п╦. п·п╫п╬ я┘я─п╟п╫п╦я┌ п╥п╟п©п╦я│я▄ п╬ п╩я▌п╠п╬п╪ п╨п╬пЁп╢п╟-п╩п╦п╠п╬ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╫п╫п╬п╪ п╦п╥п╪п╣п╫п╣п╫п╦п╦ п╦ п©п╬п╥п╡п╬п╩я▐п╣я┌ п╡п╟п╪ п©я─п╬я│п╪п╬я┌я─п╣я┌я▄ п╣пЁп╬ я┘я─п╬п╫п╬п╩п╬пЁп╦я▌ п©я┐я┌п╣п╪ п╟п╫п╟п╩п╦п╥п╟ п©я─п╣п╢я▀п╢я┐я┴п╦я┘ п╡п╣я─я│п╦п╧ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡, п╟ я┌п╟п╨п╤п╣ п©я─п╦я│п╬п╣п╢п╦п╫п╣п╫п╫я▀я┘ п╨ п╫п╦п╪ п╪п╣я┌п╟п╢п╟п╫п╫я▀я┘. п·п╢п╫п╬п╧ п╨п╬п╪п╟п╫п╢п╬п╧ Subversion п╡я▀ п╪п╬п╤п╣я┌п╣ я│п╬п╥п╢п╟я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ (п╦п╩п╦ п╡п╬я│я│я┌п╟п╫п╬п╡п╦я┌я▄ я│я┐я┴п╣я│я┌п╡я┐я▌я┴я┐я▌) я┌п╬я┤п╫п╬ п╡ я┌п╬п╪ п╡п╦п╢п╣, п╡ п╨п╟п╨п╬п╪ п╬п╫п╟ п╠я▀п╩п╟ п╡ п╩я▌п╠п╬п╧ п╪п╬п╪п╣п╫я┌ п╡я─п╣п╪п╣п╫п╦ п╦п╩п╦ п©п╬я│п╩п╣ я└п╦п╨я│п╟я├п╦п╦ п©я─п╟п╡п╨п╦ я│ я┐п╨п╟п╥п╟п╫п╫я▀п╪ п╫п╬п╪п╣я─п╬п╪. п·п╢п╫п╟п╨п╬, п╦п╫п╬пЁп╢п╟ п╡п╟п╪ п©я─п╬я│я┌п╬ п╫я┐п╤п╫п╬ п╥п╟пЁп╩я▐п╫я┐я┌я▄ п╡ п©я─п╬я┬п╩п╬п╣, п╫п╬ п╫п╣ п╡п╬п╥п╡я─п╟я┴п╟я┌я▄я│я▐ п╡ п╫п╣пЁп╬.

п║я┐я┴п╣я│я┌п╡я┐п╣я┌ п╫п╣я│п╨п╬п╩я▄п╨п╬ п╨п╬п╪п╟п╫п╢, п╨п╬я┌п╬я─я▀п╣ п╪п╬пЁя┐я┌ п©я─п╣п╢п╬я│я┌п╟п╡п╦я┌я▄ п╡п╟п╪ я┘я─п╬п╫п╬п╩п╬пЁп╦я┤п╣я│п╨я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟:

svn log

п÷п╬п╨п╟п╥я▀п╡п╟п╣я┌ п╡п╟п╪ я─п╟п╥п╡п╣я─п╫я┐я┌я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌: п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦я▐, п©я─п╦я│п╬п╣п╢п╦п╫п╣п╫п╫я▀п╣ п╨ п©я─п╟п╡п╨п╟п╪, я│ я┐п╨п╟п╥п╟п╫п╦п╣п╪ п╢п╟я┌я▀ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╦ п╦я┘ п╟п╡я┌п╬я─п╬п╡, п╟ я┌п╟п╨п╤п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п©я┐я┌п╣п╧ п╨ я└п╟п╧п╩п╟п╪ п╡ п╨п╟п╤п╢п╬п╧ п©я─п╟п╡п╨п╣.

svn diff

п÷п╬п╨п╟п╥я▀п╡п╟п╣я┌ п©п╬п╢я─п╬п╠п╫п╬я│я┌п╦ я┌п╬пЁп╬, п╨п╟п╨ п╦п╥п╪п╣п╫п╦п╩я│я▐ я└п╟п╧п╩ я│ я┌п╣я┤п╣п╫п╦п╣п╪ п╡я─п╣п╪п╣п╫п╦.

svn cat

п╜я┌п╟ п╨п╬п╪п╟п╫п╢п╟ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╢п╩я▐ п©п╬п╩я┐я┤п╣п╫п╦я▐ п╬я┌п╢п╣п╩я▄п╫п╬пЁп╬ я└п╟п╧п╩п╟ п╡ я┌п╬п╪ п╡п╦п╢п╣, п╡ п╨п╟п╨п╬п╪ п╬п╫ п╠я▀п╩ п╡ п╨п╬п╫п╨я─п╣я┌п╫п╬п╧ я─п╣п╡п╦п╥п╦п╦ п╦ п╡я▀п╡п╬п╢п╟ п╣пЁп╬ п╫п╟ я█п╨я─п╟п╫.

svn list

п÷п╬п╨п╟п╥я▀п╡п╟п╣я┌ я│п©п╦я│п╬п╨ я└п╟п╧п╩п╬п╡ п╡ п╨п╟я┌п╟п╩п╬пЁп╣ п╢п╩я▐ п╩я▌п╠п╬п╧ я┐п╨п╟п╥п╟п╫п╫п╬п╧ п©я─п╟п╡п╨п╦.

svn log

п■п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ п╫п╟п╧я┌п╦ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬ я┘я─п╬п╫п╬п╩п╬пЁп╦п╦ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟, п╡п╬я│п©п╬п╩я▄п╥я┐п╧я┌п╣я│я▄ п╨п╬п╪п╟п╫п╢п╬п╧ svn log. svn log п©п╬п╨п╟п╥я▀п╡п╟п╣я┌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬ я┌п╬п╪, п╨я┌п╬ п╦п╥п╪п╣п╫я▐п╩ я└п╟п╧п╩ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁ, п╡ п╨п╟п╨п╬п╧ п©я─п╟п╡п╨п╣ я█я┌п╬ п©я─п╬п╦п╥п╬я┬п╩п╬, п╢п╟я┌я┐ п╦ п╡я─п╣п╪я▐ п©я─п╟п╡п╨п╦ п╦ п©я─п╦я│п╬п╣п╢п╦п╫п╣п╫п╫п╬п╣ п╨ я└п╦п╨я│п╟я├п╦п╦ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╣, п╣я│п╩п╦ п╬п╫п╬ п╢п╬я│я┌я┐п©п╫п╬.

$ svn log
------------------------------------------------------------------------
r3 | sally | Mon, 15 Jul 2002 18:03:46 -0500 | 1 line

Added include lines and corrected # of cheese slices.
------------------------------------------------------------------------
r2 | harry | Mon, 15 Jul 2002 17:47:57 -0500 | 1 line

Added main() methods.
------------------------------------------------------------------------
r1 | sally | Mon, 15 Jul 2002 17:40:08 -0500 | 1 line

Initial import
------------------------------------------------------------------------

п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ я┌п╬, я┤я┌п╬ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╩п╬пЁ я│п╬п╬п╠я┴п╣п╫п╦я▐ п╡я▀п╡п╬п╢я▐я┌я│я▐ п╡ п╬п╠я─п╟я┌п╫п╬п╪ я┘я─п╬п╫п╬п╩п╬пЁп╦я┤п╣я│п╨п╬п╪ п©п╬я─я▐п╢п╨п╣. п∙я│п╩п╦ п╡п╟п╪ п╫я┐п╤п╫п╬ я┐п╡п╦п╢п╣я┌я▄ п╢я─я┐пЁп╬п╧ п╢п╦п╟п©п╟п╥п╬п╫ п©я─п╟п╡п╬п╨ п╡ п╥п╟я─п╟п╫п╣п╣ п╬п©я─п╣п╢п╣п╩п╣п╫п╫п╬п╪ п©п╬я─я▐п╢п╨п╣ п╦п╩п╦ я┌п╬п╩я▄п╨п╬ п╬п╢п╫я┐ п©я─п╟п╡п╨я┐, я┐п╨п╟п╤п╦я┌п╣ п©п╟я─п╟п╪п╣я┌я─ --revision (-r):

$ svn log --revision 5:19    # shows logs 5 through 19 in chronological order

$ svn log -r 19:5            # shows logs 5 through 19 in reverse order

$ svn log -r 8               # shows log for revision 8

п я─п╬п╪п╣ я┌п╬пЁп╬, п╪п╬п╤п╫п╬ п©я─п╬п╟п╫п╟п╩п╦п╥п╦я─п╬п╡п╟я┌я▄ п╦я│я┌п╬я─п╦я▌ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╧ п╬я┌п╢п╣п╩я▄п╫п╬пЁп╬ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟. п²п╟п©я─п╦п╪п╣я─:

$ svn log foo.c
Б─╕
$ svn log http://foo.com/svn/trunk/code/foo.c
Б─╕

п▓ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ п╠я┐п╢я┐я┌ п©п╬п╨п╟п╥п╟п╫я▀ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦я▐ я┌п╬п╩я▄п╨п╬ п╢п╩я▐ я┌п╣я┘ п©я─п╟п╡п╬п╨, п╡ п╨п╬я┌п╬я─я▀я┘ п╦п╥п╪п╣п╫я▐п╩я│я▐ я─п╟п╠п╬я┤п╦п╧ я└п╟п╧п╩ (п╦п╩п╦ URL).

п∙я│п╩п╦ п╡п╟п╪ п╫я┐п╤п╫п╬ п╣я┴п╣ п╠п╬п╩я▄я┬п╣ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╬ я└п╟п╧п╩п╣ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╣, я┌п╬ п╢п╩я▐ svn log п╣я│я┌я▄ п©п╟я─п╟п╪п╣я┌я─ --verbose (-v). п╒п╟п╨ п╨п╟п╨ Subversion п©п╬п╥п╡п╬п╩я▐п╣я┌ п©п╣я─п╣п╪п╣я┴п╟я┌я▄ п╦ п╨п╬п©п╦я─п╬п╡п╟я┌я▄ я└п╟п╧п╩я▀ п╦ п╨п╟я┌п╟п╩п╬пЁп╦, п╡п╟п╤п╫п╬ п╬я┌я│п╩п╣п╤п╦п╡п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п©я┐я┌п╣п╧ п╡ я└п╟п╧п╩п╬п╡п╬п╧ я│п╦я│я┌п╣п╪п╣. п÷п╬я█я┌п╬п╪я┐ п╡ я─п╣п╤п╦п╪п╣ я─п╟я│я┬п╦я─п╣п╫п╫п╬пЁп╬ п╡я▀п╡п╬п╢п╟ svn log п╡п╨п╩я▌я┤п╟п╣я┌ п©п╣я─п╣я┤п╣п╫я▄ п╦п╥п╪п╣п╫п╣п╫п╫я▀я┘ п╡ п©я─п╟п╡п╨п╣ п©я┐я┌п╣п╧:

$ svn log -r 8 -v
------------------------------------------------------------------------
r8 | sally | 2002-07-14 08:15:29 -0500 | 1 line
Changed paths:
M /trunk/code/foo.c
M /trunk/code/bar.h
A /trunk/code/doc/README

Frozzled the sub-space winch.

------------------------------------------------------------------------

п я─п╬п╪п╣ я┌п╬пЁп╬, svn log п╦п╪п╣п╣я┌ п©п╟я─п╟п╪п╣я┌я─ --quiet (-q), я│п╬п╨я─п╟я┴п╟я▌я┴п╦п╧ п╩п╬пЁ я│п╬п╬п╠я┴п╣п╫п╦п╣. п÷я─п╦ п╣пЁп╬ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╦ я│ --verbose п╡я▀п╢п╟я▌я┌я│я▐ я┌п╬п╩я▄п╨п╬ п╦п╪п╣п╫п╟ п╦п╥п╪п╣п╫п╣п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡.

svn diff

п═п╟п╫п╣п╣ п╪я▀ я┐п╤п╣ п©п╬п╥п╫п╟п╨п╬п╪п╦п╩п╦я│я▄ я│ svn diff Б─■ я█я┌п╟ п╨п╬п╪п╟п╫п╢п╟ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌ я─п╟п╥п╩п╦я┤п╦я▐ я└п╟п╧п╩п╟ п╡ п╣п╢п╦п╫п╬п╪ я└п╬я─п╪п╟я┌п╣ п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫п╦я▐ я─п╟п╥п╩п╦я┤п╦п╧; п╬п╫п╟ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬ п╠я▀ п©п╬п╨п╟п╥п╟я┌я▄ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╡п╫п╣я│п╣п╫п╫я▀п╣ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, п©п╣я─п╣п╢ п╦я┘ я└п╦п╨я│п╟я├п╦п╣п╧ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣.

п▓п╬п╬п╠я┴п╣, я│я┐я┴п╣я│я┌п╡я┐п╣я┌ я┌я─п╦ п╡п╬п╥п╪п╬п╤п╫я▀я┘ п╡п╟я─п╦п╟п╫я┌п╟ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ svn diff:

  • п░п╫п╟п╩п╦п╥ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧

  • п║я─п╟п╡п╫п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪

  • п║я─п╟п╡п╫п╣п╫п╦п╣ я┘я─п╟п╫п╦п╩п╦я┴п╟ я│ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪

п░п╫п╟п╩п╦п╥ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧

п п╟п╨ п╪я▀ я┐п╤п╣ п╥п╫п╟п╣п╪, п╥п╟п©я┐я│п╨ svn diff п╠п╣п╥ п©п╟я─п╟п╪п╣я┌я─п╬п╡ я│я─п╟п╡п╫п╦п╡п╟п╣я┌ я─п╟п╠п╬я┤п╦п╣ я└п╟п╧п╩я▀ я│ п╨я█я┬п╦я─п╬п╡п╟п╫п╫я▀п╪п╦ п╡ .svn б╚п©п╣я─п╡п╬п╫п╟я┤п╟п╩я▄п╫я▀п╪п╦б╩ п╨п╬п©п╦я▐п╪п╦:

$ svn diff
Index: rules.txt
===================================================================
--- rules.txt (revision 3)
+++ rules.txt (working copy)
@@ -1,4 +1,5 @@
 Be kind to others
 Freedom = Responsibility
 Everything in moderation
-Chew with your mouth open
+Chew with your mouth closed
+Listen when others are speaking
$

п║я─п╟п╡п╫п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪

п∙я│п╩п╦ п╡ --revision (-r) я┐п╨п╟п╥п╟п╫ п╬п╢п╦п╫ п╫п╬п╪п╣я─, я┌п╬ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ я│я─п╟п╡п╫п╦п╡п╟п╣я┌я│я▐ я│ я┐п╨п╟п╥п╟п╫п╫п╬п╧ п©я─п╟п╡п╨п╬п╧ я┘я─п╟п╫п╦п╩п╦я┴п╟.

$ svn diff --revision 3 rules.txt
Index: rules.txt
===================================================================
--- rules.txt (revision 3)
+++ rules.txt (working copy)
@@ -1,4 +1,5 @@
 Be kind to others
 Freedom = Responsibility
 Everything in moderation
-Chew with your mouth open
+Chew with your mouth closed
+Listen when others are speaking
$

п║я─п╟п╡п╫п╣п╫п╦п╣ я┘я─п╟п╫п╦п╩п╦я┴п╟ я│ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪

п∙я│п╩п╦ я┤п╣я─п╣п╥ --revision (-r) п©п╣я─п╣п╢п╟я▌я┌я│я▐ п╢п╡п╣ п©я─п╟п╡п╨п╦, я─п╟п╥п╢п╣п╩п╣п╫п╫я▀п╣ п╢п╡п╬п╣я┌п╬я┤п╦п╣п╪, я┌п╬ п╫п╣п©п╬я│я─п╣п╢я│я┌п╡п╣п╫п╫п╬ я│я─п╟п╡п╫п╦п╡п╟я▌я┌я│я▐ п╢п╡п╣ п©я─п╟п╡п╨п╦.

$ svn diff --revision 2:3 rules.txt
Index: rules.txt
===================================================================
--- rules.txt (revision 2)
+++ rules.txt (revision 3)
@@ -1,4 +1,4 @@
 Be kind to others
-Freedom = Chocolate Ice Cream
+Freedom = Responsibility
 Everything in moderation
 Chew with your mouth open
$

svn diff п╪п╬п╤п╫п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╫п╣ я┌п╬п╩я▄п╨п╬ п╢п╩я▐ я│я─п╟п╡п╫п╣п╫п╦я▐ я└п╟п╧п╩п╬п╡, п©я─п╦я│я┐я┌я│я┌п╡я┐я▌я┴п╦я┘ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п∙я│п╩п╦ п╡я▀ я┐п╨п╟п╤п╣я┌п╣ п╡ п╨п╟я┤п╣я│я┌п╡п╣ п╟я─пЁя┐п╪п╣п╫я┌п╟ URL, я┌п╬ я│п╪п╬п╤п╣я┌п╣ п╟п╫п╟п╩п╦п╥п╦я─п╬п╡п╟я┌я▄ я─п╟п╥п╩п╦я┤п╦я▐ п╪п╣п╤п╢я┐ я█п╩п╣п╪п╣п╫я┌п╟п╪п╦, п╢п╟п╤п╣ п╫п╣ п╦п╪п╣я▐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п╜я┌п╬ п©п╬п╩п╣п╥п╫п╬ п╡ я│п╩я┐я┤п╟п╣, п╣я│п╩п╦ п╡я▀ я┘п╬я┌п╦я┌п╣ п©я─п╬п╡п╣я─п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я└п╟п╧п╩п╟ я┌п╬пЁп╢п╟, п╨п╬пЁп╢п╟ я┐ п╡п╟я│ п╫п╣я┌ п╣пЁп╬ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╫п╟ п╩п╬п╨п╟п╩я▄п╫п╬п╧ п╪п╟я┬п╦п╫п╣:

$ svn diff --revision 4:5 http://svn.red-bean.com/repos/example/trunk/text/rules.txt
Б─╕
$

svn cat

п∙я│п╩п╦ п╡я▀ я┘п╬я┌п╦я┌п╣ п©я─п╬п╟п╫п╟п╩п╦п╥п╦я─п╬п╡п╟я┌я▄ я─п╟п╫п╫п╦п╣ п╡п╣я─я│п╦п╦ я└п╟п╧п╩п╟, п╟ п╫п╣ я─п╟п╥п╩п╦я┤п╦я▐ п╪п╣п╤п╢я┐ п╢п╡я┐п╪я▐ я└п╟п╧п╩п╟п╪п╦, п╪п╬п╤п╫п╬ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ svn cat:

$ svn cat --revision 2 rules.txt
Be kind to others
Freedom = Chocolate Ice Cream
Everything in moderation
Chew with your mouth open
$

п≤п╩п╦ п╡я▀ п╪п╬п╤п╣я┌п╣ п©п╣я─п╣п╫п╟п©я─п╟п╡п╦я┌я▄ п╡я▀п╡п╬п╢ п©я─я▐п╪п╬ п╡ я└п╟п╧п╩:

$ svn cat --revision 2 rules.txt > rules.txt.v2
$

п²п╟п╡п╣я─п╫п╬п╣, п╡п╟п╪ п╦п╫я┌п╣я─п╣я│п╫п╬, п©п╬я┤п╣п╪я┐ п╢п╩я▐ п╥п╟п╪п╣п╫я▀ я└п╟п╧п╩п╟ я│я┌п╟я─п╬п╧ п©я─п╟п╡п╨п╬п╧ п╪я▀ п╫п╣ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟п╩п╦я│я▄ svn update --revision. п∙я│я┌я▄ п╫п╣я│п╨п╬п╩я▄п╨п╬ п©я─п╦я┤п╦п╫, п©п╬ п╨п╬я┌п╬я─я▀п╪ п╫п╟п╪ п╬п╨п╟п╥п╟п╩п╬я│я▄ п©я─п╣п╢п©п╬я┤я┌п╦я┌п╣п╩я▄п╫п╣п╣ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ svn cat.

п▓п╬-п©п╣я─п╡я▀я┘, п╡я▀ п╪п╬пЁп╩п╦ п╥п╟я┘п╬я┌п╣я┌я▄ я┐п╡п╦п╢п╣я┌я▄ я─п╟п╥п╩п╦я┤п╦я▐ п╪п╣п╤п╢я┐ п╢п╡я┐п╪я▐ п©я─п╟п╡п╨п╟п╪п╦ п╬п╢п╫п╬пЁп╬ я└п╟п╧п╩п╟, п╦я│п©п╬п╩я▄п╥я┐я▐ п╡п╫п╣я┬п╫я▌я▌ п©я─п╬пЁя─п╟п╪п╪я┐ п©я─п╬я│п╪п╬я┌я─п╟ я─п╟п╥п╩п╦я┤п╦п╧ (п╡п╬п╥п╪п╬п╤п╫п╬, я│ пЁя─п╟я└п╦я┤п╣я│п╨п╦п╪ п╦п╫я┌п╣я─я└п╣п╧я│п╬п╪ п╦п╩п╦ я─п╟п╠п╬я┌п╟я▌я┴я┐я▌ я│ я└п╟п╧п╩п╟п╪п╦ я┌п╟п╨п╦я┘ я└п╬я─п╪п╟я┌п╬п╡, п╢п╩я▐ п╨п╬я┌п╬я─я▀я┘ п╣п╢п╦п╫я▀п╧ я└п╬я─п╪п╟я┌ п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫п╦я▐ я─п╟п╥п╩п╦я┤п╦п╧ п╫п╣ п©я─п╦пЁп╬п╢п╣п╫). п▓ я█я┌п╬п╪ я│п╩я┐я┤п╟п╣ п╡п╟п╪ п╫я┐п╤п╫п╬ п╡я▀я┌п╟я┴п╦я┌я▄ п╨п╬п©п╦я▌ я│я┌п╟я─п╬п╧ п©я─п╟п╡п╨п╦, п©п╣я─п╣п╫п╟п©я─п╟п╡п╦я┌я▄ п╣п╣ п╡ я└п╟п╧п╩ п╦ п©п╣я─п╣п╢п╟я┌я▄ я█я┌п╬я┌ я└п╟п╧п╩ п╡п╪п╣я│я┌п╣ я│ я└п╟п╧п╩п╬п╪ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡п╫п╣я┬п╫п╣п╧ п©я─п╬пЁя─п╟п╪п╪п╣ п©я─п╬я│п╪п╬я┌я─п╟ я─п╟п╥п╩п╦я┤п╦п╧.

п▓п╬-п╡я┌п╬я─я▀я┘, п╦п╫п╬пЁп╢п╟ п©я─п╬я┴п╣ п©п╬я│п╪п╬я┌я─п╣я┌я▄ п©п╬п╩п╫я┐я▌ я│я┌п╟я─я┐я▌ п╡п╣я─я│п╦я▌ я└п╟п╧п╩п╟ я┤п╣п╪ я─п╟п╥п╩п╦я┤п╦я▐ п╪п╣п╤п╢я┐ п╫п╦п╪ п╦ п╣пЁп╬ п╢я─я┐пЁп╬п╧ п©я─п╟п╡п╨п╬п╧.

svn list

п п╬п╪п╟п╫п╢п╟ svn list п©п╬п╨п╟п╥я▀п╡п╟п╣я┌ я│п╬п╢п╣я─п╤п╦п╪п╬п╣ п╨п╟я┌п╟п╩п╬пЁп╟ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣, п©я─п╦ я█я┌п╬п╪ п╫п╣ п╥п╟п╨п╟я┤п╦п╡п╟я▐ п╣пЁп╬ п╫п╟ п╩п╬п╨п╟п╩я▄п╫я┐я▌ п╪п╟я┬п╦п╫я┐:

$ svn list http://svn.collab.net/repos/svn
README
branches/
clients/
tags/
trunk/

п∙я│п╩п╦ п╡п╟п╪ п╫я┐п╤п╫п╟ п╠п╬п╩п╣п╣ п©п╬п╢я─п╬п╠п╫п╟я▐ п╦п╫я└п╬я─п╪п╟я├п╦я▐, п╡п╬я│п©п╬п╩я▄п╥я┐п╧я┌п╣я│я▄ я└п╩п╟пЁп╬п╪ --verbose (-v), п╦ п╡я▀ я┐п╡п╦п╢п╣я┌п╣ я┤я┌п╬-я┌п╬ п©п╬п╢п╬п╠п╫п╬п╣:

$ svn list --verbose http://svn.collab.net/repos/svn
   2755 harry          1331 Jul 28 02:07 README
   2773 sally               Jul 29 15:07 branches/
   2769 sally               Jul 29 12:07 clients/
   2698 harry               Jul 24 18:07 tags/
   2785 sally               Jul 29 19:07 trunk/

п п╬п╩п╬п╫п╨п╦ п©п╬п╨п╟п╥я▀п╡п╟я▌я┌ п©я─п╟п╡п╨я┐, п╡ п╨п╬я┌п╬я─п╬п╧ я└п╟п╧п╩ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁ п©п╬я│п╩п╣п╢п╫п╦п╧ я─п╟п╥ п╦п╥п╪п╣п╫я▐п╩п╦я│я▄, п╦п╪я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐, п╡п╫п╬я│п╦п╡я┬п╣пЁп╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я─п╟п╥п╪п╣я─ (п╣я│п╩п╦ я█я┌п╬ я└п╟п╧п╩), п╢п╟я┌я┐ п©п╬я│п╩п╣п╢п╫п╣пЁп╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦ п╦п╪я▐ я█п╩п╣п╪п╣п╫я┌п╟.

п≈п╟п╨п╩я▌я┤п╦я┌п╣п╩я▄п╫п╬п╣ я│п╩п╬п╡п╬ п╬п╠ п╦я│я┌п╬я─п╦п╦

п▓ п╢п╬п©п╬п╩п╫п╣п╫п╦п╣ п╨п╬ п╡я│п╣п╪ я┐п©п╬п╪я▐п╫я┐я┌я▀п╪ п╡я▀я┬п╣ п╨п╬п╪п╟п╫п╢п╟п╪, п╪п╬п╤п╫п╬ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ svn update п╦ svn checkout я│ п©п╟я─п╟п╪п╣я┌я─п╬п╪ --revision, я┤я┌п╬п╠я▀ п©п╣я─п╣п╪п╣я│я┌п╦я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ б╚п╫п╟п╥п╟п╢ п╡п╬ п╡я─п╣п╪п╣п╫п╦б╩[12]:

$ svn checkout --revision 1729 # Checks out a new working copy at r1729
Б─╕
$ svn update --revision 1729 # Updates an existing working copy to r1729
Б─╕

п■я─я┐пЁп╦п╣ п©п╬п╩п╣п╥п╫я▀п╣ п╨п╬п╪п╟п╫п╢я▀

п╔п╬я┌я▐ я█я┌п╦ п╨п╬п╪п╟п╫п╢я▀ п╦я│п©п╬п╩я▄п╥я┐я▌я┌я│я▐ п╫п╣ я┌п╟п╨ я┤п╟я│я┌п╬, п╨п╟п╨ я─п╟я│я│п╪п╬я┌я─п╣п╫п╫я▀п╣ я─п╟п╫п╣п╣ п╡ я█я┌п╬п╧ пЁп╩п╟п╡п╣, п╦п╫п╬пЁп╢п╟ п╬п╫п╦ п╡п╟п╪ п╡я│п╣-я┌п╟п╨п╦ п©я─п╦пЁп╬п╢я▐я┌я│я▐.

svn cleanup

п п╬пЁп╢п╟ Subversion п╦п╥п╪п╣п╫я▐п╣я┌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ (п╦п╩п╦ п╩я▌п╠я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╡ п╬п╠п╩п╟я│я┌п╦ .svn), п╬п╫п╟ п©я▀я┌п╟п╣я┌я│я▐ п╢п╣п╩п╟я┌я▄ я█я┌п╬ п╨п╟п╨ п╪п╬п╤п╫п╬ п╠п╬п╩п╣п╣ п╬я│я┌п╬я─п╬п╤п╫п╬. п÷п╣я─п╣п╢ п╦п╥п╪п╣п╫п╣п╫п╦п╣п╪ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ Subversion п╥п╟п©п╦я│я▀п╡п╟п╣я┌ я│п╡п╬п╦ п╫п╟п╪п╣я─п╣п╫п╦я▐ п╡ п╩п╬пЁ-я└п╟п╧п╩. п≈п╟я┌п╣п╪ п╢п╩я▐ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ п╥п╟п©я─п╬я┬п╣п╫п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╬п╫п╟ п╡я▀п©п╬п╩п╫я▐п╣я┌ п╨п╬п╪п╟п╫п╢я▀ п╦п╥ п╩п╬пЁ-я└п╟п╧п╩п╟, я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟я▐ п╠п╩п╬п╨п╦я─п╬п╡п╨я┐ я┌п╬п╧ я┤п╟я│я┌п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, я│ п╨п╬я┌п╬я─п╬п╧ я─п╟п╠п╬я┌п╟п╣я┌ Б─■ я█я┌п╬ п╢п╣п╩п╟п╣я┌я│я▐ п╢п╩я▐ п©я─п╣п╢п╬я┌п╡я─п╟я┴п╣п╫п╦я▐ я─п╟п╠п╬я┌я▀ п╢я─я┐пЁп╦я┘ Subversion-п╨п╩п╦п╣п╫я┌п╬п╡ я│ я┌п╬п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╣п╧, п╨п╬я┌п╬я─п╟я▐ п╫п╟я┘п╬п╢п╦я┌я│я▐ п╡ п©я─п╬п╪п╣п╤я┐я┌п╬я┤п╫п╬п╪ я│п╬я│я┌п╬я▐п╫п╦п╦. п÷п╬я│п╩п╣ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ п╥п╟п©я─п╬я┬п╣п╫я▀я┘ п╢п╣п╧я│я┌п╡п╦п╧ Subversion я┐п╢п╟п╩я▐п╣я┌ п╩п╬пЁ я└п╟п╧п╩. п░я─я┘п╦я┌п╣п╨я┌я┐я─п╫п╬ я█я┌п╬ п╫п╟п©п╬п╪п╦п╫п╟п╣я┌ п╤я┐я─п╫п╟п╩п╦я─я┐п╣п╪я┐я▌ я└п╟п╧п╩п╬п╡я┐я▌ я│п╦я│я┌п╣п╪я┐. п∙я│п╩п╦ я─п╟п╠п╬я┌п╟ Subversion п╠я▀п╩п╟ п©я─п╣я─п╡п╟п╫п╟ (п╡ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ я┌п╬пЁп╬, я┤я┌п╬ п©я─п╬я├п╣я│я│ п╠я▀п╩ я┐п╠п╦я┌ п╦п╩п╦, п╫п╟п©я─п╦п╪п╣я─, п╦п╥-п╥п╟ п╪п╟я┬п╦п╫п╫п╬пЁп╬ я│п╠п╬я▐), п╩п╬пЁ я└п╟п╧п╩я▀ п╬я│я┌п╟я▌я┌я│я▐ п╫п╟ п╢п╦я│п╨п╣. п÷п╣я─п╣п╥п╟п©я┐я│я┌п╦п╡ п╡я▀п©п╬п╩п╫п╣п╫п╦п╣ п╩п╬пЁ я└п╟п╧п╩п╬п╡, Subversion п╪п╬п╤п╣я┌ п╥п╟п╡п╣я─я┬п╦я┌я▄ п©я─п╣п╢п╡п╟я─п╦я┌п╣п╩я▄п╫п╬ п╫п╟я┤п╟я┌я▀п╣ п╬п©п╣я─п╟я├п╦п╦, п╦ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ я│п╫п╬п╡п╟ п╡п╣я─п╫п╣я┌я│я▐ п╡ я│п╬пЁп╩п╟я│п╬п╡п╟п╫п╫п╬п╣ я│п╬я│я┌п╬я▐п╫п╦п╣.

п≤п╪п╣п╫п╫п╬ я█я┌п╬, я│п╬п╠я│я┌п╡п╣п╫п╫п╬, п╦ п╢п╣п╩п╟п╣я┌ svn cleanup: п╬п╫п╟ п╦я┴п╣я┌ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╦ п╡я▀п©п╬п╩п╫я▐п╣я┌ п╫п╣п╥п╟п╡п╣я─я┬п╣п╫п╫я▀п╣ п╩п╬пЁ-я└п╟п╧п╩я▀, я┐п╢п╟п╩я▐я▐ п©п╬ я┘п╬п╢я┐ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ п╠п╩п╬п╨п╦я─п╬п╡п╨п╦ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п∙я│п╩п╦ Subversion п╨п╬пЁп╢п╟-п╫п╦п╠я┐п╢я▄ пЁп╬п╡п╬я─п╦п╩п╟ п╡п╟п╪ п╬ я┌п╬п╪, я┤я┌п╬ я┤п╟я│я┌я▄ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ б╚п╥п╟п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╟б╩, я┌п╬ п╡п╟п╪ п╫я┐п╤п╫п╬ п╥п╟п©я┐я│я┌п╦я┌я▄ я█я┌я┐ п╨п╬п╪п╟п╫п╢я┐. п я─п╬п╪п╣ я┌п╬пЁп╬, svn status п©п╬п╨п╟п╤п╣я┌ п╢п╩я▐ п╥п╟п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╫я▀я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡ п╠я┐п╨п╡я┐ L:

$ svn status
  L    somedir
M      somedir/foo.c

$ svn cleanup
$ svn status
M      somedir/foo.c

п²п╣ п©я┐я┌п╟п╧я┌п╣ я█я┌п╦ п╠п╩п╬п╨п╦я─п╬п╡п╨п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│ п╬п╠я▀я┤п╫я▀п╪п╦ п╠п╩п╬п╨п╦я─п╬п╡п╨п╟п╪п╦, п╨п╬я┌п╬я─я▀п╣ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟я▌я┌ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ Subversion, п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╦п╣ п╪п╬п╢п╣п╩я▄ п╨п╬п╫п╨я┐я─п╣п╫я┌п╫п╬пЁп╬ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ б╚п╠п╩п╬п╨п╦я─п╬п╡п╨п╟-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я─п╟п╥п╠п╩п╬п╨п╦я─п╬п╡п╨п╟б╩; п╥п╟ п╠п╬п╩п╣п╣ п©п╬п╢я─п╬п╠п╫я▀п╪ п╬п©я─п╣п╢п╣п╩п╣п╫п╦п╣п╪ п╬п╠я─п╟я┌п╦я┌п╣я│я▄ п╨ Three meanings of б╚lockб╩

svn import

п п╬п╪п╟п╫п╢п╟ svn import Б─■ я█я┌п╬ п╠я▀я│я┌я─я▀п╧ я│п©п╬я│п╬п╠ я│п╨п╬п©п╦я─п╬п╡п╟я┌я▄ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬п╣ п╢п╣я─п╣п╡п╬ я└п╟п╧п╩п╬п╡ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣, cп╬п╥п╢п╟п╡п╟я▐ п©я─п╦ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╦.

$ svnadmin create /usr/local/svn/newrepos
$ svn import mytree file:///usr/local/svn/newrepos/some/project \
             -m "Initial import"
Adding         mytree/foo.c
Adding         mytree/bar.c
Adding         mytree/subdir
Adding         mytree/subdir/quux.h

Committed revision 1.

п▓ п©я─п╣п╢я▀п╢я┐я┴п╣п╪ п©я─п╦п╪п╣я─п╣ п╡я▀п©п╬п╩п╫я▐п╣я┌я│я▐ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣ я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ mytree п╡ п╨п╟я┌п╟п╩п╬пЁ some/project я┘я─п╟п╫п╦п╩п╦я┴п╟:

$ svn list file:///usr/local/svn/newrepos/some/project
bar.c
foo.c
subdir/

п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ я┌п╬, я┤я┌п╬ п©п╬я│п╩п╣ п╥п╟п╡п╣я─я┬п╣п╫п╦я▐ п╦п╪п©п╬я─я┌п╟ п╬я─п╦пЁп╦п╫п╟п╩я▄п╫п╬п╣ п╢п╣я─п╣п╡п╬ я└п╟п╧п╩п╬п╡ п╫п╣ п╨п╬п╫п╡п╣я─я┌п╦я─я┐п╣я┌я│я▐ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌. п╖я┌п╬п╠я▀ п╫п╟я┤п╟я┌я▄ я─п╟п╠п╬я┌п╟я┌я▄, п╡п╟п╪ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ я│п╬п╥п╢п╟я┌я▄ п╫п╬п╡я┐я▌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ (svn checkout) п╢п╣я─п╣п╡п╟ я└п╟п╧п╩п╬п╡.

п÷п╬п╢п╡п╬п╢я▐ п╦я┌п╬пЁп╦

п  п╫п╟я│я┌п╬я▐я┴п╣п╪я┐ п╪п╬п╪п╣п╫я┌я┐ п╪я▀ я─п╟я│я│п╪п╬я┌я─п╣п╩п╦ п╠п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ п╨п╬п╪п╟п╫п╢ п╨п╩п╦п╣п╫я┌п╟ Subversion, п╥п╟ п╦я│п╨п╩я▌я┤п╣п╫п╦п╣п╪ я┌п╣я┘, п╨п╬я┌п╬я─я▀п╣ п©я─п╣п╢п╫п╟п╥п╫п╟я┤п╣п╫я▀ п╢п╩я▐ я─п╟п╠п╬я┌я▀ я│ п╡п╣я┌п╡п╩п╣п╫п╦я▐п╪п╦ п╦ я│п╩п╦я▐п╫п╦я▐п╪п╦ (я│п╪. п⌠п╩п╟п╡п╟б═4, п▓п╣я┌п╡п╩п╣п╫п╦п╣ п╦ я│п╩п╦я▐п╫п╦п╣) п╦ я│п╡п╬п╧я│я┌п╡п╟п╪п╦ (я│п╪. б╚п║п╡п╬п╧я│я┌п╡п╟б╩). п я─п╬п╪п╣ я█я┌п╬пЁп╬, п╫п╟п╧п╢п╦я┌п╣ п╡я─п╣п╪я▐ п©я─п╬я│п╪п╬я┌я─п╣я┌я▄ п⌠п╩п╟п╡п╟б═9, п÷п╬п╩п╫п╬п╣ я│п©я─п╟п╡п╬я┤п╫п╬п╣ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п©п╬ Subversion, я┤я┌п╬п╠я▀ п©п╬п╩я┐я┤п╦я┌я▄ п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫п╦п╣ п╬п╠п╬ п╡я│п╣п╪ п╪п╫п╬пЁп╬п╬п╠я─п╟п╥п╦п╦ п╦п╪п╣я▌я┴п╦я┘я│я▐ я┐ Subversion п╨п╬п╪п╟п╫п╢ Б─■ п╦ п╬ я┌п╬п╪, п╨п╟п╨ я│ п╦я┘ п©п╬п╪п╬я┴я▄я▌ п╡я▀ п╪п╬п╤п╣я┌п╣ я┐п©я─п╬я│я┌п╦я┌я▄ я│п╡п╬я▌ я─п╟п╠п╬я┌я┐.




[8] п п╬п╫п╣я┤п╫п╬, п╫п╦я┤п╣пЁп╬ п©п╬п╩п╫п╬я│я┌я▄я▌ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╫п╣ я┐п╢п╟п╩я▐п╣я┌я│я▐ Б─■ я┐п╢п╟п╩п╣п╫п╦п╣ п╨п╟я│п╟п╣я┌я│я▐ я┌п╬п╩я▄п╨п╬ HEAD п©я─п╟п╡п╨п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟. п▓я▀ п╪п╬п╤п╣я┌п╣ п╡п╬я│я│я┌п╟п╫п╬п╡п╦я┌я▄ п╡я│п╣, я┤я┌п╬ п╡я▀ я┐п╢п╟п╩п╦п╩п╦, я│п╬п╥п╢п╟п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ (п╦п╩п╦ п╬п╠п╫п╬п╡п╦п╡ я│я┐я┴п╣я│я┌п╡я┐я▌я┴я┐я▌) п╫п╟ п╬я│п╫п╬п╡п╣ п╠п╬п╩п╣п╣ я─п╟п╫п╫п╣п╧ п©я─п╟п╡п╨п╦, я┤п╣п╪ я┌п╟, п╡ п╨п╬я┌п╬я─п╬п╧ п╡я▀ я┐п╢п╟п╩п╦п╩п╦ я█п╩п╣п╪п╣п╫я┌.

[9] Subversion п╦я│п©п╬п╩я▄п╥я┐п╣я┌ я│п╡п╬п╧ п╡п╫я┐я┌я─п╣п╫п╫п╦п╧ п╪п╣я┘п╟п╫п╦п╥п╪ п╬п╠п╫п╟я─я┐п╤п╣п╫п╦я▐ я─п╟п╥п╩п╦я┤п╦п╧, п╨п╬я┌п╬я─я▀п╧ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╢п╩я▐ п╡я▀п╡п╬п╢п╟ п╣п╢п╦п╫я▀п╧ я└п╬я─п╪п╟я┌ п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫п╦я▐ я─п╟п╥п╩п╦я┤п╦п╧. п∙я│п╩п╦ п╡я▀ я┘п╬я┌п╦я┌п╣ п©п╬п╩я┐я┤п╦я┌я▄ я─п╟п╥п╩п╦я┤п╦я▐ п╡ п╢я─я┐пЁп╬п╪ я└п╬я─п╪п╟я┌п╣, я┐п╨п╟п╤п╦я┌п╣ п╡п╫п╣я┬п╫я▌я▌ п©я─п╬пЁя─п╟п╪п╪я┐ п©п╬п╦я│п╨п╟ я─п╟п╥п╩п╦я┤п╦п╧, п╦я│п©п╬п╩я▄п╥я┐я▐ --diff-cmd п╦ п©п╣я─п╣п╢п╟п╡ п╩я▌п╠я▀п╣ п╟я─пЁя┐п╪п╣п╫я┌я▀, п╨п╬я┌п╬я─я▀п╣ п╡я▀ я┘п╬я┌п╦я┌п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄, п╡ п©п╟я─п╟п╪п╣я┌я─п╣ --extensions. п²п╟п©я─п╦п╪п╣я─, п╢п╩я▐ я┌п╬пЁп╬ я┤я┌п╬п╠я▀ я┐п╡п╦п╢п╣я┌я▄ п╨п╬п╫я┌п╣п╨я│я┌п╫я▀п╣ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я└п╟п╧п╩п╣ foo.c, п╦пЁп╫п╬я─п╦я─я┐я▐ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я┤п╦я│п╩п╣ п©я─п╬п╠п╣п╩п╬п╡, п╥п╟п©я┐я│я┌п╦я┌п╣ svn diff --diff-cmd /usr/bin/diff --extensions '-bc' foo.c.

[10] п▓я▀ п╪п╬п╤п╣я┌п╣ я┐п╢п╟п╩п╦я┌я▄ п╡я─п╣п╪п╣п╫п╫я▀п╣ я└п╟п╧п╩я▀ я│п╟п╪п╬я│я┌п╬я▐я┌п╣п╩я▄п╫п╬ Б─■ п╫п╬ я│я┌п╬п╦я┌ п╩п╦ я█я┌п╬ п╢п╣п╩п╟я┌я▄, п╣я│п╩п╦ п╪п╬п╤п╫п╬ п©п╣я─п╣п╩п╬п╤п╦я┌я▄ я█я┌я┐ я─п╟п╠п╬я┌я┐ п╫п╟ Subversion? п²п╟п╪ я┌п╟п╨ п╫п╣ п╨п╟п╤п╣я┌я│я▐.

[11] п░ п╣я│п╩п╦ п╡я▀ п╦я┘ п╬п╠ я█я┌п╬п╪ п©п╬п©я─п╬я│п╦я┌п╣, п╬п╫п╦ п╩п╦я┬я▄ п©п╬я│п╪п╣я▌я┌я│я▐ п╫п╟п╢ п╡п╟п╪п╦.

[12] п▓п╦п╢п╦я┌п╣? п°я▀ п╤п╣ пЁп╬п╡п╬я─п╦п╩п╦ п╡п╟п╪, я┤я┌п╬ Subversion Б─■ я█я┌п╬ п╪п╟я┬п╦п╫п╟ п╡я─п╣п╪п╣п╫п╦.

п⌠п╩п╟п╡п╟ 3. п÷я─п╬я└п╣я│я│п╦п╬п╫п╟п╩я▄п╫п╬п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ Subversion

п║п╬п╢п╣я─п╤п╟п╫п╦п╣

п║п©п╬я│п╬п╠я▀ п╬п╠п╬п╥п╫п╟я┤п╣п╫п╦я▐ п©я─п╟п╡п╬п╨
п п╩я▌я┤п╣п╡я▀п╣ я│п╩п╬п╡п╟ п©я─п╟п╡п╬п╨
п■п╟я┌я▀ п©я─п╟п╡п╬п╨
п║п╡п╬п╧я│я┌п╡п╟
п≈п╟я┤п╣п╪ п╫я┐п╤п╫я▀ я│п╡п╬п╧я│я┌п╡п╟?
п≤я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ я│п╡п╬п╧я│я┌п╡
п║п╡п╬п╧я│я┌п╡п╟ п╦ я─п╟п╠п╬я┤п╦п╧ я├п╦п╨п╩ Subversion
п░п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╟я▐ я┐я│я┌п╟п╫п╬п╡п╨п╟ я│п╡п╬п╧я│я┌п╡
п÷п╣я─п╣п╫п╬я│п╦п╪п╬я│я┌я▄ я└п╟п╧п╩п╬п╡
п╒п╦п© я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬ я└п╟п╧п╩п╟
п≤я│п©п╬п╩п╫п╦п╪п╬я│я┌я▄ я└п╟п╧п╩п╟
п║п╦п╪п╡п╬п╩я▀ п╨п╬п╫я├п╟ я│я┌я─п╬п╨п╦
п÷я─п╬п©я┐я│п╨ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡
п÷п╬п╢я│я┌п╟п╫п╬п╡п╨п╟ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡
Locking
Creating locks
Discovering locks
Breaking and stealing locks
Lock Communication
п▓п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦
п║я┌п╣я─п╤п╫п╣п╡я▀п╣ п╦ п╬п©п╣я─п╟я┌п╦п╡п╫я▀п╣ п©я─п╟п╡п╨п╦

п∙я│п╩п╦ п╡я▀ я┤п╦я┌п╟п╩п╦ я█я┌я┐ п╨п╫п╦пЁя┐ п©п╬я│п╩п╣п╢п╬п╡п╟я┌п╣п╩я▄п╫п╬, пЁп╩п╟п╡п╟ п╥п╟ пЁп╩п╟п╡п╬п╧, я┌п╬ п╨ п╫п╟я│я┌п╬я▐я┴п╣п╪я┐ п╪п╬п╪п╣п╫я┌я┐ п╢п╬п╩п╤п╫я▀ п╦п╪п╣я┌я▄ п╢п╬я│я┌п╟я┌п╬я┤п╫п╬ п╥п╫п╟п╫п╦п╧ п╢п╩я▐ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ я│ п©п╬п╪п╬я┴я▄я▌ Subversion-п╨п╩п╦п╣п╫я┌п╟ я┌п╦п©п╬п╡я▀я┘ п╬п©п╣я─п╟я├п╦п╧ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦. п▓я▀ я┐п╪п╣п╣я┌п╣ я│п╬п╥п╢п╟п╡п╟я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, п╥п╫п╟п╣я┌п╣, п╨п╟п╨ я│ п©п╬п╪п╬я┴я▄я▌ п╨п╬п╪п╟п╫п╢ svn commit п╦ svn update п╬я┌п©я─п╟п╡п╩я▐я┌я▄ п╦ п©п╬п╩я┐я┤п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐. п▓п╬п╥п╪п╬п╤п╫п╬, я┐ п╡п╟я│ я┐п╤п╣ п╢п╟п╤п╣ п╡я▀я─п╟п╠п╬я┌п╟п╩я│я▐ я─п╣я└п╩п╣п╨я│ п╠п╣я│я│п╬п╥п╫п╟я┌п╣п╩я▄п╫п╬пЁп╬ п╥п╟п©я┐я│п╨п╟ svn status. п▓я▀ пЁп╬я┌п╬п╡я▀ п©я─п╦п╪п╣п╫я▐я┌я▄ Subversion п╡ п╠п╬п╩я▄я┬п╦п╫я│я┌п╡п╣ я┌п╦п©п╬п╡я▀я┘ я│п╦я┌я┐п╟я├п╦п╧.

п·п╢п╫п╟п╨п╬ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ Subversion п╫п╣ п╬пЁя─п╟п╫п╦я┤п╦п╡п╟я▌я┌я│я▐ б╚я┌п╦п©п╬п╡я▀п╪п╦ п╬п©п╣я─п╟я├п╦я▐п╪п╦ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦б╩. п▓ Subversion я─п╣п╟п╩п╦п╥п╬п╡п╟п╫ я└я┐п╫п╨я├п╦п╬п╫п╟п╩, п╡я▀я┘п╬п╢я▐я┴п╦п╧ п╥п╟ п©я─п╣п╢п╣п╩я▀ п©я─п╬я│я┌п╬пЁп╬ п╬п╠п╪п╣п╫п╟ я─п╟п╥п╩п╦я┤п╦я▐п╪п╦ я│ я├п╣п╫я┌я─п╟п╩я▄п╫я▀п╪ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪.

п▓ я█я┌п╬п╧ пЁп╩п╟п╡п╣ я─п╟я│я│п╨п╟п╥я▀п╡п╟п╣я┌я│я▐ п╬ я┌п╣я┘ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▐я┘ Subversion, п╨п╬я┌п╬я─я▀п╣, п╫п╣я│п╪п╬я┌я─я▐ п╫п╟ я│п╡п╬я▌ п╡п╟п╤п╫п╬я│я┌я▄, п╫п╣ п╦я│п©п╬п╩я▄п╥я┐я▌я┌я│я▐ п╡ я┌п╦п©п╦я┤п╫п╬п╪ п╣п╤п╣п╢п╫п╣п╡п╫п╬п╪ я─п╟п╠п╬я┤п╣п╪ я├п╦п╨п╩п╣. п╖я┌п╬п╠я▀ я┤п╦я┌п╟я┌я▄ п╢п╟п╩я▄я┬п╣ я█я┌я┐ пЁп╩п╟п╡я┐, п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ я┘п╬я─п╬я┬п╬ п©я─п╣п╢я│я┌п╟п╡п╩я▐я┌я▄ я│п╣п╠п╣ п╪п╣я┘п╟п╫п╦п╥п╪я▀ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╦я▐ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡ п╡ Subversion. п∙я│п╩п╦ п╡я▀ я█я┌п╬пЁп╬ п╫п╣ п╥п╫п╟п╣я┌п╣, п©я─п╬я┤п╦я┌п╟п╧я┌п╣ я│п╫п╟я┤п╟п╩п╟ п⌠п╩п╟п╡п╟б═1, п╓я┐п╫п╢п╟п╪п╣п╫я┌п╟п╩я▄п╫я▀п╣ п©п╬п╫я▐я┌п╦я▐ п╦ п⌠п╩п╟п╡п╟б═2, п╜п╨я│п╨я┐я─я│п╦я▐ п©п╬ Subversion. п·п╡п╩п╟п╢п╣п╡ п╬я│п╫п╬п╡п╟п╪п╦ п╦ п╦п╥я┐я┤п╦п╡ п©я─п╦п╣п╪я▀, я─п╟я│я│п╪п╬я┌я─п╣п╫п╫я▀п╣ п╡ я█я┌п╬п╧ пЁп╩п╟п╡п╣, п╡я▀ я│я┌п╟п╫п╣я┌п╣ п╢п╣п╧я│я┌п╡п╦я┌п╣п╩я▄п╫п╬ п©я─п╬п╢п╡п╦п╫я┐я┌я▀п╪ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪ Subversion!

п║п©п╬я│п╬п╠я▀ п╬п╠п╬п╥п╫п╟я┤п╣п╫п╦я▐ п©я─п╟п╡п╬п╨

п п╟п╨ п╡я▀ я┐п╤п╣ п╥п╟п╪п╣я┌п╦п╩п╦ п╡ б╚п÷я┐я┌п╣я┬п╣я│я┌п╡п╦п╣ п╡п╬ п╡я─п╣п╪п╣п╫п╦ п╡п╪п╣я│я┌п╣ я│ Subversionб╩, п╫п╬п╪п╣я─п╟ п©я─п╟п╡п╬п╨ п╡ Subversion Б─■ я█я┌п╬ п╫п╣ п╠п╬п╩п╣п╣ я┤п╣п╪ я├п╣п╩я▀п╣ я┤п╦я│п╩п╟, п╪п╬п╫п╬я┌п╬п╫п╫п╬ п╡п╬п╥я─п╟я│я┌п╟я▌я┴п╦п╣ п©я─п╦ п╨п╟п╤п╢п╬п╧ я└п╦п╨я│п╟я├п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ п╢п╟п╫п╫я▀я┘. п÷я─п╬п╧п╢п╣я┌ я│п╬п╡я│п╣п╪ п╫п╣п╪п╫п╬пЁп╬ п╡я─п╣п╪п╣п╫п╦, п╦ п╡я▀ я┐п╤п╣ п╫п╣ я│п╪п╬п╤п╣я┌п╣ я┌п╬я┤п╫п╬ п╡я│п©п╬п╪п╫п╦я┌я▄, я┤я┌п╬ п©я─п╬п╦п╥п╬я┬п╩п╬ п╡ п╨п╟п╤п╢п╬п╧ п╦п╥ п©я─п╟п╡п╬п╨. п  я│я┤п╟я│я┌я▄я▌, я┌п╦п©п╬п╡п╟я▐ п©я─п╟п╨я┌п╦п╨п╟ я─п╟п╠п╬я┌я▀ я│ Subversion п╫п╣ я┤п╟я│я┌п╬ п©я─п╣п╢п©п╬п╩п╟пЁп╟п╣я┌ я┐п╨п╟п╥п╟п╫п╦п╣ п╡п╟п╪п╦ п╨п╬п╫п╨я─п╣я┌п╫я▀я┘ п©я─п╟п╡п╬п╨, п╨ п╨п╬я┌п╬я─я▀п╪ я│п╩п╣п╢я┐п╣я┌ п©я─п╦п╪п╣п╫п╦я┌я▄ я┌я┐ п╦п╩п╦ п╦п╫я┐я▌ п╬п©п╣я─п╟я├п╦я▌. п■п╩я▐ п╬п©п╣я─п╟я├п╦п╧, п╨п╬я┌п╬я─я▀п╣ я┌я─п╣п╠я┐я▌я┌ п╬п╠я▐п╥п╟я┌п╣п╩я▄п╫п╬п╧ я│я│я▀п╩п╨п╦ п╫п╟ п╨п╬п╫п╨я─п╣я┌п╫я┐я▌ п©я─п╟п╡п╨я┐, я┤п╟я┴п╣ п╡я│п╣пЁп╬ я┐п╨п╟п╥я▀п╡п╟я▌я┌ п╫п╬п╪п╣я─ п©я─п╟п╡п╨п╦, п╨п╬я┌п╬я─я▀п╧ п╦п╥п╡п╣я│я┌п╣п╫ п╦п╥ я│п╬п╬п╠я┴п╣п╫п╦я▐ п╬ я└п╦п╨я│п╟я├п╦п╦, п╡я▀п╡п╬п╢п╟ п╫п╣п╨п╬я┌п╬я─я▀я┘ п╢я─я┐пЁп╦я┘ п╬п©п╣я─п╟я├п╦п╧ Subversion п╦п╩п╦ п╦п╥ п╨п╟п╨п╦я┘-п╩п╦п╠п╬ п╢я─я┐пЁп╦я┘ п╬п╠я│я┌п╬я▐я┌п╣п╩я▄я│я┌п╡, п╨п╬я┌п╬я─я▀п╣ п╪п╬пЁп╩п╦ п╠я▀ п╢п╟я┌я▄ я█я┌п╬я┌ п╨п╬п╫п╨я─п╣я┌п╫я▀п╧ п╫п╬п╪п╣я─.

п·п╢п╫п╟п╨п╬, п╦п╫п╬пЁп╢п╟ я┐ п╡п╟я│ п╪п╬п╤п╣я┌ п╡п╬п╥п╫п╦п╨п╫я┐я┌я▄ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌я▄ я│п╬я│п╩п╟я┌я▄я│я▐ п╫п╟ п╪п╬п╪п╣п╫я┌ п╡я─п╣п╪п╣п╫п╦, п╢п╩я▐ п╨п╬я┌п╬я─п╬пЁп╬ я┐ п╡п╟я│ я┐п╤п╣ п╫п╣ п╬я│я┌п╟п╩п╬я│я▄ п╡ п©п╟п╪я▐я┌п╦ п╦п╩п╦ п╡ п╥п╟п©п╦я│я▐я┘ я┌п╬я┤п╫п╬пЁп╬ п╫п╬п╪п╣я─п╟ п©я─п╟п╡п╨п╦. п÷п╬я█я┌п╬п╪я┐, п╨я─п╬п╪п╣ я├п╣п╩п╬я┤п╦я│п╩п╣п╫п╫я▀я┘ п╫п╬п╪п╣я─п╬п╡ п©я─п╟п╡п╬п╨, svn п©п╬п╥п╡п╬п╩я▐п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я▀п╣ я└п╬я─п╪я▀ п╬п╠п╬п╥п╫п╟я┤п╣п╫п╦я▐ п©я─п╟п╡п╬п╨ Б─■ п╨п╩я▌я┤п╣п╡я▀п╣ я│п╩п╬п╡п╟ п╦ п╢п╟я┌я▀ п©я─п╟п╡п╬п╨.

[п≈п╟п╪п╣я┤п╟п╫п╦п╣]п≈п╟п╪п╣я┤п╟п╫п╦п╣

п÷я─п╦ я┐п╨п╟п╥п╟п╫п╦п╦ п╢п╦п╟п©п╟п╥п╬п╫п╬п╡ п©я─п╟п╡п╬п╨ п╪п╬п╤п╫п╬ я│п╪п╣я┬п╦п╡п╟я┌я▄ я─п╟п╥п╩п╦я┤п╫я▀п╣ я│п©п╬я│п╬п╠я▀ п╦я┘ п╬п╠п╬п╥п╫п╟я┤п╣п╫п╦я▐, п╢п╬п©я┐я│я┌п╦п╪я▀п╣ п╡ Subversion. п²п╟п©я─п╦п╪п╣я─, п╡я▀ п╪п╬п╤п╣я┌п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ -r REV1:REV2, пЁп╢п╣ REV1 Б─■ я█я┌п╬ п╨п╩я▌я┤п╣п╡п╬п╣ я│п╩п╬п╡п╬, п╟ REV2 Б─■ п╬п╠я▀я┤п╫я▀п╧ п╫п╬п╪п╣я─ п©я─п╟п╡п╨п╦, п╦п╩п╦ пЁп╢п╣ REV1 Б─■ п╢п╟я┌п╟, п╟ REV2 Б─■ п╨п╩я▌я┤п╣п╡п╬п╣ я│п╩п╬п╡п╬, п╦ я┌п╟п╨ п╢п╟п╩п╣п╣. п п╟п╤п╢п╬п╣ п╬п╠п╬п╥п╫п╟я┤п╣п╫п╦п╣ п©я─п╟п╡п╨п╦ п╠я┐п╢п╣я┌ п╦п╫я┌п╣я─п©я─п╣я┌п╦я─п╬п╡п╟я┌я▄я│я▐ п╫п╣п╥п╟п╡п╦я│п╦п╪п╬ п╢я─я┐пЁ п╬я┌ п╢я─я┐пЁп╟, п©п╬я█я┌п╬п╪я┐ п╡я▀ п╪п╬п╤п╣я┌п╣ я┐п╨п╟п╥п╟я┌я▄ п©п╬ п╢я─я┐пЁя┐я▌ я│я┌п╬я─п╬п╫я┐ п╬я┌ п╢п╡п╬п╣я┌п╬я┤п╦я▐ я┤я┌п╬ я┐пЁп╬п╢п╫п╬.

п п╩я▌я┤п╣п╡я▀п╣ я│п╩п╬п╡п╟ п©я─п╟п╡п╬п╨

п п╩п╦п╣п╫я┌ Subversion п©п╬п╫п╦п╪п╟п╣я┌ я─я▐п╢ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡. п╜я┌п╦ п╨п╩я▌я┤п╣п╡я▀п╣ я│п╩п╬п╡п╟ п╪п╬п╤п╫п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╡п╪п╣я│я┌п╬ я├п╣п╩п╬я┤п╦я│п╩п╣п╫п╫я▀я┘ п╟я─пЁя┐п╪п╣п╫я┌п╬п╡ п╬п©я├п╦п╦ --revision, п©я─п╦ я█я┌п╬п╪ Subversion п©п╣я─п╣п╡п╣п╢п╣я┌ п╦я┘ п╡ п╨п╬п╫п╨я─п╣я┌п╫я▀п╣ п╫п╬п╪п╣я─п╟ п©я─п╟п╡п╬п╨:

HEAD

п÷п╬я│п╩п╣п╢п╫я▐я▐ (п╦п╩п╦ б╚я│п╟п╪п╟я▐ п╫п╬п╡п╟я▐б╩) п©я─п╟п╡п╨п╟ я┘я─п╟п╫п╦п╩п╦я┴п╟

BASE

п²п╬п╪п╣я─ п©я─п╟п╡п╨п╦ я█п╩п╣п╪п╣п╫я┌п╟ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п∙я│п╩п╦ я█п╩п╣п╪п╣п╫я┌ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╩я│я▐, я┌п╬ б╚BASE п╡п╣я─я│п╦я▐б╩ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐п╣я┌ я┌п╬п╪я┐, п╨п╟п╨ п╡я▀пЁп╩я▐п╢п╣п╩ я█я┌п╬я┌ я█п╩п╣п╪п╣п╫я┌ п╢п╬ п╡п╫п╣я│п╣п╫п╦я▐ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧.

COMMITTED

п÷я─п╟п╡п╨п╟, п╡ п╨п╬я┌п╬я─п╬п╧ я█п╩п╣п╪п╣п╫я┌ п©п╬я│п╩п╣п╢п╫п╦п╧ я─п╟п╥ п╦п╥п╪п╣п╫я▐п╩я│я▐ (п©я─п╣п╢я┬п╣я│я┌п╡я┐я▌я┴п╟я▐ п╩п╦п╠п╬ я─п╟п╡п╫п╟я▐ BASE).

PREV

п÷я─п╟п╡п╨п╟, п╫п╣п©п╬я│я─п╣п╢я│я┌п╡п╣п╫п╫п╬ п©я─п╣п╢я┬п╣я│я┌п╡я┐я▌я┴п╟я▐ я┌п╬п╧ п©я─п╟п╡п╨п╣, п╡ п╨п╬я┌п╬я─п╬п╧ я█п╩п╣п╪п╣п╫я┌ п╠я▀п╩ п©п╬я│п╩п╣п╢п╫п╦п╧ я─п╟п╥ п╦п╥п╪п╣п╫п╣п╫. (п╒п╬ п╣я│я┌я▄, я└п╟п╨я┌п╦я┤п╣я│п╨п╦, COMMITTED - 1.)

п≤п╥ п╢п╟п╫п╫п╬пЁп╬ п╬п©п╦я│п╟п╫п╦я▐ п╪п╬п╤п╫п╬ я│п╢п╣п╩п╟я┌я▄ п╬я┤п╣п╡п╦п╢п╫я▀п╧ п╡я▀п╡п╬п╢ п╬ я┌п╬п╪, я┤я┌п╬ п╨п╩я▌я┤п╣п╡я▀п╣ я│п╩п╬п╡п╟ PREV, BASE, п╦ COMMITTED п╪п╬пЁя┐я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ я┌п╬п╩я▄п╨п╬ п©я─п╦ я│я│я▀п╩п╨п╟я┘ п╫п╟ п©я┐я┌п╦ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦; п╬п╫п╦ п╫п╣ п©я─п╦п╪п╣п╫п╦п╪я▀ п╨ URL-п╟п╢я─п╣я│п╟п╪ я┘я─п╟п╫п╦п╩п╦я┴п╟. п²п╟п©я─п╬я┌п╦п╡, п╨п╩я▌я┤п╣п╡п╬п╣ я│п╩п╬п╡п╬ HEAD п╪п╬п╤п╫п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я│п╬п╡п╪п╣я│я┌п╫п╬ я│ п╬п╠п╬п╦п╪п╦ я┌п╦п©п╟п╪п╦ п©я┐я┌п╣п╧.

п²п╦п╤п╣ п©я─п╦п╡п╣п╢п╣п╫п╬ п╫п╣я│п╨п╬п╩я▄п╨п╬ п©я─п╦п╪п╣я─п╬п╡ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡ п©я─п╟п╡п╬п╨:

$ svn diff --revision PREV:COMMITTED foo.c

# п©п╬п╨п╟п╥п╟я┌я▄ п©п╬я│п╩п╣п╢п╫п╣п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╣, п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╫п╫п╬п╣ п╢п╩я▐ foo.c

$ svn log --revision HEAD

# п©п╬п╨п╟п╥п╟я┌я▄ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╣ п╢п╩я▐ п©п╬я│п╩п╣п╢п╫п╣п╧ я└п╦п╨я│п╟я├п╦п╦ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣

$ svn diff --revision HEAD

# я│я─п╟п╡п╫п╦я┌я▄ п╡п╟я┬ я─п╟п╠п╬я┤п╦п╧ я└п╟п╧п╩ (я│ я┐я┤п╣я┌п╬п╪ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧)
# я│ п©п╬я│п╩п╣п╢п╫п╣п╧ п©я─п╟п╡п╨п╬п╧ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣

$ svn diff --revision BASE:HEAD foo.c

# я│я─п╟п╡п╫п╦я┌я▄ п╡п╟я┬ б╚п╦я│я┘п╬п╢п╫я▀п╧б╩ foo.c (п╠п╣п╥ я┐я┤п╣я┌п╟ п╩п╬п╨п╟п╩я▄п╫я▀я┘
# п╦п╥п╪п╣п╫п╣п╫п╦п╧) я│ п©п╬я│п╩п╣п╢п╫п╣п╧ п╡п╣я─я│п╦п╣п╧ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣

$ svn log --revision BASE:HEAD

# п©п╬п╨п╟п╥п╟я┌я▄ п╡я│п╣ п╩п╬пЁп╦ я└п╦п╨я│п╟я├п╦п╧ я│п╬ п╡я─п╣п╪п╣п╫п╦ п╡п╟я┬п╣пЁп╬ п©п╬я│п╩п╣п╢п╫п╣пЁп╬ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐

$ svn update --revision PREV foo.c

# п╬я┌п╪п╣п╫п╦я┌я▄ п©п╬я│п╩п╣п╢п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ foo.c, п©п╬п╫п╦п╥п╦п╡ я─п╟п╠п╬я┤я┐я▌ п©я─п╟п╡п╨я┐ foo.c
      
$ svn diff -r BASE:14 foo.c

# я│я─п╟п╡п╫п╦я┌я▄ п╫п╣п╦п╥п╪п╣п╫п╣п╫п╫я┐я▌ п╡п╣я─я│п╦я▌ foo.c п╦ п╡п╣я─я│п╦я▌ foo.c п╡ п©я─п╟п╡п╨п╣ 14

п■п╟я┌я▀ п©я─п╟п╡п╬п╨

п²п╬п╪п╣я─п╟ п©я─п╟п╡п╬п╨ п╫п╣ п╫п╣я│я┐я┌ п╫п╦п╨п╟п╨п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╬п╠ п╬п╨я─я┐п╤п╟я▌я┴п╣п╪ п╪п╦я─п╣ п╥п╟ п©я─п╣п╢п╣п╩п╟п╪п╦ я│п╦я│я┌п╣п╪я▀ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦, я┌п╬пЁп╢п╟ п╨п╟п╨ п╡п╟п╪ п╦п╫п╬пЁп╢п╟ я┌я─п╣п╠я┐п╣я┌я│я▐ я│п╬п©п╬я│я┌п╟п╡п╦я┌я▄ п╪п╬п╪п╣п╫я┌ п╡я─п╣п╪п╣п╫п╦ п╡ я─п╣п╟п╩я▄п╫п╬п╧ п╤п╦п╥п╫п╦ я│ п╪п╬п╪п╣п╫я┌п╬п╪ п╡ п╦я│я┌п╬я─п╦п╦ п╡п╣я─я│п╦п╧. п╖я┌п╬п╠я▀ п©п╬п╪п╬я┤я▄ п╡п╟п╪ п╡ я█я┌п╬п╪, п╬п©я├п╦я▐ --revision п╢п╬п©я┐я│п╨п╟п╣я┌ я┐п╨п╟п╥п╟п╫п╦п╣ п╢п╟я┌я▀, п╨п╬я┌п╬я─я┐я▌ п╥п╟п╨п╩я▌я┤п╟я▌я┌ п╡ я└п╦пЁя┐я─п╫я▀п╣ я│п╨п╬п╠п╨п╦ ({ п╦ }). Subversion п©я─п╦п╫п╦п╪п╟п╣я┌ п╢п╟я┌я┐ п╦ п╡я─п╣п╪я▐ п╡ я└п╬я─п╪п╟я┌п╣, я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╣п╪ я│я┌п╟п╫п╢п╟я─я┌я┐ ISO-8601, п╟ я┌п╟п╨п╤п╣ п╡ п╫п╣п╨п╬я┌п╬я─я▀я┘ п╢я─я┐пЁп╦я┘. п²п╦п╤п╣ п©я─п╦п╡п╣п╢п╣п╫п╬ п╫п╣я│п╨п╬п╩я▄п╨п╬ п©я─п╦п╪п╣я─п╬п╡. (п²п╣ п╥п╟п╠я▀п╡п╟п╧я┌п╣ п╠я─п╟я┌я▄ п╡ п╨п╟п╡я▀я┤п╨п╦ п╩я▌п╠я▀п╣ п╢п╟я┌я▀, я│п╬п╢п╣я─п╤п╟я┴п╦п╣ п©я─п╬п╠п╣п╩я▀.)

$ svn checkout -r {2006-02-17}
$ svn checkout -r {15:30}
$ svn checkout -r {15:30:00.200000}
$ svn checkout -r {"2006-02-17 15:30"}
$ svn checkout -r {"2006-02-17 15:30 +0230"}
$ svn checkout -r {2006-02-17T15:30}
$ svn checkout -r {2006-02-17T15:30Z}
$ svn checkout -r {2006-02-17T15:30-04:00}
$ svn checkout -r {20060217T1530}
$ svn checkout -r {20060217T1530Z}
$ svn checkout -r {20060217T1530-0500}
Б─╕

п п╬пЁп╢п╟ п╡я▀ я┐п╨п╟п╥я▀п╡п╟п╣я┌п╣ п╢п╟я┌я┐, Subversion п╫п╟я┘п╬п╢п╦я┌ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╫п╟п╦п╠п╬п╩п╣п╣ п╠п╩п╦п╥п╨я┐я▌ п╨ п╫п╣п╧ п©я─п╟п╡п╨я┐, п©п╬я│п╩п╣ я┤п╣пЁп╬ п©я─п╬п╢п╬п╩п╤п╟п╣я┌ я─п╟п╠п╬я┌я┐ я│ п╡я▀я┤п╦я│п╩п╣п╫п╫я▀п╪ п╫п╬п╪п╣я─п╬п╪ п©я─п╟п╡п╨п╦.

$ svn log -r {2006-11-28}
------------------------------------------------------------------------
r12 | ira | 2006-11-27 12:31:51 -0600 (Mon, 27 Nov 2006) | 6 lines
Б─╕

п╒п╟п╨п╤п╣ п╡я▀ п╪п╬п╤п╣я┌п╣ п╥п╟п╢п╟п╡п╟я┌я▄ п╢п╦п╟п©п╟п╥п╬п╫я▀ п╢п╟я┌. Subversion п╫п╟п╧п╢п╣я┌ п╡я│п╣ п©я─п╟п╡п╨п╦ п╪п╣п╤п╢я┐ п╬п╠п╣п╦п╪п╦ п╢п╟я┌п╟п╪п╦ п╡п╨п╩я▌я┤п╦я┌п╣п╩я▄п╫п╬:

$ svn log -r {2006-11-20}:{2006-11-29}
Б─╕
[п▓п╫п╦п╪п╟п╫п╦п╣]п▓п╫п╦п╪п╟п╫п╦п╣

п▓я─п╣п╪п╣п╫п╫я▀п╣ п╪п╣я┌п╨п╦ п©я─п╟п╡п╬п╨ я│п╬я┘я─п╟п╫я▐я▌я┌я│я▐ п╨п╟п╨ п╦я┘ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╣ п╦п╥п╪п╣п╫я▐п╣п╪я▀п╣ я│п╡п╬п╧я│я┌п╡п╟ (я│п╪. б╚п║п╡п╬п╧я│я┌п╡п╟б╩ ). п≤я│я┘п╬п╢я▐ п╦п╥ я█я┌п╬пЁп╬, п╦п╥п╪п╣п╫п╣п╫п╦п╣п╪ п╡я─п╣п╪п╣п╫п╫я▀я┘ п╪п╣я┌п╬п╨ п╪п╬п╤п╫п╬ п╩п╣пЁп╨п╬ п╦я│п╨п╟п╥п╦я┌я▄ п╦я│я┌п╦п╫п╫я┐я▌ я┘я─п╬п╫п╬п╩п╬пЁп╦я▌, п╦п╩п╦ п╢п╟п╤п╣ я┐п╢п╟п╩п╦я┌я▄ я│п╬п╡я│п╣п╪ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬ п╡я─п╣п╪п╣п╫п╦ п©я─п╟п╡п╨п╦. п╜я┌п╬ п╪п╬п╤п╣я┌ п©я─п╦п╡п╣я│я┌п╦ п╨ п╫п╣п╬п╤п╦п╢п╟п╫п╫я▀п╪ я─п╣п╥я┐п╩я▄я┌п╟я┌п╟п╪ п©я─п╦ п╡п╫я┐я┌я─п╣п╫п╫п╣п╪ п©я─п╣п╬п╠я─п╟п╥п╬п╡п╟п╫п╦п╦ п╢п╟я┌ п╡ п╫п╬п╪п╣я─п╟ п©я─п╟п╡п╬п╨, п╡я▀п©п╬п╩п╫я▐п╣п╪п╬п╪ Subversion.

п║п╡п╬п╧я│я┌п╡п╟

п°я▀ я┐п╤п╣ п©п╬п╢я─п╬п╠п╫п╬ я─п╟я│я│п╪п╬я┌я─п╣п╩п╦, п╨п╟п╨п╦п╪ п╬п╠я─п╟п╥п╬п╪ Subversion я│п╬я┘я─п╟п╫я▐п╣я┌ п╦ п╦п╥п╡п╩п╣п╨п╟п╣я┌ я─п╟п╥п╩п╦я┤п╫я▀п╣ п╡п╣я─я│п╦п╦ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟. п²п╣я│п╨п╬п╩я▄п╨п╬ пЁп╩п╟п╡ п╠я▀п╩п╬ п©п╬я│п╡я▐я┴п╣п╫п╬ я█я┌п╬п╧ я│п╟п╪п╬п╧ я└я┐п╫п╢п╟п╪п╣п╫я┌п╟п╩я▄п╫п╬п╧ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╬п╧ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ п╢п╟п╫п╫п╬пЁп╬ п╦п╫я│я┌я─я┐п╪п╣п╫я┌п╟. п≤ п╢п╟п╤п╣ п╣я│п╩п╦ п╠я▀ п©п╬п╢п╢п╣я─п╤п╨п╟ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╦я▐ я█я┌п╦п╪ п╦я│я┤п╣я─п©я▀п╡п╟п╩п╟я│я▄, Subversion п╡я│п╣ я─п╟п╡п╫п╬ п╪п╬пЁ п╠я▀ я│я┤п╦я┌п╟я┌я▄я│я▐ п©п╬п╩п╫п╬я├п╣п╫п╫я▀п╪ я│я─п╣п╢я│я┌п╡п╬п╪ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦.

п·п╢п╫п╟п╨п╬ Subversion я█я┌п╦п╪ п╫п╣ п╬пЁя─п╟п╫п╦я┤п╦п╡п╟п╣я┌я│я▐.

п÷п╬п╪п╦п╪п╬ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╦я▐ п╨п╟я┌п╟п╩п╬пЁп╬п╡ п╦ я└п╟п╧п╩п╬п╡, Subversion п©п╬п╥п╡п╬п╩я▐п╣я┌ п╢п╩я▐ п╨п╟п╤п╢п╬пЁп╬ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ п╦п╩п╦ я└п╟п╧п╩п╟ п╢п╬п╠п╟п╡п╩я▐я┌я▄, п╦п╥п╪п╣п╫я▐я┌я▄ п╦ я┐п╢п╟п╩я▐я┌я▄ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╣ п╪п╣я┌п╟п╢п╟п╫п╫я▀п╣. п°я▀ п╬п╠я─п╟я┴п╟п╣п╪я│я▐ п╨ я█я┌п╦п╪ п╪п╣я┌п╟п╢п╟п╫п╫я▀п╪ п╨п╟п╨ п╨ я│п╡п╬п╧я│я┌п╡п╟п╪, п╨п╬я┌п╬я─я▀п╣ п╪п╬п╤п╫п╬ п©я─п╣п╢я│я┌п╟п╡п╦я┌я▄ п╡ п╡п╦п╢п╣ я┌п╟п╠п╩п╦я├я▀ я│ п╢п╡я┐п╪я▐ я│я┌п╬п╩п╠я├п╟п╪п╦, п©я─п╦я│п╬п╣п╢п╦п╫п╣п╫п╫п╬п╧ п╨ п╨п╟п╤п╢п╬п╪я┐ я█п╩п╣п╪п╣п╫я┌я┐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╦ я│п╬п©п╬я│я┌п╟п╡п╩я▐я▌я┴п╣п╧ п╦п╪п╣п╫п╟ я│п╡п╬п╧я│я┌п╡ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╪ п╥п╫п╟я┤п╣п╫п╦я▐п╪. п▓п╬п╬п╠я┴п╣, п╦п╪п╣п╫п╟ п╦ п╥п╫п╟я┤п╣п╫п╦я▐ я│п╡п╬п╧я│я┌п╡ п╪п╬пЁя┐я┌ п╠я▀я┌я▄ п╨п╟п╨п╦п╪п╦ я┐пЁп╬п╢п╫п╬; п╣п╢п╦п╫я│я┌п╡п╣п╫п╫п╬п╣ п╬пЁя─п╟п╫п╦я┤п╣п╫п╦п╣ Б─■ п╦п╪п╣п╫п╟ п╢п╬п╩п╤п╫я▀ п╠я▀я┌я▄ я┤п╦я┌п╟п╣п╪я▀п╪ я┌п╣п╨я│я┌п╬п╪. п║п╟п╪п╬п╣ пЁп╩п╟п╡п╫п╬п╣ Б─■ я┌п╬, я┤я┌п╬ я│п╡п╬п╧я│я┌п╡п╟ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫я▀ я┌п╬я┤п╫п╬ я┌п╟п╨ п╤п╣, п╨п╟п╨ п╦ я┌п╣п╨я│я┌п╬п╡п╬п╣ я│п╬п╢п╣я─п╤п╦п╪п╬п╣ я└п╟п╧п╩п╬п╡. п≤п╥п╪п╣п╫я▐я┌я▄, я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ я│п╡п╬п╧я│я┌п╡п╟ п╦п╩п╦ п╡п╬п╥п╡я─п╟я┴п╟я┌я▄ п╦я┘ п╡ п╦я│я┘п╬п╢п╫п╬п╣ я│п╬я│я┌п╬я▐п╫п╦п╣ я┌п╟п╨ п╤п╣ п©я─п╬я│я┌п╬, п╨п╟п╨ п╦ п╢п╣п╩п╟я┌я▄ я┌п╬ п╤п╣ я│п╟п╪п╬п╣ я│ я│п╬п╢п╣я─п╤п╦п╪я▀п╪ я└п╟п╧п╩п╬п╡. п·я┌п©я─п╟п╡п╨п╟ п╦ п©п╬п╩я┐я┤п╣п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╫я▀я┘ я│п╡п╬п╧я│я┌п╡ п©я─п╬п╦я│я┘п╬п╢п╦я┌ я┌п╬я┤п╫п╬ я┌п╟п╨ п╤п╣, п╨п╟п╨ п╦ п╬п╠я▀я┤п╫я▀п╣ я└п╦п╨я│п╟я├п╦п╦ п╦ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐ Б─■ п╢п╩я▐ я█я┌п╬пЁп╬ п╫п╣я┌ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦ п╪п╣п╫я▐я┌я▄ п╬п╠я▀я┤п╫я▀п╧ п©п╬я─я▐п╢п╬п╨ п╢п╣п╧я│я┌п╡п╦п╧.

п▓ Subversion я│я┐я┴п╣я│я┌п╡я┐п╣я┌ п╣я┴п╣ п╬п╢п╫п╟ я─п╟п╥п╫п╬п╡п╦п╢п╫п╬я│я┌я▄ я│п╡п╬п╧я│я┌п╡. п╒п╟п╨ п╤п╣, п╨п╟п╨ п╦ я└п╟п╧п╩я▀ п╦ п╨п╟я┌п╟п╩п╬пЁп╦, п©я─п╬п╦п╥п╡п╬п╩я▄п╫я▀п╣ я│п╡п╬п╧я│я┌п╡п╟ п╦ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╣ п╦п╪ п╥п╫п╟я┤п╣п╫п╦я▐ п╪п╬п╤п╣я┌ п╦п╪п╣я┌я▄ п╨п╟п╤п╢п╟я▐ п©я─п╟п╡п╨п╟. п·пЁя─п╟п╫п╦я┤п╣п╫п╦я▐ п╥п╢п╣я│я▄ я┌п╣ п╤п╣ я│п╟п╪я▀п╣ Б─■ я│п╡п╬п╧я│я┌п╡п╬ п╢п╬п╩п╤п╫п╬ п╦п╪п╣я┌я▄ я┤п╦я┌п╟п╣п╪п╬п╣ п╦п╪я▐ п╦ п╪п╬п╤п╣я┌ п©я─п╦п╫п╦п╪п╟я┌я▄ п╩я▌п╠п╬п╣ п╠п╦п╫п╟я─п╫п╬п╣ п╥п╫п╟я┤п╣п╫п╦п╣. п⌠п╩п╟п╡п╫п╬п╣ п╬я┌п╩п╦я┤п╦п╣ п╥п╟п╨п╩я▌я┤п╟п╣я┌я│я▐ п╡ я┌п╬п╪, я┤я┌п╬ я│п╡п╬п╧я│я┌п╡п╟ п©я─п╟п╡п╬п╨ п╫п╣ п╡п╣я─я│п╦п╬п╫п╦я─я┐я▌я┌я│я▐. п■я─я┐пЁп╦п╪п╦ я│п╩п╬п╡п╟п╪п╦, п╣я│п╩п╦ п╦п╥п╪п╣п╫п╦я┌я▄ п╥п╫п╟я┤п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡п╟ п©я─п╟п╡п╨п╦ п╦п╩п╦ я┐п╢п╟п╩п╦я┌я▄ я┌п╟п╨п╬п╣ я│п╡п╬п╧я│я┌п╡п╬, Subversion п╫п╣ я│п╪п╬п╤п╣я┌ п╡п╬я│я│я┌п╟п╫п╬п╡п╦я┌я▄ п©я─п╣п╢я▀п╢я┐я┴п╣п╣ п╥п╫п╟я┤п╣п╫п╦п╣.

п▓ Subversion п╫п╣я┌ п╤п╣я│я┌п╨п╬ п╬п©я─п╣п╢п╣п╩п╣п╫п╫я▀я┘ п©я─п╟п╡п╦п╩ п©п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▌ я│п╡п╬п╧я│я┌п╡. п·п╫п╟ я┌я─п╣п╠я┐п╣я┌ я┌п╬п╩я▄п╨п╬ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ п╦п╪п╣п╫п╟ я│п╡п╬п╧я│я┌п╡ п╫п╣ п╫п╟я┤п╦п╫п╟п╩п╦я│я▄ я│ п©я─п╣я└п╦п╨я│п╟ svn:, п©п╬я│п╨п╬п╩я▄п╨я┐ я█я┌п╬ п©я─п╬я│я┌я─п╟п╫я│я┌п╡п╬ п╦п╪п╣п╫ п╥п╟п╨я─п╣п©п╩п╣п╫п╬ п╢п╩я▐ я│п╩я┐п╤п╣п╠п╫п╬пЁп╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐. Subversion п╢п╣п╧я│я┌п╡п╦я┌п╣п╩я▄п╫п╬ п╦я│п©п╬п╩я▄п╥я┐п╣я┌ я│п╡п╬п╧я│я┌п╡п╟, п╨п╟п╨ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╣, я┌п╟п╨ п╦ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╣, п╢п╩я▐ п╡п╫я┐я┌я─п╣п╫п╫п╦я┘ я├п╣п╩п╣п╧. п═я▐п╢ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я│п╡п╬п╧я│я┌п╡ п╦пЁя─п╟п╣я┌ п╬я│п╬п╠я┐я▌ я─п╬п╩я▄ п©я─п╦ п©п╬п╦я│п╨п╣ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡ п╦п╩п╦ я┘я─п╟п╫п╦я┌ п╬п©я─п╣п╢п╣п╩п╣п╫п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬ п©я─п╟п╡п╨п╟я┘, п╡ п╨п╬я┌п╬я─я▀я┘ п╬п╫п╦ п╫п╟п╧п╢п╣п╫я▀. п═я▐п╢ я│п╡п╬п╧я│я┌п╡ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ п©я─п╦я│п╬п╣п╢п╦п╫я▐п╣я┌я│я▐ п╨ п©я─п╟п╡п╨п╟п╪ п╡ п©я─п╬я├п╣я│я│п╣ я└п╦п╨я│п╟я├п╦п╦, п╦ п╫п╣я│п╣я┌ п╬ п╫п╦я┘ п╬п©я─п╣п╢п╣п╩п╣п╫п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ . п▒п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ я┌п╟п╨п╦я┘ я│п╡п╬п╧я│я┌п╡ я┐п©п╬п╪п╦п╫п╟я▌я┌я│я▐ п╡ я█я┌п╬п╧ п╦п╩п╦ п╢я─я┐пЁп╦я┘ пЁп╩п╟п╡п╟я┘ п©я─п╦ п╬п╠я│я┐п╤п╢п╣п╫п╦п╦ п╠п╬п╩п╣п╣ п╬п╠я┬п╦я┘ я┌п╣п╪, п╨ п╨п╬я┌п╬я─я▀п╪ п╬п╫п╦ п╬я┌п╫п╬я│я▐я┌я│я▐. п≤я│я┤п╣я─п©я▀п╡п╟я▌я┴п╦п╧ я│п©п╦я│п╬п╨ п©я─п╣п╢п╬п©я─п╣п╢п╣п╩п╣п╫п╫я▀я┘ я│п╡п╬п╧я│я┌п╡ Subversion п©я─п╦п╡п╬п╢п╦я┌я│я▐ п╡ п║п╡п╬п╧я│я┌п╡п╟ Subversion.

п▓ я█я┌п╬п╪ я─п╟п╥п╢п╣п╩п╣ п╪я▀ я─п╟я│я│п╪п╬я┌я─п╦п╪ п©п╬п╩п╣п╥п╫п╬я│я┌я▄ п©п╬п╢п╢п╣я─п╤п╨п╦ я│п╡п╬п╧я│я┌п╡ п╨п╟п╨ п╢п╩я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐, я┌п╟п╨ п╦ п╢п╩я▐ я│п╟п╪п╬п╧ Subversion. п▓я▀ я┐п╥п╫п╟п╣я┌п╣ п╬ п╨п╬п╪п╟п╫п╢п╟я┘ svn, п╬я┌п╫п╬я│я▐я┴п╦я┘я│я▐ п╨ я│п╡п╬п╧я│я┌п╡п╟п╪, п╦ п╬ я┌п╬п╪, п╨п╟п╨ п╦п╥п╪п╣п╫п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡ п╡п╩п╦я▐п╣я┌ п╫п╟ п©я─п╦п╡я▀я┤п╫я▀п╧ я─п╟п╠п╬я┤п╦п╧ я├п╦п╨п╩. п²п╟п╢п╣п╣п╪я│я▐, п╡я▀ я┐п╠п╣п╢п╦я┌п╣я│я▄ п╡ я┌п╬п╪, я┤я┌п╬ я│п╡п╬п╧я│я┌п╡п╟ п╡ Subversion я─п╟я│я┬п╦я─я▐я▌я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦.

п≈п╟я┤п╣п╪ п╫я┐п╤п╫я▀ я│п╡п╬п╧я│я┌п╡п╟?

п≤я┌п╟п╨, Subversion п╦я│п©п╬п╩я▄п╥я┐п╣я┌ я│п╡п╬п╧я│я┌п╡п╟, я┤я┌п╬п╠я▀ я┘я─п╟п╫п╦я┌я▄ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ я└п╟п╧п╩п╟я┘, п╨п╟я┌п╟п╩п╬пЁп╟я┘ п╦ п©я─п╟п╡п╨п╟я┘. п▓я▀ п╪п╬п╤п╣я┌п╣ п╫п╟п╧я┌п╦ я│п╡п╬п╧я│я┌п╡п╟п╪ п╟п╫п╟п╩п╬пЁп╦я┤п╫п╬п╣ п©я─п╦п╪п╣п╫п╣п╫п╦п╣. п²п╟п╩п╦я┤п╦п╣ п╪п╣я│я┌п╟ я─я▐п╢п╬п╪ я│ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╪п╦ п╢п╟п╫п╫я▀п╪п╦, п╡ п╨п╬я┌п╬я─п╬п╪ п╪п╬п╤п╫п╬ я┘я─п╟п╫п╦я┌я▄ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╦п╣ п╪п╣я┌п╟п╢п╟п╫п╫я▀п╣ п╬п╠ я█я┌п╦я┘ п╢п╟п╫п╫я▀я┘, п╪п╬п╤п╣я┌ п©я─п╦пЁп╬п╢п╦я┌я▄я│я▐ п╢п╩я▐ п©п╬п╢п╢п╣я─п╤п╨п╦ п╡п╟я┬п╦я┘ я─п╣пЁп╩п╟п╪п╣п╫я┌п╬п╡ я─п╟п╠п╬я┌я▀ я│ п╨п╬п╢п╬п╪, п╦п╩п╦, п╡п╬п╥п╪п╬п╤п╫п╬, п╢п╩я▐ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╨п╟п╨п╦п╪п╦-я┌п╬ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я▀п╪п╦ я┐я┌п╦п╩п╦я┌п╟п╪п╦.

п■п╬п©я┐я│я┌п╦п╪, п╡я▀ я─п╟п╥я─п╟п╠п╟я┌я▀п╡п╟п╣я┌п╣ п╡п╣п╠-я│п╟п╧я┌, я│п╬п╢п╣я─п╤п╟я┴п╦п╧ п╪п╫п╬пЁп╬ я├п╦я└я─п╬п╡я▀я┘ я└п╬я┌п╬пЁя─п╟я└п╦п╧ п╦ п©п╬п╨п╟п╥я▀п╡п╟я▌я┴п╦п╧ п╦я┘ я│ п©п╬п╢п©п╦я│я▐п╪п╦ п╦ п╢п╟я┌п╬п╧. п²п╟п╠п╬я─ я█я┌п╦я┘ я└п╬я┌п╬пЁя─п╟я└п╦п╧ п©п╬я│я┌п╬я▐п╫п╫п╬ п╦п╥п╪п╣п╫я▐п╣я┌я│я▐, п©п╬я█я┌п╬п╪я┐ я│п╟п╧я┌ п╫я┐п╤п╫п╬ п©п╬ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ п╪п╟п╨я│п╦п╪п╟п╩я▄п╫п╬ п╟п╡я┌п╬п╪п╟я┌п╦п╥п╦я─п╬п╡п╟я┌я▄. п╓п╬я┌п╬пЁя─п╟я└п╦п╦ п╪п╬пЁя┐я┌ п╠я▀я┌я▄ п╠п╬п╩я▄я┬п╬пЁп╬ я─п╟п╥п╪п╣я─п╟, п©п╬я█я┌п╬п╪я┐, п╨п╟п╨ п╬п╠я▀я┤п╫п╬ п╢п╣п╩п╟я▌я┌ п╫п╟ я┌п╟п╨п╦я┘ я│п╟п╧я┌п╟я┘, п©п╬я│п╣я┌п╦я┌п╣п╩я▐п╪ п©п╬я┌я─п╣п╠я┐п╣я┌я│я▐ п©п╬п╨п╟п╥я▀п╡п╟я┌я▄ п╪п╦п╫п╦п╟я┌я▌я─я▀ п╦п╥п╬п╠я─п╟п╤п╣п╫п╦п╧.

п╜я┌я┐ п╥п╟п╢п╟я┤я┐ п╪п╬п╤п╫п╬ я─п╣я┬п╦я┌я▄ я│ п©п╬п╪п╬я┴я▄я▌ п╬п╠я▀я┤п╫я▀я┘ я└п╟п╧п╩п╬п╡. п═я▐п╢п╬п╪, п╡ п╬п╢п╫п╬п╪ п╨п╟я┌п╟п╩п╬пЁп╣, п╡я▀ п╪п╬п╤п╣я┌п╣ п╦п╪п╣я┌я▄ я└п╟п╧п╩я▀ image123.jpg п╦ image123-thumbnail.jpg. п∙я│п╩п╦ п╡п╟п╤п╫п╬ я│п╬я┘я─п╟п╫п╦я┌я▄ п╬я─п╦пЁп╦п╫п╟п╩я▄п╫п╬п╣ п╦п╪я▐ я└п╟п╧п╩п╟, п╪п╦п╫п╦п╟я┌я▌я─я▀ п╪п╬пЁя┐я┌ я─п╟п╥п╪п╣я┴п╟я┌я▄я│я▐ п╡ п╬я┌п╢п╣п╩я▄п╫п╬п╪ п╨п╟я┌п╟п╩п╬пЁп╣ (п╫п╟п©я─п╦п╪п╣я─, thumbnails/image123.jpg). п╒п╟п╨п╦п╪ п╤п╣ п╬п╠я─п╟п╥п╬п╪, п╬я┌п╢п╣п╩я▄п╫п╬ п╬я┌ п╬я│п╫п╬п╡п╫п╬пЁп╬ пЁя─п╟я└п╦я┤п╣я│п╨п╬пЁп╬ я└п╟п╧п╩п╟, п╪п╬п╤п╫п╬ я┘я─п╟п╫п╦я┌я▄ п╬п©п╦я│п╟п╫п╦п╣ п╦ п╢п╟я┌я┐. п÷я─п╬п╠п╩п╣п╪п╟ п╥п╟п╨п╩я▌я┤п╟п╣я┌я│я▐ п╡ я┌п╬п╪, я┤я┌п╬ я└п╟п╧п╩п╬п╡п╟я▐ я│я┌я─я┐п╨я┌я┐я─п╟ п╠я┐п╢п╣я┌ я│п╦п╩я▄п╫п╬ я─п╟п╥я─п╟я│я┌п╟я┌я▄я│я▐ п©я─п╦ п╨п╟п╤п╢п╬п╪ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╦ я└п╬я┌п╬пЁя─п╟я└п╦п╦ п╫п╟ я│п╟п╧я┌.

п╒п╣п©п╣я─я▄ п©я─п╣п╢я│я┌п╟п╡п╦п╪, п╨п╟п╨ п╪п╬п╤п╫п╬ п╬я─пЁп╟п╫п╦п╥п╬п╡п╟я┌я▄ я─п╟п╠п╬я┌я┐ я┌п╬пЁп╬ п╤п╣ п╡п╣п╠-я│п╟п╧я┌п╟, п╦я│п©п╬п╩я▄п╥я┐я▐ Subversion-я│п╡п╬п╧я│я┌п╡п╟ я└п╟п╧п╩п╬п╡. п■п╬п©я┐я│я┌п╦п╪, п╦п╪п╣п╣я┌я│я▐ я└п╟п╧п╩ image123.jpg п╦ я┐ я█я┌п╬пЁп╬ я└п╟п╧п╩п╟ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫я▀ я│п╡п╬п╧я│я┌п╡п╟ caption, datestamp п╦ п╢п╟п╤п╣ thumbnail. п▓ я█я┌п╬п╪ я│п╩я┐я┤п╟п╣ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╡я▀пЁп╩я▐п╢п╦я┌ пЁп╬я─п╟п╥п╢п╬ п╫п╟пЁп╩я▐п╢п╫п╣п╣. п╓п╟п╨я┌п╦я┤п╣я│п╨п╦, п╬п╫п╟ п╡я▀пЁп╩я▐п╢п╦я┌ я┌п╟п╨, п╨п╟п╨ п╠я┐п╢я┌п╬ я│п╬п╢п╣я─п╤п╦я┌ я┌п╬п╩я▄п╨п╬ я│п╟п╪п╦ пЁя─п╟я└п╦я┤п╣я│п╨п╦п╣ я└п╟п╧п╩я▀, п╦ п╫п╦я┤п╣пЁп╬ п╠п╬п╩я▄я┬п╣. п·п╢п╫п╟п╨п╬ п╡п╟я┬п╦ я│п╨я─п╦п©я┌я▀ п╟п╡я┌п╬п╪п╟я┌п╦п╥п╟я├п╦п╦ п╥п╫п╟я▌я┌, я┤я┌п╬ я│ п©п╬п╪п╬я┴я▄я▌ svn (п╟ п╣я┴п╣ п╩я┐я┤я┬п╣ я▐п╥я▀п╨п╬п╡п╬п╧ п╬п╠п╡я▐п╥п╨п╦ Subversion Б─■ я│п╪. б╚Using Languages Other than C and C++б╩) п╪п╬п╤п╫п╬ п©п╬п╩я┐я┤п╦я┌я▄ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я┐я▌, п╫п╣п╬п╠я┘п╬п╢п╦п╪я┐я▌ п╢п╩я▐ п©п╬п╨п╟п╥п╟ п╫п╟ я│п╟п╧я┌п╣ п╦п╫я└п╬я─п╪п╟я├п╦я▌, п╫п╣ п╥п╟п╫п╦п╪п╟я▐я│я▄ я┤я┌п╣п╫п╦п╣п╪ п╦п╫п╢п╣п╨я│п╫п╬пЁп╬ я└п╟п╧п╩п╟ п╦п╩п╦ п╪п╟п╫п╦п©я┐п╩я▐я├п╦я▐п╪п╦ я│ п©я┐я┌я▐п╪п╦.

п²п╣ п╪п╣п╫п╣п╣ я┤п╟я│я┌п╬ п╦я│п©п╬п╩я▄п╥я┐я▌я┌я│я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╦п╣ я│п╡п╬п╧я│я┌п╡п╟ п©я─п╟п╡п╬п╨. п·п╢п╫п╦п╪ п╦п╥ я┌п╦п©п╦я┤п╫я▀я┘ п©я─п╦п╪п╣я─п╬п╡ я▐п╡п╩я▐п╣я┌я│я▐ я│п╡п╬п╧я│я┌п╡п╬, я┘я─п╟п╫я▐я┴п╣п╣ ID п╥п╟п©п╦я│п╦ п╡ я┌я─п╣п╨п╣я─п╣, я│ п╨п╬я┌п╬я─п╬п╧ я│п╬п©п╬я│я┌п╟п╡п╩п╣п╫п╟ п╢п╟п╫п╫п╟я▐ п©я─п╟п╡п╨п╟ Б─■ п╫п╟п©я─п╦п╪п╣я─, п©п╬я┌п╬п╪я┐ я┤я┌п╬ п╡п╫п╣я│п╣п╫п╫я▀п╣ п╡ п©я─п╟п╡п╨п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦я│п©я─п╟п╡п╩я▐я▌я┌ п╬я┬п╦п╠п╨я┐, п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╫п╫я┐я▌ п╡ я┌я─п╣п╨п╣я─п╣ я│ п╢п╟п╫п╫я▀п╪ ID. п■я─я┐пЁп╦п╣ п╡п╟я─п╦п╟п╫я┌я▀ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ я│п╡п╬п╧я│я┌п╡ п©я─п╟п╡п╬п╨ Б─■ п╥п╟п╢п╟п╫п╦п╣ п©я─п╟п╡п╨п╣ п╠п╬п╩п╣п╣ я│п╬п╢п╣я─п╤п╟я┌п╣п╩я▄п╫п╬пЁп╬ п╦п╪п╣п╫п╦. п²п╣п╩п╣пЁп╨п╬ п╥п╟п©п╬п╪п╫п╦я┌я▄, я┤я┌п╬, п╨ п©я─п╦п╪п╣я─я┐, п©я─п╟п╡п╨п╟ 1935 п©п╬п╩п╫п╬я│я┌я▄я▌ п©я─п╬я┌п╣я│я┌п╦я─п╬п╡п╟п╫п╟! п∙я│п╩п╦ п╤п╣, я│п╨п╟п╤п╣п╪, п╥п╟п╢п╟я┌я▄ я│п╡п╬п╧я│я┌п╡я┐ я─п╣п╥я┐п╩я▄я┌п╟я┌я▀ я┌п╣я│я┌п╦я─п╬п╡п╟п╫п╦я▐ п╡ я█я┌п╬п╧ п©я─п╟п╡п╨п╣ п╥п╫п╟я┤п╣п╫п╦п╣ п©я─п╬п╧п╢п╣п╫я▀ п╡я│п╣ я┌п╣я│я┌я▀, п©п╬п╩я┐я┤п╦я┌я│я▐ п╟п╠я│п╬п╩я▌я┌п╫п╬ я┤п╣я┌п╨п╟я▐ п╦п╫я└п╬я─п╪п╟я├п╦я▐.

п≤я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ я│п╡п╬п╧я│я┌п╡

п п╬п╪п╟п╫п╢п╟ svn п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣я┌ п╫п╣я│п╨п╬п╩я▄п╨п╬ я│п©п╬я│п╬п╠п╬п╡ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ п╦п╩п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│п╡п╬п╧я│я┌п╡ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡. п╖я┌п╬п╠я▀ п╢п╬п╠п╟п╡п╦я┌я▄ я│п╡п╬п╧я│я┌п╡п╬ я│ п╨п╬я─п╬я┌п╨п╦п╪ я┤п╦я┌п╟п╣п╪я▀п╪ п╥п╫п╟я┤п╣п╫п╦п╣п╪, п╫п╟п╡п╣я─п╫п╬п╣, п©я─п╬я┴п╣ п╡я│п╣пЁп╬ я┐п╨п╟п╥п╟я┌я▄ п╣пЁп╬ п╦п╪я▐ п╦ п╥п╫п╟я┤п╣п╫п╦п╣ п╡ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╣ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀ propset.

$ svn propset copyright '(c) 2006 Red-Bean Software' calc/button.c
property 'copyright' set on 'calc/button.c'
$

п·п╢п╫п╟п╨п╬ п╪я▀ я┐п╤п╣ п╥п╫п╟п╣п╪ п╬ я┌п╬п╪, п╫п╟я│п╨п╬п╩я▄п╨п╬ пЁп╦п╠п╨п╦п╪п╦ п╪п╬пЁя┐я┌ п╠я▀я┌я▄ я│п╡п╬п╧я│я┌п╡п╟ Subversion. п≤ п╣я│п╩п╦ п╡п╟п╪ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╥п╟п╢п╟я┌я▄ я│п╡п╬п╧я│я┌п╡я┐ п╪п╫п╬пЁп╬я│я┌я─п╬я┤п╫п╬п╣ я┌п╣п╨я│я┌п╬п╡п╬п╣ п╦п╩п╦ п╢п╟п╤п╣ п╠п╦п╫п╟я─п╫п╬п╣ п╥п╫п╟я┤п╣п╫п╦п╣, п©п╣я─п╣п╢п╟п╡п╟я┌я▄ п╣пЁп╬ я┤п╣я─п╣п╥ п╨п╬п╪п╟п╫п╢п╫я┐я▌ я│я┌я─п╬п╨я┐ п╠я┐п╢п╣я┌ п╫п╣я┐п╢п╬п╠п╫п╬. п■п╩я▐ я┌п╟п╨п╦я┘ я│п╩я┐я┤п╟п╣п╡ п╨п╬п╪п╟п╫п╢п╟ propset п╦п╪п╣п╣я┌ п©п╟я─п╟п╪п╣я┌я─ --file (-F), п©п╬п╥п╡п╬п╩я▐я▌я┴п╦п╧ я┐п╨п╟п╥п╟я┌я▄ п╦п╪я▐ я└п╟п╧п╩п╟ я│ п╫п╬п╡я▀п╪ п╥п╫п╟я┤п╣п╫п╦п╣п╪ я│п╡п╬п╧я│я┌п╡п╟.

$ svn propset license -F /path/to/LICENSE calc/button.c
property 'license' set on 'calc/button.c'
$

п²п╟ п╦п╪п╣п╫п╟ я│п╡п╬п╧я│я┌п╡ п╫п╟п╨п╩п╟п╢я▀п╡п╟п╣я┌я│я▐ я─я▐п╢ п╬пЁя─п╟п╫п╦я┤п╣п╫п╦п╧. п≤п╪я▐ п╢п╬п╩п╤п╫п╬ п╫п╟я┤п╦п╫п╟я┌я▄я│я▐ я│ п╠я┐п╨п╡я▀, п╢п╡п╬п╣я┌п╬я┤п╦я▐ (:) п╦п╩п╦ п©п╬п╢я┤п╣я─п╨п╦п╡п╟п╫п╦я▐ (_); п©п╬я│п╩п╣ п╫п╦я┘ п╪п╬п╤п╫п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я├п╦я└я─я▀, я┌п╦я─п╣ (-) п╦ я┌п╬я┤п╨п╦ (.). [13]

п я─п╬п╪п╣ п╨п╬п╪п╟п╫п╢я▀ propset, svn п©я─п╣п╢п╩п╟пЁп╟п╣я┌ п╨п╬п╪п╟п╫п╢я┐ propedit. п╜я┌п╟ п╨п╬п╪п╟п╫п╢п╟ п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ п╦п╩п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│п╡п╬п╧я│я┌п╡п╟ п╥п╟п╢п╟п╫п╫я┐я▌ п©я─п╬пЁя─п╟п╪п╪я┐-я─п╣п╢п╟п╨я┌п╬я─ (я│п╪. б╚Configб╩). п÷я─п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦п╦ п╨п╬п╪п╟п╫п╢я▀ svn п╡я▀п╥я▀п╡п╟п╣я┌ я─п╣п╢п╟п╨я┌п╬я─ я│ п╡я─п╣п╪п╣п╫п╫я▀п╪ я└п╟п╧п╩п╬п╪, я│п╬п╢п╣я─п╤п╟я┴п╦п╪ я┌п╣п╨я┐я┴п╣п╣ п╥п╫п╟я┤п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡п╟ (п╦п╩п╦ я│ п©я┐я│я┌я▀п╪ я└п╟п╧п╩п╬п╪, п╣я│п╩п╦ п╢п╬п╠п╟п╡п╩я▐п╣я┌я│я▐ п╫п╬п╡п╬п╣ я│п╡п╬п╧я│я┌п╡п╬). п≈п╟я┌п╣п╪ п╡я▀ п©я─п╬я│я┌п╬ п╦п╥п╪п╣п╫я▐п╣я┌п╣ п╡ я─п╣п╢п╟п╨я┌п╬я─п╣ п╥п╫п╟я┤п╣п╫п╦п╣, п©п╬п╨п╟ п╬п╫п╬ п╫п╣ я│я┌п╟п╫п╣я┌ я┌п╟п╨п╦п╪, п╨п╟п╨п╦п╪ п╡я▀ я┘п╬я┌п╣п╩п╦ п╠я▀ п╣пЁп╬ п╡п╦п╢п╣я┌я▄, я│п╬я┘я─п╟п╫я▐п╣я┌п╣ п╡я─п╣п╪п╣п╫п╫я▀п╧ я└п╟п╧п╩ п╦ п╡я▀я┘п╬п╢п╦я┌п╣ п╦п╥ я─п╣п╢п╟п╨я┌п╬я─п╟. п∙я│п╩п╦ Subversion п╬п╠п╫п╟я─я┐п╤п╦я┌, я┤я┌п╬ п╡я▀ п╢п╣п╧я│я┌п╡п╦я┌п╣п╩я▄п╫п╬ п╦п╥п╪п╣п╫п╦п╩п╦ я│я┐я┴п╣я│я┌п╡я┐я▌я┴п╣п╣ п╥п╫п╟я┤п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡п╟, п╠я┐п╢п╣я┌ п╥п╟п©п╦я│п╟п╫п╬ п╫п╬п╡п╬п╣ п╥п╫п╟я┤п╣п╫п╦п╣. п∙я│п╩п╦ п╡я▀ п╡я▀я┬п╩п╦ п╦п╥ я─п╣п╢п╟п╨я┌п╬я─п╟, п╫п╣ п╡п╫п╣я│я▐ п╫п╦п╨п╟п╨п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧, п╪п╬п╢п╦я└п╦п╨п╟я├п╦п╦ я│п╡п╬п╧я│я┌п╡п╟ п╫п╣ п©я─п╬п╦п╥п╬п╧п╢п╣я┌.

$ svn propedit copyright calc/button.c  ### exit the editor without changes
No changes to property 'copyright' on 'calc/button.c'
$

п·п╠я─п╟я┴п╟п╣п╪ п╡п╟я┬п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ я┌п╬, я┤я┌п╬, п©п╬п╢п╬п╠п╫п╬ п╢я─я┐пЁп╦п╪ п╨п╬п╪п╟п╫п╢п╟п╪ svn, п╨п╬п╪п╟п╫п╢я▀, п╬я┌п╫п╬я│я▐я┴п╦п╣я│я▐ п╨ я│п╡п╬п╧я│я┌п╡п╟п╪, п╪п╬пЁя┐я┌ п©я─п╦п╪п╣п╫я▐я┌я▄я│я▐ п╨ п╫п╣я│п╨п╬п╩я▄п╨п╦п╪ п©я┐я┌я▐п╪ п╥п╟ я─п╟п╥. п╜я┌п╬ п╢п╟п╣я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╬п╢п╫п╬п╧ п╨п╬п╪п╟п╫п╢п╬п╧ п╦п╥п╪п╣п╫я▐я┌я▄ я│п╡п╬п╧я│я┌п╡п╟ я├п╣п╩п╬пЁп╬ п╫п╟п╠п╬я─п╟ я└п╟п╧п╩п╬п╡. п²п╟п©я─п╦п╪п╣я─, п╪п╬п╤п╫п╬ я│п╢п╣п╩п╟я┌я▄ п╡п╬я┌ я┌п╟п╨:

$ svn propset copyright '(c) 2006 Red-Bean Software' calc/*
property 'copyright' set on 'calc/Makefile'
property 'copyright' set on 'calc/button.c'
property 'copyright' set on 'calc/integer.c'
Б─╕
$

п▓я│п╣ я█я┌п╦ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ п╦ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦я▐ я│п╡п╬п╧я│я┌п╡ п╠я▀п╩п╦ п╠я▀ п╫п╣ я│п╩п╦я┬п╨п╬п╪ п©п╬п╩п╣п╥п╫я▀, п╣я│п╩п╦ п╠я▀ п╫п╣п╩я▄п╥я▐ п╠я▀п╩п╬ п©я─п╬я│я┌п╬ я┐п╥п╫п╟я┌я▄ п╥п╫п╟я┤п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡п╟. п╖я┌п╬п╠я▀ п©п╬я│п╪п╬я┌я─п╣я┌я▄ п╦п╪п╣п╫п╟ п╦ п╥п╫п╟я┤п╣п╫п╦я▐ я│п╡п╬п╧я│я┌п╡, п╥п╟п╢п╟п╫п╫я▀я┘ п╢п╩я▐ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡, п╡ svn п╣я│я┌я▄ п╢п╡п╣ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀. п п╬п╪п╟п╫п╢п╟ svn proplist п©п╣я─п╣я┤п╦я│п╩я▐п╣я┌ я│я┐я┴п╣я│я┌п╡я┐я▌я┴п╦п╣ п╢п╩я▐ я┐п╨п╟п╥п╟п╫п╫п╬пЁп╬ п©я┐я┌п╦ я│п╡п╬п╧я│я┌п╡п╟. п÷п╬я│п╩п╣ я┌п╬пЁп╬ п╨п╟п╨ п╡я▀ я┐п╥п╫п╟п╣я┌п╣ п╦п╪я▐ я│п╡п╬п╧я│я┌п╡п╟, я│ п©п╬п╪п╬я┴я▄я▌ svn propget п╪п╬п╤п╫п╬ п╥п╟п©я─п╬я│п╦я┌я▄ п╣пЁп╬ п╥п╫п╟я┤п╣п╫п╦п╣. п╜я┌п╟ п╨п╬п╪п╟п╫п╢п╟ п╡я▀п╡п╣п╢п╣я┌ п╡ я│я┌п╟п╫п╢п╟я─я┌п╫я▀п╧ п©п╬я┌п╬п╨ п╡п╡п╬п╢п╟-п╡я▀п╡п╬п╢п╟ п╥п╫п╟я┤п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡п╟ п╢п╩я▐ я█п╩п╣п╪п╣п╫я┌п╟ п©п╬ я┐п╨п╟п╥п╟п╫п╫п╬п╪я┐ п©я┐я┌п╦ (п╦п╩п╦ п©я┐я┌я▐п╪) п╦ я│ я┐п╨п╟п╥п╟п╫п╫я▀п╪ п╦п╪п╣п╫п╣п╪.

$ svn proplist calc/button.c
Properties on 'calc/button.c':
  copyright
  license
$ svn propget copyright calc/button.c
(c) 2006 Red-Bean Software

п║я┐я┴п╣я│я┌п╡я┐п╣я┌ п╢п╟п╤п╣ п╡п╟я─п╦п╟п╫я┌ п╨п╬п╪п╟п╫п╢я▀ proplist, п©п╣я─п╣я┤п╦я│п╩я▐я▌я┴п╦п╧ п╨п╟п╨ п╦п╪п╣п╫п╟, я┌п╟п╨ п╦ п╥п╫п╟я┤п╣п╫п╦я▐ я│п╡п╬п╧я│я┌п╡. п²я┐п╤п╫п╬ п©я─п╬я│я┌п╬ п╢п╬п╠п╟п╡п╦я┌я▄ п©п╟я─п╟п╪п╣я┌я─ --verbose (-v).

$ svn proplist --verbose calc/button.c
Properties on 'calc/button.c':
  copyright : (c) 2006 Red-Bean Software
  license : ================================================================
Copyright (c) 2006 Red-Bean Software.  All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions, and the recipe for Fitz's famous
red-beans-and-rice.
Б─╕

п÷п╬я│п╩п╣п╢п╫я▐я▐ п╨п╬п╪п╟п╫п╢п╟, п╬я┌п╫п╬я│я▐я┴п╟я▐я│я▐ п╨ я│п╡п╬п╧я│я┌п╡п╟п╪ Б─■ propdel. п²п╣я│п╪п╬я┌я─я▐ п╫п╟ я┌п╬, я┤я┌п╬ Subversion п©п╬п╥п╡п╬п╩я▐п╣я┌ я│п╬я┘я─п╟п╫я▐я┌я▄ я│п╡п╬п╧я│я┌п╡п╟ я│ п©я┐я│я┌я▀п╪п╦ п╥п╫п╟я┤п╣п╫п╦я▐п╪п╦, п©п╬п╩п╫п╬я│я┌я▄я▌ я┐п╢п╟п╩п╦я┌я▄ я│п╡п╬п╧я│я┌п╡п╬ я│ п©п╬п╪п╬я┴я▄я▌ propedit п╦п╩п╦ propset п╫п╣п╩я▄п╥я▐. п²п╟п©я─п╦п╪п╣я─, я┌п╟п╨п╟я▐ п╨п╬п╪п╟п╫п╢п╟ п╫п╣ п╢п╟я│я┌ п╤п╣п╩п╟п╣п╪п╬пЁп╬ я█я└я└п╣п╨я┌п╟:

$ svn propset license '' calc/button.c
property 'license' set on 'calc/button.c'
$ svn proplist --verbose calc/button.c
Properties on 'calc/button.c':
  copyright : (c) 2006 Red-Bean Software
  license :
$

п■п╩я▐ п©п╬п╩п╫п╬пЁп╬ я┐п╢п╟п╩п╣п╫п╦я▐ я│п╡п╬п╧я│я┌п╡ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п©п╬п╢п╨п╬п╪п╟п╫п╢п╬п╧ propdel. п∙п╣ я│п╦п╫я┌п╟п╨я│п╦я│ я┌п╟п╨п╬п╧ п╤п╣, п╨п╟п╨ п╦ я┐ п╢я─я┐пЁп╦я┘ п╨п╬п╪п╟п╫п╢ п╢п╩я▐ я─п╟п╠п╬я┌я▀ я│п╬ я│п╡п╬п╧я│я┌п╡п╟п╪п╦:

$ svn propdel license calc/button.c
property 'license' deleted from 'calc/button.c'.
$ svn proplist --verbose calc/button.c
Properties on 'calc/button.c':
  copyright : (c) 2006 Red-Bean Software
$

п÷п╬п╪п╫п╦я┌п╣, п╪я▀ пЁп╬п╡п╬я─п╦п╩п╦ п╬ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я│п╡п╬п╧я│я┌п╡п╟я┘ п©я─п╟п╡п╬п╨? п≤я┘ я┌п╬п╤п╣ п╪п╬п╤п╫п╬ п╦п╥п╪п╣п╫я▐я┌я▄ я│ п©п╬п╪п╬я┴я▄я▌ svn. п÷я─п╬я│я┌п╬ п╢п╬п╠п╟п╡я▄я┌п╣ п©п╟я─п╟п╪п╣я┌я─ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ --revprop п╦ я┐п╨п╟п╤п╦я┌п╣ п©я─п╟п╡п╨я┐, я│п╡п╬п╧я│я┌п╡п╬ п╨п╬я┌п╬я─п╬п╧ п╡я▀ я┘п╬я┌п╦я┌п╣ п╦п╥п╪п╣п╫п╦я┌я▄. п÷п╬я│п╨п╬п╩я▄п╨я┐ п©я─п╟п╡п╨п╦ пЁп╩п╬п╠п╟п╩я▄п╫я▀, я┐п╨п╟п╥я▀п╡п╟я┌я▄ п©я┐я┌п╦ п╫п╣ я┌я─п╣п╠я┐п╣я┌я│я▐ п╢п╬ я┌п╣я┘ п©п╬я─, п©п╬п╨п╟ п╡я▀ п╫п╟я┘п╬п╢п╦я┌п╣я│я▄ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я┌п╬пЁп╬ я┘я─п╟п╫п╦п╩п╦я┴п╟, я│п╡п╬п╧я│я┌п╡п╬ п©я─п╟п╡п╨п╦ п╡ п╨п╬я┌п╬я─п╬п╪ п╡п╟п╪ п╫я┐п╤п╫п╬ п╦п╥п╪п╣п╫п╦я┌я▄. п▓ п©я─п╬я┌п╦п╡п╫п╬п╪ я│п╩я┐я┤п╟п╣, п╫я┐п╤п╫п╬ п©я─п╬я│я┌п╬ я┐п╨п╟п╥п╟я┌я▄ URL п╩я▌п╠п╬пЁп╬ п©я┐я┌п╦ п╡ п╦п╫я┌п╣я─п╣я│я┐я▌я┴п╣п╪ п╡п╟я│ я┘я─п╟п╫п╦п╩п╦я┴п╣ (п╡ я┌п╬п╪ я┤п╦я│п╩п╣ я█я┌п╬ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ п╦ п╨п╬я─п╫п╣п╡п╬п╧ URL я┘я─п╟п╫п╦п╩п╦я┴п╟). п²п╟п©я─п╦п╪п╣я─, п╡я▀ п╪п╬п╤п╣я┌п╣ п╥п╟п╪п╣п╫п╦я┌я▄ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╣ я└п╦п╨я│п╟я├п╦п╦ п╡ я│я┐я┴п╣я│я┌п╡я┐я▌я┴п╣п╧ п©я─п╟п╡п╨п╣. [14] п∙я│п╩п╦ я┌п╣п╨я┐я┴п╦п╧ я─п╟п╠п╬я┤п╦п╧ п╨п╟я┌п╟п╩п╬пЁ я▐п╡п╩я▐п╣я┌я│я▐ я┤п╟я│я┌я▄я▌ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟, п╪п╬п╤п╫п╬ п©я─п╬я│я┌п╬ п╡я▀п©п╬п╩п╫п╦я┌я▄ п╨п╬п╪п╟п╫п╢я┐ svn propset, п╫п╣ я┐п╨п╟п╥я▀п╡п╟я▐ я├п╣п╩п╣п╡п╬п╧ п©я┐я┌я▄:

$ svn propset svn:log '* button.c: Fix a compiler warning.' -r11 --revprop
property 'svn:log' set on repository revision '11'
$

п²п╬ п╢п╟п╤п╣ п╣я│п╩п╦ п╡я▀ п╫п╣ п╡я▀пЁя─я┐п╤п╟п╩п╦ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, п╪п╬п╤п╫п╬ п╦п╥п╪п╣п╫п╦я┌я▄ я│п╡п╬п╧я│я┌п╡п╬, я┐п╨п╟п╥п╟п╡ п╨п╬я─п╫п╣п╡п╬п╧ URL я┘я─п╟п╫п╦п╩п╦я┴п╟:

$ svn propset svn:log '* button.c: Fix a compiler warning.' -r11 --revprop \
              http://svn.example.com/repos/project
property 'svn:log' set on repository revision '11'
$

п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ я┌п╬, я┤я┌п╬ п╦п╥п╪п╣п╫п╣п╫п╦п╣ я█я┌п╦я┘ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я│п╡п╬п╧я│я┌п╡ п╢п╬п╩п╤п╫п╬ п╠я▀я┌я▄ я▐п╡п╫п╬ я─п╟п╥я─п╣я┬п╣п╫п╬ п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╬я─п╬п╪ (я│п╪. б╚Hook Scriptsб╩). пёя┤п╦я┌я▀п╡п╟я▐ я┌п╬, я┤я┌п╬ я│п╡п╬п╧я│я┌п╡п╟ п╫п╣ п╡п╣я─я│п╦п╬п╫п╦я─я┐я▌я┌я│я▐, п©я─п╦ п╫п╣п╟п╨п╨я┐я─п╟я┌п╫п╬п╪ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦п╦ п╡я▀ я─п╦я│п╨я┐п╣я┌п╣ п©п╬я┌п╣я─я▐я┌я▄ п╦п╫я└п╬я─п╪п╟я├п╦я▌. п╖я┌п╬п╠я▀ п©я─п╣п╢п╬я┌п╡я─п╟я┌п╦я┌я▄ п©п╬я┌п╣я─я▌ п╦п╫я└п╬я─п╪п╟я├п╦п╦, п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╬я─ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╪п╬п╤п╣я┌ п©я─п╦п╫я▐я┌я▄ п╪п╣я─я▀ п©я─п╣п╢п╬я│я┌п╬я─п╬п╤п╫п╬я│я┌п╦, п╦ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╦п╥п╪п╣п╫п╣п╫п╦п╣ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я│п╡п╬п╧я│я┌п╡ п╥п╟п©я─п╣я┴п╣п╫п╬.

[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

п÷п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪ я│п╩п╣п╢я┐п╣я┌, п©п╬ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦, п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ svn propedit п╡п╪п╣я│я┌п╬ svn propset. п╔п╬я┌я▐ п╨п╬п╫п╣я┤п╫я▀п╧ я─п╣п╥я┐п╩я▄я┌п╟я┌ п╬п╠п╣п╦я┘ п╨п╬п╪п╟п╫п╢ п╠я┐п╢п╣я┌ п╬п╢п╦п╫п╟п╨п╬п╡, п©п╣я─п╡п╟я▐ п©п╬п╥п╡п╬п╩п╦я┌ я┐п╡п╦п╢п╣я┌я▄ я┌п╣п╨я┐я┴п╣п╣ п╥п╫п╟я┤п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡п╟ п©п╣я─п╣п╢ п╦п╥п╪п╣п╫п╣п╫п╦п╣п╪, п╦ я┌п╟п╨п╦п╪ п╬п╠я─п╟п╥п╬п╪ я┐п╢п╬я│я┌п╬п╡п╣я─п╦я┌я▄я│я▐, я┤я┌п╬ п╡п╫п╬я│я▐я┌я│я▐ п╦п╪п╣п╫п╫п╬ я┌п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╨п╬я┌п╬я─я▀п╣ п╠я▀п╩п╦ п╥п╟п╢я┐п╪п╟п╫я▀. п▓ п╬я│п╬п╠п╣п╫п╫п╬я│я┌п╦ я█я┌п╬ я│п©я─п╟п╡п╣п╢п╩п╦п╡п╬ п╢п╩я▐ п╪п╬п╢п╦я└п╦п╨п╟я├п╦п╦ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я│п╡п╬п╧я│я┌п╡ п©я─п╟п╡п╬п╨. п■п╟ п╦ п╦п╥п╪п╣п╫я▐я┌я▄ я│п╡п╬п╧я│я┌п╡п╟ я│ п╪п╫п╬пЁп╬я│я┌я─п╬я┤п╫я▀п╪п╦ п╥п╫п╟я┤п╣п╫п╦я▐п╪п╦ пЁп╬я─п╟п╥п╢п╬ п©я─п╬я┴п╣ п╡ я┌п╣п╨я│я┌п╬п╡п╬п╪ я─п╣п╢п╟п╨я┌п╬я─п╣, п╟ п╫п╣ п╡ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╣.

п║п╡п╬п╧я│я┌п╡п╟ п╦ я─п╟п╠п╬я┤п╦п╧ я├п╦п╨п╩ Subversion

п╒п╣п©п╣я─я▄, п╨п╬пЁп╢п╟ п╡я▀ п©п╬п╥п╫п╟п╨п╬п╪п╦п╩п╦я│я▄ я│п╬ п╡я│п╣п╪п╦ п╨п╬п╪п╟п╫п╢п╟п╪п╦ svn, п╦п╪п╣я▌я┴п╦п╪п╦ п╬я┌п╫п╬я┬п╣п╫п╦п╣ п╨ я│п╡п╬п╧я│я┌п╡п╟п╪, п╢п╟п╡п╟п╧я┌п╣ п©п╬я│п╪п╬я┌я─п╦п╪, п╨п╟п╨ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│п╡п╬п╧я│я┌п╡ п╡п╩п╦я▐я▌я┌ п╫п╟ п©я─п╦п╡я▀я┤п╫я▀п╧ п©п╬я─я▐п╢п╬п╨ я─п╟п╠п╬я┌я▀ я│ Subversion. п п╟п╨ п╪я▀ я┐п╤п╣ пЁп╬п╡п╬я─п╦п╩п╦, я│п╡п╬п╧я│я┌п╡п╟ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫я▀ п╟п╫п╟п╩п╬пЁп╦я┤п╫п╬ я│п╬п╢п╣я─п╤п╦п╪п╬п╪я┐ я└п╟п╧п╩п╬п╡. п÷п╬я█я┌п╬п╪я┐ Subversion п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣я┌ я┌п╣ п╤п╣ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ п©п╬ я│п╩п╦я▐п╫п╦я▌ Б─■ п╡ я│п╩я┐я┤п╟п╣ п╨п╬п╫я└п╩п╦п╨я┌п╫я▀я┘ я│п╦я┌я┐п╟я├п╦п╧ Б─■ я┤я┐п╤п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ я│ п╡п╟я┬п╦п╪п╦ я│п╬п╠я│я┌п╡п╣п╫п╫я▀п╪п╦.

п╒п╟п╨ п╤п╣ п╨п╟п╨ п╦ п╡ я│п╩я┐я┤п╟п╣ я│ я│п╬п╢п╣я─п╤п╦п╪я▀п╪ я└п╟п╧п╩п╬п╡, п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│п╡п╬п╧я│я┌п╡ я▐п╡п╩я▐я▌я┌я│я▐ п╩п╬п╨п╟п╩я▄п╫п╬п╧ п╪п╬п╢п╦я└п╦п╨п╟я├п╦п╣п╧ п╦ я│я┌п╟п╫п╬п╡я▐я┌я│я▐ п©п╬я│я┌п╬я▐п╫п╫я▀п╪п╦ я┌п╬п╩я▄п╨п╬ п©я─п╦ п╦я┘ я└п╦п╨я│п╟я├п╦п╦ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ я│ п©п╬п╪п╬я┴я▄я▌ svn commit. п≤п╥п╪п╣п╫п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡ п╪п╬п╤п╫п╬ п╩п╣пЁп╨п╬ п╬я┌п╪п╣п╫п╦я┌я▄ Б─■ п╨п╬п╪п╟п╫п╢п╟ svn revert п╡п╬я│я│я┌п╟п╫п╬п╡п╦я┌ я└п╟п╧п╩я▀ п╦ п╨п╟я┌п╟п╩п╬пЁп╦ п╡ п╦я┘ п©п╣я─п╡п╬п╫п╟я┤п╟п╩я▄п╫п╬п╣ я│п╬я│я┌п╬я▐п╫п╦п╣, п╡п╨п╩я▌я┤п╟я▐ я│п╬п╢п╣я─п╤п╦п╪п╬п╣, я│п╡п╬п╧я│я┌п╡п╟ п╦ п╡я│п╣ п╬я│я┌п╟п╩я▄п╫п╬п╣. п я─п╬п╪п╣ я┌п╬пЁп╬, п╦п╫я┌п╣я─п╣я│п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬ я│п╬я│я┌п╬я▐п╫п╦п╦ я│п╡п╬п╧я│я┌п╡ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡ п╪п╬п╤п╫п╬ п©п╬п╩я┐я┤п╦я┌я▄ я│ п©п╬п╪п╬я┴я▄я▌ п╨п╬п╪п╟п╫п╢ svn status п╦ svn diff.

$ svn status calc/button.c
 M     calc/button.c
$ svn diff calc/button.c
Property changes on: calc/button.c
___________________________________________________________________
Name: copyright
   + (c) 2006 Red-Bean Software

$

п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ я┌п╬, я┤я┌п╬ п©п╬п╢п╨п╬п╪п╟п╫п╢п╟ status п©п╬п╨п╟п╥п╟п╩п╟ M п╫п╣ п╡ п©п╣я─п╡п╬п╧, п╟ п╡п╬ п╡я┌п╬я─п╬п╧ п╨п╬п╩п╬п╫п╨п╣. п╜я┌п╬ п©я─п╬п╦п╥п╬я┬п╩п╬ п©п╬я┌п╬п╪я┐, я┤я┌п╬ п╡ calc/button.c п╦п╥п╪п╣п╫п╦п╩п╦я│я▄ я│п╡п╬п╧я│я┌п╡п╟, п╟ п╫п╣ я┌п╣п╨я│я┌п╬п╡п╬п╣ я│п╬п╢п╣я─п╤п╦п╪п╬п╣. п∙я│п╩п╦ п╠я▀ п╪я▀ п╦п╥п╪п╣п╫п╦п╩п╦ п╦ я┌п╬ п╦ п╢я─я┐пЁп╬п╣, п╡ п©п╣я─п╡п╬п╧ п╨п╬п╩п╬п╫п╨п╣ я┌п╟п╨п╤п╣ я│я┌п╬я▐п╩п╟ п╠я▀ п╠я┐п╨п╡п╟ M (я│п╪. б╚svn statusб╩).

п я─п╬п╪п╣ я┌п╬пЁп╬, п╫я┐п╤п╫п╬ п©п╬п╪п╫п╦я┌я▄ п╬ п╫п╣я│я┌п╟п╫п╢п╟я─я┌п╫п╬п╪ п©п╬п╢я┘п╬п╢п╣, п╦я│п©п╬п╩я▄п╥я┐п╣п╪п╬п╪ Subversion п©я─п╦ п╡я▀п╡п╬п╢п╣ я─п╟п╥п╩п╦я┤п╦п╧ п╢п╩я▐ я│п╡п╬п╧я│я┌п╡. п▒п╣п╥я┐я│п╩п╬п╡п╫п╬, п╪п╬п╤п╫п╬ п╥п╟п©я┐я│я┌п╦я┌я▄ svn diff п╦ п©п╣я─п╣п╫п╟п©я─п╟п╡п╦я┌я▄ п╡я▀п╡п╬п╢ п╢п╩я▐ я│п╬п╥п╢п╟п╫п╦я▐ я─п╟п╠п╬я┌п╬я│п©п╬я│п╬п╠п╫п╬пЁп╬ п©п╟я┌я┤-я└п╟п╧п╩п╟. п²п╬ п©я─п╬пЁя─п╟п╪п╪п╟ patch п╠я┐п╢п╣я┌ п©я─п╬я│я┌п╬ п╦пЁп╫п╬я─п╦я─п╬п╡п╟я┌я▄ я─п╟п╥п╩п╦я┤п╦я▐ я│п╡п╬п╧я│я┌п╡ Б─■ п╨п╟п╨ п©я─п╟п╡п╦п╩п╬, п╬п╫п╟ п╦пЁп╫п╬я─п╦я─я┐п╣я┌ п╩я▌п╠п╬п╧ п╪я┐я│п╬я─, п╨п╬я┌п╬я─я▀п╧ п╫п╣ п╪п╬п╤п╣я┌ п╬п╠я─п╟п╠п╬я┌п╟я┌я▄. п  я│п╬п╤п╟п╩п╣п╫п╦я▌, я█я┌п╬ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ п╢п╩я▐ п©п╬п╩п╫п╬пЁп╬ п©я─п╦п╪п╣п╫п╣п╫п╦я▐ п©п╟я┌я┤п╟, я│пЁп╣п╫п╣я─п╦я─п╬п╡п╟п╫п╫п╬пЁп╬ svn diff, п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│п╡п╬п╧я│я┌п╡ п©я─п╦п╢п╣я┌я│я▐ п╡п╫п╬я│п╦я┌я▄ п╡я─я┐я┤п╫я┐я▌.

п░п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╟я▐ я┐я│я┌п╟п╫п╬п╡п╨п╟ я│п╡п╬п╧я│я┌п╡

п÷п╬п╢п╢п╣я─п╤п╨п╟ я│п╡п╬п╧я│я┌п╡ Б─■ п╪п╬я┴п╫п╟я▐ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╟я▐ п╬я│п╬п╠п╣п╫п╫п╬я│я┌я▄ Subversion. п║п╡п╬п╧я│я┌п╡п╟ я│п╩я┐п╤п╟я┌ п╠п╟п╥п╬п╡я▀п╪ п╪п╣я┘п╟п╫п╦п╥п╪п╬п╪ п╢п╩я▐ я─п╣п╟п╩п╦п╥п╟я├п╦п╦ п╪п╫п╬пЁп╦я┘ п╢я─я┐пЁп╦я┘ я└я┐п╫п╨я├п╦п╧ Subversion, п╬п╠я│я┐п╤п╢п╟п╣п╪я▀я┘ п╡ п╨п╫п╦пЁп╣ Б─■ п©п╬п╢п╢п╣я─п╤п╨п╦ я┌п╣п╨я│я┌п╬п╡п╬пЁп╬ п©п╬п╦я│п╨п╟ я─п╟п╥п╩п╦я┤п╦п╧ п╦ я│п╩п╦я▐п╫п╦я▐, п©п╬п╢я│я┌п╟п╫п╬п╡п╨п╦ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡, я┌я─п╟п╫я│п╩я▐я├п╦п╦ я│п╦п╪п╡п╬п╩п╬п╡ п©п╣я─п╣п╡п╬п╢п╟ я│я┌я─п╬п╨п╦ п╦ я┌. п╢. п·п╢п╫п╟п╨п╬, я┤я┌п╬п╠я▀ п©п╬п╩я┐я┤п╦я┌я▄ я─п╣п╟п╩я▄п╫я┐я▌ п╡я▀пЁп╬п╢я┐ п╬я┌ я│п╡п╬п╧я│я┌п╡, п╦я┘ п╫я┐п╤п╫п╬ п╥п╟п╢п╟п╡п╟я┌я▄ п╢п╩я▐ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦я┘ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡. п  я│п╬п╤п╟п╩п╣п╫п╦я▌, я│я─п╣п╢п╦ п©п╬п╡я│п╣п╢п╫п╣п╡п╫я▀я┘ п╥п╟п╠п╬я┌ п╬п╠ я█я┌п╬п╪ п╬я┤п╣п╫я▄ п╩п╣пЁп╨п╬ п╥п╟п╠я▀я┌я▄, п╬я│п╬п╠п╣п╫п╫п╬ я┐я┤п╦я┌я▀п╡п╟я▐ я┌п╬, я┤я┌п╬ п╫п╣я┐я│я┌п╟п╫п╬п╡п╨п╟ п╥п╫п╟я┤п╣п╫п╦я▐ я│п╡п╬п╧я│я┌п╡п╟ п╬п╠я▀я┤п╫п╬ п╫п╣ п©я─п╦п╡п╬п╢п╦я┌ п╨ я▐п╡п╫п╬ п╥п╟п╪п╣я┌п╫я▀п╪ п╬я┬п╦п╠п╨п╟п╪ (п©п╬ я│я─п╟п╡п╫п╣п╫п╦я▌, я│п╨п╟п╤п╣п╪, я│ п╫п╣п╢п╬п╠п╟п╡п╩п╣п╫п╦п╣п╪ я└п╟п╧п╩п╟ п©п╬п╢ п╡п╣я─я│п╦п╬п╫п╫я▀п╧ п╨п╬п╫я┌я─п╬п╩я▄). п╖я┌п╬п╠я▀ п©п╬п╪п╬я┤я▄ п╡ я┐я│я┌п╟п╫п╬п╡п╨п╣ я│п╡п╬п╧я│я┌п╡ п╢п╩я▐ п╫я┐п╤п╫я▀я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡, Subversion п╬п╠п╣я│п©п╣я┤п╦п╡п╟п╣я┌ п©п╟я─я┐ п©я─п╬я│я┌я▀я┘, п╫п╬ п©п╬п╩п╣п╥п╫я▀я┘ я└я┐п╫п╨я├п╦п╧.

п÷я─п╦ п╨п╟п╤п╢п╬п╪ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╦ я└п╟п╧п╩п╟ п©п╬п╢ п╡п╣я─я│п╦п╬п╫п╫я▀п╧ п╨п╬п╫я┌я─п╬п╩я▄ я│ п©п╬п╪п╬я┴я▄я▌ п╨п╬п╪п╟п╫п╢ svn add п╦п╩п╦ svn import Subversion п©я▀я┌п╟п╣я┌я│я▐ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ я┐я│я┌п╟п╫п╬п╡п╦я┌я▄ п╫п╣я│п╨п╬п╩я▄п╨п╬ п╠п╟п╥п╬п╡я▀я┘ я│п╡п╬п╧я│я┌п╡ я└п╟п╧п╩п╬п╡. п▓п╬-п©п╣я─п╡я▀я┘, п╡ п╬п©п╣я─п╟я├п╦п╬п╫п╫я▀я┘ я│п╦я│я┌п╣п╪п╟я┘, я└п╟п╧п╩п╬п╡я▀п╣ я│п╦я│я┌п╣п╪я▀ п╨п╬я┌п╬я─я▀я┘ п©п╬п╢п╢п╣я─п╤п╦п╡п╟я▌я┌ п╠п╦я┌ я─п╟п╥я─п╣я┬п╣п╫п╦я▐ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐, Subversion п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ п╥п╟п╢п╟п╣я┌ я│п╡п╬п╧я│я┌п╡п╬ svn:executable п╢п╩я▐ п╡п╫п╬п╡я▄ п╢п╬п╠п╟п╡п╩п╣п╫п╫я▀я┘ п╦п╩п╦ п╦п╪п©п╬я─я┌п╦я─п╬п╡п╟п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡, я┐ п╨п╬я┌п╬я─я▀я┘ я█я┌п╬я┌ п╠п╦я┌ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫. (п·п╠я─п╟я┌п╦я┌п╣я│я▄ п╨ б╚п≤я│п©п╬п╩п╫п╦п╪п╬я│я┌я▄ я└п╟п╧п╩п╟б╩ п╥п╟ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╬п╠ я█я┌п╬п╪ я│п╡п╬п╧я│я┌п╡п╣.) п▓п╬-п╡я┌п╬я─я▀я┘, Subversion п╡я▀п©п╬п╩п╫я▐п╣я┌ п╬я┤п╣п╫я▄ п©я─п╬я│я┌я┐я▌ я█п╡я─п╦я│я┌п╦я┤п╣я│п╨я┐я▌ п©я─п╬я├п╣п╢я┐я─я┐, я┤я┌п╬п╠я▀ п╬п©я─п╣п╢п╣п╩п╦я┌я▄, п╦п╪п╣п╣я┌ п╩п╦ я└п╟п╧п╩ я┤п╦я┌п╟п╣п╪п╬п╣ я│п╬п╢п╣я─п╤п╦п╪п╬п╣. п∙я│п╩п╦ я█я┌п╬ п╫п╣ я┌п╟п╨, Subversion п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣я┌ я│п╡п╬п╧я│я┌п╡п╬ svn:mime-type я█я┌п╬пЁп╬ я└п╟п╧п╩п╟ п╡ п╥п╫п╟я┤п╣п╫п╦п╣ application/octet-stream (я█я┌п╬ п╠п╟п╥п╬п╡я▀п╧ MIME-я┌п╦п©, п╬п╠п╬п╥п╫п╟я┤п╟я▌я┴п╦п╧ б╚п╫п╟п╠п╬я─ п╠п╟п╧я┌п╬п╡б╩). п п╬п╫п╣я┤п╫п╬, п╣я│п╩п╦ Subversion я┐пЁп╟п╢п╟п╣я┌ я┌п╦п© я└п╟п╧п╩п╟ п╫п╣п©я─п╟п╡п╦п╩я▄п╫п╬, п╦п╩п╦ п╣я│п╩п╦ п╡я▀ п©п╬п╤п╣п╩п╟п╣я┌п╣ п©я─п╦я│п╡п╬п╦я┌я▄ я│п╡п╬п╧я│я┌п╡я┐ svn:mime-type п╠п╬п╩п╣п╣ я┌п╬я┤п╫п╬п╣ п╥п╫п╟я┤п╣п╫п╦п╣ Б─■ п╫п╟п©я─п╦п╪п╣я─, image/png п╦п╩п╦ application/x-shockwave-flash Б─■ п╡я▀ п╡я│п╣пЁп╢п╟ п╪п╬п╤п╣я┌п╣ я┐п╢п╟п╩п╦я┌я▄ п╦п╩п╦ п╬я┌я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟я┌я▄ я█я┌п╬ я│п╡п╬п╧я│я┌п╡п╬. (п≈п╟ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╣п╧ п╬п╠ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦ MIME-я┌п╦п©п╬п╡ п╡ Subversion п╬п╠я─п╟я┌п╦я┌п╣я│я▄ п╨ б╚п╒п╦п© я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬ я└п╟п╧п╩п╟б╩.)

п╖п╣я─п╣п╥ я│п╬п╠я│я┌п╡п╣п╫п╫я┐я▌ я│п╦я│я┌п╣п╪я┐ п╨п╬п╫я└п╦пЁя┐я─п╦я─п╬п╡п╟п╫п╦я▐ я│я─п╣п╢я▀ п╦я│п©п╬п╩п╫п╣п╫п╦я▐ (я│п╪. б╚п÷п╟я─п╟п╪п╣я┌я─я▀ п╡я─п╣п╪п╣п╫п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐б╩) Subversion я┌п╟п╨п╤п╣ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌ п╠п╬п╩п╣п╣ пЁп╦п╠п╨я┐я▌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╬п╧ я┐я│я┌п╟п╫п╬п╡п╨п╦ я│п╡п╬п╧я│я┌п╡, п╨п╬я┌п╬я─п╟я▐ п©п╬п╥п╡п╬п╩я▐п╣я┌ п╥п╟п╢п╟п╡п╟я┌я▄ я│п╬п╬я┌п╡п╣я┌я│я┌п╡п╦я▐ п╪п╣п╤п╢я┐ п╪п╟я│п╨п╟п╪п╦ п╦п╪п╣п╫ я└п╟п╧п╩п╬п╡ п╦ п╦п╪п╣п╫п╟п╪п╦ п╦ п╥п╫п╟я┤п╣п╫п╦я▐п╪п╦ я│п╡п╬п╧я│я┌п╡. п∙я┴п╣ я─п╟п╥: я█я┌п╦ я│п╬п╬я┌п╡п╣я┌я│я┌п╡п╦я▐ п╡п╬п╥п╢п╣п╧я│я┌п╡я┐я▌я┌ п╫п╟ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╣ п╦ п╦п╪п©п╬я─я┌, п╦ п╪п╬пЁя┐я┌ п╫п╣ я┌п╬п╩я▄п╨п╬ п©п╣я─п╣п╬п©я─п╣п╢п╣п╩я▐я┌я▄ я─п╣я┬п╣п╫п╦п╣ п╬ MIME-я┌п╦п©п╣ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌, п©я─п╦п╫п╦п╪п╟п╣п╪п╬п╣ Subversion п╡ я┘п╬п╢п╣ я█я┌п╦я┘ п╬п©п╣я─п╟я├п╦п╧, п╫п╬ п╦ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟я┌я▄ п╢я─я┐пЁп╦п╣ я│я┌п╟п╫п╢п╟я─я┌п╫я▀п╣ п╦п╩п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╦п╣ я│п╡п╬п╧я│я┌п╡п╟. п²п╟п©я─п╦п╪п╣я─, п╡я▀ п╪п╬пЁп╩п╦ п╠я▀ п╥п╟п╢п╟я┌я▄ я│п╬п╬я┌п╡п╣я┌я│я┌п╡п╦п╣, я┤я┌п╬п╠я▀ п©я─п╦ п╨п╟п╤п╢п╬п╪ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╦ JPEG-я└п╟п╧п╩п╟ Б─■ я┌п╬ п╣я│я┌я▄ я█п╩п╣п╪п╣п╫я┌п╟, я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╣пЁп╬ п╪п╟я│п╨п╣ *.jpg Б─■ Subversion п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ п©я─п╦я│п╡п╟п╦п╡п╟п╩ п╠я▀ я│п╡п╬п╧я│я┌п╡я┐ svn:mime-type п╥п╫п╟я┤п╣п╫п╦п╣ image/jpeg. п≤п╩п╦, п╨ п©я─п╦п╪п╣я─я┐, п╢п╩я▐ п╡я│п╣я┘ я└п╟п╧п╩п╬п╡, я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦я┘ п╪п╟я│п╨п╣ *.cpp, я│п╡п╬п╧я│я┌п╡п╬ svn:eol-style я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╩п╬я│я▄ п╠я▀ п╡ native, п╟ svn:keywords Б─■ п╡ Id. п÷п╬п╢п╢п╣я─п╤п╨п╟ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦я┘ я│п╡п╬п╧я│я┌п╡ Б─■ я█я┌п╬, п©п╬п╤п╟п╩я┐п╧, п╫п╟п╦п╠п╬п╩п╣п╣ я┐п╢п╬п╠п╫я▀п╧ п╦п╫я│я┌я─я┐п╪п╣п╫я┌ Subversion п╡ я┤п╟я│я┌п╦ я─п╟п╠п╬я┌я▀ я│п╬ я│п╡п╬п╧я│я┌п╡п╟п╪п╦ я│я─п╣п╢п╦ п╡я│п╣пЁп╬ п╫п╟п╠п╬я─п╟ п╢п╬я│я┌я┐п©п╫я▀я┘ я│я─п╣п╢я│я┌п╡. п║п╪. б╚Configб╩ п╢п╩я▐ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╬ п╫п╟я│я┌я─п╬п╧п╨п╣ я┌п╟п╨п╬п╧ п©п╬п╢п╢п╣я─п╤п╨п╦.

п÷п╣я─п╣п╫п╬я│п╦п╪п╬я│я┌я▄ я└п╟п╧п╩п╬п╡

п  я─п╟п╢п╬я│я┌п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ Subversion, я─п╣пЁя┐п╩я▐я─п╫п╬ я─п╟п╠п╬я┌п╟я▌я┴п╦я┘ я│ я─п╟п╥п╩п╦я┤п╫я▀п╪п╦ п╨п╬п╪п©я▄я▌я┌п╣я─п╟п╪п╦ п╦ п╬п©п╣я─п╟я├п╦п╬п╫п╫я▀п╪п╦ я│п╦я│я┌п╣п╪п╟п╪п╦, я┐я┌п╦п╩п╦я┌п╟ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ Subversion п╡п╣п╥п╢п╣ я─п╟п╠п╬я┌п╟п╣я┌ п©я─п╟п╨я┌п╦я┤п╣я│п╨п╦ п╬п╢п╦п╫п╟п╨п╬п╡п╬. п∙я│п╩п╦ п╡я▀ п╥п╫п╟п╣я┌п╣, п╨п╟п╨ п╬п╠я─п╟я┴п╟я┌я▄я│я▐ я│ svn п╫п╟ п╬п╢п╫п╬п╧ п©п╩п╟я┌я└п╬я─п╪п╣, п╡я▀ я│п©я─п╟п╡п╦я┌п╣я│я▄ я│ п╫п╣п╧ п╦ п╫п╟ п╩я▌п╠п╬п╧ п╢я─я┐пЁп╬п╧ п©п╩п╟я┌я└п╬я─п╪п╣.

п·п╢п╫п╟п╨п╬, я█я┌п╬ п╫п╣ п╡я│п╣пЁп╢п╟ я│п©я─п╟п╡п╣п╢п╩п╦п╡п╬ п╢п╩я▐ п╢я─я┐пЁп╦я┘ п╨п╩п╟я│я│п╬п╡ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐, п╟ я┌п╟п╨п╤п╣ п╢п╩я▐ п╨п╬п╫п╨я─п╣я┌п╫я▀я┘ я└п╟п╧п╩п╬п╡, я┘я─п╟п╫я▐я┴п╦я┘я│я▐ п╡ Subversion. п²п╟п©я─п╦п╪п╣я─, п╫п╟ п╨п╬п╪п©я▄я▌я┌п╣я─п╣ п©п╬п╢ я┐п©я─п╟п╡п╩п╣п╫п╦п╣п╪ Windows б╚я┌п╣п╨я│я┌п╬п╡я▀п╣ я└п╟п╧п╩я▀б╩ п╡я▀пЁп╩я▐п╢я▐я┌ п©п╬я┤я┌п╦ я┌п╟п╨ п╤п╣ п╨п╟п╨ п╦ п╡ Linux, п╫п╬ п©я─п╦ я█я┌п╬п╪ п╣я│я┌я▄ п╬п╢п╫п╬ я│я┐я┴п╣я│я┌п╡п╣п╫п╫п╬п╣ п╬я┌п╩п╦я┤п╦п╣ Б─■ п©п╬я│п╩п╣п╢п╬п╡п╟я┌п╣п╩я▄п╫п╬я│я┌я▄ я│п╦п╪п╡п╬п╩п╬п╡, п╦я│п©п╬п╩я▄п╥я┐п╣п╪п╟я▐ п╢п╩я▐ п╪п╟я─п╨п╦я─п╬п╡п╨п╦ п╨п╬п╫я├п╟ я│я┌я─п╬п╨п╦ п╡ я┌п╟п╨п╦я┘ я└п╟п╧п╩п╟я┘. п≤п╪п╣я▌я┌я│я▐ п╦ п╢я─я┐пЁп╦п╣ я─п╟п╥п╩п╦я┤п╦я▐. Unix-п©п╩п╟я┌я└п╬я─п╪я▀ п╦п╪п╣я▌я┌ я│п╦п╪п╡п╬п╩я▄п╫я▀п╣ я│я│я▀п╩п╨п╦ (п╦ Subversion п╦я┘ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌), п╟ Windows Б─■ п╫п╣ п╦п╪п╣п╣я┌. п²п╟ Unix-п©п╩п╟я┌я└п╬я─п╪п╟я┘ п╦я│п©п╬п╩п╫п╦п╪п╬я│я┌я▄ я└п╟п╧п╩п╟ п╬п©я─п╣п╢п╣п╩я▐п╣я┌я│я▐ я│ п©п╬п╪п╬я┴я▄я▌ п©я─п╟п╡ п╢п╬я│я┌я┐п©п╟ п╫п╟ я┐я─п╬п╡п╫п╣ я└п╟п╧п╩п╬п╡п╬п╧ я│п╦я│я┌п╣п╪я▀; Windows п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╢п╩я▐ я█я┌п╬пЁп╬ я─п╟я│я┬п╦я─п╣п╫п╦я▐ п╦п╪п╣п╫ я└п╟п╧п╩п╬п╡.

Subversion п╫п╣ я│я┌п╟п╡п╦я┌ я├п╣п╩п╦ п©п╬п╢я┤п╦п╫п╦я┌я▄ п╡п╣я│я▄ п╪п╦я─ п╫п╣п╨п╬я┌п╬я─я▀п╪ п╬п╠я┴п╦п╪ п╬п©я─п╣п╢п╣п╩п╣п╫п╦я▐п╪ п╦ я─п╣п╟п╩п╦п╥п╬п╡п╟я┌я▄ п╡я│п╣ п╫п╟ я│п╡п╣я┌п╣. п÷п╬я█я┌п╬п╪я┐ п╪п╟п╨я│п╦п╪я┐п╪, я┤я┌п╬ п╬п╫п╟ п╪п╬п╤п╣я┌ я│п╢п╣п╩п╟я┌я▄ Б─■ п©п╬п©я▀я┌п╟я┌я▄я│я▐ я┐п©я─п╬я│я┌п╦я┌я▄ п╤п╦п╥п╫я▄ п©я─п╦ я─п╟п╠п╬я┌п╣ я│ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╪п╦ я└п╟п╧п╩п╟п╪п╦ п╦ п╨п╟я┌п╟п╩п╬пЁп╟п╪п╦ п╫п╟ я─п╟п╥п╩п╦я┤п╫я▀я┘ п╨п╬п╪п©я▄я▌я┌п╣я─п╟я┘ п╦ п╬п©п╣я─п╟я├п╦п╬п╫п╫я▀я┘ я│п╦я│я┌п╣п╪п╟я┘. п■п╟п╩п╣п╣ п╪я▀ п╬п©п╦я┬п╣п╪, п╨п╟п╨п╦п╪ п╬п╠я─п╟п╥п╬п╪ Subversion п╢п╬я│я┌п╦пЁп╟п╣я┌ я█я┌п╬п╧ я├п╣п╩п╦.

п╒п╦п© я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬ я└п╟п╧п╩п╟

Subversion п©я─п╦п╫п╟п╢п╩п╣п╤п╦я┌ п╨ п╪п╫п╬пЁп╬я┤п╦я│п╩п╣п╫п╫п╬п╪я┐ я│п╣п╪п╣п╧я│я┌п╡я┐ п©я─п╦п╩п╬п╤п╣п╫п╦п╧, я─п╟я│п©п╬п╥п╫п╟я▌я┴п╦я┘ п╦ п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╦я┘ п╢п╩я▐ я┌п╦п©п╦п╥п╟я├п╦п╦ я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬ п╪п╫п╬пЁп╬я├п╣п╩п╣п╡я▀п╣ я─п╟я│я┬п╦я─п╣п╫п╦я▐ п╦п╫я┌п╣я─п╫п╣я┌-п©п╬я┤я┌я▀ (Multipurpose Internet Mail Extensions Б─■ MIME). п║п╡п╬п╧я│я┌п╡п╬ svn:mime-type п╫п╣ я┌п╬п╩я▄п╨п╬ я▐п╡п╩я▐п╣я┌я│я▐ я┐п╫п╦п╡п╣я─я│п╟п╩я▄п╫я▀п╪ п╪п╣я│я┌п╬п╪ я┘я─п╟п╫п╣п╫п╦я▐ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╬ я┌п╦п©п╣ я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬ я└п╟п╧п╩п╟, п╫п╬ п╦ п╬п©я─п╣п╢п╣п╩я▐п╣я┌ п╫п╣п╨п╬я┌п╬я─я▀п╣ п╬я│п╬п╠п╣п╫п╫п╬я│я┌п╦ п©п╬п╡п╣п╢п╣п╫п╦я▐ Subversion.

п²п╟п©я─п╦п╪п╣я─, п╬п╢п╫п╬п╧ п╦п╥ п©п╬п╩п╣п╥п╫я▀я┘ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╣п╧ Subversion я▐п╡п╩я▐п╣я┌я│я▐ п╨п╬п╫я┌п╣п╨я│я┌п╫п╬п╣, п©п╬я│я┌я─п╬я┤п╫п╬п╣ я│п╩п╦я▐п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧, п©п╬п╩я┐я┤п╣п╫п╫я▀я┘ п╬я┌ я│п╣я─п╡п╣я─п╟ п╡п╬ п╡я─п╣п╪я▐ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐, я│ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╣п╧. п·п╢п╫п╟п╨п╬, п╢п╩я▐ я└п╟п╧п╩п╬п╡, п╫п╣ я│п╬п╢п╣я─п╤п╟я┴п╦я┘ я┌п╣п╨я│я┌п╬п╡я▀я┘ п╢п╟п╫п╫я▀я┘, п╨п╟п╨ п©я─п╟п╡п╦п╩п╬, п╫п╣ я│я┐я┴п╣я│я┌п╡я┐п╣я┌ п©п╬п╫я▐я┌п╦я▐ б╚я│я┌я─п╬п╨п╦б╩. п÷п╬я█я┌п╬п╪я┐ п╢п╩я▐ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡, я┤я▄п╣ я│п╡п╬п╧я│я┌п╡п╬ svn:mime-type я┐п╨п╟п╥я▀п╡п╟п╣я┌ п╫п╟ п╫п╣я┌п╣п╨я│я┌п╬п╡я▀п╧ MIME-я┌п╦п© (п╨п╟п╨ п©я─п╟п╡п╦п╩п╬, я█я┌п╬ п╡я│п╣, я┤я┌п╬ п╫п╣ п╫п╟я┤п╦п╫п╟п╣я┌я│я▐ я│ text/, я┘п╬я┌я▐ п╣я│я┌я▄ п╫п╣я│п╨п╬п╩я▄п╨п╬ п╦я│п╨п╩я▌я┤п╣п╫п╦п╧), Subversion п╫п╣ п╠я┐п╢п╣я┌ п©я▀я┌п╟я┌я▄я│я▐ п©я─п╬п╡п╣я│я┌п╦ п╨п╬п╫я┌п╣п╨я│я┌п╫п╬п╣ я│п╩п╦я▐п╫п╦п╣ п╡п╬ п╡я─п╣п╪я▐ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐. п▓п╪п╣я│я┌п╬ я█я┌п╬пЁп╬, п╨п╟п╤п╢я▀п╧ я─п╟п╥ п╨п╬пЁп╢п╟ п╡я▀ п╩п╬п╨п╟п╩я▄п╫п╬ п╪п╬п╢п╦я└п╦я├п╦я─я┐п╣я┌п╣ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╠п╦п╫п╟я─п╫п╬пЁп╬ я└п╟п╧п╩п╟, п╦ п╡я▀п©п╬п╩п╫я▐п╣я┌п╣ п©п╬я│п╩п╣ я█я┌п╬пЁп╬ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╣, я└п╟п╧п╩ п╠я┐п╢п╣я┌ п©п╣я─п╣п╦п╪п╣п╫п╬п╡п╟п╫ я│ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╣п╪ я─п╟я│я┬п╦я─п╣п╫п╦я▐ .orig, п©п╬я│п╩п╣ я┤п╣пЁп╬ Subversion п╥п╟п©п╦я┬п╣я┌ п©п╬п╢ п╬я─п╦пЁп╦п╫п╟п╩я▄п╫я▀п╪ п╦п╪п╣п╫п╣п╪ п╫п╬п╡я▀п╧ я└п╟п╧п╩ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, c п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦, п©п╬п╩я┐я┤п╣п╫п╫я▀п╪п╦ п╡ п©я─п╬я├п╣я│я│п╣ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐, п╫п╬ п╠п╣п╥ п╡п╟я┬п╦я┘ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦я│п©я─п╟п╡п╩п╣п╫п╦п╧. п╒п╟п╨п╬п╣ п©п╬п╡п╣п╢п╣п╫п╦п╣ п©я─п╦п╥п╡п╟п╫п╬ п╥п╟я┴п╦я┌п╦я┌я▄ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╬я┌ п╫п╣я┐п╢п╟я┤п╫я▀я┘ п©п╬п©я▀я┌п╬п╨ п╡я▀п©п╬п╩п╫п╦я┌я▄ п╨п╬п╫я┌п╣п╨я│я┌п╫п╬п╣ я│п╩п╦я▐п╫п╦п╣ п╢п╩я▐ я└п╟п╧п╩п╬п╡, п╨ п╨п╬я┌п╬я─я▀п╪ п╣пЁп╬ п╫п╣п╩я▄п╥я▐ п©я─п╦п╪п╣п╫п╦я┌я▄.

п я─п╬п╪п╣ я┌п╬пЁп╬, п╣я│п╩п╦ п╢п╩я▐ я└п╟п╧п╩п╟ п╬п©я─п╣п╢п╣п╩п╣п╫п╬ я│п╡п╬п╧я│я┌п╡п╬ svn:mime-type, Apache-п╪п╬п╢я┐п╩я▄ Subversion п╠я┐п╢п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╣пЁп╬ п╥п╫п╟я┤п╣п╫п╦п╣ п©я─п╦ я└п╬я─п╪п╦я─п╬п╡п╟п╫п╦п╦ HTTP-п╥п╟пЁп╬п╩п╬п╡п╨п╟ Content-type: п╡ п╬я┌п╡п╣я┌ п╫п╟ GET-п╥п╟п©я─п╬я│я▀. п▒п╩п╟пЁп╬п╢п╟я─я▐ я█я┌п╬п╪я┐ п╡п╟я┬ п╠я─п╟я┐п╥п╣я─ (п╡ я┌п╬п╪ я│п╩я┐я┤п╟п╣, п╣я│п╩п╦ п╬п╫ п╠я┐п╢п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╢п╩я▐ п©я─п╬я│п╪п╬я┌я─п╟ я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬ Subversion-я┘я─п╟п╫п╦п╩п╦я┴п╟) п╠я┐п╢п╣я┌ п╥п╫п╟я┌я▄, п╨п╟п╨ п©я─п╟п╡п╦п╩я▄п╫п╬ п╬я┌п╬п╠я─п╟п╥п╦я┌я▄ я█я┌п╬я┌ я└п╟п╧п╩.

п≤я│п©п╬п╩п╫п╦п╪п╬я│я┌я▄ я└п╟п╧п╩п╟

п²п╟ п╪п╫п╬пЁп╦я┘ п╬п©п╣я─п╟я├п╦п╬п╫п╫я▀я┘ я│п╦я│я┌п╣п╪п╟я┘ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ я└п╟п╧п╩п╟ п╨п╟п╨ п╨п╬п╪п╟п╫п╢я▀ п╬п©я─п╣п╢п╣п╩я▐п╣я┌я│я▐ п╠п╦я┌п╬п╪ я─п╟п╥я─п╣я┬п╣п╫п╦я▐ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐. п·п╠я▀я┤п╫п╬ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ я█я┌п╬я┌ п╠п╦я┌ п╫п╣ п╥п╟п╢п╟п╫; п╬п╫ п╢п╬п╩п╤п╣п╫ п╠я▀я┌я▄ я▐п╡п╫п╬ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪ п╢п╩я▐ я┌п╣я┘ я└п╟п╧п╩п╬п╡, п╨п╬я┌п╬я─я▀п╪ я█я┌п╬ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬. п·п╢п╫п╟п╨п╬, п╠я▀п╩п╬ п╠я▀ я│п╩п╦я┬п╨п╬п╪ я│п╩п╬п╤п╫я▀п╪ п╥п╟п©п╬п╪п╦п╫п╟я┌я▄, п╨п╟п╨п╦п╣ п╦п╪п╣п╫п╫п╬ я└п╟п╧п╩я▀ п╡ я┌п╬п╩я▄п╨п╬ я┤я┌п╬ я│п╬п╥п╢п╟п╫п╫п╬п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╢п╬п╩п╤п╫я▀ п╦п╪п╣я┌я▄ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╫я▀п╧ п╠п╦я┌ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐, п╦ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟я┌я▄ я█я┌п╬я┌ п╠п╦я┌. п÷п╬я█я┌п╬п╪я┐ Subversion п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌ я│п╡п╬п╧я│я┌п╡п╬ svn:executable, п©п╬п╥п╡п╬п╩я▐я▌я┴п╣п╣ я┐п╨п╟п╥п╟я┌я▄, п╢п╩я▐ п╨п╟п╨п╦я┘ я└п╟п╧п╩п╬п╡ п╢п╬п╩п╤п╣п╫ п╠я▀я┌я▄ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫ п╠п╦я┌ п╦я│п©п╬п╩п╫п╣п╫п╦я▐. п÷я─п╦ я│п╬п╥п╢п╟п╫п╦п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ Subversion я│п╟п╪п╬я│я┌п╬я▐я┌п╣п╩я▄п╫п╬ я┐я│я┌п╟п╫п╬п╡п╦я┌ я█я┌п╬я┌ п╠п╦я┌ п╢п╩я▐ я┌п╟п╨п╦я┘ я└п╟п╧п╩п╬п╡.

п╜я┌п╬ я│п╡п╬п╧я│я┌п╡п╬ п╫п╣ п╬п╨п╟п╥я▀п╡п╟п╣я┌ п╫п╦п╨п╟п╨п╬пЁп╬ я█я└я└п╣п╨я┌п╟ п╫п╟ я└п╟п╧п╩п╬п╡я▀я┘ я│п╦я│я┌п╣п╪п╟я┘, п╫п╣ п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╦я┘ п╠п╦я┌п╟ я─п╟п╥я─п╣я┬п╣п╫п╦я▐ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐, я┌п╟п╨п╦я┘ п╨п╟п╨ FAT32 п╦ NTFS. [16]. п я─п╬п╪п╣ я┌п╬пЁп╬, я┘п╬я┌я▐ п╥п╫п╟я┤п╣п╫п╦п╣ я█я┌п╬пЁп╬ я│п╡п╬п╧я│я┌п╡п╟ п╫п╣ п╥п╟п╢п╟п╫п╬, Subversion п©я─п╦п╫я┐п╢п╦я┌п╣п╩я▄п╫п╬ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣я┌ п╣п╪я┐ п╥п╫п╟я┤п╣п╫п╦п╣ *. п²п╟п╨п╬п╫п╣я├, я█я┌п╬ я│п╡п╬п╧я│я┌п╡п╬ п╢п╣п╧я│я┌п╡п╦я┌п╣п╩я▄п╫п╬ я┌п╬п╩я▄п╨п╬ п╢п╩я▐ я└п╟п╧п╩п╬п╡, п╫п╬ п╫п╣ п╢п╩я▐ п╨п╟я┌п╟п╩п╬пЁп╬п╡.

п║п╦п╪п╡п╬п╩я▀ п╨п╬п╫я├п╟ я│я┌я─п╬п╨п╦

Subversion я│я┤п╦я┌п╟п╣я┌, я┤я┌п╬ я└п╟п╧п╩ я│п╬п╢п╣я─п╤п╦я┌ я┤п╦я┌п╟п╣п╪я▀п╣ п╢п╟п╫п╫я▀п╣, п╣я│п╩п╦ п╫п╟ п╬п╠я─п╟я┌п╫п╬п╣ п╫п╣ я┐п╨п╟п╥я▀п╡п╟п╣я┌ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬п╣ я│п╡п╬п╧я│я┌п╡п╬ я└п╟п╧п╩п╟ svn:mime-type. п▓ п╬п╠я┴п╣п╪-я┌п╬, Subversion п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╥п╫п╟я┌я▄ п╬п╠ я█я┌п╬п╪ я┌п╬п╩я▄п╨п╬ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ п╬п©я─п╣п╢п╣п╩п╦я┌я▄ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п©п╬я│я┌я─п╬п╣п╫п╦я▐ п╨п╬п╫я┌п╣п╨я│я┌п╫п╬пЁп╬ п╬я┌я┤п╣я┌п╟ п╬ я─п╟п╥п╩п╦я┤п╦я▐я┘. п▓ п©я─п╬я┌п╦п╡п╫п╬п╪ я│п╩я┐я┤п╟п╣ Subversion п╠я┐п╢п╣я┌ п╡п╬я│п©я─п╦п╫п╦п╪п╟я┌я▄ я└п╟п╧п╩ п╩п╦я┬я▄ п╨п╟п╨ п╫п╟п╠п╬я─ п╠п╟п╧я┌п╬п╡.

п║п╨п╟п╥п╟п╫п╫п╬п╣ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ Subversion п╫п╣ я┐п╢п╣п╩я▐п╣я┌ п╫п╦п╨п╟п╨п╬пЁп╬ п╡п╫п╦п╪п╟п╫п╦я▐ п╦я│п©п╬п╩я▄п╥я┐п╣п╪п╬п╧ п╡ я└п╟п╧п╩п╟я┘ я─п╟п╥п╫п╬п╡п╦п╢п╫п╬я│я┌п╦ п╪п╟я─п╨п╣я─п╟ п╨п╬п╫я├п╟ я│я┌я─п╬п╨п╦ (EOL). п  я│п╬п╤п╟п╩п╣п╫п╦я▌, я─п╟п╥п╩п╦я┤п╫я▀п╣ п╬п©п╣я─п╟я├п╦п╬п╫п╫я▀п╣ я│п╦я│я┌п╣п╪я▀ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ я─п╟п╥п╩п╦я┤п╫я▀п╣ я│п╬пЁп╩п╟я┬п╣п╫п╦я▐ п╬ я┌п╬п╪, п╨п╟п╨п╟я▐ п©п╬я│п╩п╣п╢п╬п╡п╟я┌п╣п╩я▄п╫п╬я│я┌я▄ я│п╦п╪п╡п╬п╩п╬п╡ п╬п╥п╫п╟я┤п╟п╣я┌ п╨п╬п╫п╣я├ я┌п╣п╨я│я┌п╬п╡п╬п╧ я│я┌я─п╬п╨п╦ п╡ я└п╟п╧п╩п╣. п²п╟п©я─п╦п╪п╣я─, п©я─п╬пЁя─п╟п╪п╪я▀ п©п╬п╢ Windows п╬п╠я▀я┤п╫п╬ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ п╡ п╨п╟я┤п╣я│я┌п╡п╣ п©я─п╦п╥п╫п╟п╨п╟ п╨п╬п╫я├п╟ я│я┌я─п╬п╨п╦ п©п╬я│п╩п╣п╢п╬п╡п╟я┌п╣п╩я▄п╫п╬я│я┌я▄ п╦п╥ п╢п╡я┐я┘ я┐п©я─п╟п╡п╩я▐я▌я┴п╦я┘ я│п╦п╪п╡п╬п╩п╬п╡ ASCII Б─■ п╡п╬п╥п╡я─п╟я┌п╟ п╨п╟я─п╣я┌п╨п╦ (CR) п╦ п©п╣я─п╣п╡п╬п╢п╟ я│я┌я─п╬п╨п╦ (LF). п▓ я┌п╬ п╤п╣ п╡я─п╣п╪я▐ п©я─п╬пЁя─п╟п╪п╪я▀ п©п╬п╢ Unix п╢п╩я▐ п╬п╠п╬п╥п╫п╟я┤п╣п╫п╦я▐ п╨п╬п╫я├п╟ я│я┌я─п╬п╨п╦ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ п╣п╢п╦п╫я│я┌п╡п╣п╫п╫я▀п╧ я│п╦п╪п╡п╬п╩ LF.

п■п╟п╩п╣п╨п╬ п╫п╣ п╡я│п╣ п©я─п╬пЁя─п╟п╪я▀ я│п©п╬я│п╬п╠п╫я▀ п©п╬п╫п╦п╪п╟я┌я▄ я└п╟п╧п╩я▀, п╡ п╨п╬я┌п╬я─я▀я┘ п©я─п╦п╥п╫п╟п╨ п╨п╬п╫я├п╟ я│я┌я─п╬п╨п╦ п╬я┌п╩п╦я┤п╟п╣я┌я│я▐ п©п╬ я└п╬я─п╪п╟я┌я┐ п╬я┌ п©я─п╦п╫я▐я┌п╬пЁп╬ я│я┌п╦п╩я▐ п╥п╟п╡п╣я─я┬п╣п╫п╦я▐ я│я┌я─п╬п╨ п╡ п╢п╟п╫п╫п╬п╧ п╬п©п╣я─п╟я├п╦п╬п╫п╫п╬п╧ я│п╦я│я┌п╣п╪п╣. п·п╠я▀я┤п╫я▀п╪ п╢п╣п╩п╬п╪ я▐п╡п╩я▐п╣я┌я│я▐ я│п╦я┌я┐п╟я├п╦я▐, п╨п╬пЁп╢п╟ п©я─п╬пЁя─п╟п╪п╪я▀ п©п╬п╢ Unix я─п╟я│я│п╪п╟я┌я─п╦п╡п╟я▌я┌ я│п╦п╪п╡п╬п╩ CR, п©я─п╦я│я┐я┌я│я┌п╡я┐я▌я┴п╦п╧ п╡ я└п╟п╧п╩п╟я┘ Windows, п╨п╟п╨ п╬п╠я▀я┤п╫я▀п╧ я│п╦п╪п╡п╬п╩ (я┤п╟я│я┌п╬ п©я─п╣п╢я│я┌п╟п╡п╩я▐я▐ п╣пЁп╬ п╨п╟п╨ ^M), п╦п╩п╦ п╨п╬пЁп╢п╟ п©я─п╬пЁя─п╟п╪п╪я▀ п©п╬п╢ Windows я│п╩п╣п©п╩я▐я▌я┌ п╡я│п╣ я│я┌я─п╬п╨п╦ я└п╟п╧п╩п╟ Unix п╡ п╬п╢п╫я┐ пЁп╦пЁп╟п╫я┌я│п╨я┐я▌ я│я┌я─п╬п╨я┐, п©п╬я│п╨п╬п╩я▄п╨я┐ п╡ п╫п╣п╪ п╬я┌я│я┐я┌я│я┌п╡я┐я▌я┌ п╨п╬п╪п╠п╦п╫п╟я├п╦п╦ я│п╦п╪п╡п╬п╩п╬п╡ п╡п╬п╥п╡я─п╟я┌п╟ п╨п╟я─п╣я┌п╨п╦ п╦ п©п╣я─п╣п╡п╬п╢п╟ я│я┌я─п╬п╨п╦ (п╦п╩п╦ CRLF), п╬п╠п╬п╥п╫п╟я┤п╟я▌я┴п╦п╣ п╨п╬п╫я├я▀ я│я┌я─п╬п╨.

п╒п╟п╨п╟я▐ я┤я┐п╡я│я┌п╡п╦я┌п╣п╩я▄п╫п╬я│я┌я▄ п╨ я┤я┐п╤п╣я─п╬п╢п╫я▀п╪ EOL-п╪п╟я─п╨п╣я─п╟п╪ п╪п╬п╤п╣я┌ я│я┌п╟я┌я▄ я│п╣я─я▄п╣п╥п╫п╬п╧ п©я─п╬п╠п╩п╣п╪п╬п╧ п╢п╩я▐ п╩я▌п╢п╣п╧, я│п╬п╡п╪п╣я│я┌п╫п╬ п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╦я┘ п╬п╢п╫п╦ п╦ я┌п╣ п╤п╣ я└п╟п╧п╩я▀ п╡ я─п╟п╥п╩п╦я┤п╫я▀я┘ п╬п©п╣я─п╟я├п╦п╬п╫п╫я▀я┘ я│п╦я│я┌п╣п╪п╟я┘. п▓п╬п╥я▄п╪п╣п╪ п╢п╩я▐ п©я─п╦п╪п╣я─п╟ я└п╟п╧п╩ я│ п╦я│я┘п╬п╢п╫я▀п╪ п╨п╬п╢п╬п╪ п©я─п╬пЁя─п╟п╪п╪я▀ п╦ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡, я─п╣п╢п╟п╨я┌п╦я─я┐я▌я┴п╦я┘ я█я┌п╬я┌ я└п╟п╧п╩ п╨п╟п╨ п©п╬п╢ Windows, я┌п╟п╨ п╦ п©п╬п╢ Unix. п∙я│п╩п╦ п╡я│п╣ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╦ п╠я┐п╢я┐я┌ п╡я│п╣пЁп╢п╟ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╦п╫я│я┌я─я┐п╪п╣п╫я┌я▀, я│п╬я┘я─п╟п╫я▐я▌я┴п╦п╣ п╡ я└п╟п╧п╩п╣ п©я─п╣п╤п╫п╦п╧ я│я┌п╦п╩я▄ п╥п╟п╡п╣я─я┬п╣п╫п╦я▐ я│я┌я─п╬п╨, п©я─п╬п╠п╩п╣п╪ п╫п╣ п╡п╬п╥п╫п╦п╨п╫п╣я┌.

п²п╬ п╫п╟ п©я─п╟п╨я┌п╦п╨п╣ п╪п╫п╬пЁп╦п╣ я─п╟я│п©я─п╬я│я┌я─п╟п╫п╣п╫п╫я▀п╣ я┐я┌п╦п╩п╦я┌я▀ п╩п╦п╠п╬ п╫п╣ я┐п╪п╣я▌я┌ п©я─п╟п╡п╦п╩я▄п╫п╬ я│я┤п╦я┌я▀п╡п╟я┌я▄ я└п╟п╧п╩я▀ я│ я┤я┐п╤п╣я─п╬п╢п╫я▀п╪п╦ EOL-п╪п╟я─п╨п╣я─п╟п╪п╦, п╩п╦п╠п╬ п╨п╬п╫п╡п╣я─я┌п╦я─я┐я▌я┌ п╨п╬п╫я├я▀ я│я┌я─п╬п╨ п╡ я└п╟п╧п╩п╣ п╨ я─п╬п╢п╫п╬п╪я┐ я│я┌п╦п╩я▌ п©я─п╦ я│п╬я┘я─п╟п╫п╣п╫п╦п╦ я└п╟п╧п╩п╟. п∙я│п╩п╦ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨ я│я┌п╟п╩п╨п╦п╡п╟п╣я┌я│я▐ я│ п©п╣я─п╡я▀п╪ я│п╩я┐я┤п╟п╣п╪, п╬п╫ п╬п╨п╟п╥я▀п╡п╟п╣я┌я│я▐ п╡я▀п╫я┐п╤п╢п╣п╫п╫я▀п╪ п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╡п╫п╣я┬п╫п╦п╪п╦ я┐я┌п╦п╩п╦я┌п╟п╪п╦ п╨п╬п╫п╡п╣я─я┌п╟я├п╦п╦ (я┌п╟п╨п╦п╪п╦ п╨п╟п╨ dos2unix п╦п╩п╦ п╣п╣ п╟п╫п╟п╩п╬пЁп╦, unix2dos), я┤я┌п╬п╠я▀ п©п╬п╢пЁп╬я┌п╬п╡п╦я┌я▄ я└п╟п╧п╩ п╨ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦я▌. п▓п╬ п╡я┌п╬я─п╬п╪ я│п╩я┐я┤п╟п╣ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫п╟я▐ п©п╬п╢пЁп╬я┌п╬п╡п╨п╟ я└п╟п╧п╩п╬п╡ п╫п╣ я┌я─п╣п╠я┐п╣я┌я│я▐. п·п╢п╫п╟п╨п╬, п╡ п╬п╠п╬п╦я┘ я│п╩я┐я┤п╟я▐я┘ п©п╬п╩я┐я┤п╟п╣я┌я│я▐ я└п╟п╧п╩, п╨п╟п╤п╢п╟я▐ я│я┌я─п╬п╨п╟ п╡ п╨п╬я┌п╬я─п╬п╪ п╬я┌п╩п╦я┤п╟п╣я┌я│я▐ п╬я┌ п╦я│я┘п╬п╢п╫п╬п╧! п÷я─п╣п╤п╢п╣ я┤п╣п╪ я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ я│п╡п╬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╪п╬п╤п╣я┌ я│п╢п╣п╩п╟я┌я▄ п╬п╢п╫п╬ п╦п╥ п╢п╡я┐я┘. п·п╫ п╪п╬п╤п╣я┌ п╩п╦п╠п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я┐я┌п╦п╩п╦я┌я┐ п╨п╬п╫п╡п╣я─я┌п╟я├п╦п╦, я┤я┌п╬п╠я▀ п╡п╬я│я│я┌п╟п╫п╬п╡п╦я┌я▄ п╡ п╪п╬п╢п╦я└п╦я├п╦я─п╬п╡п╟п╫п╫п╬п╪ я└п╟п╧п╩п╣ п©я─п╣п╤п╫п╦п╧ я│я┌п╦п╩я▄ п╥п╟п╡п╣я─я┬п╣п╫п╦я▐ я│я┌я─п╬п╨; п╩п╦п╠п╬ п©я─п╬я│я┌п╬ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ я└п╟п╧п╩ я│ п╫п╬п╡я▀п╪п╦ EOL-п╪п╟я─п╨п╣я─п╟п╪п╦.

п═п╣п╥я┐п╩я▄я┌п╟я┌п╬п╪ я┌п╟п╨п╬пЁп╬ я│я├п╣п╫п╟я─п╦я▐ я│я┌п╟п╫я┐я┌ п╫п╟п©я─п╟я│п╫п╟я▐ я┌я─п╟я┌п╟ п╡я─п╣п╪п╣п╫п╦ п╦ п╫п╣п╤п╣п╩п╟я┌п╣п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я└п╦п╨я│п╦я─я┐п╣п╪я▀я┘ я└п╟п╧п╩п╟я┘. п²п╟п©я─п╟я│п╫п╟я▐ я┌я─п╟я┌п╟ п╡я─п╣п╪п╣п╫п╦ я│п╟п╪п╟ п©п╬ я│п╣п╠п╣ п╬п╠я┘п╬п╢п╦я┌я│я▐ п╢п╬п╡п╬п╩я▄п╫п╬ п╢п╬я─п╬пЁп╬. п░ п╨п╬пЁп╢п╟ я└п╦п╨я│п╟я├п╦я▐ п╡п╫п╬я│п╦я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ п╨п╟п╤п╢я┐я▌ я│я┌я─п╬п╨я┐ я└п╟п╧п╩п╟, я│я┌п╟п╫п╬п╡п╦я┌я│я▐ п╫п╣п╡п╬п╥п╪п╬п╤п╫я▀п╪ п╬п©я─п╣п╢п╣п╩п╦я┌я▄, п╨п╟п╨п╦п╣ я│я┌я─п╬п╨п╦ я└п╟п╧п╩п╟ п╢п╣п╧я│я┌п╡п╦я┌п╣п╩я▄п╫п╬ п╦п╥п╪п╣п╫п╦п╩п╦я│я▄ п©п╬ я│я┐я┴п╣я│я┌п╡я┐. п▒я▀п╩ п╩п╦ я┐я│я┌я─п╟п╫п╣п╫ я┌п╬я┌ я│п╟п╪я▀п╧ п╠п╟пЁ? п▓ п╨п╟п╨п╬п╧ я│я┌я─п╬п╨п╣ п╦п╪п╣п╩п╟я│я▄ я│п╦п╫я┌п╟п╨я│п╦я┤п╣я│п╨п╟я▐ п╬я┬п╦п╠п╨п╟?

п■п╟п╫п╫я┐я▌ п©я─п╬п╠п╩п╣п╪я┐ я─п╣я┬п╟п╣я┌ я│п╡п╬п╧я│я┌п╡п╬ svn:eol-style. п п╬пЁп╢п╟ я█я┌п╬п╪я┐ я│п╡п╬п╧я│я┌п╡я┐ п╥п╟п╢п╟п╫п╬ п╬п╢п╫п╬ п╦п╥ п╢п╬п©я┐я│я┌п╦п╪я▀я┘ п╥п╫п╟я┤п╣п╫п╦п╧, Subversion п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╣пЁп╬ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ п╬п©я─п╣п╢п╣п╩п╦я┌я▄ п╡п╟я─п╦п╟п╫я┌ я│п©п╣я├п╦п╟п╩я▄п╫п╬п╧ п╬п╠я─п╟п╠п╬я┌п╨п╦ я└п╟п╧п╩п╟, п©я─п╬п╦п╥п╡п╬п╢п╦п╪п╬п╧ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ я│я┌п╦п╩я▄ п╥п╟п╡п╣я─я┬п╣п╫п╦я▐ я│я┌я─п╬п╨п╦ п╫п╣ п╦п╥п╪п╣п╫я▐п╩я│я▐ я┌я┐п╢п╟-я│я▌п╢п╟ п©я─п╦ п╨п╟п╤п╢п╬п╧ я└п╦п╨я│п╟я├п╦п╦, п╡я▀п©п╬п╩п╫я▐п╣п╪п╬п╧ п╦п╥ п╢я─я┐пЁп╬п╧ п╬п©п╣я─п╟я├п╦п╬п╫п╫п╬п╧ я│п╦я│я┌п╣п╪я▀. п■п╬п©я┐я│я┌п╦п╪я▀ я│п╩п╣п╢я┐я▌я┴п╦п╣ п╥п╫п╟я┤п╣п╫п╦я▐:

native

п╓п╟п╧п╩ п╠я┐п╢п╣я┌ я│п╬п╢п╣я─п╤п╟я┌я▄ EOL-п╪п╟я─п╨п╣я─я▀, п©я─п╦п╫я▐я┌я▀п╣ п╡ я┌п╬п╧ п╬п©п╣я─п╟я├п╦п╬п╫п╫п╬п╧ я│п╦я│я┌п╣п╪п╣, п╫п╟ п╨п╬я┌п╬я─п╬п╧ я─п╟п╠п╬я┌п╟п╣я┌ Subversion. п≤п╫я▀п╪п╦ я│п╩п╬п╡п╟п╪п╦, п╣я│п╩п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╫п╟ п╪п╟я┬п╦п╫п╣ я│ Windows я│п╬п╥п╢п╟п╣я┌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ я└п╟п╧п╩п╟, я┐ п╨п╬я┌п╬я─п╬пЁп╬ я│п╡п╬п╧я│я┌п╡п╬ svn:eol-style я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╬ п╡ native, я█я┌п╬я┌ я└п╟п╧п╩ п╠я┐п╢п╣я┌ я│п╬п╢п╣я─п╤п╟я┌я▄ EOL-п╪п╟я─п╨п╣я─я▀ CRLF. п÷п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ Unix, я│п╬п╥п╢п╟п╡п╟я▐ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ я┌п╬пЁп╬ п╤п╣ я│п╟п╪п╬пЁп╬ я└п╟п╧п╩п╟, я┐п╡п╦п╢п╦я┌ п╡ п╫п╣п╪ EOL-п╪п╟я─п╨п╣я─ LF.

пёя┤я┌п╦я┌п╣, я┤я┌п╬ п╫п╟ я│п╟п╪п╬п╪ п╢п╣п╩п╣ Subvversion п╠я┐п╢п╣я┌ п╥п╟п©п╦я│я▀п╡п╟я┌я▄ я└п╟п╧п╩ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣, п╦я│п©п╬п╩я▄п╥я┐я▐ п╫п╬я─п╪п╟п╩п╦п╥п╬п╡п╟п╫п╫я▀п╧ EOL-п╪п╟я─п╨п╣я─ LF, п╡п╫п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╬я┌ п╬п©п╣я─п╟я├п╦п╬п╫п╫п╬п╧ я│п╦я│я┌п╣п╪я▀. п╔п╬я┌я▐ п╬п╠я▀я┤п╫п╬ я█я┌п╬ п©я─п╬п╥я─п╟я┤п╫п╬ п╢п╩я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐.

CRLF

п╓п╟п╧п╩ п╠я┐п╢п╣я┌ я│п╬п╢п╣я─п╤п╟я┌я▄ п╡ п╨п╟я┤п╣я│я┌п╡п╣ EOL-п╪п╟я─п╨п╣я─п╬п╡ п©п╬я│п╩п╣п╢п╬п╡п╟я┌п╣п╩я▄п╫п╬я│я┌я▄ CRLF, п╫п╣п╥п╟п╡п╦я│п╦п╪п╬ п╬я┌ п╦я│п©п╬п╩я▄п╥я┐п╣п╪п╬п╧ п╬п©п╣я─п╟я├п╦п╬п╫п╫п╬п╧ я│п╦я│я┌п╣п╪я▀.

LF

п╓п╟п╧п╩ п╠я┐п╢п╣я┌ я│п╬п╢п╣я─п╤п╟я┌я▄ п╡ п╨п╟я┤п╣я│я┌п╡п╣ EOL-п╪п╟я─п╨п╣я─п╟ я│п╦п╪п╡п╬п╩ LF, п╫п╣п╥п╟п╡п╦я│п╦п╪п╬ п╬я┌ п╦я│п©п╬п╩я▄п╥я┐п╣п╪п╬п╧ п╬п©п╣я─п╟я├п╦п╬п╫п╫п╬п╧ я│п╦я│я┌п╣п╪я▀.

CR

п╓п╟п╧п╩ п╠я┐п╢п╣я┌ я│п╬п╢п╣я─п╤п╟я┌я▄ п╡ п╨п╟я┤п╣я│я┌п╡п╣ EOL-п╪п╟я─п╨п╣я─п╟ я│п╦п╪п╡п╬п╩ CR, п╫п╣п╥п╟п╡п╦я│п╦п╪п╬ п╬я┌ п╦я│п©п╬п╩я▄п╥я┐п╣п╪п╬п╧ п╬п©п╣я─п╟я├п╦п╬п╫п╫п╬п╧ я│п╦я│я┌п╣п╪я▀. п■п╟п╫п╫я▀п╧ я│я┌п╦п╩я▄ п╥п╟п╡п╣я─я┬п╣п╫п╦я▐ я│я┌я─п╬п╨п╦ п╫п╣ я│п╩п╦я┬п╨п╬п╪ я─п╟я│п©я─п╬я│я┌я─п╟п╫п╣п╫. п·п╫ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╩я│я▐ п╫п╟ я┐я│я┌п╟я─п╣п╡я┬п╦я┘ п©п╩п╟я┌я└п╬я─п╪п╟я┘ Macintosh (п╫п╟ п╨п╬я┌п╬я─я▀я┘ Subversion п╢п╟п╤п╣ п╫п╦п╨п╬пЁп╢п╟ п╫п╣ п╥п╟п©я┐я│п╨п╟п╩я│я▐).

п÷я─п╬п©я┐я│п╨ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡

п▓ п╩я▌п╠п╬п╧ я─п╣п╟п╩я▄п╫п╬п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│я─п╣п╢п╦ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡ п©п╬я┤я┌п╦ п╫п╟п╡п╣я─п╫я▐п╨п╟ п╬п╠п╫п╟я─я┐п╤п╟я┌я│я▐ п╦ п╢я─я┐пЁп╦п╣ я└п╟п╧п╩я▀ п╦ п╨п╟я┌п╟п╩п╬пЁп╦, п╨п╬я┌п╬я─я▀п╣ п╫п╣ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫я▀ п╦ п╫п╣ п╢п╬п╩п╤п╫я▀ п╠я▀я┌я▄ я┌п╟п╨п╬п╡я▀п╪п╦. п╒п╣п╨я│я┌п╬п╡я▀п╣ я─п╣п╢п╟п╨я┌п╬я─я▀ п╪я┐я│п╬я─я▐я┌, я│п╬п╥п╢п╟п╡п╟я▐ п╨п╟я┌п╟п╩п╬пЁп╦ я│ я─п╣п╥п╣я─п╡п╫я▀п╪п╦ п╨п╬п©п╦я▐п╪п╦ я└п╟п╧п╩п╬п╡. п п╬п╪п©п╦п╩я▐я┌п╬я─я▀ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╨п╬п╢п╟ пЁп╣п╫п╣я─п╦я─я┐я▌я┌ п╡я─п╣п╪п╣п╫п╫я▀п╣ Б─■ п╦п╩п╦ п╢п╟п╤п╣ я─п╣п╥я┐п╩я▄я┌п╦я─я┐я▌я┴п╦п╣ Б─■ я└п╟п╧п╩я▀, п╨п╬я┌п╬я─я▀п╣ п╬п╠я▀я┤п╫п╬ п╫п╣я┌ я│п╪я▀я│п╩п╟ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟я┌я▄. п║п╟п╪п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ я┌п╟п╨п╤п╣ п╠я─п╬я│п╟я▌я┌ я─п╟п╥п╩п╦я┤п╫я▀п╣ я└п╟п╧п╩я▀ п╦ п╨п╟я┌п╟п╩п╬пЁп╦ я┌п╟п╪, пЁп╢п╣ п╦п╪ п©я─п╬я┴п╣ Б─■ п╡ я┌п╬п╪ я┤п╦я│п╩п╣ п╫п╣я─п╣п╢п╨п╬ п╦ п╡ п╨п╟я┌п╟п╩п╬пЁп╟я┘ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦.

п▒я▀п╩п╬ п╠я▀ п╫п╣п╩п╣п©п╬ п╬п╤п╦п╢п╟я┌я▄, я┤я┌п╬ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦ Subversion п╬п╨п╟п╤я┐я┌я│я▐ п╡ я│я┌п╬я─п╬п╫п╣ п╬я┌ я┌п╟п╨п╬пЁп╬ я─п╬п╢п╟ п╪я┐я│п╬я─п╟ п╦ п╠п╣я│п©п╬я─я▐п╢п╨п╟. п÷я─п╦ я█я┌п╬п╪ Subversion я│я┤п╦я┌п╟п╣я┌ я│п╡п╬п╣п╧ п╡п╟п╤п╫п╬п╧ п╬я│п╬п╠п╣п╫п╫п╬я│я┌я▄я▌ я┌п╬, я┤я┌п╬ п╣п╣ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦ я▐п╡п╩я▐я▌я┌я│я▐ я│п╟п╪я▀п╪п╦ п╬п╠я▀я┤п╫я▀п╪п╦ п╨п╟я┌п╟п╩п╬пЁп╟п╪п╦, я┌п╟п╨п╦п╪п╦ п╤п╣ п╨п╟п╨ п╦ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╣ я│я┌я─я┐п╨я┌я┐я─я▀ п╨п╟я┌п╟п╩п╬пЁп╬п╡. п·п╢п╫п╟п╨п╬ п╫п╣ п©п╬п╢п╩п╣п╤п╟я┴п╦п╣ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╦я▌ я└п╟п╧п╩я▀ п╦ п╨п╟я┌п╟п╩п╬пЁп╦ п╪п╬пЁя┐я┌ п╡я▀п╥я▀п╡п╟я┌я▄ я┐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ Subversion п╫п╣п╨п╬я┌п╬я─п╬п╣ я─п╟п╥п╢я─п╟п╤п╣п╫п╦п╣. п²п╟п©я─п╦п╪п╣я─, п©п╬я│п╨п╬п╩я▄п╨я┐ п╨п╬п╪п╟п╫п╢я▀ svn add п╦ svn import п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╢п╣п╧я│я┌п╡я┐я▌я┌ я─п╣п╨я┐я─я│п╦п╡п╫п╬ п╦ п╫п╣ п╥п╫п╟я▌я┌, п╨п╟п╨п╦п╣ п╦п╥ п╡п╫п╬п╡я▄ я│п╬п╥п╢п╟п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡ п╡ п╢п╟п╫п╫п╬п╪ п╨п╟я┌п╟п╩п╬пЁп╣ п╡я▀ п╫п╣ я│п╬п╠п╦я─п╟п╣я┌п╣я│я▄ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟я┌я▄, п╬я┤п╣п╫я▄ п╩п╣пЁп╨п╬ я│п╩я┐я┤п╟п╧п╫п╬ п╢п╬п╠п╟п╡п╦я┌я▄ п©п╬п╢ п╡п╣я─я│п╦п╬п╫п╫я▀п╧ п╨п╬п╫я┌я─п╬п╩я▄ п╡я│я▐п╨п╦п╧ я┘п╩п╟п╪, п╬ п╨п╬я┌п╬я─п╬п╪ п╡я▀ п╢п╟п╤п╣ п╫п╣ п╢я┐п╪п╟п╩п╦. п я─п╬п╪п╣ я┌п╬пЁп╬, п╪п╫п╬пЁп╬ п╩п╦я┬п╫п╣пЁп╬ п╪п╬п╤п╣я┌ п╡я▀п╡п╬п╢п╦я┌я▄ п╨п╬п╪п╟п╫п╢п╟ svn status, п©п╬я│п╨п╬п╩я▄п╨я┐ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╬п╫п╟ п╡я▀п╢п╟п╣я┌ п╬я┌я┤п╣я┌ п©п╬ п╨п╟п╤п╢п╬п╪я┐ я█п╩п╣п╪п╣п╫я┌я┐ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╡п╨п╩я▌я┤п╟я▐ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╣ я└п╟п╧п╩я▀ п╦ п╨п╟я┌п╟п╩п╬пЁп╦.

п≤я│я┘п╬п╢я▐ п╦п╥ я█я┌п╬пЁп╬, Subversion п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌ п╢п╡п╟ я│п©п╬я│п╬п╠п╟ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ я┐п╨п╟п╥п╟я┌я▄, п╫п╟ п╨п╟п╨п╦п╣ я└п╟п╧п╩я▀ п╤п╣п╩п╟я┌п╣п╩я▄п╫п╬ п©я─п╬я│я┌п╬ п╫п╣ п╬п╠я─п╟я┴п╟я┌я▄ п╡п╫п╦п╪п╟п╫п╦п╣. п÷п╣я─п╡я▀п╧ я│п©п╬я│п╬п╠ п╥п╟я┌я─п╟пЁп╦п╡п╟п╣я┌ я│п╦я│я┌п╣п╪я┐ п╫п╟я│я┌я─п╬п╧п╨п╦ я│я─п╣п╢я▀ п╦я│п©п╬п╩п╫п╣п╫п╦я▐ Subversion (я│п╪. б╚п÷п╟я─п╟п╪п╣я┌я─я▀ п╡я─п╣п╪п╣п╫п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐б╩), п╦, я│п╩п╣п╢п╬п╡п╟я┌п╣п╩я▄п╫п╬, п©я─п╦п╪п╣п╫я▐п╣я┌я│я▐ п╨п╬ п╡я│п╣п╪ п╬п©п╣я─п╟я├п╦я▐п╪ Subversion, п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╦п╪ я█я┌п╦ п╫п╟я│я┌я─п╬п╧п╨п╦ я│я─п╣п╢я▀ п╦я│п©п╬п╩п╫п╣п╫п╦я▐ (п╨п╬я┌п╬я─я▀п╣, п╨п╟п╨ п©я─п╟п╡п╦п╩п╬, п©я─п╬п╦п╥п╡п╬п╢я▐я┌я│я▐ п╫п╟ п╨п╬п╫п╨я─п╣я┌п╫п╬п╪ п╨п╬п╪п©я▄я▌я┌п╣я─п╣ п╦п╩п╦ п╨п╬п╫п╨я─п╣я┌п╫я▀п╪ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪ п╨п╬п╪п©я▄я▌я┌п╣я─п╟). п■я─я┐пЁп╬п╧ я│п©п╬я│п╬п╠ п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣п╪я▀п╣ п╡ Subversion я│п╡п╬п╧я│я┌п╡п╟ п╨п╟я┌п╟п╩п╬пЁп╬п╡, п╬п╫ п╠п╬п╩п╣п╣ я┌п╣я│п╫п╬ я│п╡я▐п╥п╟п╫ я│ я│п╟п╪п╦п╪ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╪ п╢п╣я─п╣п╡п╬п╪ п╨п╟я┌п╟п╩п╬пЁп╬п╡ п╦, я│п╩п╣п╢п╬п╡п╟я┌п╣п╩я▄п╫п╬, п╢п╣п╧я│я┌п╡я┐п╣я┌ п╢п╩я▐ п╡я│п╣я┘, п╨я┌п╬ п╬п©п╣я─п╦я─я┐п╣я┌ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╣п╧ я█я┌п╬пЁп╬ п╢п╣я─п╣п╡п╟. п·п╠п╟ п╪п╣я┘п╟п╫п╦п╥п╪п╟ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ п╪п╟я│п╨п╦ я└п╟п╧п╩п╬п╡.

п║п╦я│я┌п╣п╪п╟ п╫п╟я│я┌я─п╬п╧п╨п╦ я│я─п╣п╢я▀ п╦я│п©п╬п╩п╫п╣п╫п╦я▐ Subversion п╦п╪п╣п╣я┌ п©п╟я─п╟п╪п╣я┌я─ global-ignores, п╥п╫п╟я┤п╣п╫п╦п╣п╪ п╨п╬я┌п╬я─п╬п╧ я│п╩я┐п╤п╦я┌ я─п╟п╥п╢п╣п╩п╣п╫п╫я▀п╧ п©я─п╬п╠п╣п╩п╟п╪п╦ п╫п╟п╠п╬я─ п╪п╟я│п╬п╨ я└п╟п╧п╩п╬п╡. п╜я┌п╦ п╪п╟я│п╨п╦ п©я─п╦п╪п╣п╫я▐я▌я┌я│я▐ п╨ я└п╟п╧п╩п╟п╪, я▐п╡п╩я▐я▌я┴п╦п╪я│я▐ п╨п╟п╫п╢п╦п╢п╟я┌п╟п╪п╦ п╫п╟ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╣ п©п╬п╢ п╡п╣я─я│п╦п╬п╫п╫я▀п╧ п╨п╬п╫я┌я─п╬п╩я▄, п╟ я┌п╟п╨п╤п╣ п╨ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╪ я└п╟п╧п╩п╟п╪, п©п╬п©п╟п╢п╟я▌я┴п╦п╪ п╡ п©п╬п╩п╣ п╥я─п╣п╫п╦я▐ п╨п╬п╪п╟п╫п╢я▀ svn status. п∙я│п╩п╦ п╦п╪я▐ я└п╟п╧п╩п╟ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┌ п╬п╢п╫п╬п╧ п╦п╥ п╪п╟я│п╬п╨, Subversion п╠я┐п╢п╣я┌ п╢п╣п╧я│я┌п╡п╬п╡п╟я┌я▄ я┌п╟п╨, п╨п╟п╨ п╠я┐п╢я┌п╬ я└п╟п╧п╩п╟ п╡п╬п╡я│п╣ п╫п╣ я│я┐я┴п╣я│я┌п╡я┐п╣я┌. п╜я┌п╬ п╢п╣п╧я│я┌п╡п╦я┌п╣п╩я▄п╫п╬ п©п╬п╩п╣п╥п╫п╬ п╢п╩я▐ п╪п╟я│п╬п╨ я└п╟п╧п╩п╬п╡, п╨п╬я┌п╬я─я▀п╣ п╡я▀ п╬п╢п╫п╬п╥п╫п╟я┤п╫п╬ п╫п╣ я┘п╬я┌п╦я┌п╣ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟я┌я▄ Б─■ п╫п╟п©я─п╦п╪п╣я─, я└п╟п╧п╩п╬п╡ я─п╣п╥п╣я─п╡п╫я▀я┘ п╨п╬п©п╦п╧, я│п╬п╥п╢п╟п╡п╟п╣п╪я▀я┘ я─п╣п╢п╟п╨я┌п╬я─п╟п╪п╦, я┌п╟п╨п╦я┘ п╨п╟п╨ я└п╟п╧п╩я▀ *~ п╦ .*~ п╬я┌ Emacs.

п║п╡п╬п╧я│я┌п╡п╬ svn:ignore, п╥п╟п╢п╟п╡п╟п╣п╪п╬п╣ п╢п╩я▐ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟, я│п╬п╢п╣я─п╤п╦я┌ я│п©п╦я│п╬п╨ п╪п╟я│п╬п╨ я└п╟п╧п╩п╬п╡ (п╨п╟п╤п╢п╟я▐ п╪п╟я│п╨п╟ п╥п╟п©п╦я│я▀п╡п╟п╣я┌я│я▐ я│ п╫п╬п╡п╬п╧ я│я┌я─п╬п╨п╦), я│ п©п╬п╪п╬я┴я▄я▌ п╨п╬я┌п╬я─п╬пЁп╬ Subversion п╢п╬п╩п╤п╫п╟ п╬п©я─п╣п╢п╣п╩я▐я┌я▄, п╨п╟п╨п╦п╣ п╬п╠я┼п╣п╨я┌я▀ я│п╩п╣п╢я┐п╣я┌ п╦пЁп╫п╬я─п╦я─п╬п╡п╟я┌я▄ п╡ я█я┌п╬п╪ п╨п╟я┌п╟п╩п╬пЁп╣. п╜я┌п╦ п╪п╟я│п╨п╦ п╫п╣ п©п╣я─п╣п╬п©я─п╣п╢п╣п╩я▐я▌я┌ я┌п╣, я┤я┌п╬ п╥п╟п╢п╟п╫я▀ п©п╟я─п╟п╪п╣я┌я─п╬п╪ я│я─п╣п╢я▀ п╦я│п©п╬п╩п╫п╣п╫п╦я▐ global-ignores, п╟ п╢п╬п©п╬п╩п╫я▐я▌я┌ п╦я┘. п║я┌п╬п╦я┌ п╬я┌п╪п╣я┌п╦я┌я▄, я┤я┌п╬ п╡ п╬я┌п╩п╦я┤п╦п╣ п╬я┌ п©п╟я─п╟п╪п╣я┌я─п╟ global-ignores, п╪п╟я│п╨п╦, п©п╣я─п╣я┤п╦я│п╩п╣п╫п╫я▀п╣ п╡ я│п╡п╬п╧я│я┌п╡п╣ svn:ignore, п©я─п╦п╪п╣п╫я▐я▌я┌я│я▐ я┌п╬п╩я▄п╨п╬ п╨ я┌п╬п╪я┐ п╨п╟я┌п╟п╩п╬пЁя┐, п╡ я│п╡п╬п╧я│я┌п╡п╣ п╨п╬я┌п╬я─п╬пЁп╬ п╬п╫п╦ п╥п╟п╢п╟п╫я▀, п╫п╣ п╥п╟я┌я─п╟пЁп╦п╡п╟я▐ п╩я▌п╠я▀п╣ п╣пЁп╬ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╦. п║п╡п╬п╧я│я┌п╡п╬ svn:ignore Б─■ я█я┌п╬ я┘п╬я─п╬я┬п╦п╧ я│п©п╬я│п╬п╠ п©п╬п©я─п╬я│п╦я┌я▄ Subversion п©я─п╬п©я┐я│п╨п╟я┌я▄ я└п╟п╧п╩я▀, п╨п╬я┌п╬я─я▀п╣, п╡п╣я─п╬я▐я┌п╫п╬, п©я─п╦я│я┐я┌я│я┌п╡я┐я▌я┌ п╡п╬ п╡я│п╣я┘ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╦я┘ я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦я▐я┘ Б─■ п╫п╟п©я─п╦п╪п╣я─, я─п╣п╥я┐п╩я▄я┌п╟я┌я▀ п╨п╬п╪п©п╦п╩я▐я├п╦п╦ п╦п╩п╦, п╣я│п╩п╦ п╡п╥я▐я┌я▄ п©я─п╦п╪п╣я─, п╠п╬п╩п╣п╣ п©п╬п╢я┘п╬п╢я▐я┴п╦п╧ я█я┌п╬п╧ п╨п╫п╦пЁп╣, я└п╟п╧п╩я▀ HTML, PDF п╦п╩п╦ PostScript, пЁп╣п╫п╣я─п╦я─я┐п╣п╪я▀п╣ п╡ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ п©я─п╣п╬п╠я─п╟п╥п╬п╡п╟п╫п╦я▐ п╦я│я┘п╬п╢п╫я▀я┘ я└п╟п╧п╩п╬п╡ я└п╬я─п╪п╟я┌п╟ DocBook XML п╡ п╠п╬п╩п╣п╣ я┐п╢п╬п╠п╫я▀п╧ п╢п╩я▐ я┤я┌п╣п╫п╦я▐ п╡я▀я┘п╬п╢п╫п╬п╧ я└п╬я─п╪п╟я┌.

[п▓п╫п╦п╪п╟п╫п╦п╣]п▓п╫п╦п╪п╟п╫п╦п╣

п═п╣п╟п╩п╦п╥п╬п╡п╟п╫п╫п╟я▐ п╡ Subverion п©п╬п╢п╢п╣я─п╤п╨п╟ п╪п╟я│п╬п╨ п©я─п╬п©я┐я│п╨п╟ я└п╟п╧п╩п╬п╡ п╢п╣п╧я│я┌п╡я┐п╣я┌ я┌п╬п╩я▄п╨п╬ п╡ п╪п╬п╪п╣п╫я┌ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬пЁп╬ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟ п©п╬п╢ п╡п╣я─я│п╦п╬п╫п╫я▀п╧ п╨п╬п╫я┌я─п╬п╩я▄. п∙я│п╩п╦ п╬п╠я┼п╣п╨я┌ я┐п╤п╣ п╫п╟я┘п╬п╢п╦я┌я│я▐ п©п╬п╢ я┐п©я─п╟п╡п╩п╣п╫п╦п╣п╪ Subversion, п╪п╣я┘п╟п╫п╦п╥п╪ п╪п╟я│п╬п╨ п©я─п╬п©я┐я│п╨п╟ п╠п╬п╩я▄я┬п╣ п╨ п╫п╣п╪я┐ п╫п╣ п©я─п╦п╪п╣п╫я▐п╣я┌я│я▐. п≤п╫я▀п╪п╦ я│п╩п╬п╡п╟п╪п╦, п╫п╣ я│п╩п╣п╢я┐п╣я┌ п╬п╤п╦п╢п╟я┌я▄, я┤я┌п╬ Subversion п╫п╣ п╠я┐п╢п╣я┌ я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я│п╢п╣п╩п╟п╫п╫я▀п╣ п╡ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬п╪ я└п╟п╧п╩п╣, я┌п╬п╩я▄п╨п╬ п╫п╟ я┌п╬п╪ п╬я│п╫п╬п╡п╟п╫п╦п╦, я┤я┌п╬ п╣пЁп╬ п╦п╪я▐ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐п╣я┌ п╪п╟я│п╨п╣ п©я─п╬п©я┐я│п╨п╟ Б─■ Subversion п╡я│п╣пЁп╢п╟ п©я─п╬я│п╪п╟я┌я─п╦п╡п╟п╣я┌ п╡я│п╣ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╣ п╬п╠я┼п╣п╨я┌я▀.

п⌠п╩п╬п╠п╟п╩я▄п╫я▀п╧ я│п©п╦я│п╬п╨ п╪п╟я│п╬п╨ п©я─п╬п©я┐я│п╨п╟ п╡ п╠п╬п╩я▄я┬п╣п╧ я│я┌п╣п©п╣п╫п╦ п©п╬п╢я┘п╬п╢п╦я┌ п╢п╩я▐ п╥п╟п╢п╟п╫п╦я▐ п╩п╦я┤п╫я▀я┘ п©я─п╣п╢п©п╬я┤я┌п╣п╫п╦п╧, п╦ п╥п╟п╡я▐п╥п╟п╫ п╠п╬п╩я▄я┬п╣ п╫п╟ п╨п╬п╫п╨я─п╣я┌п╫я▀п╧ п╫п╟п╠п╬я─ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╦я┘ п╦п╫я│я┌я─я┐п╪п╣п╫я┌п╬п╡, я┤п╣п╪ п╫п╟ я│п©п╣я├п╦я└п╦п╨я┐ п╨п╬п╫п╨я─п╣я┌п╫п╬п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п≤я│я┘п╬п╢я▐ п╦п╥ я█я┌п╬пЁп╬, п╬я│я┌п╟я┌п╬п╨ п╢п╟п╫п╫п╬п╧ пЁп╩п╟п╡я▀ п╠я┐п╢п╣я┌ п©п╬я│п╡я▐я┴п╣п╫ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▌ я│п╡п╬п╧я│я┌п╡п╟ svn:ignore.

п■п╬п©я┐я│я┌п╦п╪, я┤я┌п╬ п╨п╬п╪п╟п╫п╢п╟ svn status п╡я▀п╢п╟п╣я┌ п╫п╟п╪ я│п╩п╣п╢я┐я▌я┴п╣п╣:

$ svn status calc
 M     calc/button.c
?      calc/calculator
?      calc/data.c
?      calc/debug_log
?      calc/debug_log.1
?      calc/debug_log.2.gz
?      calc/debug_log.3.gz

п▓ п©я─п╦п╪п╣я─п╣ п╡п╦п╢п╫п╬, я┤я┌п╬ п╡я▀ п╦п╥п╪п╣п╫п╦п╩п╦ п╫п╣п╨п╬я┌п╬я─я▀п╣ я│п╡п╬п╧я│я┌п╡п╟ я└п╟п╧п╩п╟ button.c, п╦, п╨я─п╬п╪п╣ я┌п╬пЁп╬, п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╣я│я┌я▄ п╫п╣я│п╨п╬п╩я▄п╨п╬ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡: п©я─п╬пЁя─п╟п╪п╪п╟ calculator, я│п╨п╬п╪п©п╦п╩п╦я─п╬п╡п╟п╫п╫п╟я▐ п╦п╥ п╦я│я┘п╬п╢п╫я▀я┘ п╨п╬п╢п╬п╡, я└п╟п╧п╩ п╦я│я┘п╬п╢п╫п╬пЁп╬ п╨п╬п╢п╟ data.c п╦ п╫п╟п╠п╬я─ я└п╟п╧п╩п╬п╡ я│ п╬я┌п╩п╟п╢п╬я┤п╫я▀п╪п╦ я│п╬п╬п╠я┴п╣п╫п╦я▐п╪п╦. п▓п╟п╪ п╦п╥п╡п╣я│я┌п╫п╬, я┤я┌п╬ п╡п╟я┬п╟ я│п╦я│я┌п╣п╪п╟ я│п╠п╬я─п╨п╦ п╡я│п╣пЁп╢п╟ пЁп╣п╫п╣я─п╦я─я┐п╣я┌ п©я─п╬пЁя─п╟п╪п╪я┐ я│ п╦п╪п╣п╫п╣п╪ calculator. [17] п╒п╟п╨п╤п╣ п╡п╟п╪ п╦п╥п╡п╣я│я┌п╫п╬, я┤я┌п╬ п©п╬я│п╩п╣ я┌п╣я│я┌п╬п╡п╬пЁп╬ п©я─п╬пЁп╬п╫п╟ п╡я│п╣пЁп╢п╟ п╬я│я┌п╟я▌я┌я│я▐ я┌п╣ я│п╟п╪я▀п╣ я└п╟п╧п╩я▀ я│ п╬я┌п╩п╟п╢п╬я┤п╫я▀п╪п╦ я│п╬п╬п╠я┴п╣п╫п╦я▐п╪п╦. п╜я┌п╬ я│п©я─п╟п╡п╣п╢п╩п╦п╡п╬ п╫п╣ я┌п╬п╩я▄п╨п╬ п╢п╩я▐ п╡п╟я┬п╣п╧, п╫п╬ п╦ п╢п╩я▐ п╡я│п╣я┘ п╬я│я┌п╟п╩я▄п╫я▀я┘ я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦п╧ п╢п╟п╫п╫п╬пЁп╬ п©я─п╬п╣п╨я┌п╟. п▓я▀ я┌п╬я┤п╫п╬ п╥п╫п╟п╣я┌п╣, я┤я┌п╬ п╡п╟п╪ п╫п╣ я┘п╬я┌п╣п╩п╬я│я▄ п╠я▀ п╡п╦п╢п╣я┌я▄ я█я┌п╦ п╬я┌п╩п╟п╢п╬я┤п╫я▀п╣ я└п╟п╧п╩я▀ п©я─п╦ п╨п╟п╤п╢п╬п╪ п╥п╟п©я┐я│п╨п╣ п╨п╬п╪п╟п╫п╢я▀ svn status, п╦ п╡я▀ п╟п╠я│п╬п╩я▌я┌п╫п╬ я┐п╡п╣я─п╣п╫я▀, я┤я┌п╬ я┌п╟п╨ п╤п╣ п╦я┘ п╫п╣ я┘п╬я┌п╣п╩п╬я│я▄ п╠я▀ п╡п╦п╢п╣я┌я▄ п╦ п╬я│я┌п╟п╩я▄п╫я▀п╪. п≤я│я┘п╬п╢я▐ п╦п╥ я█я┌п╬пЁп╬, п╪п╬п╤п╫п╬ п╢п╬п╠п╟п╡п╦я┌я▄ п╫п╣п╬п╠я┘п╬п╢п╦п╪я▀п╣ п╪п╟я│п╨п╦ п©я─п╬п©я┐я│п╨п╟ п╢п╩я▐ п╨п╟я┌п╟п╩п╬пЁп╟ calc, п╡я▀п©п╬п╩п╫п╦п╡ п╨п╬п╪п╟п╫п╢я┐ svn propedit svn:ignore calc. п²п╟п©я─п╦п╪п╣я─, п╡я▀ п╪п╬пЁп╩п╦ п╠я▀ п╢п╬п╠п╟п╡п╦я┌я▄ п╡ п╥п╫п╟я┤п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡п╟ svn:ignore я┌п╟п╨п╦п╣ я│я┌я─п╬п╨п╦:

calculator
debug_log*

п═п╣п╥я┐п╩я▄я┌п╟я┌п╬п╪ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ я█я┌п╬пЁп╬ я│п╡п╬п╧я│я┌п╡п╟ я│я┌п╟п╫п╣я┌ п╩п╬п╨п╟п╩я▄п╫п╬п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡ п╡ п╨п╟я┌п╟п╩п╬пЁп╣ calc. п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣, я┤п╣п╪ п╣я┴п╣ п╬я┌п╩п╦я┤п╟п╣я┌я│я▐ я┌п╣п©п╣я─я▄ п╡я▀п╡п╬п╢ п╨п╬п╪п╟п╫п╢я▀ svn status:

$ svn status
 M     calc
 M     calc/button.c
?      calc/data.c

п≈п╟п╪п╣я┌я▄я┌п╣, п╡п╣я│я▄ "п╪я┐я│п╬я─" п╦я│я┤п╣п╥ п╦п╥ п╡я▀п╡п╬п╢п╟! п п╬п╫п╣я┤п╫п╬, я│п╨п╬п╪п©п╦п╩п╦я─п╬п╡п╟п╫п╫п╟я▐ п©я─п╬пЁя─п╟п╪п╪п╟ calculator п╦ я┐п©п╬п╪п╦п╫п╟п╡я┬п╦п╣я│я▐ я└п╟п╧п╩я▀ п╬я┌п╩п╟п╢п╬я┤п╫я▀я┘ я│п╬п╬п╠я┴п╣п╫п╦п╧ п╫п╦п╨я┐п╢п╟ п╫п╣ п╢п╣п╩п╦я│я▄ п╦п╥ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п÷я─п╬я│я┌п╬ Subversion п╠п╬п╩я▄я┬п╣ п╫п╣ п╫п╟п©п╬п╪п╦п╫п╟п╣я┌ п╡п╟п╪ п╬п╠ п╦я┘ я│я┐я┴п╣я│я┌п╡п╬п╡п╟п╫п╦п╦. п╒п╣п©п╣я─я▄, п╨п╬пЁп╢п╟ п╡п╣я│я▄ п╫п╣ п©я─п╣п╢я│я┌п╟п╡п╩я▐я▌я┴п╦п╧ п╦п╫я┌п╣я─п╣я│п╟ "п╪я┐я│п╬я─" п╦я│я┤п╣п╥ я│ я█п╨я─п╟п╫п╟, п╡п╟п╪ п╬я│я┌п╟п╣я┌я│я▐ я─п╟п╥п╬п╠я─п╟я┌я▄я│я▐ я│ п╠п╬п╩п╣п╣ п╦п╫я┌п╣я─п╣я│п╫я▀п╪п╦ я█п╩п╣п╪п╣п╫я┌п╟п╪п╦ Б─■ п╡ я┤п╟я│я┌п╫п╬я│я┌п╦, я│ п╦я│я┘п╬п╢п╫я▀п╪ я└п╟п╧п╩п╬п╪ data.c, п╨п╬я┌п╬я─я▀п╧ п╡я▀, п╡п╣я─п╬я▐я┌п╫п╬, п╥п╟п╠я▀п╩п╦ п╢п╬п╠п╟п╡п╦я┌я▄ п©п╬п╢ п╡п╣я─я│п╦п╬п╫п╫я▀п╧ п╨п╬п╫я┌я─п╬п╩я▄.

п п╬п╫п╣я┤п╫п╬ п╤п╣, п╡п╟п╪ п╢п╬я│я┌я┐п©п╣п╫ п╫п╣ я┌п╬п╩я▄п╨п╬ я█я┌п╬я┌ п╨п╬я─п╬я┌п╨п╦п╧ п╬я┌я┤п╣я┌ п╬ я│я┌п╟я┌я┐я│п╣ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п∙я│п╩п╦ п╡ п╨п╟п╨п╬п╧-я┌п╬ п╪п╬п╪п╣п╫я┌ п╡я─п╣п╪п╣п╫п╦ п╡п╟п╪ п╢п╣п╧я│я┌п╡п╦я┌п╣п╩я▄п╫п╬ п╥п╟я┘п╬я┤п╣я┌я│я▐ я┐п╡п╦п╢п╣я┌я▄ п╡ я│п╬я│я┌п╟п╡п╣ я│я┌п╟я┌я┐я│п╫п╬пЁп╬ п╬я┌я┤п╣я┌п╟ п©я─п╬п╦пЁп╫п╬я─п╦я─п╬п╡п╟п╫п╫я▀п╣ я└п╟п╧п╩я▀, п╡я▀ п╪п╬п╤п╣я┌п╣ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╬п©я├п╦п╣п╧ --no-ignore:

$ svn status --no-ignore
 M     calc
 M     calc/button.c
I      calc/calculator
?      calc/data.c
I      calc/debug_log
I      calc/debug_log.1
I      calc/debug_log.2.gz
I      calc/debug_log.3.gz

п п╟п╨ п╬я┌п╪п╣я┤п╟п╩п╬я│я▄ п╡я▀я┬п╣, я│п©п╦я│п╬п╨ я└п╟п╧п╩п╬п╡я▀я┘ п╪п╟я│п╬п╨ п╢п╩я▐ п©я─п╬п©я┐я│п╨п╟ я┌п╟п╨п╤п╣ я┐я┤п╦я┌я▀п╡п╟п╣я┌я│я▐ п╨п╬п╪п╟п╫п╢п╟п╪п╦ svn add п╦ svn import. п▓ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ п╬п╠п╣п╦я┘ п╬п©п╣я─п╟я├п╦п╧ Subversion п╠п╣я─п╣я┌ п©п╬п╢ я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п╫п╣п╨п╬я┌п╬я─п╬п╣ п╪п╫п╬п╤п╣я│я┌п╡п╬ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡. п÷я─п╣п╤п╢п╣ я┤п╣п╪ я┌я─п╣п╠п╬п╡п╟я┌я▄ я┐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐, я┤я┌п╬п╠я▀ п╬п╫ п╡я▀п╠п╦я─п╟п╩ я┌п╣ я└п╟п╧п╩я▀ п╡ я│я┌я─я┐п╨я┌я┐я─п╣ п╨п╟я┌п╟п╩п╬пЁп╬п╡, п╨п╬я┌п╬я─я▀п╣ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟я┌я▄, Subversion п©я─п╦п╪п╣п╫я▐п╣я┌ п╪п╟я│п╨п╦ п©я─п╬п©я┐я│п╨п╟ Б─■ п╨п╟п╨ пЁп╩п╬п╠п╟п╩я▄п╫я▀п╣, я┌п╟п╨ п╦ п╫п╟п╥п╫п╟я┤п╣п╫п╫я▀п╣ п╬я┌п╢п╣п╩я▄п╫я▀п╪ п╨п╟я┌п╟п╩п╬пЁп╟п╪ Б─■ я┤я┌п╬п╠я▀ п╬п©я─п╣п╢п╣п╩п╦я┌я▄, п╨п╟п╨п╦п╣ я└п╟п╧п╩я▀ п╫п╣ п╢п╬п╩п╤п╫я▀ п©п╬п╢я┘п╡п╟я┌я▀п╡п╟я┌я▄я│я▐ я│п╦я│я┌п╣п╪п╬п╧ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ п╡ я┘п╬п╢п╣ я─п╣п╨я┐я─я│п╦п╡п╫п╬п╧ п╬п©п╣я─п╟я├п╦п╦ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ п╦п╩п╦ п╦п╪п©п╬я─я┌п╟. п≤ я│п╫п╬п╡п╟ п╡я▀ п╪п╬п╤п╣я┌п╣ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╬п©я├п╦п╣п╧ --no-ignore, я┤я┌п╬п╠я▀ п©я─п╣п╢п╩п╬п╤п╦я┌я▄ Subversion п╫п╣ я┐я┤п╦я┌я▀п╡п╟я┌я▄ я│п©п╦я│п╨п╦ п©я─п╬п©я┐я│п╨п╟ п╦ п╬п╠я─п╟п╠п╟я┌я▀п╡п╟я┌я▄ п╡я│п╣ п╦п╪п╣я▌я┴п╦п╣я│я▐ я└п╟п╧п╩я▀ п╦ п╨п╟я┌п╟п╩п╬пЁп╦.

п÷п╬п╢я│я┌п╟п╫п╬п╡п╨п╟ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡

Subversion я┐п╪п╣п╣я┌ п╡я▀п©п╬п╩п╫я▐я┌я▄ п©п╬п╢я│я┌п╟п╫п╬п╡п╨я┐ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡ Б─■ я█п╩п╣п╪п╣п╫я┌п╬п╡ п©п╬п╩п╣п╥п╫п╬п╧ п╢п╦п╫п╟п╪п╦я┤п╣я│п╨п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╬ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬п╪ я└п╟п╧п╩п╣ Б─■ п╡ я│п╬я│я┌п╟п╡п╣ я█я┌п╬пЁп╬ я└п╟п╧п╩п╟. п╖п╟я┴п╣ п╡я│п╣пЁп╬ п╨п╩я▌я┤п╣п╡я▀п╣ я│п╩п╬п╡п╟ п╥п╟п╪п╣я┴п╟я▌я┌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬ п╡я─п╣п╪п╣п╫п╦ п©п╬я│п╩п╣п╢п╫п╣пЁп╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я└п╟п╧п╩п╟. п÷п╬я│п╨п╬п╩я▄п╨я┐ я█я┌п╟ п╦п╫я└п╬я─п╪п╟я├п╦я▐ п╪п╣п╫я▐п╣я┌я│я▐ п©я─п╦ п╨п╟п╤п╢п╬п╪ п╦п╥п╪п╣п╫п╣п╫п╦п╦ я└п╟п╧п╩п╟, п╦, я┤я┌п╬ п╬я│п╬п╠п╣п╫п╫п╬ п╡п╟п╤п╫п╬, я│я─п╟п╥я┐ п©п╬я│п╩п╣ я┌п╬пЁп╬, п╨п╟п╨ я└п╟п╧п╩ п╠я┐п╢п╣я┌ п╦п╥п╪п╣п╫п╣п╫, п╫п╦п╨п╟п╨п╬п╧ п╢я─я┐пЁп╬п╧ п©я─п╬я├п╣я│я│, п╨я─п╬п╪п╣ я│п╦я│я┌п╣п╪я▀ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦, п╫п╣ п╡ я│п╬я│я┌п╬я▐п╫п╦п╦ п©п╬п╢п╢п╣я─п╤п╦п╡п╟я┌я▄ п©п╬п╩п╫я┐я▌ п╟п╨я┌я┐п╟п╩я▄п╫п╬я│я┌я▄ я█я┌п╦я┘ п╢п╟п╫п╫я▀я┘. п▒я┐п╢я┐я┤п╦ п╬я┌п╢п╟п╫п╫п╬п╧ п╫п╟ п╬я┌п╨я┐п© я┤п╣п╩п╬п╡п╣п╨я┐, я█я┌п╟ п╦п╫я└п╬я─п╪п╟я├п╦я▐ п╫п╣п╦п╥п╠п╣п╤п╫п╬ п╠я┐п╢п╣я┌ п╬п╨п╟п╥я▀п╡п╟я┌я▄я│я▐ я┐я│я┌п╟я─п╣п╡я┬п╣п╧.

п÷я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┐ п╡п╟я│ п╣я│я┌я▄ я└п╟п╧п╩, п╡ я┌п╣п╨я│я┌п╣ п╨п╬я┌п╬я─п╬пЁп╬ п╡я▀ я┘п╬я┌п╣п╩п╦ п╠я▀ п╡я│п╣пЁп╢п╟ п╡п╦п╢п╣я┌я▄ п╢п╟я┌я┐ п╣пЁп╬ п©п╬я│п╩п╣п╢п╫п╣пЁп╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐. п▓я▀ п╪п╬пЁп╩п╦ п╠я▀ п╡п╪п╣п╫п╦я┌я▄ п╡ п╬п╠я▐п╥п╟п╫п╫п╬я│я┌я▄ п╨п╟п╤п╢п╬п╪я┐ п╟п╡я┌п╬я─я┐ я█я┌п╬пЁп╬ п╢п╬п╨я┐п╪п╣п╫я┌п╟, я┤я┌п╬п╠я▀ п╫п╣п©п╬я│я─п╣п╢я│я┌п╡п╣п╫п╫п╬ п©п╣я─п╣п╢ я└п╦п╨я│п╟я├п╦п╣п╧ я│п╡п╬п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╬п╫ я┌п╟п╨п╤п╣ п╦я│п©я─п╟п╡п╩я▐п╩ п╡ п╫п╣п╪ п╥п╟п©п╦я│я▄ п╬ п╡я─п╣п╪п╣п╫п╦ п©п╬я│п╩п╣п╢п╫п╣пЁп╬ п╡п╫п╣я│п╣п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п²п╬ я─п╟п╫п╬ п╦п╩п╦ п©п╬п╥п╢п╫п╬ п╨я┌п╬-п╫п╦п╠я┐п╢я▄ п╥п╟п╠я┐п╢п╣я┌ я│п╢п╣п╩п╟я┌я▄ я█я┌п╬! п╖я┌п╬п╠я▀ я┌п╟п╨п╬пЁп╬ п╫п╣ я│п╩я┐я┤п╟п╩п╬я│я▄, п╪я▀ п╪п╬п╤п╣п╪ п©п╬п©я─п╬я│п╦я┌я▄ Subversion п©я─п╬п╦п╥п╡п╬п╢п╦я┌я▄ п©п╬п╢я│я┌п╟п╫п╬п╡п╨я┐ п╫п╟ п╪п╣я│я┌п╬ п╨п╩я▌я┤п╣п╡п╬пЁп╬ я│п╩п╬п╡п╟ LastChangedDate. п÷п╬п╥п╦я├п╦я▐, п╨я┐п╢п╟ п╢п╬п╩п╤п╫п╟ п©я─п╬п╦п╥п╡п╬п╢п╦я┌я▄я│я▐ п©п╬п╢я│я┌п╟п╫п╬п╡п╨п╟, п╬п©я─п╣п╢п╣п╩я▐п╣я┌я│я▐ п╪п╣я│я┌п╬п©п╬п╩п╬п╤п╣п╫п╦п╣п╪ я┐п╨п╟п╥п╟я┌п╣п╩я▐ п╨п╩я▌я┤п╣п╡п╬пЁп╬ я│п╩п╬п╡п╟ п╡ я│п╬п╢п╣я─п╤п╟п╫п╦п╦ я└п╟п╧п╩п╟. п╜я┌п╬я┌ я┐п╨п╟п╥п╟я┌п╣п╩я▄ п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ п╬п╠я▀я┤п╫я┐я▌ я┌п╣п╨я│я┌п╬п╡я┐я▌ я│я┌я─п╬п╨я┐, п╦п╪п╣я▌я┴я┐я▌ я└п╬я─п╪п╟я┌ $KeywordName $.

п▓я│п╣ п╨п╩я▌я┤п╣п╡я▀п╣ я│п╩п╬п╡п╟ я┤я┐п╡я│я┌п╡п╦я┌п╣п╩я▄п╫я▀ п╨ я─п╣пЁп╦я│я┌я─я┐, п╨п╬пЁп╢п╟ п╦п╢п╣я┌ я─п╣я┤я▄ п╬п╠ я┐п╨п╟п╥п╟я┌п╣п╩я▐я┘ п╫п╟ п╫п╦я┘ п╡ я└п╟п╧п╩п╟я┘: п╡я▀ п╢п╬п╩п╤п╫я▀ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п©я─п╟п╡п╦п╩я▄п╫я▀п╧ я─п╣пЁп╦я│я┌я─ я│п╦п╪п╡п╬п╩п╬п╡ п╡ п╫п╟п©п╦я│п╟п╫п╦п╦ п╨п╩я▌я┤п╣п╡п╬пЁп╬ я│п╩п╬п╡п╟. п≈п╫п╟я┤п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡п╟ svn:keywords я┌п╟п╨п╤п╣ я│п╩п╣п╢я┐п╣я┌ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟я┌я▄ п╨п╟п╨ я┤я┐п╡я│я┌п╡п╦я┌п╣п╩я▄п╫п╬п╣ п╨ я─п╣пЁп╦я│я┌я─я┐ Б─■ п╦ я┘п╬я┌я▐ п╫п╣п╨п╬я┌п╬я─я▀п╣ п╦п╪п╣п╫п╟ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡ я─п╟я│п©п╬п╥п╫п╟я▌я┌я│я▐ п╫п╣п╥п╟п╡п╦я│п╦п╪п╬ п╬я┌ я─п╣пЁп╦я│я┌я─п╟, я─п╟я│я│я┤п╦я┌я▀п╡п╟я┌я▄ п╫п╟ я█я┌п╬ п╫п╣ я│я┌п╬п╦я┌.

п▓ Subversion п╬п©я─п╣п╢п╣п╩п╣п╫ я│п©п╦я│п╬п╨ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡, п╢п╬я│я┌я┐п©п╫я▀я┘ п╢п╩я▐ п©п╬п╢я│я┌п╟п╫п╬п╡п╨п╦. п·п╫ я│п╬п╢п╣я─п╤п╦я┌ я│п╩п╣п╢я┐я▌я┴п╦п╣ п©я▐я┌я▄ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡; п╫п╣п╨п╬я┌п╬я─я▀п╣ п╦п╥ п╫п╦я┘ п╦п╪п╣я▌я┌ п©я│п╣п╡п╢п╬п╫п╦п╪я▀, п╨п╬я┌п╬я─я▀п╣ п╡я▀ я┌п╟п╨п╤п╣ п╪п╬п╤п╣я┌п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄:

Date

п╜я┌п╬ п╨п╩я▌я┤п╣п╡п╬п╣ я│п╩п╬п╡п╬ п╥п╟п╪п╣я┴п╟п╣я┌ п╡я─п╣п╪я▐ п©п╬я│п╩п╣п╢п╫п╣пЁп╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я└п╟п╧п╩п╟ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╦ п╡я▀пЁп╩я▐п╢п╦я┌ п©я─п╦п╪п╣я─п╫п╬ я┌п╟п╨: $Date: 2006-07-22 21:42:37 -0700 (Sat, 22 Jul 2006) $. п╒п╟п╨п╤п╣ п╣пЁп╬ п╪п╬п╤п╫п╬ п╥п╟п╢п╟я┌я▄ п╨п╟п╨ LastChangedDate.

Revision

п╜я┌п╬ п╨п╩я▌я┤п╣п╡п╬п╣ я│п╩п╬п╡п╬ п╥п╟п╪п╣я┴п╟п╣я┌ п╫п╬п╪п╣я─ п©п╬я│п╩п╣п╢п╫п╣п╧ п©я─п╟п╡п╨п╦, п╡ п╨п╬я┌п╬я─п╬п╧ я└п╟п╧п╩ п╠я▀п╩ п╦п╥п╪п╣п╫п╣п╫ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣, п╦ п╡я▀пЁп╩я▐п╢п╦я┌ п©я─п╦п╪п╣я─п╫п╬ я┌п╟п╨: $Revision: 144 $. п╒п╟п╨п╤п╣ п╣пЁп╬ п╪п╬п╤п╫п╬ п╥п╟п╢п╟я┌я▄ п╨п╟п╨ LastChangedRevision п╦п╩п╦ Rev.

Author

п╜я┌п╬ п╨п╩я▌я┤п╣п╡п╬п╣ я│п╩п╬п╡п╬ п╥п╟п╪п╣я┴п╟п╣я┌ п╦п╪я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐, п╨п╬я┌п╬я─я▀п╧ п©п╬я│п╩п╣п╢п╫п╦п╪ п╦п╥п╪п╣п╫п╦п╩ я█я┌п╬я┌ я└п╟п╧п╩ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣, п╦ п╡я▀пЁп╩я▐п╢п╦я┌ п©я─п╦п╪п╣я─п╫п╬ я┌п╟п╨: $Author: harry $. п╒п╟п╨п╤п╣ п╣пЁп╬ п╪п╬п╤п╫п╬ п╥п╟п╢п╟я┌я▄ п╨п╟п╨ LastChangedBy.

HeadURL

п╜я┌п╬ п╨п╩я▌я┤п╣п╡п╬п╣ я│п╩п╬п╡п╬ п╥п╟п╪п╣я┴п╟п╣я┌ п©п╬п╩п╫я▀п╧ URL п╨ п©п╬я│п╩п╣п╢п╫п╣п╧ п╡п╣я─я│п╦п╦ я└п╟п╧п╩п╟ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣, п╦ п╡я▀пЁп╩я▐п╢п╦я┌ п©я─п╦п╪п╣я─п╫п╬ я┌п╟п╨: $HeadURL: http://svn.collab.net/repos/trunk/README $. п·п╫п╬ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ я│п╬п╨я─п╟я┴п╣п╫п╬ п╢п╬ URL.

Id

п╜я┌п╬ п╨п╩я▌я┤п╣п╡п╬п╣ я│п╩п╬п╡п╬ Б─■ п╨п╬п╪п©п╟п╨я┌п╫п╟я▐ п╨п╬п╪п╠п╦п╫п╟я├п╦я▐ п╡я│п╣я┘ п╬я│я┌п╟п╩я▄п╫я▀я┘. п∙пЁп╬ п©п╬п╢я│я┌п╟п╫п╬п╡п╨п╟ п╡я▀пЁп╩я▐п╢п╦я┌ п©я─п╦п╪п╣я─п╫п╬ я┌п╟п╨: $Id: calc.c 148 2006-07-28 21:30:43Z sally $, п╦ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ я└п╟п╧п╩ calc.c п©п╬я│п╩п╣п╢п╫п╦п╧ я─п╟п╥ п╠я▀п╩ п╦п╥п╪п╣п╫п╣п╫ п╡ п©я─п╟п╡п╨п╣ 148, п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╫п╫п╬п╧ п╡п╣я┤п╣я─п╬п╪ 28 п╦я▌п╩я▐ 2006 пЁп╬п╢п╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪ sally.

п∙я│п╩п╦ п©я─п╬я│я┌п╬ я─п╟п╥п╪п╣я│я┌п╦я┌я▄ п╡ я┌п╣п╨я│я┌п╣ я└п╟п╧п╩п╟ я┐п╨п╟п╥п╟я┌п╣п╩я▄ п╨п╩я▌я┤п╣п╡п╬пЁп╬ я│п╩п╬п╡п╟, п╫п╦я┤п╣пЁп╬ п╫п╣ п©я─п╬п╦п╥п╬п╧п╢п╣я┌. Subversion п╫п╦п╨п╬пЁп╢п╟ п╫п╣ п©я▀я┌п╟п╣я┌я│я▐ п╬я│я┐я┴п╣я│я┌п╡п╦я┌я▄ я┌п╣п╨я│я┌п╬п╡я┐я▌ п©п╬п╢я│я┌п╟п╫п╬п╡п╨я┐ п╡ я│п╬п╢п╣я─п╤п╟п╫п╦п╦ я└п╟п╧п╩п╟, п©п╬п╨п╟ п╡я▀ я▐п╡п╫п╬ п╣пЁп╬ п╬п╠ я█я┌п╬п╪ п╫п╣ п©п╬п©я─п╬я│п╦я┌п╣. п▓ п╨п╬п╫я├п╣ п╨п╬п╫я├п╬п╡, п╡я▀ п╡п╣п╢я▄ п╪п╬пЁп╩п╦ п╠я▀ п╫п╟п©п╦я│п╟я┌я▄ п╢п╬п╨я┐п╪п╣п╫я┌ [18] п╬ я┌п╬п╪, п╨п╟п╨ п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╨п╩я▌я┤п╣п╡я▀п╪п╦ я│п╩п╬п╡п╟п╪п╦, п╦ п╡я▀, п╬я┤п╣п╡п╦п╢п╫п╬, п╫п╣ п╥п╟я┘п╬я┌п╦я┌п╣, я┤я┌п╬п╠я▀ Subversion п╥п╟п╪п╣я│я┌п╦п╩ я┐п╨п╟п╥п╟я┌п╣п╩п╦ п╫п╟ п╨п╩я▌я┤п╣п╡я▀п╣ я│п╩п╬п╡п╟, п©я─п╦п╡п╣п╢п╣п╫п╫я▀п╣ п╡п╟п╪п╦ п╡ п╨п╟я┤п╣я│я┌п╡п╣ п©я─п╦п╪п╣я─п╟!

п╖я┌п╬п╠я▀ я┐п╨п╟п╥п╟я┌я▄ Subversion, я│п╩п╣п╢я┐п╣я┌ п╩п╦ п╣п╪я┐ п╡я▀п©п╬п╩п╫я▐я┌я▄ п©п╬п╢я│я┌п╟п╫п╬п╡п╨я┐ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡ п╡ п╨п╬п╫п╨я─п╣я┌п╫п╬п╪ я└п╟п╧п╩п╣, я│п╫п╬п╡п╟ п╬п╠я─п╟я┌п╦п╪я│я▐ п╨ п©п╬п╢п╨п╬п╪п╟п╫п╢п╟п╪ п╢п╩я▐ я─п╟п╠п╬я┌я▀ я│п╬ я│п╡п╬п╧я│я┌п╡п╟п╪п╦. п║п╡п╬п╧я│я┌п╡п╬ svn:keywords, я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣п╪п╬п╣ п╢п╩я▐ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬пЁп╬ я└п╟п╧п╩п╟, п╥п╟п╢п╟п╣я┌ п©п╣я─п╣я┤п╣п╫я▄ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡, п╨п╬я┌п╬я─я▀п╣ п╠я┐п╢я┐я┌ п╥п╟п╪п╣я┴п╟я┌я▄я│я▐ п╡ я█я┌п╬п╪ я└п╟п╧п╩п╣. п∙пЁп╬ п╥п╫п╟я┤п╣п╫п╦п╣ п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ я│п©п╦я│п╬п╨ п╦п╪п╣п╫ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡ п╦п╩п╦ п©я│п╣п╡п╢п╬п╫п╦п╪п╬п╡ п╦п╥ п©я─п╦п╡п╣п╢п╣п╫п╫п╬п╧ п╡я▀я┬п╣ я┌п╟п╠п╩п╦я├я▀, я─п╟п╥п╢п╣п╩п╣п╫п╫я▀я┘ п©я─п╬п╠п╣п╩п╟п╪п╦.

п▓ п╨п╟я┤п╣я│я┌п╡п╣ п©я─п╦п╪п╣я─п╟ п╢п╬п©я┐я│я┌п╦п╪, я┤я┌п╬ я┐ п╡п╟я│ п╣я│я┌я▄ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╧ я└п╟п╧п╩ я│ п╦п╪п╣п╫п╣п╪ weather.txt, п╨п╬я┌п╬я─я▀п╧ п╡я▀пЁп╩я▐п╢п╦я┌ я│п╩п╣п╢я┐я▌я┴п╦п╪ п╬п╠я─п╟п╥п╬п╪::

Here is the latest report from the front lines.
$LastChangedDate$
$Rev$
Cumulus clouds are appearing more frequently as summer approaches.

п∙я│п╩п╦ п╢п╩я▐ я█я┌п╬пЁп╬ я└п╟п╧п╩п╟ п╫п╣ п╥п╟п╢п╟я┌я▄ я│п╡п╬п╧я│я┌п╡п╬ svn:keywords, Subversion п╫п╣ п╠я┐п╢п╣я┌ п╢п╣п╩п╟я┌я▄ п╫п╦я┤п╣пЁп╬ п╬я│п╬п╠п╣п╫п╫п╬пЁп╬. п■п╟п╡п╟п╧я┌п╣ я─п╟п╥я─п╣я┬п╦п╪ я┌п╣п©п╣я─я▄ п©п╬п╢я│я┌п╟п╫п╬п╡п╨я┐ п╨п╩я▌я┤п╣п╡п╬пЁп╬ я│п╩п╬п╡п╟ LastChangedDate.

$ svn propset svn:keywords "Date Author" weather.txt
property 'svn:keywords' set on 'weather.txt'
$

п≤я┌п╟п╨, п╡я▀ п©я─п╬п╦п╥п╡п╣п╩п╦ п╩п╬п╨п╟п╩я▄п╫п╬п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡п╟ я└п╟п╧п╩п╟ weather.txt. п▓я▀ п╫п╣ я┐п╡п╦п╢п╦я┌п╣ п╫п╦п╨п╟п╨п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡ я│п╬п╢п╣я─п╤п╟п╫п╦п╦ я└п╟п╧п╩п╟ (п╣я│п╩п╦ п╡я▀, п╨п╬п╫п╣я┤п╫п╬, п╫п╣ п╡п╫п╬я│п╦п╩п╦ я│п╡п╬п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╢п╬ я┌п╬пЁп╬, п╨п╟п╨ п╥п╟п╢п╟я┌я▄ я│п╡п╬п╧я│я┌п╡п╬). п≈п╟п╪п╣я┌я▄я┌п╣, я┤я┌п╬ я└п╟п╧п╩ я│п╬п╢п╣я─п╤п╟п╩ я┌п╟п╨п╤п╣ я┐п╨п╟п╥п╟я┌п╣п╩я▄ п╫п╟ п╨п╩я▌я┤п╣п╡п╬п╣ я│п╩п╬п╡п╬ Rev, п╨п╬я┌п╬я─п╬п╣ п╪я▀ п╫п╣ я│я┌п╟п╩п╦ п╡п╨п╩я▌я┤п╟я┌я▄ п╡ п╥п╫п╟я┤п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡п╟. Subversion п╠п╣п╥ п©я─п╬п╠п╩п╣п╪ п©я─п╬п╦пЁп╫п╬я─п╦я─я┐п╣я┌ п©п╬п╢я│я┌п╟п╫п╬п╡п╨я┐ я┌п╣я┘ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡, п╨п╬я┌п╬я─я▀п╣ п╫п╣ п©я─п╦я│я┐я┌я│я┌п╡я┐я▌я┌ п╡ я└п╟п╧п╩п╣, п╟ я┌п╟п╨п╤п╣ п╫п╣ п╠я┐п╢п╣я┌ п╥п╟п╪п╣я┴п╟я┌я▄ п╨п╩я▌я┤п╣п╡я▀п╣ я│п╩п╬п╡п╟, п╫п╣ п©п╣я─п╣я┤п╦я│п╩п╣п╫п╫я▀п╣ п╡ п╥п╫п╟я┤п╣п╫п╦п╦ я│п╡п╬п╧я│я┌п╡п╟ svn:keywords.

п║я─п╟п╥я┐ п╤п╣ п©п╬я│п╩п╣ я┌п╬пЁп╬, п╨п╟п╨ п╡я▀ п╥п╟я└п╦п╨я│п╦я─я┐п╣я┌п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡п╟, Subversion п╬п╠п╫п╬п╡п╦я┌ я└п╟п╧п╩ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│ п╫п╬п╡я▀п╪ я┌п╣п╨я│я┌п╬п╪ п©п╬п╢я│я┌п╟п╫п╬п╡п╨п╦. п▓п╪п╣я│я┌п╬ я┐п╨п╟п╥п╟я┌п╣п╩я▐ п╨п╩я▌я┤п╣п╡п╬пЁп╬ я│п╩п╬п╡п╟ $LastChangedDate$ п╡я▀ я┐п╡п╦п╢п╦я┌п╣ я─п╣п╥я┐п╩я▄я┌п╟я┌ п©п╬п╢я│я┌п╟п╫п╬п╡п╨п╦. п╜я┌п╬я┌ я─п╣п╥я┐п╩я▄я┌п╟я┌ я┌п╟п╨ п╤п╣ п╠я┐п╢п╣я┌ я│п╬п╢п╣я─п╤п╟я┌я▄ п╦п╪я▐ п╨п╩я▌я┤п╣п╡п╬пЁп╬ я│п╩п╬п╡п╟, п╦ п©п╬-п©я─п╣п╤п╫п╣п╪я┐ п╠я┐п╢п╣я┌ п╬пЁя─п╟п╫п╦я┤п╣п╫ п╥п╫п╟п╨п╟п╪п╦ п╢п╬п╩п╩п╟я─п╟ ($). п п╟п╨ п╪я▀ п╦ п©я─п╣п╢я│п╨п╟п╥я▀п╡п╟п╩п╦, п©п╬п╢я│я┌п╟п╫п╬п╡п╨п╦ п╨п╩я▌я┤п╣п╡п╬пЁп╬ я│п╩п╬п╡п╟ Rev п╫п╣ п©я─п╬п╦п╥п╬я┬п╩п╬, п©п╬я│п╨п╬п╩я▄п╨я┐ п╪я▀ п╫п╣ п©я─п╬я│п╦п╩п╦ п╬п╠ я█я┌п╬п╪ Subversion.

п≈п╟п╪п╣я┌п╦п╪ я┌п╟п╨п╤п╣, я┤я┌п╬ п╪я▀ я┐я│я┌п╟п╫п╬п╡п╦п╩п╦ я│п╡п╬п╧я│я┌п╡я┐ svn:keywords п╥п╫п╟я┤п╣п╫п╦п╣ б╚Date Authorб╩, п╡ я┌п╬ п╡я─п╣п╪я▐ п╨п╟п╨ я┐п╨п╟п╥п╟я┌п╣п╩я▄ п╨п╩я▌я┤п╣п╡п╬пЁп╬ я│п╩п╬п╡п╟ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╩ п©я│п╣п╡п╢п╬п╫п╦п╪ $LastChangedDate$. п╒п╣п╪ п╫п╣ п╪п╣п╫п╣п╣, п╣пЁп╬ п╥п╟п╪п╣я┴п╣п╫п╦п╣ п©я─п╬я┬п╩п╬ п╨п╬я─я─п╣п╨я┌п╫п╬.

Here is the latest report from the front lines.
$LastChangedDate: 2006-07-22 21:42:37 -0700 (Sat, 22 Jul 2006) $
$Rev$
Cumulus clouds are appearing more frequently as summer approaches.

п╒п╣п©п╣я─я▄, п╣я│п╩п╦ п╨я┌п╬-я┌п╬ п╢я─я┐пЁп╬п╧ п╥п╟я└п╦п╨я│п╦я─я┐п╣я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ weather.txt, п╡п╟я┬п╟ п╨п╬п©п╦я▐ я█я┌п╬пЁп╬ я└п╟п╧п╩п╟ п©я─п╬п╢п╬п╩п╤п╦я┌ п©п╬п╨п╟п╥я▀п╡п╟я┌я▄ п©я─п╣п╤п╫п╦п╧ я─п╣п╥я┐п╩я▄я┌п╟я┌ п©п╬п╢я│я┌п╟п╫п╬п╡п╨п╦ Б─■ п╢п╬ я┌п╣я┘ п©п╬я─, п©п╬п╨п╟ п╡я▀ п╫п╣ п╬п╠п╫п╬п╡п╦я┌п╣ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌. п÷я─п╦ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╦ п╡ п╡п╟я┬п╣п╪ я└п╟п╧п╩п╣ weather.txt п╠я┐п╢п╣я┌ п©я─п╬п╦п╥п╡п╣п╢п╣п╫п╟ п©п╣я─п╣п©п╬п╢я│я┌п╟п╫п╬п╡п╨п╟ п╨п╩я▌я┤п╣п╡п╬пЁп╬ я│п╩п╬п╡п╟ я┌п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╣п╧, п╨п╬я┌п╬я─п╟я▐ п╬я┌я─п╟п╤п╟п╣я┌ п╫п╟п╦п╠п╬п╩п╣п╣ я│п╡п╣п╤я┐я▌ я└п╦п╨я│п╟я├п╦я▌ я█я┌п╬пЁп╬ я└п╟п╧п╩п╟.

Subversion 1.2 п©я─п╣п╢п╩п╟пЁп╟п╣я┌ п╫п╬п╡я▀п╧ п╡п╟я─п╦п╟п╫я┌ я│п╦п╫я┌п╟п╨я│п╦я│п╟ п╢п╩я▐ я─п╟п╠п╬я┌я▀ я│ п╨п╩я▌я┤п╣п╡я▀п╪п╦ я│п╩п╬п╡п╟п╪п╦, п╨п╬я┌п╬я─я▀п╧ п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣я┌ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я▀п╣, п╡п╣я│я▄п╪п╟ п©п╬п╩п╣п╥п╫я▀п╣ Б─■ я┘п╬я┌я▐, п╡п╣я─п╬я▐я┌п╫п╬, п╫п╣ я│п╬п╡я│п╣п╪ я┌п╦п©п╦я┤п╫я▀п╣ Б─■ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫я▀п╣ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦. п╒п╣п©п╣я─я▄ п╡я▀ п╪п╬п╤п╣я┌п╣ п©п╬п©я─п╬я│п╦я┌я▄ Subversion я│п╬я┘я─п╟п╫я▐я┌я▄ я└п╦п╨я│п╦я─п╬п╡п╟п╫п╫я┐я▌ п╢п╩п╦п╫я┐ п╢п╩я▐ я─п╣п╥я┐п╩я▄я┌п╟я┌п╟ п©п╬п╢я│я┌п╟п╫п╬п╡п╨п╦ п╨п╩я▌я┤п╣п╡п╬пЁп╬ я│п╩п╬п╡п╟ (п╦п╪п╣п╣я┌я│я▐ п╡ п╡п╦п╢я┐ я┤п╦я│п╩п╬ п╥п╟п╫п╦п╪п╟п╣п╪я▀я┘ п╠п╟п╧я┌п╬п╡). п■п╩я▐ я█я┌п╬пЁп╬ п╦я│п©п╬п╩я▄п╥я┐п╧я┌п╣ я┐п╢п╡п╬п╣п╫п╫п╬п╣ п╢п╡п╬п╣я┌п╬я┤п╦п╣ (::) п©п╬я│п╩п╣ п╦п╪п╣п╫п╦ п╨п╩я▌я┤п╣п╡п╬пЁп╬ я│п╩п╬п╡п╟, п╡я│п╩п╣п╢ п╥п╟ п╨п╬я┌п╬я─я▀п╪ п©п╬п╪п╣я│я┌п╦я┌п╣ я│я┌п╬п╩я▄п╨п╬ п©я─п╬п╠п╣п╩п╬п╡, я│п╨п╬п╩я▄п╨п╬ п╫я┐п╤п╫п╬ п╢п╩я▐ п╥п╟п╢п╟п╫п╦я▐ я└п╦п╨я│п╦я─п╬п╡п╟п╫п╫п╬п╧ п╢п╩п╦п╫я▀. п п╬пЁп╢п╟ Subversion п╫п╟ п╪п╣я│я┌п╬ п╨п╩я▌я┤п╣п╡п╬пЁп╬ я│п╩п╬п╡п╟ п╠я┐п╢п╣я┌ п©п╬п╢я│я┌п╟п╡п╩я▐я┌я▄ п╨п╩я▌я┤п╣п╡п╬п╣ я│п╩п╬п╡п╬ п╦ п╣пЁп╬ п╥п╫п╟я┤п╣п╫п╦п╣, п╬п╫п╟ п╥п╟п╪п╣п╫п╦я┌ я┌п╬п╩я▄п╨п╬ я█я┌п╦ п©я─п╬п╠п╣п╩я▄п╫я▀п╣ я│п╦п╪п╡п╬п╩я▀, п╬я│я┌п╟п╡п╦п╡ п╫п╣п╦п╥п╪п╣п╫п╫п╬п╧ п©п╬п╩п╫я┐я▌ п╢п╩п╦п╫я┐ п©п╬п╩я▐ я│ п╨п╩я▌я┤п╣п╡я▀п╪ я│п╩п╬п╡п╬п╪. п∙я│п╩п╦ п©п╬п╢я│я┌п╟п╡п╩я▐п╣п╪п╬п╣ п╥п╫п╟я┤п╣п╫п╦п╣ п╬п╨п╟п╤п╣я┌я│я▐ п╨п╬я─п╬я┤п╣, я┤п╣п╪ п╥п╟п╢п╟п╫п╫п╟я▐ я┬п╦я─п╦п╫п╟ п©п╬п╩я▐, п╬п╫п╬ п╠я┐п╢п╣я┌ п╢п╬п©п╬п╩п╫п╣п╫п╬ п╫п╟ п╨п╬п╫я├п╣ я│п╦п╪п╡п╬п╩п╟п╪п╦-п╥п╟п©п╬п╩п╫п╦я┌п╣п╩я▐п╪п╦ (п©я─п╬п╠п╣п╩п╟п╪п╦). п∙я│п╩п╦ п©п╬п╢я│я┌п╟п╡п╩я▐п╣п╪п╬п╣ п╥п╫п╟я┤п╣п╫п╦п╣ п╬п╨п╟п╤п╣я┌я│я▐ я│п╩п╦я┬п╨п╬п╪ п╢п╩п╦п╫п╫я▀п╪, п╬п╫п╬ п╠я┐п╢п╣я┌ я┐я│п╣я┤п╣п╫п╬, п©я─п╦ я█я┌п╬п╪ п╫п╣п©п╬я│я─п╣п╢я│я┌п╡п╣п╫п╫п╬ п©п╣я─п╣п╢ п╥п╟п╨я─я▀п╡п╟я▌я┴п╦п╪ п╥п╫п╟п╨п╬п╪ п╢п╬п╩п╩п╟я─п╟ (п╬пЁя─п╟п╫п╦я┤п╦я┌п╣п╩п╣п╪) п╠я┐п╢п╣я┌ п©п╬п╪п╣я┴п╣п╫ я│п©п╣я├п╦п╟п╩я▄п╫я▀п╧ я┘я█я┬-я│п╦п╪п╡п╬п╩ (#).

п■п╬п©я┐я│я┌п╦п╪, п╨ п©я─п╦п╪п╣я─я┐, я┤я┌п╬ п╡ п╡п╟я┬п╣п╪ п╢п╬п╨я┐п╪п╣п╫я┌п╣ п╦п╪п╣п╣я┌я│я▐ я─п╟п╥п╢п╣п╩ я┌п╟п╠я┐п╩п╦я─п╬п╡п╟п╫п╫я▀я┘ п╢п╟п╫п╫я▀я┘, п╬я┌я─п╟п╤п╟я▌я┴п╦я┘ п╥п╫п╟я┤п╣п╫п╦п╣ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡ Subversion п╢п╩я▐ я█я┌п╬пЁп╬ п╢п╬п╨я┐п╪п╣п╫я┌п╟. п÷я─п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦ п╦я│я┘п╬п╢п╫п╬пЁп╬ я│п╦п╫я┌п╟п╨я│п╦я│п╟ п©п╬п╢я│я┌п╟п╫п╬п╡п╨п╦ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡ Subversion п╡п╟я┬ я└п╟п╧п╩ п╪п╬пЁ п╠я▀ п╡я▀пЁп╩я▐п╢п╣я┌я▄ п©я─п╦п╪п╣я─п╫п╬ я┌п╟п╨:

$Rev$:     Revision of last commit
$Author$:  Author of last commit
$Date$:    Date of last commit

п÷п╬п╫п╟я┤п╟п╩я┐ п╬п╫ п╡я▀пЁп╩я▐п╢п╦я┌ п╨я─п╟я│п╦п╡п╬ п╦ п©п╬я┘п╬п╤ п╫п╟ я┌п╟п╠п╩п╦я├я┐. п²п╬ п╨п╬пЁп╢п╟ п╡я▀ п╡я▀п©п╬п╩п╫п╦я┌п╣ я└п╦п╨я│п╟я├п╦я▌ я█я┌п╬пЁп╬ я└п╟п╧п╩п╟ (п╨п╬п╫п╣я┤п╫п╬ п╤п╣, п©я─п╦ я─п╟п╥я─п╣я┬п╣п╫п╫п╬п╧ п©п╬п╢я│я┌п╟п╫п╬п╡п╨п╣ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡), я┌п╬ я┐п╡п╦п╢п╦я┌п╣ я│п╩п╣п╢я┐я▌я┴п╣п╣:

$Rev: 12 $:     Revision of last commit
$Author: harry $:  Author of last commit
$Date: 2006-03-15 02:33:03 -0500 (Wed, 15 Mar 2006) $:    Date of last commit

п═п╣п╥я┐п╩я▄я┌п╟я┌ я┐п╤п╣ п╫п╣ я│я┌п╬п╩я▄ п╨я─п╟я│п╦п╡. п▓п╬п╥п╪п╬п╤п╫п╬, п╡п╟п╪ п╢п╟п╤п╣ п╥п╟я┘п╬я┤п╣я┌я│я▐ п╡я▀я─п╬п╡п╫я▐я┌я▄ я│п╬п╢п╣я─п╤п╦п╪п╬п╣ я└п╟п╧п╩п╟ п©п╬я│п╩п╣ п©п╬п╢я│я┌п╟п╫п╬п╡п╨п╦, я┤я┌п╬п╠я▀ п╬п╫ я│п╫п╬п╡п╟ п╡я▀пЁп╩я▐п╢п╣п╩ п╨п╟п╨ я┌п╟п╠п╩п╦я├п╟. п²п╬ п╡я▀я─п╟п╡п╫п╦п╡п╟п╫п╦п╣ п╠я┐п╢п╣я┌ п╢п╣я─п╤п╟я┌я▄я│я▐ я┌п╬п╩я▄п╨п╬ п╢п╬ я┌п╣я┘ п©п╬я─, п©п╬п╨п╟ п╥п╫п╟я┤п╣п╫п╦п╣ п╨п╩я▌я┤п╣п╡п╬пЁп╬ я│п╩п╬п╡п╟ п╠я┐п╢п╣я┌ п╦п╪п╣я┌я▄ п╫п╣п╦п╥п╪п╣п╫п╫я┐я▌ п╢п╩п╦п╫я┐. п∙я│п╩п╦ п╡ п╫п╬п╪п╣я─п╣ п©п╬я│п╩п╣п╢п╫п╣п╧ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╫п╫п╬п╧ п©я─п╟п╡п╨п╦ п╢п╬п╠п╟п╡п╦я┌я│я▐ п╫п╬п╡я▀п╧ я─п╟п╥я─я▐п╢ (я│п╨п╟п╤п╣п╪, п©я─п╦ п©п╣я─п╣я┘п╬п╢п╣ п╬я┌ 99 п╨ 100), п╦п╩п╦ я└п╦п╨я│п╟я├п╦я▌ п╡я▀п©п╬п╩п╫п╦я┌ п╢я─я┐пЁп╬п╧ я┤п╣п╩п╬п╡п╣п╨ я│ п╠п╬п╩п╣п╣ п╢п╩п╦п╫п╫я▀п╪ п╦п╪п╣п╫п╣п╪ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐, п╡п╟я┬п╦ я┌я─я┐п╢я▀ я│п╫п╬п╡п╟ п©п╬п╧п╢я┐я┌ п╫п╟я│п╪п╟я─п╨я┐. п·п╢п╫п╟п╨п╬, п╣я│п╩п╦ п╡я▀ п╦я│п©п╬п╩я▄п╥я┐п╣я┌п╣ Subversion п╡п╣я─я│п╦п╦ 1.2 п╦п╩п╦ п╡я▀я┬п╣, п╡я▀ п╪п╬п╤п╣я┌п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╫п╬п╡я▀п╪ я│п╦п╫я┌п╟п╨я│п╦я│п╬п╪ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡ я│ я└п╦п╨я│п╦я─п╬п╡п╟п╫п╫п╬п╧ п╢п╩п╦п╫п╬п╧, п╥п╟п╢п╟п╡п╟я▐ п©п╬п╩я▐п╪ я┌п╟п╨я┐я▌ п╢п╩п╦п╫я┐, я┤я┌п╬п╠я▀ п©п╬п╩я┐я┤п╦я┌я▄ п╟п╨п╨я┐я─п╟я┌п╫я▀п╧ п╡п╫п╣я┬п╫п╦п╧ п╡п╦п╢. п╒п╣п©п╣я─я▄ п╡п╟я┬ я└п╟п╧п╩ п╪п╬пЁ п╠я▀ п╡я▀пЁп╩я▐п╢п╣я┌я▄ п©я─п╦п╪п╣я─п╫п╬ я┌п╟п╨:

$Rev::               $:  Revision of last commit
$Author::            $:  Author of last commit
$Date::              $:  Date of last commit

п≈п╟я└п╦п╨я│п╦я─я┐п╣п╪ я█я┌п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ п╡п╟я┬п╣п╪ я└п╟п╧п╩п╣. п╒п╣п©п╣я─я▄ Subversion п╥п╟п╪п╣я┌п╦я┌ п╫п╬п╡я▀п╧ я│п╦п╫я┌п╟п╨я│п╦я│ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡ я│ я└п╦п╨я│п╦я─п╬п╡п╟п╫п╫п╬п╧ п╢п╩п╦п╫п╬п╧ п╦ я│п╬я┘я─п╟п╫п╦я┌ я┬п╦я─п╦п╫я┐ п©п╬п╩п╣п╧ я┌п╟п╨п╬п╧, п╨п╟п╨п╬п╧ п╬п╫п╟ п╠я▀п╩п╟ п╥п╟п╢п╟п╫п╟ я│ п©п╬п╪п╬я┴я▄я▌ п©я─п╬п╠п╣п╩п╬п╡, п©п╬п╪п╣я┴п╣п╫п╫я▀я┘ п╡п╟п╪п╦ п╪п╣п╤п╢я┐ я┐п╢п╡п╬п╣п╫п╫я▀п╪ п╢п╡п╬п╣я┌п╬я┤п╦п╣п╪ п╦ п╥п╟п╪я▀п╨п╟я▌я┴п╦п╪ п╥п╫п╟п╨п╬п╪ п╢п╬п╩п╩п╟я─п╟. п÷п╬я│п╩п╣ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ п©п╬п╢я│я┌п╟п╫п╬п╡п╨п╦ я┬п╦я─п╦п╫п╟ п©п╬п╩я▐ я│п╬п╡п╣я─я┬п╣п╫п╫п╬ п╫п╣ п╦п╥п╪п╣п╫п╦я┌я│я▐ Б─■ п╨п╬я─п╬я┌п╨п╦п╣ п╥п╫п╟я┤п╣п╫п╦я▐ п╢п╩я▐ Rev п╦ Author п╠я┐п╢я┐я┌ п╢п╬п©п╬п╩п╫п╣п╫я▀ п©я─п╬п╠п╣п╩п╟п╪п╦, п╟ п╢п╩п╦п╫п╫п╬п╣ п©п╬п╩п╣ Date п╠я┐п╢п╣я┌ п╬п╠я─п╣п╥п╟п╫п╬ я┘я█я┬-я│п╦п╪п╡п╬п╩п╬п╪:

$Rev:: 13            $:  Revision of last commit
$Author:: harry      $:  Author of last commit
$Date:: 2006-03-15 0#$:  Date of last commit

п≤я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡ я│ я└п╦п╨я│п╦я─п╬п╡п╟п╫п╫п╬п╧ п╢п╩п╦п╫п╬п╧ п╬я│п╬п╠п╣п╫п╫п╬ я┐п╢п╬п╠п╫п╬, п╨п╬пЁп╢п╟ п©п╬п╢я│я┌п╟п╫п╬п╡п╨п╦ п©я─п╬п╦п╥п╡п╬п╢я▐я┌я│я▐ п╡ я│п╩п╬п╤п╫я▀я┘ я└п╟п╧п╩п╬п╡я▀я┘ я└п╬я─п╪п╟я┌п╟я┘, п╨п╬я┌п╬я─я▀п╣ я│п╟п╪п╦ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ п©п╬п╩я▐ я└п╦п╨я│п╦я─п╬п╡п╟п╫п╫п╬п╧ п╢п╩п╦п╫я▀ п╢п╩я▐ я│п╡п╬п╦я┘ п╢п╟п╫п╫я▀я┘, п╩п╦п╠п╬ п╡ п╨п╬я┌п╬я─я▀я┘ п╢п╬я│я┌п╟я┌п╬я┤п╫п╬ я┌я─я┐п╢п╫п╬ п╦п╥п╪п╣п╫п╦я┌я▄ я─п╟п╥п╪п╣я─ п╬п©я─п╣п╢п╣п╩п╣п╫п╫п╬пЁп╬ п©п╬п╩я▐ п╢п╟п╫п╫я▀я┘, п╫п╣ п©я─п╦п╠п╣пЁп╟я▐ п╨ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▌ я─п╬п╢п╫п╬пЁп╬ п╢п╩я▐ п╢п╟п╫п╫п╬пЁп╬ я└п╬я─п╪п╟я┌п╟ п©я─п╦п╩п╬п╤п╣п╫п╦я▐ (п╡ п╨п╟я┤п╣я│я┌п╡п╣ п©я─п╦п╪п╣я─п╟ п╪п╬п╤п╫п╬ п©я─п╦п╡п╣я│я┌п╦ п╢п╬п╨я┐п╪п╣п╫я┌я▀ Microsoft Office).

[п▓п╫п╦п╪п╟п╫п╦п╣]п▓п╫п╦п╪п╟п╫п╦п╣

п÷п╬п╪п╫п╦я┌п╣, я┤я┌п╬, п©п╬я│п╨п╬п╩я▄п╨я┐ я┬п╦я─п╦п╫п╟ п©п╬п╩я▐ п╢п╩я▐ п╨п╩я▌я┤п╣п╡п╬пЁп╬ я│п╩п╬п╡п╟ п╦п╥п╪п╣я─я▐п╣я┌я│я▐ п╡ п╠п╟п╧я┌п╟я┘, я│я┐я┴п╣я│я┌п╡я┐п╣я┌ п╬п©п╟я│п╫п╬я│я┌я▄ п©п╬п╡я─п╣п╤п╢п╣п╫п╦я▐ п╪п╫п╬пЁп╬п╠п╟п╧я┌п╬п╡я▀я┘ я│п╦п╪п╡п╬п╩п╬п╡. п²п╟п©я─п╦п╪п╣я─, п╦п╪я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐, я│п╬п╢п╣я─п╤п╟я┴п╣п╣ п╪п╫п╬пЁп╬п╠п╟п╧я┌п╬п╡я▀п╣ я│п╦п╪п╡п╬п╩я▀ UTF-8, п╪п╬п╤п╣я┌ п©п╬п╢п╡п╣я─пЁп╫я┐я┌я▄я│я▐ я┐я│п╣я┤п╣п╫п╦я▌ п©п╬я│я─п╣п╢п╦ я│я┌я─п╬п╨п╦ п╠п╟п╧я┌п╬п╡, п╬я┌я─п╣п╥п╟п╡ я┤п╟я│я┌я▄ п╠п╟п╧я┌п╬п╡ п╬п╢п╫п╬пЁп╬ п╦п╥ я│п╦п╪п╡п╬п╩п╬п╡. п═п╣п╥я┐п╩я▄я┌п╟я┌п╬п╪ п╪п╬п╤п╣я┌ я│я┌п╟я┌я▄ п╫п╣ я┌п╬п╩я▄п╨п╬ я┐я│п╣я┤п╣п╫п╦п╣, п╡п╦п╢п╦п╪п╬п╣ п╫п╟ п╠п╟п╧я┌п╬п╡п╬п╪ я┐я─п╬п╡п╫п╣, п╫п╬ п╦ я│я┌я─п╬п╨п╟ я│ п╫п╣п╨п╬я─я─п╣п╨я┌п╫я▀п╪ п╦п╩п╦ п╦я│п╨п╟п╤п╣п╫п╫я▀п╪ п©п╬я│п╩п╣п╢п╫п╦п╪ я│п╦п╪п╡п╬п╩п╬п╪ п©я─п╦ п╣п╣ п©я─п╬я│п╪п╬я┌я─п╣ п╨п╟п╨ я┌п╣п╨я│я┌п╟ п╡ я└п╬я─п╪п╟я┌п╣ UTF-8. п▓п©п╬п╩п╫п╣ п╡п╬п╥п╪п╬п╤п╫п╬, я┤я┌п╬ п╫п╣п╨п╬я┌п╬я─я▀п╣ п©я─п╦п╩п╬п╤п╣п╫п╦я▐ п©я─п╦ п╥п╟пЁя─я┐п╥п╨п╣ я┌п╟п╨п╬пЁп╬ я└п╟п╧п╩п╟ п╬п╠п╫п╟я─я┐п╤п╟я┌ п©п╬п╡я─п╣п╤п╢п╣п╫п╫я▀п╧ я┌п╣п╨я│я┌ UTF-8 п╦ п©п╬я│я┤п╦я┌п╟я▌я┌ п©п╬п╡я─п╣п╤п╢п╣п╫п╫я▀п╪ п╡п╣я│я▄ я└п╟п╧п╩, п╬я┌п╨п╟п╥п╟п╡я┬п╦я│я▄ п╦п╥-п╥п╟ я█я┌п╬пЁп╬ я│ п╫п╦п╪ я─п╟п╠п╬я┌п╟я┌я▄.

Locking

Subversion's copy-modify-merge version control model lives and dies on its data merging algorithms, specifically on how well those algorithms perform when trying to resolve conflicts caused by multiple users modifying the same file concurrently. Subversion itself provides only one such algorithm, a three-way differencing algorithm which is smart enough to handle data at a granularity of a single line of text. Subversion also allows you to supplement its content merge processing with external differencing utilities (as described in б╚External diff3б╩), some of which may do an even better job, perhaps providing granularity of a word or a single character of text. But common among those algorithms is that they generally work only on text files. The landscape starts to look pretty grim when you start talking about content merges of non-textual file formats. And when you can't find a tool that can handle that type of merging, you begin to run into problems with the copy-modify-merge model.

Let's look at a real-life example of where this model runs aground. Harry and Sally are both graphic designers working on the same project, a bit of marketing collateral for an automobile mechanic. Central to the design of a particular poster is an image of a car in need of some body work, stored in a file using the PNG image format. The poster's layout is almost finished, and both Harry and Sally are pleased with the particular photo they chose for their damaged carБ─■a baby blue 1967 Ford Mustang with an unfortunate bit of crumpling on the left front fender.

Now, as is common in graphic design work, there's a change in plans which causes the car's color to be a concern. So Sally updates her working copy to HEAD, fires up her photo editing software, and sets about tweaking the image so that the car is now cherry red. Meanwhile, Harry, feeling particularly inspired that day, decides that the image would have greater impact if the car also appears to have suffered greater impact. He, too, updates to HEAD, and then draws some cracks on the vehicle's windshield. He manages to finish his work before Sally finishes hers, and after admiring the fruits of his undeniable talent, commits the modified image. Shortly thereafter, Sally is finished with the car's new finish, and tries to commit her changes. But, as expected, Subversion fails the commit, informing Sally that now her version of the image is out of date.

Here's where the difficulty sets in. Were Harry and Sally making changes to a text file, Sally would simply update her working copy, receiving Harry's changes in the process. In the worst possible case, they would have modified the same region of the file, and Sally would have to work out by hand the proper resolution to the conflict. But these aren't text filesБ─■they are binary images. And while it's a simple matter to describe what one would expect the results of this content merge to be, there is precious little chance that any software exists which is smart enough to examine the common baseline image that each of these graphic artists worked against, the changes that Harry made, and the changes that Sally made, and spit out an image of a busted-up red Mustang with a cracked windshield!

Clearly, things would have gone more smoothly if Harry and Sally had serialized their modifications to the image. If, say, Harry had waited to draw his windshield cracks on Sally's now-red car, or if Sally had tweaked the color of a car whose windshield was already cracked. As is discussed in б╚п°п╬п╢п╣п╩я▄ п п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п≤п╥п╪п╣п╫п╣п╫п╦п╣-п║п╩п╦я▐п╫п╦п╣б╩, much of these types problems go away entirely where perfect communication between Harry and Sally exists. [19] But as one's version control system is, in fact, one form of communication, it follows that having that software facilitate the serialization of non-parallelizable energies is no bad thing. And this where Subversion's implementation of the lock-modify-unlock model steps into the spotlight. This is where we talk about Subversion's locking feature, which is similar to the б╚reserved checkoutsб╩ mechanisms of other version control systems.

Subversion's locking feature serves two main purposes:

  • Serializing access to a versioned object. By allowing a user to programmatically claim the exclusive right to change to a file in the repository, that user can be reasonably confident that energy invested on unmergeable changes won't be wastedБ─■his commit of those changes will succeed.

  • Aiding communication. By alerting other users that serialization is in effect for particular versioned object, those other users can reasonably expect that the object is about to be changed by someone else, and they, too, can avoid wasting their time and energy on unmergeable changes that won't be committable due to eventual out-of-dateness.

When referring to Subversion's locking feature, one is actually talking about a fairly diverse collection of behaviors which include the ability to lock a versioned file [20] (claiming the exclusive right to modify the file), to unlock that file (yielding that exclusive right to modify), to see reports about which files are locked and by whom, to annotate files for which locking before editing is strongly advised, and so on. In this section, we'll cover all of these facets of the larger locking feature.

Creating locks

In the Subversion repository, a lock is a piece of metadata which grants exclusive access to one user to change a file. This user is said to be the lock owner. Each lock also has a unique identifier, typically a long string of characters, known as the lock token. The repository manages locks, ultimately handling their creation, enforcement, and removal. If any commit transaction attempts to modify or delete a locked file (or delete one of the parent directories of the file), the repository will demand two pieces of informationБ─■that the client performing the commit be authenticated as the lock owner, and that the lock token has been provided as part of the commit process as a sort of proof that client knows which lock it is using.

To demonstrate lock creation, let's refer back to our example of multiple graphic designers working with on the same binary image files. Harry has decided to change a JPEG image. To prevent other people from committing changes to the file while he is modifying it (as well as alerting them that he is about to change it), he locks the file in the repository using the svn lock command.

$ svn lock banana.jpg --message "Editing file for tomorrow's release."
'banana.jpg' locked by user 'harry'.
$

There are a number of new things demonstrated in the previous example. First, notice that Harry passed the --message option to svn lock. Similar to svn commit, the svn lock command can take comments (either via --message (-m) or --file (-F)) to describe the reason for locking the file. Unlike svn commit, however, svn lock will not demand a message by launching your preferred text editor. Lock comments are optional, but still recommended to aid communication.

Secondly, the lock attempt succeeded. This means that the file wasn't already locked, and that Harry had the latest version of the file. If Harry's working copy of the file had been out-of-date, the repository would have rejected the request, forcing Harry to svn update and reattempt the locking command. The locking command would also have failed if the file already been locked by someone else.

As you can see, the svn lock command prints confirmation of the successful lock. At this point, the fact that the file is locked becomes apparent in the output of the svn status and svn info reporting subcommands.

$ svn status
     K banana.jpg

$ svn info banana.jpg
Path: banana.jpg
Name: banana.jpg
URL: http://svn.example.com/repos/project/banana.jpg
Repository UUID: edb2f264-5ef2-0310-a47a-87b0ce17a8ec
Revision: 2198
Node Kind: file
Schedule: normal
Last Changed Author: frank
Last Changed Rev: 1950
Last Changed Date: 2006-03-15 12:43:04 -0600 (Wed, 15 Mar 2006)
Text Last Updated: 2006-06-08 19:23:07 -0500 (Thu, 08 Jun 2006)
Properties Last Updated: 2006-06-08 19:23:07 -0500 (Thu, 08 Jun 2006)
Checksum: 3b110d3b10638f5d1f4fe0f436a5a2a5
Lock Token: opaquelocktoken:0c0f600b-88f9-0310-9e48-355b44d4a58e
Lock Owner: harry
Lock Created: 2006-06-14 17:20:31 -0500 (Wed, 14 Jun 2006)
Lock Comment (1 line):
Editing file for tomorrow's release.

$

That the svn info command, which does not contact the repository when run against working copy paths, can display the lock token reveals an important fact about lock tokensБ─■that they are cached in the working copy. The presence of the lock token is critical. It gives the working copy authorization to make use of the lock later on. Also, the svn status command shows a K next to the file (short for locKed), indicating that the lock token is present.

Now that Harry has locked banana.jpg, Sally is unable to change or delete that file:

$ svn delete banana.jpg
D         banana.jpg
$ svn commit -m "Delete useless file."
Deleting       banana.jpg
svn: Commit failed (details follow):
svn: DELETE of
'/repos/project/!svn/wrk/64bad3a9-96f9-0310-818a-df4224ddc35d/banana.jpg':
423 Locked (http://svn.example.com)
$

But Harry, after touching up the banana's shade of yellow, is able to commit his changes to the file. That's because he authenticates as the lock owner, and also because his working copy holds the correct lock token:

$ svn status
M    K banana.jpg
$ svn commit -m "Make banana more yellow"
Sending        banana.jpg
Transmitting file data .
Committed revision 2201.
$ svn status
$

Notice that after the commit is finished, svn status shows that the lock token is no longer present in working copy. This is the standard behavior of svn commitБ─■it searches the working copy (or list of targets, if you provide such a list) for local modifications, and sends all the lock tokens it encounters during this walk to the server as part of the commit transaction. After the commit completes successfully, all of the repository locks that were mentioned are releasedБ─■even on files that weren't committed. This is meant to discourage users from being sloppy about locking, or from holding locks for too long. If Harry haphazardly locks thirty files in a directory named images because he's unsure of which files he needs to change, yet only only changes four of those file, when he runs svn commit images, the process will still release all thirty locks.

This behavior of automatically releasing locks can be overridden with the --no-unlock option to svn commit. This is best used for those times when you want to commit changes, but still plan to make more changes and thus need to retain existing locks. You can also make this your default behavior by setting the no-unlock runtime configuration option (see б╚п÷п╟я─п╟п╪п╣я┌я─я▀ п╡я─п╣п╪п╣п╫п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐б╩).

Of course, locking a file doesn't oblige one to commit a change to it. The lock can be released at any time with a simple svn unlock command:

$ svn unlock banana.c
'banana.c' unlocked.

Discovering locks

When a commit fails due to someone else's locks, it's fairly easy to learn about them. The easiest of these is svn status --show-updates:

$ svn status --show-updates
M              23   bar.c
M    O         32   raisin.jpg
       *       72   foo.h
Status against revision:     105
$

In this example, Sally can see not only that her copy of foo.h is out-of-date, but that one of the two modified files she plans to commit is locked in the repository. The O symbol stands for б╚Otherб╩, meaning that a lock exists on the file, and was created by somebody else. If she were to attempt a commit, the lock on raisin.jpg would prevent it. Sally is left wondering who made the lock, when, and why. Once again, svn info has the answers:

$ svn info http://svn.example.com/repos/project/raisin.jpg
Path: raisin.jpg
Name: raisin.jpg
URL: http://svn.example.com/repos/project/raisin.jpg
Repository UUID: edb2f264-5ef2-0310-a47a-87b0ce17a8ec
Revision: 105
Node Kind: file
Last Changed Author: sally
Last Changed Rev: 32
Last Changed Date: 2006-01-25 12:43:04 -0600 (Sun, 25 Jan 2006)
Lock Token: opaquelocktoken:fc2b4dee-98f9-0310-abf3-653ff3226e6b
Lock Owner: harry
Lock Created: 2006-02-16 13:29:18 -0500 (Thu, 16 Feb 2006)
Lock Comment (1 line):
Need to make a quick tweak to this image.
$

Just as svn info can be used to examine objects in the working copy, it can also be used to examine objects in the repository. If the main argument to svn info is a working copy path, then all of the working copy's cached information is displayed; any mention of a lock means that the working copy is holding a lock token (if a file is locked by another user or in another working copy, svn info on a working copy path will show no lock information at all). If the main argument to svn info is a URL, then the information reflects the latest version of an object in the repository, and any mention of a lock describes the current lock on the object.

So in this particular example, Sally can see that Harry locked the file on February 16th to б╚make a quick tweakб╩. It being June, she suspects that he probably forgot all about the lock. She might phone Harry to complain and ask him to release the lock. If he's unavailable, she might try to forcibly break the lock herself or ask an administrator to do so.

Breaking and stealing locks

A repository lock isn't sacredБ─■in Subversion's default configuration state, locks can be released not only by the person who created them, but by anyone at all. When somebody other than the original lock creator destroys a lock, we refer to this as breaking the lock.

From the administrator's chair, it's simple to break locks. The svnlook and svnadmin programs have the ability to display and remove locks directly from the repository. (For more information about these tools, see б╚An Administrator's Toolkitб╩.)

$ svnadmin lslocks /usr/local/svn/repos
Path: /project2/images/banana.jpg
UUID Token: opaquelocktoken:c32b4d88-e8fb-2310-abb3-153ff1236923
Owner: frank
Created: 2006-06-15 13:29:18 -0500 (Thu, 15 Jun 2006)
Expires:
Comment (1 line):
Still improving the yellow color.

Path: /project/raisin.jpg
UUID Token: opaquelocktoken:fc2b4dee-98f9-0310-abf3-653ff3226e6b
Owner: harry
Created: 2006-02-16 13:29:18 -0500 (Thu, 16 Feb 2006)
Expires:
Comment (1 line):
Need to make a quick tweak to this image.

$ svnadmin rmlocks /usr/local/svn/repos /project/raisin.jpg
Removed lock on '/project/raisin.jpg'.
$

The more interesting option is allowing users to break each other's locks over the network. To do this, Sally simply needs to pass the --force to the unlock command:

$ svn status --show-updates
M              23   bar.c
M    O         32   raisin.jpg
       *       72   foo.h
Status against revision:     105
$ svn unlock raisin.jpg
svn: 'raisin.jpg' is not locked in this working copy
$ svn info raisin.jpg | grep URL
URL: http://svn.example.com/repos/project/raisin.jpg
$ svn unlock http://svn.example.com/repos/project/raisin.jpg
svn: Unlock request failed: 403 Forbidden (http://svn.example.com)
$ svn unlock --force http://svn.example.com/repos/project/raisin.jpg
'raisin.jpg' unlocked.
$

Now, Sally's initial attempt to unlock failed because she ran svn unlock directly on her working copy of the file, and no lock token was present. To remove the lock directly from the repository, she needs to pass a URL to svn unlock. Her first attempt to unlock the URL fails, because she can't authenticate as the lock owner (nor does she have the lock token). But when she passes --force, the authentication and authorization requirements are ignored, and the remote lock is broken.

Of course, simply breaking a lock may not be enough. In the running example, Sally may not only want to break Harry's long-forgotten lock, but re-lock the file for her own use. She can accomplish this by running svn unlock --force and then svn lock back-to-back, but there's a small chance that somebody else might lock the file between the two commands. The simpler thing to is steal the lock, which involves breaking and re-locking the file all in one atomic step. To do this, Sally passes the --force option to svn lock:

$ svn lock raisin.jpg
svn: Lock request failed: 423 Locked (http://svn.example.com)
$ svn lock --force raisin.jpg
'raisin.jpg' locked by user 'sally'.
$

In any case, whether the lock is broken or stolen, Harry may be in for a surprise. Harry's working copy still contains the original lock token, but that lock no longer exists. The lock token is said to be defunct. The lock represented by the lock-token has either been broken (no longer in the repository), or stolen (replaced with a different lock). Either way, Harry can see this by asking svn status to contact the repository:

$ svn status
     K raisin.jpg
$ svn status --show-updates
     B         32   raisin.jpg
$ svn update
  B  raisin.jpg
$ svn status
$

If the repository lock was broken, then svn status --show-updates displays a B (Broken) symbol next to the file. If a new lock exists in place of the old one, then a T (sTolen) symbol is shown. Finally, svn update notices any defunct lock tokens and removes them from the working copy.

Lock Communication

We've seen how svn lock and svn unlock can be used to create, release, break, and steal locks. This satisfies the goal of serializing commit access to a file. But what about the larger problem of preventing wasted time?

For example, suppose Harry locks an image file and then begins editing it. Meanwhile, miles away, Sally wants to do the same thing. She doesn't think to run svn status --show-updates, so she has no idea that Harry has already locked the file. She spends hours editing the file, and when she tries to commit her change, she discovers that either the file is locked or that she's out-of-date. Regardless, her changes aren't mergeable with Harry's. One of these two people has to throw away their work, and a lot of time has been wasted.

Subversion's solution to this problem is to provide a mechanism to remind users that a file ought to be locked before the editing begins. The mechanism is a special property, svn:needs-lock. If that property is attached to a file (regardless of its value, which is irrelevant), then Subversion will try to use filesystem-level permissions to make the file read-only, unless, of course, the user has explicitly locked the file. When a lock-token is present (as a result of running svn lock), the file becomes read-write. When the lock is released, the file becomes read-only again.

The theory, then, is that if the image file has this property attached, then Sally would immediately notice something is strange when she opens the file for editing. Many applications alert users immediately when a read-only file is opened for editing. And nearly all applications would at least prevent her from saving changes to the file. This reminds her to lock the file before editing, whereby she discovers the pre-existing lock:

$ /usr/local/bin/gimp raisin.jpg
gimp: error: file is read-only!
$ ls -l raisin.jpg
-r--r--r--   1 sally   sally   215589 Jun  8 19:23 raisin.jpg
$ svn lock raisin.jpg
svn: Lock request failed: 423 Locked (http://svn.example.com)
$ svn info http://svn.example.com/repos/project/raisin.jpg | grep Lock
Lock Token: opaquelocktoken:fc2b4dee-98f9-0310-abf3-653ff3226e6b
Lock Owner: harry
Lock Created: 2006-06-08 07:29:18 -0500 (Thu, 08 June 2006)
Lock Comment (1 line):
Making some tweaks.  Locking for the next two hours.
$
[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

Users and administrators alike are encouraged to attach the svn:needs-lock property to any file which cannot be contextually merged. This is the primary technique for encouraging good locking habits and preventing wasted effort.

Note that this property is a communication tool which works independently from the locking system. In other words, any file can be locked, whether or not this property is present. And conversely, the presence of this property doesn't make the repository require a lock when committing.

Unfortunately, the system isn't flawless. It's possible that even when a file has the property, the read-only reminder won't always work. Sometimes applications misbehave and б╚hijackб╩ the read-only file, silently allowing users to edit and save the file anyway. There's not much that Subversion can do in this situationБ─■at the end of the day, there's simply no substitution for good interpersonal communication. [21]

п▓п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦

п≤п╫п╬пЁп╢п╟ п©п╬п╩п╣п╥п╫п╬ п╦п╪п╣я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, я│п╬п╠я─п╟п╫п╫я┐я▌ п╦п╥ я─п╟п╥п╫я▀я┘ п╦я│я┌п╬я┤п╫п╦п╨п╬п╡. п  п©я─п╦п╪п╣я─я┐, п╪п╬п╤п╣я┌ п©п╬п╫п╟п╢п╬п╠п╦я┌я▄я│я▐, я┤я┌п╬п╠я▀ я─п╟п╥п╩п╦я┤п╫я▀п╣ я─п╟п╠п╬я┤п╦п╣ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╦ п╡я▀пЁя─я┐п╤п╟п╩п╦я│я▄ п╦п╥ я─п╟п╥п╫я▀я┘ п╨п╟я┌п╟п╩п╬пЁп╬п╡ я┘я─п╟п╫п╦п╩п╦я┴п╟, п╦п╩п╦ п╢п╟п╤п╣ п╦п╥ я─п╟п╥п╫я▀я┘ я┘я─п╟п╫п╦п╩п╦я┴. п▒п╣п╥я┐я│п╩п╬п╡п╫п╬, п╡я│я▒ я█я┌п╬ п╪п╬п╤п╫п╬ я│п╢п╣п╩п╟я┌я▄ п╡я─я┐я┤п╫я┐я▌, я│ п©п╬п╪п╬я┴я▄я▌ п╡я▀п╥п╬п╡п╬п╡ п╨п╬п╪п╟п╫п╢я▀ svn checkout я│п╬п╥п╢п╟п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ я│ п╫я┐п╤п╫п╬п╧ я│я┌я─я┐п╨я┌я┐я─п╬п╧. п²п╬, п╣п╩п╦ п©п╬п╢п╬п╠п╫п╟я▐ я│я┌я─я┐п╨я┌я┐я─п╟ я┌я─п╣п╠я┐п╣я┌я│я▐ п╡я│п╣п╪ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪ я┘я─п╟п╫п╦п╩п╦я┴п╟, п╨п╟п╤п╢п╬п╪я┐ п╦п╥ п╫п╦я┘ п╫я┐п╤п╫п╬ п╠я┐п╢п╣я┌ п©п╬п╡я┌п╬я─п╦я┌я▄ п╡я│п╣ я┌п╣ п╤п╣ п╬п©п╣я─п╟я├п╦п╦ п©п╬ я│п╬п╥п╢п╟п╫п╦я▌ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╨п╬я┌п╬я─я▀п╣ п╢п╣п╩п╟п╩п╦ п╡я▀ я│п╟п╪п╦.

п╖я┌п╬п╠я▀ я█я┌п╬пЁп╬ п╦п╥п╠п╣п╤п╟я┌я▄, Subversion п╬п╠п╣я│п©п╣я┤п╦п╡п╟п╣я┌ п©п╬п╢п╢п╣я─п╤п╨я┐ п╡п╫п╣я┬п╫п╦я┘ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╣п╧. п▓п╫п╣я┬п╫я▐я▐ п╥п╟п╡п╦я│п╦п╪п╬я│я┌я▄ я▐п╡п╩я▐п╣я┌я│я▐ я│п╬п©п╬я│я┌п╟п╡п╩п╣п╫п╦п╣п╪ п╩п╬п╨п╟п╩я▄п╫п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ п╨ URL п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ (п╦п╩п╦ п╨ п╣пЁп╬ п╨п╬п╫п╨я─п╣я┌п╫п╬п╧ п©я─п╟п╡п╨п╣). п⌠я─я┐п©п©п╬п╡п╬п╣ п╬п╠я┼я▐п╡п╩п╣п╫п╦п╣ п╡п╫п╣я┬п╫п╦я┘ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╣п╧ п╢п╣п╩п╟п╣я┌я│я▐ п╡ Subversion п©я─п╦ п©п╬п╪п╬я┴п╦ я│п╡п╬п╧я│я┌п╡п╟ svn:externals. пёя│я┌п╟п╫п╬п╡п╨п╟ п╦ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦п╣ я█я┌п╬пЁп╬ я│п╡п╬п╧я│я┌п╡п╟ п╡я▀п©п╬п╩п╫я▐п╣я┌я│я▐ я│ п©п╬п╪п╬я┴я▄я▌ п╨п╬п╪п╟п╫п╢ svn propset п╦ svn propedit (я│п╪. б╚п≤я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ я│п╡п╬п╧я│я┌п╡б╩). п║п╡п╬п╧я│я┌п╡п╬ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╬ п╢п╩я▐ п╩я▌п╠п╬пЁп╬ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟, п╥п╫п╟я┤п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡п╟ п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ я┌п╟п╠п╩п╦я├я┐ я│ п©я┐я┌я▐п╪п╦ п╨ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╟п╪ (п╬я┌п╫п╬я│п╦я┌п╣п╩я▄п╫п╬ я┌п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟, п╢п╩я▐ п╨п╬я┌п╬я─п╬пЁп╬ я█я┌п╬ я│п╡п╬п╧я│я┌п╡п╬ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣я┌я│я▐) п╦ п©п╬п╩п╫я▀п╪п╦ п╟п╠я│п╬п╩я▌я┌п╫я▀п╪п╦ URL п╡ Subversion-я┘я─п╟п╫п╦п╩п╦я┴п╣.

$ svn propget svn:externals calc
third-party/sounds             http://sounds.red-bean.com/repos
third-party/skins              http://skins.red-bean.com/repositories/skinproj
third-party/skins/toolkit -r21 http://svn.red-bean.com/repos/skin-maker

пёп╢п╬п╠я│я┌п╡п╬ я│п╡п╬п╧я│я┌п╡п╟ svn:external п╥п╟п╨п╩я▌я┤п╟п╣я┌я│я▐ п╡ я┌п╬п╪, я┤я┌п╬ п©п╬я│п╩п╣ п╣пЁп╬ п╥п╟п╢п╟п╫п╦я▐ п╢п╩я▐ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ п╡я│п╣, п╨я┌п╬ п╠я┐п╢п╣я┌ я│п╬п╥п╢п╟п╡п╟я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ я│ я█я┌п╦п╪ п╨п╟я┌п╟п╩п╬пЁп╬п╪, п©п╬п╩я┐я┤п╟я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п©я─п╣п╦п╪я┐я┴п╣я│я┌п╡п╟п╪п╦ п╡п╫п╣я┬п╫п╣п╧ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦. п■я─я┐пЁп╦п╪п╦ я│п╩п╬п╡п╟п╪п╦, п©п╬я│п╩п╣ я┌п╬пЁп╬ п╨п╟п╨ п╨я┌п╬-я┌п╬ п╦п╥ я┐я┤п╟я│я┌п╫п╦п╨п╬п╡ п©я─п╬п╣п╨я┌п╟ п╬п╠п╬п╥п╫п╟я┤п╦п╩ п╫п╣п╬п╠я┘п╬п╢п╦п╪я┐я▌ я│я┌я─я┐п╨я┌я┐я─я┐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╠п╬п╩я▄я┬п╣ п╫п╦п╨п╬п╪я┐ п╫п╣ п©я─п╦п╢п╣я┌я│я▐ п╬п╠ я█я┌п╬п╪ п╠п╣я│п©п╬п╨п╬п╦я┌я▄я│я▐ Б─■ п©я─п╦ я│п╬п╥п╢п╟п╫п╦п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ Subversion, п╨я─п╬п╪п╣ п╬я─п╦пЁп╦п╫п╟п╩я▄п╫я▀я┘ п╢п╟п╫п╫я▀я┘, я│п╢п╣п╩п╟п╣я┌ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦ п╢п╟п╫п╫я▀я┘, п╬п©я─п╣п╢п╣п╩п╣п╫п╫я▀я┘ п╨п╟п╨ п╡п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦.

п÷п╬я│п╪п╬я┌я─п╦я┌п╣ п╫п╟ п©я─п╣п╢я▀п╢я┐я┴п╦п╧ п©я─п╦п╪п╣я─ я│ п╡п╫п╣я┬п╫п╦п╪п╦ п╥п╟п╡п╦я│п╦п╪п╬я│я┌я▐п╪п╦. п п╬пЁп╢п╟ п╨я┌п╬-п╫п╦п╠я┐п╢я▄ п╠я┐п╢п╣я┌ я│п╬п╥п╢п╟п╡п╟я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╨п╟я┌п╟п╩п╬пЁп╟ calc, Subversion я│п╬п╥п╢п╟я│я┌, п╡ я┌п╬п╪ я┤п╦я│п╩п╣, п╦ п╨п╬п©п╦п╦ я█п╩п╣п╪п╣п╫я┌п╬п╡, п╬п©я─п╣п╢п╣п╩п╣п╫п╫я▀я┘ п╨п╟п╨ п╡п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦.

$ svn checkout http://svn.example.com/repos/calc
A  calc
A  calc/Makefile
A  calc/integer.c
A  calc/button.c
Checked out revision 148.

Fetching external item into calc/third-party/sounds
A  calc/third-party/sounds/ding.ogg
A  calc/third-party/sounds/dong.ogg
A  calc/third-party/sounds/clang.ogg
Б─╕
A  calc/third-party/sounds/bang.ogg
A  calc/third-party/sounds/twang.ogg
Checked out revision 14.

Fetching external item into calc/third-party/skins
Б─╕

п∙я│п╩п╦ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╦п╥п╪п╣п╫п╦я┌я▄ п╡п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦, я│п╢п╣п╩п╟я┌я▄ я█я┌п╬ п╪п╬п╤п╫п╬ я│ п©п╬п╪п╬я┴я▄я▌ п╬п╠я▀я┤п╫я▀я┘ п╨п╬п╪п╟п╫п╢ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦я▐ я│п╡п╬п╧я│я┌п╡. п÷п╬я│п╩п╣ я┌п╬пЁп╬ п╨п╟п╨ п╡я▀ п╥п╟я└п╦п╨я│п╦я─я┐п╣я┌п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│п╡п╬п╧я│я┌п╡п╟ svn:externals, п©я─п╦ я│п╩п╣п╢я┐я▌я┴п╣п╪ п╥п╟п©я┐я│п╨п╣ svn update Subversion я│п╦п╫я┘я─п╬п╫п╦п╥п╦я─я┐п╣я┌ я│я┐я┴п╣я│я┌п╡я┐я▌я┴п╦п╣ п╨п╬п©п╦п╦ я█п╩п╣п╪п╣п╫я┌п╬п╡ п╡ я│п╬п╬я┌п╡п╣я┌я│я┌п╡п╦п╦ я│ п╡п╫п╣я│п╣п╫п╫я▀п╪п╦ п╡п╬ п╡п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦. п╒п╬п╤п╣ я│п╟п╪п╬п╣ п©я─п╬п╦п╥п╬п╧п╢п╣я┌ п╦ п╨п╬пЁп╢п╟ п╢я─я┐пЁп╦п╣ я┐я┤п╟я│я┌п╫п╦п╨п╦ п©я─п╬п╣п╨я┌п╟ п╬п╠п╫п╬п╡я▐я┌ я│п╡п╬п╦ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦ п╦ п©п╬п╩я┐я┤п╟я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡п╬ п╡п╫п╣я┬п╫п╦я┘ п╥п╟п╡п╦я│п╦п╪п╬я│я┌я▐я┘.

[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

пёя┤п╦я┌я▀п╡п╟я▐, я┤я┌п╬ я│п╡п╬п╧я│я┌п╡п╬ svn:externals п╦п╪п╣п╣я┌ п╪п╫п╬пЁп╬я│я┌я─п╬я┤п╫п╬п╣ п╥п╫п╟я┤п╣п╫п╦п╣, п╨я─п╟п╧п╫п╣ я─п╣п╨п╬п╪п╣п╫п╢я┐п╣я┌я│я▐ п╡п╪п╣я│я┌п╬ п╨п╬п╪п╟п╫п╢я▀ svn propset п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ svn propedit.

[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

п▓п╟п╪ я│я┌п╬п╦я┌ п╡я│п╣я─я▄п╣п╥ п©п╬п╢я┐п╪п╟я┌я▄ п©я─п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ я▐п╡п╫п╬ я┐п╨п╟п╥п╟п╫п╫п╬пЁп╬ п╫п╬п╪п╣я─п╟ п©я─п╟п╡п╨п╦ п╢п╩я▐ п╡я│п╣я┘ п╡п╫п╣я┬п╫п╦я┘ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╣п╧. п÷п╬я│я┌я┐п©п╟я▐ я┌п╟п╨п╦п╪ п╬п╠я─п╟п╥п╬п╪, п╡я▀ я│п╪п╬п╤п╣я┌п╣ п╡я▀п╠п╦я─п╟я┌я▄ п╪п╬п╪п╣п╫я┌ п©п╣я─п╣я┘п╬п╢п╟ п╫п╟ п╢я─я┐пЁп╬п╧ я│п╫п╦п╪п╬п╨ п╡п╫п╣я┬п╫п╣п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╦ я▐п╡п╫п╬ я┐п╨п╟п╥я▀п╡п╟я┌я▄ п╨п╟п╨п╬п╧ я█я┌п╬ п╠я┐п╢п╣я┌ я│п╫п╦п╪п╬п╨. п я─п╬п╪п╣ я┌п╬пЁп╬ я┤я┌п╬ я█я┌п╬ п©п╬п╥п╡п╬п╩я▐п╣я┌ п╦п╥п╠п╣п╤п╟я┌я▄ п©п╬п╩я┐я┤п╣п╫п╦я▐ п╫п╣п╬п╤п╦п╢п╟п╫п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╦п╥ я│я┌п╬я─п╬п╫п╫п╦я┘ я┘я─п╟п╫п╦п╩п╦я┴, п╨п╬я┌п╬я─я▀п╣ п╡я▀, п╡п╬п╥п╪п╬п╤п╫п╬, п╫п╦п╨п╟п╨ п╫п╣ п╨п╬п╫я┌я─п╬п╩п╦я─я┐п╣я┌п╣, я▐п╡п╫п╬п╣ я┐п╨п╟п╥п╟п╫п╦п╣ п╫п╬п╪п╣я─п╟ п©я─п╟п╡п╨п╦ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ п╬я┌п╨п╟я┌ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╨ п╠п╬п╩п╣п╣ я─п╟п╫п╫п╣п╧ п©я─п╟п╡п╨п╣ п©я─п╦п╡п╣п╢п╣я┌ п╨ п╬я┌п╨п╟я┌я┐ п╦ п╢п╩я▐ п╡п╫п╣я┬п╫п╦я┘ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╣п╧, п╨ я┌п╬п╪я┐ я│п╬я│я┌п╬я▐п╫п╦я▌, п╡ п╨п╬я┌п╬я─п╬п╪ п╬п╫п╦ п╠я▀п╩п╦ п╡ я┌п╬п╧, п©я─п╣п╢я▀п╢я┐я┴п╣п╧, п©я─п╟п╡п╨п╣, я┌п╬ п╣я│я┌я▄ я█я┌п╬ п╥п╫п╟я┤п╦я┌, я┤я┌п╬ п╡п╫п╣я┬п╫п╦п╣ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦ п╠я┐п╢я┐я┌ п╡я▀пЁп╩я▐п╢п╣я┌я▄ я┌п╟п╨, п╨п╟п╨ п╬п╫п╦ п╡я▀пЁп╩я▐п╢п╣п╩п╦ п╫п╟ п╪п╬п╪п╣п╫я┌ я┌п╬п╧ п©я─п╟п╡п╨п╦ п╡п╟я┬п╣пЁп╬ я┘я─п╟п╫п╦п╩п╦я┴п╟. п■п╩я▐ п©я─п╬пЁя─п╟п╪п╪п╫я▀я┘ п©я─п╬п╣п╨я┌п╬п╡ я█я┌п╬ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ п╡п╬п©я─п╬я│п╬п╪ я┐п╢п╟я┤п╫п╬п╧ п╦п╩п╦ п╫п╣я┐п╢п╟я┤п╫п╬п╧ я│п╠п╬я─п╨п╦ я│я┌п╟я─п╬пЁп╬ я│п╫п╦п╪п╨п╟ я│п╩п╬п╤п╫п╬п╧ п╦ п╥п╟п©я┐я┌п╟п╫п╫п╬п╧ п╠п╟п╥я▀ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╨п╬п╢п╟.

п п╬п╪п╟п╫п╢п╟ svn status я┐п╪п╣п╣я┌ п╬п©я─п╣п╢п╣п╩я▐я┌я▄ п╡п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦, п©п╬п╨п╟п╥я▀п╡п╟я▐ п╨п╬п╢ я│я┌п╟я┌я┐я│п╟ X п╢п╩я▐ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╬п╡, п╡я▀пЁя─я┐п╤п╣п╫п╫я▀я┘ п╦п╥ п╡п╫п╣я┬п╫п╦я┘ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╣п╧, п╦ я─п╣п╨я┐я─я│п╦п╡п╫п╬ п©я─п╬я┘п╬п╢я▐ п©п╬ я█я┌п╦п╪ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╟п╪ п╢п╩я▐ п╬я┌п╬п╠я─п╟п╤п╣п╫п╦я▐ я│я┌п╟я┌я┐я│п╟ я│п╟п╪п╦я┘ п╡п╫п╣я┬п╫п╦я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡.

п▓п╪п╣я│я┌п╣ я│ я┌п╣п╪, я┌п╣п╨я┐я┴п╟я▐ я─п╣п╟п╩п╦п╥п╟я├п╦я▐ п©п╬п╢п╢п╣я─п╤п╨п╦ п╡п╫п╣я┬п╫п╦я┘ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╣п╧ п╡ Subversion п╪п╬п╤п╣я┌ п╡п╡п╬п╢п╦я┌я▄ п╡ п╥п╟п╠п╩я┐п╤п╢п╣п╫п╦п╣. п▓п╬-п©п╣я─п╡я▀я┘, п╡п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╪п╬пЁя┐я┌ я┐п╨п╟п╥я▀п╡п╟я┌я▄ я┌п╬п╩я▄п╨п╬ п╫п╟ п©п╟п©п╨п╦, п╫п╬ п╫п╣ п╫п╟ я└п╟п╧п╩я▀. п▓п╬-п╡я┌п╬я─я▀я┘, п╡п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╫п╣ п╪п╬пЁя┐я┌ я┐п╨п╟п╥я▀п╡п╟я┌я▄ п╫п╟ п╬я┌п╫п╬я│п╦я┌п╣п╩я▄п╫я▀п╣ п©я┐я┌п╦ (п╫п╟п©я─п╦п╪п╣я─, я┌п╟п╨п╦п╣ п╨п╟п╨ ../../skins/myskin). п▓-я┌я─п╣я┌я▄п╦я┘, я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦, я│п╬п╥п╢п╟п╫п╫я▀п╣ я┤п╣я─п╣п╥ п╡п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦, я▐п╡п╩я▐я▌я┌я│я▐ п╬я┌п╬я─п╡п╟п╫п╫я▀п╪п╦ п╬я┌ п©п╣я─п╡п╦я┤п╫п╬п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ (п╬я┌ я┌п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟, п╢п╩я▐ п╨п╬я┌п╬я─п╬пЁп╬ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╬ я│п╡п╬п╧я│я┌п╡п╬ svn:externals). п░ Subversion п©п╬п╩п╫п╬я├п╣п╫п╫п╬ я─п╟п╠п╬я┌п╟п╣я┌ я┌п╬п╩я▄п╨п╬ п╫п╟ п╫п╣п╬я┌я│п╬п╣п╢п╦п╫п╣п╫п╫я▀я┘ я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦я▐я┘. п╜я┌п╬ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ п╣я│п╩п╦ п╡я▀ п╥п╟я┘п╬я┌п╦я┌п╣ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я│п╢п╣п╩п╟п╫п╫я▀п╣ п╡ п╬п╢п╫п╬п╧ п╦п╩п╦ п╫п╣я│п╨п╬п╩я▄п╨п╦я┘ я┌п╟п╨п╦я┘ я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦я▐я┘, п╡п╟п╪ п©я─п╦п╢п╣я┌я│я▐ п©я─п╦п╫я┐п╢п╦я┌п╣п╩я▄п╫п╬ п╡я▀п©п╬п╩п╫я▐я┌я▄ п╨п╬п╪п╟п╫п╢я┐ svn commit п╢п╩я▐ я█я┌п╦я┘ я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦п╧ Б─■ я└п╦п╨я│п╟я├п╦я▐ п╡ п©п╣я─п╡п╦я┤п╫п╬п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╫п╣ я─п╟я│п©я─п╬я│я┌я─п╟п╫я▐п╣я┌я│я▐ п╫п╟ п╡п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦.

п я─п╬п╪п╣ я┌п╬пЁп╬, п©п╬я│п╨п╬п╩я▄п╨я┐ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ п╟п╠я│п╬п╩я▌я┌п╫я▀п╣ URL, п©п╣я─п╣п╪п╣я┴п╣п╫п╦п╣ п╦п╩п╦ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣ п©п╟п©п╨п╦, п╨ п╨п╬я┌п╬я─п╬п╧ п╬п╫п╦ п©я─п╦я│п╬п╣п╢п╦п╫п╣п╫я▀, п╫п╣ п╠я┐п╢п╣я┌ п╡п╩п╦я▐я┌я▄ п╫п╟ я┌п╬, я┤я┌п╬ п╠я┐п╢п╣я┌ п╡я▀пЁя─я┐п╤п╟я┌я▄я│я▐ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╡ п╡п╦п╢п╣ п╡п╫п╣я┬п╫п╣п╧ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ (п©я─п╦ я█я┌п╬п╪, п╩п╬п╨п╟п╩я▄п╫я▀п╣ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╦, п╫п╟п╥п╫п╟я┤п╣п╫п╫я▀п╣ п╨п╟п╨ я├п╣п╩п╣п╡я▀п╣ п╢п╩я▐ п╡п╫п╣я┬п╫п╦я┘ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╣п╧, п©я─п╦ п©п╣я─п╣п╦п╪п╣п╫п╬п╡п╟п╫п╦п╦ я─п╬п╢п╦я┌п╣п╩я▄я│п╨п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ п╠я┐п╢я┐я┌, п╣я│я┌п╣я│я┌п╡п╣п╫п╫п╬, п©п╣я─п╣п╪п╣я┴п╣п╫я▀ п╡п╪п╣я│я┌п╣ я│ п╫п╦п╪). п▓ п╬п©я─п╣п╢п╣п╩п╣п╫п╫я▀я┘ я│п╦я┌я┐п╟я├п╦я▐я┘ я█я┌п╬ п╪п╬п╤п╣я┌ я│п╠п╦п╡п╟я┌я▄ я│ я┌п╬п╩п╨я┐ п╦ п╥п╟п©я┐я┌я▀п╡п╟я┌я▄. п²п╟п©я─п╦п╪п╣я─, я┐ п╡п╟я│ п╣я│я┌я▄ п╨п╬я─п╫п╣п╡п╬п╧ п╨п╟я┌п╟п╩п╬пЁ my-project п╦ п╢п╩я▐ п╬п╢п╫п╬пЁп╬ п╦п╥ п╣пЁп╬ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╬п╡ (my-project/some-dir) п╡я▀ п╫п╟п╥п╫п╟я┤п╟п╣я┌п╣ п╡п╫п╣я┬п╫я▌я▌ п╥п╟п╡п╦я│п╦п╪п╬я│я┌я▄, п╬я┌я│п╩п╣п╤п╦п╡п╟я▌я┴я┐я▌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╢я─я┐пЁп╬пЁп╬ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╟ (my-project/external-dir).

$ svn co http://svn.example.com/projects .
A    my-project
A    my-project/some-dir
A    my-project/external-dir
Б─╕
Fetching external item into 'my-project/some-dir/subdir'
Checked out external at revision 11.

Checked out revision 11.
$ svn pget svn:externals my-project/some-dir
subdir http://svn.example.com/projects/my-project/external-dir

$

п÷п╣я─п╣п╦п╪п╣п╫я┐п╣п╪ я│ п©п╬п╪п╬я┴я▄я▌ п╨п╬п╪п╟п╫п╢я▀ svn move п╨п╟я┌п╟п╩п╬пЁ my-project. п╒п╣п©п╣я─я▄ п╡п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п©я─п╬п╢п╬п╩п╤п╟я▌я┌ п©я─п╬п╢п╬п╩п╤п╟я▌я┌ я┐п╨п╟п╥я▀п╡п╟я┌я▄ п╫п╟ п©я┐я┌я▄ п╡ п╨п╟я┌п╟п╩п╬пЁп╣ my-project, п╟ я│п╟п╪п╬пЁп╬ я█я┌п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ я┐п╤п╣ п╫п╣ я│я┐я┴п╣я│я┌п╡я┐п╣я┌.

$ svn mv -q my-project renamed-project
$ svn ci -m "Rename my-project to renamed-project."
Deleting       my-project
Adding         my-renamed-project

Committed revision 12.
$ svn up

Fetching external item into 'renamed-project/some-dir/subdir'
svn: Target path does not exist
$

п╒п╬я┌ я└п╟п╨я┌, я┤я┌п╬ п╡п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ п╟п╠я│п╬п╩я▌я┌п╫я▀п╣ URL, п╪п╬п╤п╣я┌ п╡я▀п╥п╡п╟я┌я▄ п©я─п╬п╠п╩п╣п╪я▀ п©я─п╦ я─п╟п╠п╬я┌п╣ я│ я┘я─п╟п╫п╦п╩п╦я┴п╟п╪п╦, п╢п╬я│я┌я┐п©п╫я▀п╪п╦ я┤п╣я─п╣п╥ п╫п╣я│п╨п╬п╩я▄п╨п╬ URL-я│я┘п╣п╪. п≤п╫я┌п╣я─п╣я│п╫п╟я▐ п©я─п╬п╠п╩п╣п╪п╟ п╪п╬п╤п╣я┌ п╡п╬п╥п╫п╦п╨п╫я┐я┌я▄, п╣я│п╩п╦, п╫п╟п©я─п╦п╪п╣я─, я│п╣я─п╡п╣я─ Subversion п©п╬п╥п╡п╬п╩я▐п╣я┌ п╩я▌п╠п╬п╪я┐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▌ я│п╬п╥п╢п╟я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, п©п╬п╢п╨п╩я▌я┤п╦п╡я┬п╦я│я▄ я┤п╣я─п╣п╥ http:// п╦п╩п╦ https://, п╟ я└п╦п╨я│п╟я├п╦п╦ п©п╬п╥п╡п╬п╩я▐п╣я┌ п╡я▀п©п╬п╩п╫я▐я┌я▄ я┌п╬п╩я▄п╨п╬ я┤п╣я─п╣п╥ https://. п∙я│п╩п╦ п╡п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ http:// п╡п╟я─п╦п╟п╫я┌ URL я┘я─п╟п╫п╦п╩п╦я┴п╟, я┌п╬ п╢п╩я▐ я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦п╧, я│п╬п╥п╢п╟п╫п╫я▀я┘ п╢п╩я▐ я█я┌п╦я┘ п╡п╫п╣я┬п╫п╦я┘ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╣п╧, п╫п╣п╩я▄п╥я▐ п╠я┐п╢п╣я┌ п╡я▀п©п╬п╩п╫п╦я┌я▄ я└п╦п╨я│п╟я├п╦я▌ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п║ п╢я─я┐пЁп╬п╧ я│я┌п╬я─п╬п╫я▀, п╣я│п╩п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╩я│я▐ https:// п╡п╟я─п╦п╟п╫я┌ URL, я┌п╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦, п╨п╬я┌п╬я─я▀п╣ я│п╬п╥п╢п╟я▌я┌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ я┤п╣я─п╣п╥ http:// п©п╬я┌п╬п╪я┐, я┤я┌п╬ п╦я┘ п╨п╩п╦п╣п╫я┌ п╫п╣ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌ https://, п╫п╣ я│п╪п╬пЁя┐я┌ п©п╬п╩я┐я┤п╦я┌я▄ п╡п╫п╣я┬п╫п╦п╣ я█п╩п╣п╪п╣п╫я┌я▀. п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╦ п╫п╟ я┌п╬, я┤я┌п╬ п©я─п╦ п©п╣я─п╣п╬п©я─п╣п╢п╣п╩п╣п╫п╦п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ (я│ п©п╬п╪п╬я┴я▄я▌ п╨п╬п╪п╟п╫п╢я▀ svn --relocate) п╡п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╫п╣ п╠я┐п╢я┐я┌ п©п╣я─п╣п╬п©я─п╣п╢п╣п╩п╣п╫я▀.

п²п╟п╨п╬п╫п╣я├, п╪п╬пЁя┐я┌ п╠я▀я┌я▄ я│п╦я┌я┐п╟я├п╦п╦, п╡ п╨п╬я┌п╬я─я▀я┘ п©я─п╣п╢п©п╬я┤я┌п╦я┌п╣п╩я▄п╫п╬, я┤я┌п╬п╠я▀ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀ svn п╫п╣ п╦п╢п╣п╫я┌п╦я└п╦я├п╦я─п╬п╡п╟п╩п╦ п╦ п╫п╣ п╬п©п╣я─п╦я─п╬п╡п╟п╩п╦ я─п╟п╠п╬я┤п╦п╪п╦ п╨п╬п©п╦я▐п╪п╦, я│п╬п╥п╢п╟п╫п╫я▀п╪п╦ п╨п╟п╨ п╡п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦. п■п╩я▐ я┌п╟п╨п╦я┘ я│п╩я┐я┤п╟п╣п╡ п©я─п╦ п╡я▀п╥п╬п╡п╣ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀ п╪п╬п╤п╫п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п©п╟я─п╟п╪п╣я┌я─ --ignore-externals.

п║я┌п╣я─п╤п╫п╣п╡я▀п╣ п╦ п╬п©п╣я─п╟я┌п╦п╡п╫я▀п╣ п©я─п╟п╡п╨п╦

п°я▀ п©п╬я│я┌п╬я▐п╫п╫п╬ п╨п╬п©п╦я─я┐п╣п╪, п©п╣я─п╣п╪п╣я┴п╟п╣п╪, п©п╣я─п╣п╦п╪п╣п╫п╬п╡я▀п╡п╟п╣п╪ п╦ п©п╬п╩п╫п╬я│я┌я▄я▌ п╥п╟п╪п╣п╫я▐п╣п╪ я└п╟п╧п╩я▀ п╦ п╨п╟я┌п╟п╩п╬пЁп╦ п╫п╟ п╫п╟я┬п╦я┘ п╨п╬п╪п©я▄я▌я┌п╣я─п╟я┘. п≤ п╡п╟я┬п╣п╧ я│п╦я│я┌п╣п╪п╣ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ п╡п╬п╡я│п╣ п╫п╣ п╬п╠я▐п╥п╟я┌п╣п╩я▄п╫п╬ п╥п╫п╟я┌я▄, п╨п╟п╨п╦п╪ п╬п╠я─п╟п╥п╬п╪ п╡я▀ п©я─п╬п╦п╥п╡п╬п╢п╦я┌п╣ я█я┌п╦ п╬п©п╣я─п╟я├п╦п╦ я│ я└п╟п╧п╩п╟п╪п╦ п╦ п╨п╟я┌п╟п╩п╬пЁп╟п╪п╦, п╫п╟я┘п╬п╢я▐я┴п╦п╪п╦я│я▐ п©п╬п╢ п╡п╣я─я│п╦п╬п╫п╫я▀п╪ п╨п╬п╫я┌я─п╬п╩п╣п╪. п÷п╬п╢п╢п╣я─п╤п╨п╟ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ я└п╟п╧п╩п╟п╪п╦ п╡ Subversion п╬я┤п╣п╫я▄ п╩п╦п╠п╣я─п╟п╩я▄п╫п╟, п╬п╫п╟ п╢п╬п©я┐я│п╨п╟п╣я┌ я┌п╟п╨я┐я▌ пЁп╦п╠п╨п╬я│я┌я▄ п©я─п╦ я─п╟п╠п╬я┌п╣ я│ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╪п╦ я└п╟п╧п╩п╟п╪п╦, п╨п╟п╨п╟я▐ п╢п╬я│я┌я┐п©п╫п╟ п╢п╩я▐ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡. п²п╬ я┌п╟п╨п╟я▐ пЁп╦п╠п╨п╬я│я┌я▄ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ п╫п╟ п©я─п╬я┌я▐п╤п╣п╫п╦п╦ п╤п╦п╥п╫п╣п╫п╫п╬пЁп╬ я├п╦п╨п╩п╟ п╡п╟я┬п╣пЁп╬ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╬п©я─п╣п╢п╣п╩п╣п╫п╫я▀п╧ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╧ п╬п╠я┼п╣п╨я┌ п╪п╬п╤п╣я┌ п╦п╪п╣я┌я▄ я─п╟п╥п╩п╦я┤п╫я▀п╣ п©я┐я┌п╦, п╦, п╫п╟п©я─п╬я┌п╦п╡, п╬п©я─п╣п╢п╣п╩п╣п╫п╫я▀п╧ п©я┐я┌я▄ п╪п╬п╤п╣я┌ я┐п╨п╟п╥я▀п╡п╟я┌я▄ п╫п╟ я─п╟п╥п╩п╦я┤п╫я▀п╣, я│п╬п╡п╣я─я┬п╣п╫п╫п╬ п╫п╣ я│п╡я▐п╥п╟п╫п╫я▀п╣ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╣ п╬п╠я┼п╣п╨я┌я▀. п╒п╟п╨п╬п╣ п©п╬п╩п╬п╤п╣п╫п╦п╣ п╢п╣п╩ п╡п╫п╬я│п╦я┌ п╬п©я─п╣п╢п╣п╩п╣п╫п╫я▀п╣ я│п╩п╬п╤п╫п╬я│я┌п╦ п╡ п╡п╟я┬п╣ п╡п╥п╟п╦п╪п╬п╢п╣п╧я│я┌п╡п╦п╣ я│ я█я┌п╦п╪п╦ п©я┐я┌я▐п╪п╦ п╦ п╬п╠я┼п╣п╨я┌п╟п╪п╦.

Subversion п╡п╣я│я▄п╪п╟ я│п╬п╬п╠я─п╟п╥п╦я┌п╣п╩п╣п╫ п╡ п╬я┌я│п╩п╣п╤п╦п╡п╟п╫п╦п╦ я│п╦я┌я┐п╟я├п╦п╧, п╨п╬пЁп╢п╟ п╦я│я┌п╬я─п╦я▐ п╡п╣я─я│п╦п╧ п╬п╠я┼п╣п╨я┌п╟ п╡п╨п╩я▌я┤п╟п╣я┌ п©п╬п╢п╬п╠п╫я▀п╣ б╚п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╟п╢я─п╣я│п╟б╩. п²п╟п©я─п╦п╪п╣я─, п╣я│п╩п╦ п╡я▀ п╥п╟п©я─п╬я│п╦я┌п╣ п╤я┐я─п╫п╟п╩ п╦я│я┌п╬я─п╦п╦ п©я─п╟п╡п╬п╨ п╨п╬п╫п╨я─п╣я┌п╫п╬пЁп╬ я└п╟п╧п╩п╟, п╨п╬я┌п╬я─я▀п╧ п╠я▀п╩ п©п╣я─п╣п╦п╪п╣п╫п╬п╡п╟п╫ п╫п╟ п©я─п╬я┬п╩п╬п╧ п╫п╣п╢п╣п╩п╣, Subversion п©я─п╣п╢п╬я│я┌п╟п╡п╦я┌ п╣пЁп╬ п╡п╟п╪ п╠п╣п╥ п╡я│я▐п╨п╦я┘ п©я─п╬п╠п╩п╣п╪. п▓ п╫п╣п╪ п╠я┐п╢я┐я┌ п╬я┌п╪п╣я┤п╣п╫я▀ п©я─п╟п╡п╨п╟, п╡ п╨п╬я┌п╬я─п╬п╧ п©я─п╬п╦п╥п╬я┬п╩п╬ п©п╣я─п╣п╦п╪п╣п╫п╬п╡п╟п╫п╦п╣, п╟ я┌п╟п╨п╤п╣ п╤я┐я─п╫п╟п╩ п©я─п╟п╡п╬п╨, п╦п╪п╣я▌я┴п╦я┘ п╬я┌п╫п╬я┬п╣п╫п╦п╣ п╨ п╬п╠я┼п╣п╨я┌я┐ п╦ п©я─п╬п╦п╥п╬я┬п╣п╢я┬п╦я┘ п╨п╟п╨ п╢п╬, я┌п╟п╨ п╦ п©п╬я│п╩п╣ п©п╣я─п╣п╦п╪п╣п╫п╬п╡п╟п╫п╦я▐. п╒п╟п╨п╦п╪ п╬п╠я─п╟п╥п╬п╪, я┤п╟я┴п╣ п╡я│п╣пЁп╬ п╡п╟п╪ п╢п╟п╤п╣ п╫п╣ п©я─п╦п╢п╣я┌я│я▐ п╥п╟п╢я┐п╪я▀п╡п╟я┌я▄я│я▐ п╬ я┌п╟п╨п╦я┘ п╡п╣я┴п╟я┘. п²п╬ п╦п╫п╬пЁп╢п╟ Subversion п╡я│п╣-я┌п╟п╨п╦ п©п╬я┌я─п╣п╠я┐п╣я┌я│я▐ п╡п╟я┬п╟ п©п╬п╪п╬я┴я▄, я┤я┌п╬п╠я▀ я┐я│я┌я─п╟п╫п╦я┌я▄ п╫п╣п╬п╢п╫п╬п╥п╫п╟я┤п╫п╬я│я┌п╦.

п÷я─п╬я│я┌п╣п╧я┬п╦п╪ п©я─п╦п╪п╣я─п╬п╪ п╪п╬п╤п╣я┌ я│п╩я┐п╤п╦я┌я▄ я│п╦я┌я┐п╟я├п╦я▐, п╨п╬пЁп╢п╟ п╨п╟я┌п╟п╩п╬пЁ п╦п╩п╦ я└п╟п╧п╩ я│п╫п╟я┤п╟п╩п╟ я┐п╢п╟п╩я▐я▌я┌ п╦п╥ п╡п╣я─я│п╦п╬п╫п╫п╬пЁп╬ п╨п╬п╫я┌я─п╬п╩я▐, п╟ п╥п╟я┌п╣п╪ я│п╬п╥п╢п╟я▌я┌ п╫п╬п╡я▀п╧ я█п╩п╣п╪п╣п╫я┌ я│ я┌п╣п╪ п╤п╣ п╦п╪п╣п╫п╣п╪ п╦ п╢п╬п╠п╟п╡п╩я▐я▌я┌ п╣пЁп╬ п©п╬п╢ п╡п╣я─я│п╦п╬п╫п╫я▀п╧ п╨п╬п╫я┌я─п╬п╩я▄. п▒п╣п╥я┐я│п╩п╬п╡п╫п╬, я┌п╬, я┤я┌п╬ п╡я▀ я┐п╢п╟п╩п╦п╩п╦ п╦ я┌п╬, я┤я┌п╬ п╡я▀ п╡п©п╬я│п╩п╣п╢я│я┌п╡п╦п╦ п╢п╬п╠п╟п╡п╦п╩п╦ Б─■ я█я┌п╬ я─п╟п╥п╫я▀п╣ п╡п╣я┴п╦. п÷я─п╬я│я┌п╬ я┌п╟п╨ п©п╬п╩я┐я┤п╦п╩п╬я│я▄, я┤я┌п╬ п╬п╫п╦ п╦п╪п╣я▌я┌ п╬п╢п╦п╫п╟п╨п╬п╡я▀п╧ п©я┐я┌я▄, п╫п╟п©я─п╦п╪п╣я─ /trunk/object. п╖я┌п╬ п╢п╬п╩п╤п╣п╫ п╡я▀п╢п╟я┌я▄ Subversion, п╨п╬пЁп╢п╟ п╡я▀ п╥п╟п©я─п╬я│п╦я┌п╣ я┐ п╫п╣пЁп╬ п╦я│я┌п╬я─п╦я▌ /trunk/object? п≤п╪п╣п╣я┌п╣ п╩п╦ п╡я▀ п╡п╡п╦п╢я┐ я┌п╬, я┤я┌п╬ п╫п╟я┘п╬п╢п╦я┌я│я▐ п©п╬ я█я┌п╬п╪я┐ п©я┐я┌п╦ п╡ я┌п╣п╨я┐я┴п╦п╧ п╪п╬п╪п╣п╫я┌, п╦п╩п╦ я┌п╬я┌ я│я┌п╟я─я▀п╧ п╬п╠я┼п╣п╨я┌, п╨п╬я┌п╬я─я▀п╧ п╡я▀ я┐п╢п╟п╩п╦п╩п╦? п║п©я─п╟я┬п╦п╡п╟п╣я┌п╣ п╩п╦ п╡я▀ п╬п╠ п╬п©п╣я─п╟я├п╦я▐я┘, я│п╬п╡п╣я─я┬п╣п╫п╫я▀я┘ я│п╬ п╡я│п╣п╪п╦ п╬п╠я┼п╣п╨я┌п╟п╪п╦, п╨п╬я┌п╬я─я▀п╣ п╨п╬пЁп╢п╟-п╩п╦п╠п╬ я─п╟я│п©п╬п╩п╟пЁп╟п╩п╦я│я▄ п©п╬ я█я┌п╬п╪я┐ п©я┐я┌п╦? п·я┤п╣п╡п╦п╢п╫п╬, Subversion я┌я─п╣п╠я┐п╣я┌я│я▐ п©п╬п╢я│п╨п╟п╥п╨п╟ п╬ я┌п╬п╪, я┤я┌п╬ п╤п╣ п╡я▀ п╢п╣п╧я│я┌п╡п╦я┌п╣п╩я▄п╫п╬ я┘п╬я┌п╦я┌п╣ п©п╬п╩я┐я┤п╦я┌я▄.

п▒п╩п╟пЁп╬п╢п╟я─я▐ п©п╣я─п╣п╪п╣я┴п╣п╫п╦я▐п╪ п╦я│я┌п╬я─п╦я▐ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬пЁп╬ п╬п╠я┼п╣п╨я┌п╟ п╪п╬п╤п╣я┌ п©п╬п╩я┐я┤п╦я┌я▄я│я▐ пЁп╬я─п╟п╥п╢п╬ п╠п╬п╩п╣п╣ п╦п╥п╡п╦п╩п╦я│я┌п╬п╧, я┤п╣п╪ п╡ я┌п╬п╩я▄п╨п╬ я┤я┌п╬ я─п╟я│я│п╪п╬я┌я─п╣п╫п╫п╬п╪ п©я─п╦п╪п╣я─п╣. п■п╬п©я┐я│я┌п╦п╪, я┤я┌п╬ я┐ п╡п╟я│ п╣я│я┌я▄ п╨п╟я┌п╟п╩п╬пЁ я│ п╦п╪п╣п╫п╣п╪ concept, я│п╬п╢п╣я─п╤п╟я┴п╦п╧ п╫п╣п╢п╟п╡п╫п╬ п╫п╟я┤п╟я┌я▀п╧ п©я─п╬п╣п╨я┌ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п©я─п╬пЁя─п╟п╪п╪я▀, я│ п╨п╬я┌п╬я─я▀п╪ п╡я▀ я┐я│п╦п╩п╣п╫п╫п╬ я█п╨я│п©п╣я─п╦п╪п╣п╫я┌п╦я─я┐п╣я┌п╣. п▓ п╬п╢п╦п╫ п©я─п╣п╨я─п╟я│п╫я▀п╧ п╪п╬п╪п╣п╫я┌ я█я┌п╬я┌ п©я─п╬п╣п╨я┌ п╢п╬я─п╟я│я┌п╣я┌ п╢п╬ я┌п╬пЁп╬, я┤я┌п╬ п╡я▀ п©я─п╦п╥п╫п╟п╣я┌п╣ п╦п╢п╣я▌ п╢п╣п╧я│я┌п╡п╦я┌п╣п╩я▄п╫п╬ я│я┌п╬я▐я┴п╣п╧ п╦ я├п╣п╫п╬п╧ п╫п╣п╦п╪п╬п╡п╣я─п╫я▀я┘ я┐я│п╦п╩п╦п╧ п╡я│п╣-я┌п╟п╨п╦ я─п╣я┬п╦я┌п╣ п╢п╟я┌я▄ п©я─п╬п╣п╨я┌я┐ п╦п╪я▐. [22] п■п╬п©я┐я│я┌п╦п╪, п╡я▀ п╫п╟п╥п╡п╟п╩п╦ п╡п╟я┬я┐ п©я─п╬пЁя─п╟п╪п╪я┐ Frabnaggilywort. п÷я─п╦ я█я┌п╬п╪ п╫п╣ п©п╬п╪п╣я┬п╟п╩п╬ п╠я▀ п©п╣я─п╣п╦п╪п╣п╫п╬п╡п╟я┌я▄ п╨п╟я┌п╟п╩п╬пЁ, я┤я┌п╬п╠я▀ п╬п╫ п╬я┌я─п╟п╤п╟п╩ п╫п╬п╡п╬п╣ п╦п╪я▐ п©я─п╬п╣п╨я┌п╟, п©п╬я█я┌п╬п╪я┐ concept п©п╣я─п╣п╦п╪п╣п╫п╬п╡я▀п╡п╟п╣я┌я│я▐ п╡ frabnaggilywort. п√п╦п╥п╫я▄ п╦п╢п╣я┌ п╢п╟п╩я▄я┬п╣, п╡я▀п©я┐я│п╨п╟п╣я┌я│я▐ п╡п╣я─я│п╦я▐ Frabnaggilywort 1.0, п╬п╫п╟ п╢п╬я│я┌я┐п©п╫п╟ п╢п╩я▐ я│п╨п╟я┤п╦п╡п╟п╫п╦я│я▐ п╦ п╣п╤п╣п╢п╫п╣п╡п╫п╬ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╨я┐я┤п╣п╧ п╩я▌п╢п╣п╧, п╤п╟п╤п╢я┐я┴п╦я┘ я┐п╩я┐я┤я┬п╦я┌я▄ я│п╡п╬я▌ п╤п╦п╥п╫я▄.

п╜я┌п╬ п╢п╣п╧я│я┌п╡п╦я┌п╣п╩я▄п╫п╬ я┘п╬я─п╬я┬п╟я▐ п╦я│я┌п╬я─п╦я▐ Б─■ п╫п╬ п╬п╫п╟ п╫п╟ я█я┌п╬п╪ п╫п╣ п╥п╟п╨п╟п╫я┤п╦п╡п╟п╣я┌я│я▐. пё я┌п╟п╨п╬пЁп╬ п©я─п╣п╢п©я─п╦п╦п╪я┤п╦п╡п╬пЁп╬ я┤п╣п╩п╬п╡п╣п╨п╟ п╨п╟п╨ п╡я▀ п╡ пЁп╬п╩п╬п╡п╣ я┐п╤п╣ я─п╬п╢п╦п╩п╟я│я▄ п╫п╬п╡п╟я▐ п╦п╢п╣я▐. п÷п╬я█я┌п╬п╪я┐ п╡я▀ я│п╬п╥п╢п╟п╣я┌п╣ п╫п╬п╡я▀п╧ п╨п╟я┌п╟п╩п╬пЁ я│ п╦п╪п╣п╫п╣п╪ concept, п╦ я├п╦п╨п╩ п╫п╟я┤п╦п╫п╟п╣я┌я│я▐ я│п╫п╬п╡п╟. п²п╟ я│п╟п╪п╬п╪ п╢п╣п╩п╣, я█я┌п╬я┌ я├п╦п╨п╩ я│ пЁп╬п╢п╟п╪п╦ п©п╬п╡я┌п╬я─я▐п╣я┌я│я▐ п╪п╫п╬пЁп╬п╨я─п╟я┌п╫п╬, п╨п╟п╤п╢я▀п╧ я─п╟п╥ п╫п╟я┤п╦п╫п╟я▐я│я▄ я│п╬ я│я┌п╟я─п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ concept, п╨п╬я┌п╬я─я▀п╧ п╡п©п╬я│п╩п╣п╢я│я┌п╡п╦п╦ п╦п╫п╬пЁп╢п╟ п©п╣я─п╣п╦п╪п╣п╫п╬п╡я▀п╡п╟п╣я┌я│я▐ (п╨п╬пЁп╢п╟ п╦п╢п╣я▐ п╬п╨п╟п╥я▀п╡п╟п╣я┌я│я▐ я┘п╬я─п╬я┬п╟), п╟ п╦п╫п╬пЁп╢п╟ я┐п╢п╟п╩я▐п╣я┌я│я▐ (п╨п╬пЁп╢п╟ п╦п╢п╣я▐ п╬п╨п╟п╥я▀п╡п╟п╣я┌я│я▐ п╫п╣я┐п╢п╟я┤п╫п╬п╧). п╖я┌п╬п╠я▀ я│п╬п╡я│п╣п╪ п╥п╟п©я┐я┌п╟я┌я▄я│я▐, п©я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┤я┌п╬ п╡я▀ я│п╫п╟я┤п╟п╩п╟ п©п╣я─п╣п╦п╪п╣п╫п╬п╡п╟п╩п╦ concept п╡п╬ я┤я┌п╬-я┌п╬ п╣я┴п╣, п╟ п╡п©п╬я│п╩п╣п╢я│я┌п╡п╦п╦ п©п╬ п╨п╟п╨п╬п╧-я┌п╬ п©я─п╦я┤п╦п╫п╣ п©п╣я─п╣п╦п╪п╣п╫п╬п╡п╟п╩п╦ п╣пЁп╬ п╬п╠я─п╟я┌п╫п╬ п╡ concept.

п÷я─п╦ п╡п╬п╥п╫п╦п╨п╫п╬п╡п╣п╫п╦п╦ п©п╬п╢п╬п╠п╫я▀я┘ я│п╦я┌я┐п╟я├п╦п╧ п©я▀я┌п╟я┌я▄я│я▐ п╬п╠я┼я▐я│п╫п╦я┌я▄ Subversion, п╨п╟п╨ я─п╟п╠п╬я┌п╟я┌я▄ я│ я█я┌п╦п╪п╦ п╪п╫п╬пЁп╬п╨я─п╟я┌п╫п╬ п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╪п╦ п©я┐я┌я▐п╪п╦ Б─■ п╡я│п╣ я─п╟п╡п╫п╬ я┤я┌п╬ я│п╨п╟п╥п╟я┌я▄ п╟п╡я┌п╬п╪п╬п╠п╦п╩п╦я│я┌я┐ п╡ п╥п╟п©п╟п╢п╫я▀я┘ п©я─п╦пЁп╬я─п╬п╢п╟я┘ п╖п╦п╨п╟пЁп╬, я┤я┌п╬п╠я▀ п╬п╫ п╣я┘п╟п╩ п╫п╟ п╡п╬я│я┌п╬п╨ п╡п╫п╦п╥ п©п╬ Roosevelt Road, п╟ п╥п╟я┌п╣п╪ п©п╬п╡п╣я─п╫я┐п╩ п╫п╟п╩п╣п╡п╬ п╫п╟ Main Street. п°п╣п╫я▄я┬п╣ я┤п╣п╪ п╥п╟ п╢п╡п╟п╢я├п╟я┌я▄ п╪п╦п╫я┐я┌ п╪п╬п╤п╫п╬ п©п╣я─п╣я│п╣я┤я▄ б╚Main Streetб╩ п╡ пёп╦я┌п╬п╫п╣, п⌠п╩п╣п╫ п╜п╩п╩п╦п╫п╣ п╦ п⌡п╬п╪п╠п╟я─п╢п╣. п≤ я█я┌п╬ п╠я┐п╢я┐я┌ я┌я─п╦ я─п╟п╥п╫я▀я┘ я┐п╩п╦я├я▀. п²п╟я┬п╣п╪я┐ п╟п╡я┌п╬п╪п╬п╠п╦п╩п╦я│я┌я┐, п╨п╟п╨ п╦ Subversion, п╫я┐п╤п╫п╬ п╠п╬п╩я▄я┬п╣ п©п╬п╢я─п╬п╠п╫п╬я│я┌п╣п╧, я┤я┌п╬п╠я▀ п©п╬я│я┌я┐п©п╦я┌я▄ п©я─п╟п╡п╦п╩я▄п╫п╬.

п²п╟я┤п╦п╫п╟я▐ я│ п╡п╣я─я│п╦п╦ 1.1, Subversion п©п╬п╥п╡п╬п╩я▐п╣я┌ п╡п╟п╪ я┌п╬я┤п╫п╬ я┐п╨п╟п╥п╟я┌я▄, п╨п╟п╨я┐я▌ п╦п╪п╣п╫п╫п╬ Main Street п╡я▀ п╦п╪п╣п╣я┌п╣ п╡п╡п╦п╢я┐. п■п╩я▐ я█я┌п╬пЁп╬ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ я┌п╟п╨ п╫п╟п╥я▀п╡п╟п╣п╪п╟я▐ я│я┌п╣я─п╤п╫п╣п╡п╟я▐ п©я─п╟п╡п╨п╟ (peg revision) Б─■ я┌п╬ п╣я│я┌я▄ п©я─п╟п╡п╨п╟, я┐п╨п╟п╥я▀п╡п╟п╣п╪п╟я▐ Subversion п╦я│п╨п╩я▌я┤п╦я┌п╣п╩я▄п╫п╬ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ п╬п╢п╫п╬п╥п╫п╟я┤п╫п╬ п╦п╢п╣п╫я┌п╦я└п╦я├п╦я─п╬п╡п╟я┌я▄ п╬я┌п╢п╣п╩я▄п╫я┐я▌ п╩п╦п╫п╦я▌ п╡ п╦я│я┌п╬я─п╦п╦. п÷п╬я│п╨п╬п╩я▄п╨я┐ п╡ п╩я▌п╠п╬п╧ п╨п╬п╫п╨я─п╣я┌п╫я▀п╧ п╪п╬п╪п╣п╫я┌ п╡я─п╣п╪п╣п╫п╦ (п╦п╩п╦, пЁп╬п╡п╬я─я▐ я┌п╬я┤п╫п╣п╣, п╡ п╩я▌п╠п╬п╧ п╨п╬п╫п╨я─п╣я┌п╫п╬п╧ п©я─п╟п╡п╨п╣) п╬п©я─п╣п╢п╣п╩п╣п╫п╫п╬п╪я┐ п©я┐я┌п╦ п╪п╬п╤п╣я┌ я│п╬п╬я┌п╡п╣я┌я│я┌п╡п╬п╡п╟я┌я▄ п╫п╣ п╠п╬п╩п╣п╣ п╬п╢п╫п╬пЁп╬ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬пЁп╬ п╬п╠я┼п╣п╨я┌п╟, п╨п╬п╪п╠п╦п╫п╟я├п╦п╦ п©я┐я┌п╦ п╦ я│я┌п╣я─п╤п╫п╣п╡п╬п╧ п©я─п╟п╡п╨п╦ п╢п╬я│я┌п╟я┌п╬я┤п╫п╬ п╢п╩я▐ п╬п╢п╫п╬п╥п╫п╟я┤п╫п╬п╧ я│я│я▀п╩п╨п╦ п╫п╟ п╬п©я─п╣п╢п╣п╩п╣п╫п╫я┐я▌ п╩п╦п╫п╦я▌ п╡ п╦я│я┌п╬я─п╦п╦. п■п╩я▐ я┐п╨п╟п╥п╟п╫п╦я▐ я│я┌п╣я─п╤п╫п╣п╡я▀я┘ п©я─п╟п╡п╬п╨ п╡ п╨п╩п╦п╣п╫я┌п╣ Subversion я│ п╦п╫я┌п╣я─я└п╣п╧я│п╬п╪ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ at-я│п╦п╫я┌п╟п╨я│п╦я│, п╨п╬я┌п╬я─я▀п╧ п©п╬п╩я┐я┤п╦п╩ я┌п╟п╨п╬п╣ п╫п╟п╥п╡п╟п╫п╦п╣, п©п╬я┌п╬п╪я┐ я┤я┌п╬ п╡п╨п╩я▌я┤п╟п╣я┌ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╣ б╚я│п╦п╪п╡п╬п╩п╟ atб╩ (@) п╦ п╫п╬п╪п╣я─п╟ я│я┌п╣я─п╤п╫п╣п╡п╬п╧ п©я─п╟п╡п╨п╦ п©п╬я│п╩п╣ п©я┐я┌п╦, п╨п╬я┌п╬я─я▀п╧ я│п╡я▐п╥п╟п╫ я│ п╢п╟п╫п╫п╬п╧ п©я─п╟п╡п╨п╬п╧.

п²я┐ п╟ п╨п╟п╨ п╤п╣ п©п╟я─п╟п╪п╣я┌я─ --revision (-r), п╬ п╨п╬я┌п╬я─п╬п╪ п╪я▀ я┌п╟п╨ п╪п╫п╬пЁп╬ пЁп╬п╡п╬я─п╦п╩п╦ п╡ я█я┌п╬п╧ п╨п╫п╦пЁп╣? п╜я┌п╟ п©я─п╟п╡п╨п╟ (п╦п╩п╦ п╪п╫п╬п╤п╣я│я┌п╡п╬ п©я─п╟п╡п╬п╨) п╫п╟п╥я▀п╡п╟п╣я┌я│я▐ п╬п©п╣я─п╟я┌п╦п╡п╫п╬п╧ п©я─п╟п╡п╨п╬п╧ (п╦п╩п╦ п╢п╦п╟п©п╟п╥п╬п╫п╬п╪ п╬п©п╣я─п╟я┌п╦п╡п╫я▀я┘ п©я─п╟п╡п╬п╨). п≤п╢п╣п╫я┌п╦я└п╦я├п╦я─п╬п╡п╟п╡ п╨п╬п╫п╨я─п╣я┌п╫я┐я▌ п╩п╦п╫п╦я▌ п╡ п╦я│я┌п╬я─п╦п╦ я│ п©п╬п╪п╬я┴я▄я▌ п©я┐я┌п╦ п╦ я│я┌п╣я─п╤п╫п╣п╡п╬п╧ п©я─п╟п╡п╨п╦, Subversion п╡я▀п©п╬п╩п╫я▐п╣я┌ я┌я─п╣п╠я┐п╣п╪я▀п╣ п╬п©п╣я─п╟я├п╦п╦, п╦я│п©п╬п╩я▄п╥я┐я▐ п╬п©п╣я─п╟я┌п╦п╡п╫я┐я▌ п©я─п╟п╡п╨я┐ (п╦п╩п╦ п©я─п╟п╡п╨п╦). п▓п╬п╥п╡я─п╟я┴п╟я▐я│я▄ п╨ п╫п╟я┬п╣п╧ п╟п╫п╟п╩п╬пЁп╦п╦ я│ я┐п╩п╦я├п╟п╪п╦ п╖п╦п╨п╟пЁп╬, п╣я│п╩п╦ п╫п╟п╪ п╬п╠я┼я▐я│п╫я▐я▌я┌, п╨п╟п╨ п©я─п╬п╣я┘п╟я┌я▄ п╨ п╢п╬п╪я┐ 606 N. п©п╬ Main Street п╡ пёп╦я┌п╬п╫п╣, [23] п╪я▀ п╪п╬п╤п╣п╪ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟я┌я▄ б╚Main Streetб╩ п╨п╟п╨ п©я┐я┌я▄ п╦ б╚пёп╦я┌п╬п╫б╩ п╨п╟п╨ я│я┌п╣я─п╤п╫п╣п╡я┐я▌ п©я─п╟п╡п╨я┐. п╜я┌п╦ п╢п╡п╟ я█п╩п╣п╪п╣п╫я┌п╟ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╬п╢п╫п╬п╥п╫п╟я┤п╫п╬ п╦п╢п╣п╫я┌п╦я└п╦я├п╦я─я┐я▌я┌ п©я┐я┌я▄, п©п╬ п╨п╬я┌п╬я─п╬п╪я┐ п╫п╟п╪ я│п╩п╣п╢я┐п╣я┌ п╣я┘п╟я┌я▄ (п╫п╟ я│п╣п╡п╣я─ п╦п╩п╦ п╫п╟ я▌пЁ Main Street), п╦ п©п╬п╥п╡п╬п╩я▐п╣я┌ п╫п╟п╪ п╦п╥п╠п╣п╤п╟я┌я▄ п©п╬п╣п╥п╢п╬п╨ п╡п╣я─я┘ п╦ п╡п╫п╦п╥ п©п╬ п╫п╣п©я─п╟п╡п╦п╩я▄п╫я▀п╪ Main Street п╡ п©п╬п╦я│п╨п╣ я┌п╬я┤п╨п╦ п╫п╟п╥п╫п╟я┤п╣п╫п╦я▐. п■п╟п╩п╣п╣ п╪я▀ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟п╣п╪ б╚606 N.б╩ п╨п╟п╨ я│п╡п╬п╣пЁп╬ я─п╬п╢п╟ п╬п©п╣я─п╟я┌п╦п╡п╫я┐я▌ п©я─п╟п╡п╨я┐, п╦ п╪я▀ я┌п╬я┤п╫п╬ п╥п╫п╟п╣п╪, п╨я┐п╢п╟ п╫п╟п╪ п╣я┘п╟я┌я▄.

п■п╬п©я┐я│я┌п╦п╪, я┤я┌п╬ я┘я─п╟п╫п╦п╩п╦я┴п╣ я│п╬п╥п╢п╟п╫п╬ п╢п╟п╡п╫я▀п╪ п╢п╟п╡п╫п╬, п╦ п╡ п©я─п╟п╡п╨п╣ 1 п╠я▀п╩п╟ п╢п╬п╠п╟п╡п╩п╣п╫ п╫п╟я┬ п©п╣я─п╡я▀п╧ п╨п╟я┌п╟п╩п╬пЁ concept, п╟ я┌п╟п╨п╤п╣ я└п╟п╧п╩ IDEA п╡п╫я┐я┌я─п╦ я█я┌п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟, я│п╬п╢п╣я─п╤п╟я┴п╦п╧ п╬п©п╦я│п╟п╫п╦п╣ п╨п╬п╫я├п╣п©я├п╦п╦. п÷п╬я│п╩п╣ п╫п╣я│п╨п╬п╩я▄п╨п╦я┘ п©я─п╟п╡п╬п╨, п╡ п╨п╬я┌п╬я─я▀я┘ п╢п╬п╠п╟п╡п╩я▐п╩я│я▐ п╦ п╦п╥п╪п╣п╫я▐п╩я│я▐ я─п╣п╟п╩я▄п╫я▀п╧ п©я─п╬пЁя─п╟п╪п╪п╫я▀п╧ п╨п╬п╢, п╡ п©я─п╟п╡п╨п╣ 20 п╪я▀ п©п╣я─п╣п╦п╪п╣п╫п╬п╡п╟п╩п╦ я█я┌п╬я┌ п╨п╟я┌п╟п╩п╬пЁ п╡ frabnaggilywort. п▓ п©я─п╟п╡п╨п╣ 27 я┐ п╫п╟я│ п©п╬я▐п╡п╦п╩п╟я│я▄ п╫п╬п╡п╟я▐ п╦п╢п╣я▐, п╢п╩я▐ п╨п╬я┌п╬я─п╬п╧ п╪я▀ я│п╬п╥п╢п╟п╩п╦ п╫п╬п╡я▀п╧ п╨п╟я┌п╟п╩п╬пЁ concept п╦ п╫п╬п╡я▀п╧ я└п╟п╧п╩ IDEA я│ п╬п©п╦я│п╟п╫п╦п╣ п╫п╟я┬п╦я┘ п╪я▀я│п╩п╣п╧. п║п©я┐я│я┌я▐ п©я▐я┌я▄ п╩п╣я┌ п╦ п╢п╡п╟п╢я├п╟я┌я▄ я┌я▀я│я▐я┤ п©я─п╟п╡п╬п╨ п╬п╫п╦ п╠я┐п╢я┐я┌ я┐п╤п╣ я┤п╟я│я┌я▄я▌ п╬п╢п╫п╬п╧ п╢я─п╣п╡п╫п╣п╧ п╦я│я┌п╬я─п╦п╦.

п╒п╣п©п╣я─я▄, я│п©я┐я│я┌я▐ пЁп╬п╢я▀, п╪я▀ п╦п╫я┌п╣я─п╣я│я┐п╣п╪я│я▐, п╨п╟п╨ п╤п╣ п╡я▀пЁп╩я▐п╢п╣п╩ я└п╟п╧п╩ IDEA п╡ п©я─п╟п╡п╨п╣ 1. п²п╬ Subversion п╫я┐п╤п╫п╬ п╥п╫п╟я┌я▄, я│п©я─п╟я┬п╦п╡п╟п╣п╪ п╩п╦ п╪я▀ п╬ я┌п╬п╪, п╨п╟п╨ п╡я▀пЁп╩я▐п╢п╣п╩ п╡ п©я─п╟п╡п╨п╣ 1 я┌п╣п╨я┐я┴п╦п╧ я└п╟п╧п╩, п╦п╩п╦ п╦п╫я┌п╣я─п╣я│я┐п╣п╪я│я▐ я│п╬п╢п╣я─п╤п╟п╫п╦п╣п╪ я┌п╬пЁп╬ я└п╟п╧п╩п╟, п╨п╬я┌п╬я─я▀п╧ п╨п╬пЁп╢п╟-я┌п╬, п╡ п©я─п╟п╡п╨п╣ 1 п╦п╪п╣п╩ п©я┐я┌я▄ concepts/IDEA? п╜я┌п╦ п╡п╬п©я─п╬я│я▀, п╨п╬п╫п╣я┤п╫п╬ п╤п╣, п╠я┐п╢я┐я┌ п╦п╪п╣я┌я▄ я─п╟п╥п╫я▀п╣ п╬я┌п╡п╣я┌я▀, п╦ п╠п╩п╟пЁп╬п╢п╟я─я▐ я│я┌п╣я─п╤п╫п╣п╡я▀п╪ п©я─п╟п╡п╨п╟п╪ п╪я▀ п╪п╬п╤п╣п╪ п╥п╟п╢п╟я┌я▄ п╬п╠п╟ п╦п╥ п╫п╦я┘. п╖я┌п╬п╠я▀ п╫п╟п╧я┌п╦, п╨п╟п╨ п╡я▀пЁп╩я▐п╢п╣п╩ п╡ я┌п╬п╧ я│я┌п╟я─п╬п╧ п©я─п╟п╡п╨п╣ я┌п╣п╨я┐я┴п╦п╧ я└п╟п╧п╩ IDEA, п╪я▀ п╡я▀п©п╬п╩п╫п╦п╪ я┌п╟п╨я┐я▌ п╨п╬п╪п╟п╫п╢я┐:

$ svn cat -r 1 concept/IDEA 
svn: Unable to find repository location for 'concept/IDEA' in revision 1

п п╬п╫п╣я┤п╫п╬ п╤п╣, п╡ п╢п╟п╫п╫п╬п╪ п©я─п╦п╪п╣я─п╣, я┌п╣п╨я┐я┴п╣пЁп╬ я└п╟п╧п╩п╟ IDEA п╡ п©я─п╟п╡п╨п╣ 1 п╣я┴п╣ п╫п╣ п╠я▀п╩п╬ п╦ п╡ п©п╬п╪п╦п╫п╣, п©п╬я█я┌п╬п╪я┐ Subversion п╡я▀п╢п╟я│я┌ п╬я┬п╦п╠п╨я┐. п▓я▀я┬п╣п©я─п╦п╡п╣п╢п╣п╫п╫п╟я▐ п╨п╬п╪п╟п╫п╢п╟ Б─■ я█я┌п╬ я│п╬п╨я─п╟я┴п╣п╫п╦п╣ п╠п╬п╩п╣п╣ п╢п╩п╦п╫п╫п╬п╧ п╥п╟п©п╦я│п╦, п╡п╨п╩я▌я┤п╟я▌я┴п╣п╧ я▐п╡п╫я┐я▌ я│я│я▀п╩п╨я┐ п╫п╟ я│я┌п╣я─п╤п╫п╣п╡я┐я▌ п©я─п╟п╡п╨я┐. п═п╟я│я┬п╦я─п╣п╫п╫п╟я▐ п╥п╟п©п╦я│я▄ п╠я┐п╢п╣я┌ п╡я▀пЁп╩я▐п╢п╣я┌я▄ я┌п╟п╨:

$ svn cat -r 1 concept/IDEA@BASE
svn: Unable to find repository location for 'concept/IDEA' in revision 1

п∙п╣ п╡я▀п©п╬п╩п╫п╣п╫п╦п╣ п©я─п╦п╡п╣п╢п╣я┌ п╨ я┌п╬п╪я┐ п╤п╣ п╬п╤п╦п╢п╟п╣п╪п╬п╪я┐ я─п╣п╥я┐п╩я▄я┌п╟я┌я┐. п║я┌п╣я─п╤п╫п╣п╡п╬п╧ п©я─п╟п╡п╨п╬п╧ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ я│я┤п╦я┌п╟п╣я┌я│я▐ BASE (п©я─п╟п╡п╨п╟, п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫п╫п╟я▐ п╡ я┌п╣п╨я┐я┴п╦п╧ п╪п╬п╪п╣п╫я┌ п╡ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦) п©я─п╦ я┐п╨п╟п╥п╟п╫п╦п╦ п©я┐я┌п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╦ HEAD п©я─п╦ я┐п╨п╟п╥п╟п╫п╦п╦ URL-п╟п╢я─п╣я│п╬п╡.

п÷я─п╬п╫п╦я├п╟я┌п╣п╩я▄п╫я▀п╧ я┤п╦я┌п╟я┌п╣п╩я▄, п╡п╣я─п╬я▐я┌п╫п╬, п©п╬п╦п╫я┌п╣я─п╣я│я┐п╣я┌я│я▐, п╨п╟п╨ п╤п╣ п╠я▀я┌я▄ я│ at-я│п╦п╫я┌п╟п╨я│п╦я│п╬п╪ п╡ я│п╩я┐я┤п╟п╣, п╣я│п╩п╦ п©я┐я┌п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╦п╩п╦ URL я│п╟п╪п╦ п©п╬ я│п╣п╠п╣ я│п╬п╢п╣я─п╤п╟я┌ я│п╦п╪п╡п╬п╩ at. п·я┌п╨я┐п╢п╟ svn я┐п╥п╫п╟п╣я┌, я▐п╡п╩я▐п╣я┌я│я▐ п╩п╦ news@11 п╦п╪п╣п╫п╣п╪ п╨п╟я┌п╟п╩п╬пЁп╟ п╡ п╪п╬п╣п╧ я└п╟п╧п╩п╬п╡п╬п╧ я│я┌я─я┐п╨я┌я┐я─п╣, п╦п╩п╦ п╤п╣ я│п╦п╫я┌п╟п╨я│п╦я│п╬п╪ п╢п╩я▐ б╚п©я─п╟п╡п╨п╦ 11 п╨п╟я┌п╟п╩п╬пЁп╟ newsб╩? п  я│я┤п╟я│я┌я▄я▌, я┘п╬я┌я▐ svn п©я─п╣п╢п©п╬п╩п╟пЁп╟п╣я┌ п©п╬я│п╩п╣п╢п╫п╣п╣, я│я┐я┴п╣я│я┌п╡я┐п╣я┌ я┌я─п╦п╡п╦п╟п╩я▄п╫я▀п╧ п╬п╠я┘п╬п╢п╫п╬п╧ п©я─п╦п╣п╪. п²я┐п╤п╫п╬ п╡я│п╣пЁп╬ п╩п╦я┬я▄ п╢п╬п╠п╟п╡п╦я┌я▄ я│п╦п╪п╡п╬п╩ at п╡ п╨п╬п╫п╣я├ п©я┐я┌п╦, п╥п╟п©п╦я│п╟п╡ п╣пЁп╬ п╨п╟п╨ news@11@. svn п╬п╠я─п╟я┴п╟п╣я┌ п╡п╫п╦п╪п╟п╫п╦п╣ я┌п╬п╩я▄п╨п╬ п╫п╟ п©п╬я│п╩п╣п╢п╫п╦п╧ я│п╦п╪п╡п╬п╩ at п╡ п╟я─пЁя┐п╪п╣п╫я┌п╣ п╦ п╫п╣ я│я┤п╦я┌aп╣я┌ п╬я┬п╦п╠п╨п╬п╧, п╣я│п╩п╦ п╡я▀ п╬п©я┐я│я┌п╦я┌п╣ я┐п╨п╟п╥п╟п╫п╦п╣ я│я┌п╣я─п╤п╫п╣п╡п╬п╧ п©я─п╟п╡п╨п╦ п©п╬я│п╩п╣ я│п╦п╪п╡п╬п╩п╟ at. п╜я┌п╬я┌ п╬п╠я┘п╬п╢п╫п╬п╧ п©я─п╦п╣п╪ п©я─п╦п╪п╣п╫п╦п╪ п╢п╟п╤п╣ п╨ п©я┐я┌я▐п╪, п╨п╬я┌п╬я─я▀п╣ п╬п╨п╟п╫я┤п╦п╡п╟я▌я┌я│я▐ я│п╦п╪п╡п╬п╩п╬п╪ at Б─■ я┐п╨п╟п╤п╦я┌п╣ filename@@, я┤я┌п╬п╠я▀ я│п╬я│п╩п╟я┌я▄я│я▐ п╫п╟ я└п╟п╧п╩ я│ п╦п╪п╣п╫п╣п╪ filename@.

п■п╟п╡п╟п╧я┌п╣ п╥п╟п╢п╟п╢п╦п╪я│я▐ я┌п╣п©п╣я─я▄ п╡я┌п╬я─я▀п╪ п╡п╬п©я─п╬я│п╬п╪ Б─■ п╨п╟п╨п╬пЁп╬ п╠я▀п╩п╬ п╡ п©я─п╟п╡п╨п╣ 1 я│п╬п╢п╣я─п╤п╟п╫п╦п╣ я└п╟п╧п╩п╟, я─п╟я│п©п╬п╩п╟пЁп╟п╡я┬п╣пЁп╬я│я▐ п©п╬ п╟п╢я─п╣я│я┐ concepts/IDEA? п÷п╬п╩я┐я┤п╦я┌я▄ п╬я┌п╡п╣я┌ п╫п╟п╪ п©п╬п╪п╬п╤п╣я┌ я▐п╡п╫п╬п╣ я┐п╨п╟п╥п╟п╫п╦п╣ я│я┌п╣я─п╤п╫п╣п╡п╬п╧ п©я─п╟п╡п╨п╦.

$ svn cat concept/IDEA@1
The idea behind this project is to come up with a piece of software
that can frab a naggily wort.  Frabbing naggily worts is tricky
business, and doing it incorrectly can have serious ramifications, so
we need to employ over-the-top input validation and data verification
mechanisms.

п≈п╟п╪п╣я┌я▄я┌п╣, я┤я┌п╬ п╫п╟ я█я┌п╬я┌ я─п╟п╥ п╪я▀ п╫п╣ я┐п╨п╟п╥п╟п╩п╦ п╬п©п╣я─п╟я┌п╦п╡п╫я┐я▌ п©я─п╟п╡п╨я┐. п╜я┌п╬ п╡п╬п╥п╪п╬п╤п╫п╬, п©п╬я│п╨п╬п╩я▄п╨я┐ п©я─п╦ п╬я┌я│я┐я┌я│я┌п╡п╦п╦ я┐п╨п╟п╥п╟п╫п╦я▐ п╫п╟ п╬п©п╣я─п╟я┌п╦п╡п╫я┐я▌ п©я─п╟п╡п╨я┐ Subversion п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п©я─п╣п╢п©п╬п╩п╟пЁп╟п╣я┌, я┤я┌п╬ п╬п╫п╟ я┌п╟п╨п╟я▐ п╤п╣, п╨п╟п╨ п╦ я│я┌п╣я─п╤п╫п╣п╡п╟я▐ п©я─п╟п╡п╨п╟.

п║я┐п╢я▐ п©п╬ п╡я▀п╡п╣п╢п╣п╫п╫п╬п╪я┐ я┌п╣п╨я│я┌я┐ я└п╟п╧п╩п╟, я█я┌п╬ п╦п╪п╣п╫п╫п╬ я┌п╬, я┤я┌п╬ п╪я▀ п╬п╤п╦п╢п╟п╩п╦ п©п╬п╩я┐я┤п╦я┌я▄. п▓ я┌п╣п╨я│я┌п╣ п╢п╟п╤п╣ я┐п©п╬п╪п╦п╫п╟п╣я┌я│я▐ frabbing naggily worts, я┌п╟п╨ я┤я┌п╬ п©п╬я┤я┌п╦ п╫п╟п╡п╣я─п╫я▐п╨п╟ я█я┌п╬я┌ я└п╟п╧п╩ п╬п©п╦я│я▀п╡п╟п╣я┌ п©я─п╬пЁя─п╟п╪п╪я┐, п╫п╟п╥я▀п╡п╟я▌я┴я┐я▌я│я▐ я┌п╣п©п╣я─я▄ Frabnaggilywort. п°я▀ п╪п╬п╤п╣п╪ п╡ я█я┌п╬п╪ я┐п╢п╬я│я┌п╬п╡п╣я─п╦я┌я▄я│я▐, я▐п╡п╫п╬ я┐п╨п╟п╥п╟п╡ п╦ я│я┌п╣я─п╤п╫п╣п╡я┐я▌, п╦ п╬п©п╣я─п╟я┌п╦п╡п╫я┐я▌ п©я─п╟п╡п╨п╦. п²п╟п╪ п╦п╥п╡п╣я│я┌п╫п╬, я┤я┌п╬ п╡ п©я─п╟п╡п╨п╣ HEAD п©я─п╬п╣п╨я┌ Frabnaggilywort я─п╟я│п©п╬п╩п╟пЁп╟п╣я┌я│я▐ п╡ п╨п╟я┌п╟п╩п╬пЁп╣ frabnaggilywort. п÷п╬я█я┌п╬п╪я┐ п╪я▀ я┐п╨п╟п╤п╣п╪, я┤я┌п╬ я┘п╬я┌п╦п╪ я┐п╡п╦п╢п╣я┌я▄, п╨п╟п╨ п╡я▀пЁп╩я▐п╢п╣п╩п╟ п╡ п©я─п╟п╡п╨п╣ 1 я┌п╟ п╩п╦п╫п╦я▐ п╦я│я┌п╬я─п╦п╦, п╨п╬я┌п╬я─п╟я▐ п╦п╢п╣п╫я┌п╦я└п╦я├п╦я─я┐п╣я┌я│я▐ п╡ HEAD п╨п╟п╨ п©я┐я┌я▄ frabnaggilywort/IDEA.

$ svn cat -r 1 frabnaggilywort/IDEA@HEAD
The idea behind this project is to come up with a piece of software
that can frab a naggily wort.  Frabbing naggily worts is tricky
business, and doing it incorrectly can have serious ramifications, so
we need to employ over-the-top input validation and data verification
mechanisms.

п≤ я│я┌п╣я─п╤п╫п╣п╡п╟я▐, п╦ п╬п©п╣я─п╟я┌п╦п╡п╫п╟я▐ п©я─п╟п╡п╨п╦ п╫п╣ п╬п╠я▐п╥п╟я┌п╣п╩я▄п╫п╬ п╢п╬п╩п╤п╫я▀ п╠я▀я┌я▄ я│я┌п╬п╩я▄ я┌я─п╦п╡п╦п╟п╩я▄п╫я▀п╪п╦. п÷я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┤я┌п╬ frabnaggilywort я┐п╢п╟п╩п╣п╫ п╦п╥ HEAD, п╫п╬ п©я─п╦ я█я┌п╬п╪ п╫п╟п╪ п╦п╥п╡п╣я│я┌п╫п╬, я┤я┌п╬ п╬п╫ я│я┐я┴п╣я│я┌п╡п╬п╡п╟п╩ п╡ п©я─п╟п╡п╨п╣ 20, п╦ п╪я▀ я┘п╬я┌п╦п╪ я┐п╡п╦п╢п╣я┌я▄ я─п╟п╥п╩п╦я┤п╦я▐ п╢п╩я▐ я└п╟п╧п╩п╟ IDEA п╪п╣п╤п╢я┐ п©я─п╟п╡п╨п╟п╪п╦ 4 п╦ 10. п°я▀ п╪п╬п╤п╣п╪ я┐п╨п╟п╥п╟я┌я▄ я│я┌п╣я─п╤п╫п╣п╡я┐я▌ п©я─п╟п╡п╨я┐ 20 п╡п╪п╣я│я┌п╣ я│ URL, п©п╬ п╨п╬я┌п╬я─п╬п╪я┐ я─п╟я│п©п╬п╩п╟пЁп╟п╩я│я▐ я└п╟п╧п╩ IDEA п©я─п╬п╣п╨я┌п╟ Frabnaggilywort п╡ п©я─п╟п╡п╨п╣ 20, п╟ п╥п╟я┌п╣п╪ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ 4 п╦ 10 п╨п╟п╨ я┐п╨п╟п╥п╟я┌п╣п╩п╦ п╢п╦п╟п©п╟п╥п╬п╫п╟ п╬п©п╣я─п╟я┌п╦п╡п╫я▀я┘ п©я─п╟п╡п╬п╨.

$ svn diff -r 4:10 http://svn.red-bean.com/projects/frabnaggilywort/IDEA@20
Index: frabnaggilywort/IDEA
===================================================================
--- frabnaggilywort/IDEA	(revision 4)
+++ frabnaggilywort/IDEA	(revision 10)
@@ -1,5 +1,5 @@
-The idea behind this project is to come up with a piece of software
-that can frab a naggily wort.  Frabbing naggily worts is tricky
-business, and doing it incorrectly can have serious ramifications, so
-we need to employ over-the-top input validation and data verification
-mechanisms.
+The idea behind this project is to come up with a piece of
+client-server software that can remotely frab a naggily wort.
+Frabbing naggily worts is tricky business, and doing it incorrectly
+can have serious ramifications, so we need to employ over-the-top
+input validation and data verification mechanisms.

п  я│я┤п╟я│я┌я▄я▌, п╠п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ п╩я▌п╢п╣п╧ п╫п╣ я│я┌п╟п╩п╨п╦п╡п╟п╣я┌я│я▐ я│п╬ я│я┌п╬п╩я▄ я│п╩п╬п╤п╫я▀п╪п╦ я│п╦я┌я┐п╟я├п╦я▐п╪п╦. п²п╬ п╣я│п╩п╦ я┌п╟п╨п╬п╣ п╡я│п╣-я┌п╟п╨п╦ я│п╩я┐я┤п╦я┌я│я▐, п©п╬п╪п╫п╦я┌п╣, я┤я┌п╬ я│я┌п╣я─п╤п╫п╣п╡я▀п╣ п©я─п╟п╡п╨п╦ Б─■ я█я┌п╬ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫п╟я▐ п©п╬п╢я│п╨п╟п╥п╨п╟, п╨п╬я┌п╬я─п╟я▐ п╫я┐п╤п╫п╟ Subversion п╢п╩я▐ я┐я│я┌я─п╟п╫п╣п╫п╦я▐ п╫п╣п╬п╢п╫п╬п╥п╫п╟я┤п╫п╬я│я┌п╦.




[13] п∙я│п╩п╦ п╡я▀ п╥п╫п╟п╨п╬п╪я▀ я│ XML, я┌п╬ я│п╦п╫я┌п╟п╨я│п╦я│ XML "Name" п╢п╬п©я┐я│п╨п╟п╣я┌ п©я─п╟п╨я┌п╦я┤п╣я│п╨п╦ я┌п╬ п╤п╣ п©п╬п╢п╪п╫п╬п╤п╣я│я┌п╡п╬ я│п╦п╪п╡п╬п╩п╬п╡ ASCII.

[14] п≤я│п©я─п╟п╡п╩п╣п╫п╦п╣ п╡ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦я▐я┘ п╬я─я└п╬пЁя─п╟я└п╦я┤п╣я│п╨п╦я┘, пЁя─п╟п╪п╪п╟я┌п╦я┤п╣я│п╨п╦я┘ п╬я┬п╦п╠п╬п╨, б╚п©я─п╬я│я┌п╬ п╬я┬п╦п╠п╬я┤п╫я▀я┘б╩ п╥п╟п©п╦я│п╣п╧ Б─■ п╫п╟п╡п╣я─п╫п╬п╣, я│п╟п╪я▀п╧ я─п╟я│п©я─п╬я│я┌я─п╟п╫п╣п╫п╫я▀п╧ я│п╩я┐я┤п╟п╧ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п©п╟я─п╟п╪п╣я┌я─п╟ --revprop.

[15] п▓я▀ п╢я┐п╪п╟п╣я┌п╣, я█я┌п╬ п╡я│я▒? п▓ я┌п╬я┌ п╤п╣ я│п╟п╪я▀п╧ п©п╣я─п╦п╬п╢ п╡я─п╣п╪п╣п╫п╦ WordPerfect я┌п╟п╨п╤п╣ п©я─п╣п╢п©п╬я┤п╦я┌п╟п╩ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я─п╟я│я┬п╦я─п╣п╫п╦п╣ .DOC п╢п╩я▐ я│п╡п╬п╣пЁп╬ я│п╬п╠я│я┌п╡п╣п╫п╫п╬пЁп╬ п╥п╟п╨я─я▀я┌п╬пЁп╬ я└п╬я─п╪п╟я┌п╟ я└п╟п╧п╩п╬п╡!

[16] п■п╩я▐ я┐п╨п╟п╥п╟п╫п╦я▐ п╦я│п©п╬п╩п╫я▐п╣п╪я▀я┘ я└п╟п╧п╩п╬п╡ я└п╟п╧п╩п╬п╡п╟я▐ я│п╦я│я┌п╣п╪п╟ Windows п╦я│п©п╬п╩я▄п╥я┐п╣я┌ я─п╟я│я┬п╦я─п╣п╫п╦я▐ я└п╟п╧п╩п╬п╡ (п╟ п╦п╪п╣п╫п╫п╬ .EXE, .BAT п╦ .COM).

[17] п╜я┌п╬ п╡я│п╣, я┤я┌п╬ я│п╬п╥п╢п╟п╣я┌ я│п╦я│я┌п╣п╪п╟ я│п╠п╬я─п╨п╦?

[18] Б─╕ п╦п╩п╦ п╢п╟п╤п╣, п╡п╬п╥п╪п╬п╤п╫п╬, п©п╟я─п╟пЁя─п╟я└ п╡ п╨п╫п╦пЁп╣ Б─╕

[19] Communication wouldn't have been such bad medicine for Harry and Sally's Hollywood namesakes, either, for that matter.

[20] Subversion does not currently allow locks on directories.

[21] Except, perhaps, a classic Vulcan mind-meld.

[22] б╚You're not supposed to name it. Once you name it, you start getting attached to it.б╩ Б─■ Mike Wazowski

[23] 606 N. Main Street, Wheaton, Illinois, is the home of the Wheaton History Center. Get itБ─■б╚History Centerб╩? It seemed appropriateБ─╕.

п⌠п╩п╟п╡п╟ 4. п▓п╣я┌п╡п╩п╣п╫п╦п╣ п╦ я│п╩п╦я▐п╫п╦п╣

п║п╬п╢п╣я─п╤п╟п╫п╦п╣

п╖я┌п╬ я┌п╟п╨п╬п╣ п╡п╣я┌п╨п╟?
п≤я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ п╡п╣я┌п╬п╨
п║п╬п╥п╢п╟п╫п╦п╣ п╡п╣я┌п╨п╦
п═п╟п╠п╬я┌п╟ я│ п╡п╣я┌п╨п╬п╧
п п╩я▌я┤п╣п╡я▀п╣ п╦п╢п╣п╦, я│я┌п╬я▐я┴п╦п╣ п╥п╟ п╡п╣я┌п╨п╟п╪п╦
п п╬п©п╦я─п╬п╡п╟п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╪п╣п╤п╢я┐ п╡п╣я┌п╨п╟п╪п╦
п п╬п©п╦я─п╬п╡п╟п╫п╦п╣ п╬я┌п╢п╣п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧
п п╩я▌я┤п╣п╡я▀п╣ п╦п╢п╣п╦, я│я┌п╬я▐я┴п╦п╣ п╥п╟ я│п╩п╦я▐п╫п╦п╣п╪
п п╟п╨ п©я─п╟п╡п╦п╩я▄п╫п╣п╣ п╡я│п╣пЁп╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я│п╩п╦я▐п╫п╦п╣
п═я┐я┤п╫п╬п╧ п╨п╬п╫я┌я─п╬п╩я▄ я│п╩п╦я▐п╫п╦я▐
п÷я─п╣п╢п╡п╟я─п╦я┌п╣п╩я▄п╫я▀п╧ п©я─п╬я│п╪п╬я┌я─ я─п╣п╥я┐п╩я▄я┌п╟я┌п╬п╡ я│п╩п╦я▐п╫п╦я▐
п п╬п╫я└п╩п╦п╨я┌я▀ п©я─п╦ я│п╩п╦я▐п╫п╦п╦
пёя┤п╦я┌я▀п╡п╟я┌я▄ п╦п╩п╦ п╦пЁп╫п╬я─п╦я─п╬п╡п╟я┌я▄ п©я─п╬п╦я│я┘п╬п╤п╢п╣п╫п╦п╣
п╒п╦п©п╬п╡я▀п╣ п©я─п╦п╪п╣я─я▀
п÷п╬п╩п╫п╬п╣ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╣ п╢п╡я┐я┘ п╡п╣я┌п╬п╨
п·я┌п╪п╣п╫п╟ п╦п╥п╪п╣п╫п╣п╫п╦п╧
п▓п╬я│я│я┌п╟п╫п╬п╡п╩п╣п╫п╦п╣ я┐п╢п╟п╩п╣п╫п╫я▀я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡
п╒п╦п©п╬п╡я▀п╣ п©я─п╦п╣п╪я▀ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╡п╣я┌п╬п╨
п▓п╣я┌п╨п╦ я─п╣п╩п╦п╥п╬п╡
п╓я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫я▀п╣ п╡п╣я┌п╨п╦
п÷п╣я─п╣п╨п╩я▌я┤п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦
п°п╣я┌п╨п╦
п║п╬п╥п╢п╟п╫п╦п╣ п©я─п╬я│я┌п╬п╧ п╪п╣я┌п╨п╦
п║п╬п╥п╢п╟п╫п╦п╣ п╨п╬п╪п©п╩п╣п╨я│п╫п╬п╧ п╪п╣я┌п╨п╦
п÷п╬п╢п╢п╣я─п╤п╨п╟ п╡п╣я┌п╬п╨
п║я┌я─я┐п╨я┌я┐я─п╟ я┘я─п╟п╫п╦п╩п╦я┴п╟
п÷я─п╬п╢п╬п╩п╤п╦я┌п╣п╩я▄п╫п╬я│я┌я▄ п╤п╦п╥п╫п╦ п╦п╫я└п╬я─п╪п╟я├п╦п╦
Vendor branches
General Vendor Branch Management Procedure
svn_load_dirs.pl
п÷п╬п╢п╡п╬п╢я▐ п╦я┌п╬пЁп╦

п▓п╣я┌п╡п╩п╣п╫п╦п╣, п╫п╟п╥п╫п╟я┤п╣п╫п╦п╣ п╪п╣я┌п╬п╨ п╦ я│п╩п╦я▐п╫п╦п╣ Б─■ я█я┌п╬ п©п╬п╫я▐я┌п╦я▐, я│п╡п╬п╧я│я┌п╡п╣п╫п╫я▀п╣ п©я─п╟п╨я┌п╦я┤п╣я│п╨п╦ п╡я│п╣п╪ я│п╦я│я┌п╣п╪п╟п╪ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦. п∙я│п╩п╦ п╡я▀ п©п╩п╬я┘п╬ п╥п╫п╟п╨п╬п╪я▀ я│ я█я┌п╦п╪п╦ п©п╬п╫я▐я┌п╦я▐п╪п╦, я┌п╬ п╡ я█я┌п╬п╧ пЁп╩п╟п╡п╣ п╡я▀ я│ п╫п╦п╪п╦ п╬п╠я│я┌п╬я▐я┌п╣п╩я▄п╫п╬ п©п╬п╥п╫п╟п╨п╬п╪п╦я┌п╣я│я▄. п∙я│п╩п╦ я█я┌п╦ п©п╬п╫я▐я┌п╦я▐ п╡п╟п╪ я┐п╤п╣ п╥п╫п╟п╨п╬п╪я▀, я┌п╬ п╪я▀ п╫п╟п╢п╣п╣п╪я│я▐, я┤я┌п╬ п╡п╟п╪ п╠я┐п╢п╣я┌ п╦п╫я┌п╣я─п╣я│п╫п╬ я┐п╥п╫п╟я┌я▄, п╨п╟п╨ я█я┌п╦ п╦п╢п╣п╦ я─п╣п╟п╩п╦п╥п╬п╡п╟п╫я▀ п╡ Subversion.

п▓п╣я┌п╡п╩п╣п╫п╦п╣ Б─■ я└я┐п╫п╢п╟п╪п╣п╫я┌п╟п╩я▄п╫п╬п╣ п©п╬п╫я▐я┌п╦п╣ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦. п∙я│п╩п╦ п╡я▀ я│п╬п╠п╦я─п╟п╣я┌п╣я│я▄ п╢п╬п╡п╣я─п╦я┌я▄ Subversion я┐п©я─п╟п╡п╩п╣п╫п╦п╣ я│п╡п╬п╣п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╣п╧, я┌п╬ я█я┌п╬ п╦п╪п╣п╫п╫п╬ я┌п╟ я└я┐п╫п╨я├п╦я▐, п╬я┌ п╨п╬я┌п╬я─п╬п╧ п╡я▀ п╡п©п╬я│п╩п╣п╢я│я┌п╡п╦п╦ п╠я┐п╢п╣я┌п╣ я│п╦п╩я▄п╫п╬ п╥п╟п╡п╦я│п╣я┌я▄. п°п╟я┌п╣я─п╦п╟п╩ п╢п╟п╫п╫п╬п╧ пЁп╩п╟п╡я▀ п©я─п╣п╢п©п╬п╩п╟пЁп╟п╣я┌, я┤я┌п╬ п╡я▀ я┐п╤п╣ п╥п╫п╟п╨п╬п╪я▀ я│ п╬я│п╫п╬п╡п╫я▀п╪п╦ п©п╬п╫я▐я┌п╦я▐п╪п╦ Subversion (п⌠п╩п╟п╡п╟б═1, п╓я┐п╫п╢п╟п╪п╣п╫я┌п╟п╩я▄п╫я▀п╣ п©п╬п╫я▐я┌п╦я▐).

п╖я┌п╬ я┌п╟п╨п╬п╣ п╡п╣я┌п╨п╟?

п÷я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┤я┌п╬ п╡п╟я┬п╟ я─п╟п╠п╬я┌п╟ п╥п╟п╨п╩я▌я┤п╟п╣я┌я│я▐ п╡ я│п╬п©я─п╬п╡п╬п╤п╢п╣п╫п╦п╦ п╢п╬п╨я┐п╪п╣п╫я┌п╟ (п╫п╟п©я─п╦п╪п╣я─, п╨п╟п╨п╬пЁп╬-я┌п╬ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╟) п╢п╩я▐ п©п╬п╢я─п╟п╥п╢п╣п╩п╣п╫п╦п╧ п╡п╟я┬п╣п╧ п╨п╬п╪п©п╟п╫п╦п╦. п·п╢п╫п╟п╤п╢я▀ я─п╟п╥п╩п╦я┤п╫я▀п╣ п©п╬п╢я─п╟п╥п╢п╣п╩п╣п╫п╦я▐ п╥п╟п©я─п╬я│я▐я┌ я┐ п╡п╟я│ п╬п╢п╫п╬ п╦ я┌п╬ п╤п╣ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬, п╫п╬ п©я─п╦ я█я┌п╬п╪ п╡ п╫п╣я│п╨п╬п╩я▄п╨п╬ б╚п╟п╢п╟п©я┌п╦я─п╬п╡п╟п╫п╫п╬п╪б╩ п╢п╩я▐ п╫п╦я┘ п╡п╟я─п╦п╟п╫я┌п╣, п©п╬я│п╨п╬п╩я▄п╨я┐ я─п╟п╠п╬я┌п╟ п╨п╟п╤п╢п╬пЁп╬ п©п╬п╢я─п╟п╥п╢п╣п╩п╣п╫п╦я▐ п╦п╪п╣п╣я┌ я│п╡п╬я▌ я│п©п╣я├п╦я└п╦п╨я┐.

п п╟п╨ п╠я▀я┌я▄ п╡ я┌п╟п╨п╬п╧ я│п╦я┌я┐п╟я├п╦п╦? п║п╨п╬я─п╣п╣ п╡я│п╣пЁп╬, п╡я▀ я│п╬п╥п╢п╟п╢п╦я┌п╣ п╡я┌п╬я─я┐я▌ п╨п╬п©п╦я▌ п╢п╬п╨я┐п╪п╣п╫я┌п╟ п╦ п╫п╟я┤п╫я▒я┌п╣ п╬я┌п╢п╣п╩я▄п╫п╬ я│п╬п©я─п╬п╡п╬п╤п╢п╟я┌я▄ п╬п╠п╣ п╨п╬п©п╦п╦. п п╬пЁп╢п╟ п╨п╟п╨п╬п╣-я┌п╬ п╦п╥ п©п╬п╢я─п╟п╥п╢п╣п╩п╣п╫п╦п╧ п©п╬п©я─п╬я│п╦я┌ п╡п╟я│ п╡п╫п╣я│я┌п╦ п╫п╣п╠п╬п╩я▄я┬п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╡я▀ п╡п╨п╩я▌я┤п╦я┌п╣ п╦я┘ п╩п╦п╠п╬ п╡ п©п╣я─п╡я┐я▌ п╨п╬п©п╦я▌, п╩п╦п╠п╬ п╡п╬ п╡я┌п╬я─я┐я▌.

п╖п╟я┴п╣ п╡я│п╣пЁп╬ п╡п╟п╪ п©я─п╦п╢п╣я┌я│я▐ п╡п╫п╬я│п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ п╬п╠п╣ п╨п╬п©п╦п╦. п²п╟п©я─п╦п╪п╣я─, п╣я│п╩п╦ п╡я▀ п╬п╠п╫п╟я─я┐п╤п╦я┌п╣ п╬п©п╣я┤п╟я┌п╨я┐ п╡ п╬п╢п╫п╬п╧ п╨п╬п©п╦п╦, я│п╨п╬я─п╣п╣ п╡я│п╣пЁп╬, я█я┌п╟ п╤п╣ п╬п©п╣я┤п╟я┌п╨п╟ п╠я┐п╢п╣я┌ п©я─п╦я│я┐я┌я│я┌п╡п╬п╡п╟я┌я▄ п╦ п╡ п╢я─я┐пЁп╬п╧. п■п╡п╟ п╢п╬п╨я┐п╪п╣п╫я┌п╟, п╡ п╬п╠я┴п╣п╪-я┌п╬, п©п╬я┤я┌п╦ п╬п╢п╦п╫п╟п╨п╬п╡я▀ Б─■ п╦я┘ я─п╟п╥п╩п╦я┤п╦я▐ я│п╡п╬п╢я▐я┌я│я▐ п╨ п╬я┌п╢п╣п╩я▄п╫я▀п╪ я│п©п╣я├п╦я└п╦я┤п╫я▀п╪ п╪п╬п╪п╣п╫я┌п╟п╪.

п▓ я█я┌п╬п╪ п╥п╟п╨п╩я▌я┤п╟п╣я┌я│я▐ п╬я│п╫п╬п╡п╫п╟я▐ п╦п╢п╣я▐ п╡п╣я┌п╨п╦ Б─■ я┌п╬ п╣я│я┌я▄ п╫п╟п©я─п╟п╡п╩п╣п╫п╦я▐ я─п╟п╥я─п╟п╠п╬я┌п╨п╦, п╨п╬я┌п╬я─п╬п╣ я│я┐я┴п╣я│я┌п╡я┐п╣я┌ п╫п╣п╥п╟п╡п╦я│п╦п╪п╬ п╬я┌ п╢я─я┐пЁп╬пЁп╬ п╫п╟п©я─п╟п╡п╩п╣п╫п╦я▐, п╫п╬ п╦п╪п╣п╣я┌ я│ п╫п╦п╪ п╬п╠я┴я┐я▌ п╦я│я┌п╬я─п╦я▌, п╣я│п╩п╦ п╥п╟пЁп╩я▐п╫я┐я┌я▄ п╫п╣п╪п╫п╬пЁп╬ п╡ п©я─п╬я┬п╩п╬п╣. п▓п╣я┌п╨п╟ п╡я│п╣пЁп╢п╟ п╠п╣я─п╣я┌ п╫п╟я┤п╟п╩п╬ п╨п╟п╨ п╨п╬п©п╦я▐ я┤п╣пЁп╬-п╩п╦п╠п╬ п╦ п╢п╡п╦п╤п╣я┌я│я▐ п╬я┌ я█я┌п╬п╧ я┌п╬я┤п╨п╦, я│п╬п╥п╢п╟п╡п╟я▐ я│п╡п╬я▌ я│п╬п╠я│я┌п╡п╣п╫п╫я┐я▌ п╦я│я┌п╬я─п╦я▌ (я│п╪. п═п╦я│я┐п╫п╬п╨б═4.1, б╚п▓п╣я┌п╨п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦б╩).

п═п╦я│я┐п╫п╬п╨ 4.1. п▓п╣я┌п╨п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦

п▓п╣я┌п╨п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦


п▓ Subversion п╣я│я┌я▄ п╨п╬п╪п╟п╫п╢я▀, п╨п╬я┌п╬я─я▀п╣ п©п╬п╪п╬пЁп╟я▌я┌ я│п╬п©я─п╬п╡п╬п╤п╢п╟я┌я▄ п©п╟я─п╟п╩п╩п╣п╩я▄п╫я▀п╣ п╡п╣я┌п╨п╦ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡. п·п╫п╦ п©п╬п╥п╡п╬п╩я▐я▌я┌ я│п╬п╥п╢п╟п╡п╟я┌я▄ п╡п╣я┌п╨п╦, п╨п╬п©п╦я─я┐я▐ п╢п╟п╫п╫я▀п╣ п╦ п╥п╟п©п╬п╪п╦п╫п╟я▐, я┤я┌п╬ п╨п╬п©п╦п╦ я│п╡я▐п╥п╟п╫я▀ п╢я─я┐пЁ я│ п╢я─я┐пЁп╬п╪. п я─п╬п╪п╣ я┌п╬пЁп╬, я█я┌п╦ п╨п╬п╪п╟п╫п╢я▀ п©п╬п╪п╬пЁп╟я▌я┌ п╢я┐п╠п╩п╦я─п╬п╡п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦п╥ п╬п╢п╫п╬п╧ п╡п╣я┌п╨п╦ п╡ п╢я─я┐пЁя┐я▌. п²п╟п╨п╬п╫п╣я├, п╬п╫п╦ п╪п╬пЁя┐я┌ я│п╢п╣п╩п╟я┌я▄ я┌п╟п╨, я┤я┌п╬ п╬я┌п╢п╣п╩я▄п╫я▀п╣ я┤п╟я│я┌п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╠я┐п╢я┐я┌ п╬я┌я─п╟п╤п╟я┌я▄ я│п╬я│я┌п╬я▐п╫п╦п╣ я─п╟п╥п╩п╦я┤п╫я▀я┘ п╡п╣я┌п╬п╨, я┤я┌п╬ п©п╬п╥п╡п╬п╩п╦я┌ п╡п╟п╪ б╚я│п╪п╣я┬п╦п╡п╟я┌я▄ п╦ я│п╬пЁп╩п╟я│п╬п╡я▀п╡п╟я┌я▄б╩ я─п╟п╥п╩п╦я┤п╫я▀п╣ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╡ я│п╡п╬п╣п╧ п╨п╟п╤п╢п╬п╢п╫п╣п╡п╫п╬п╧ я─п╟п╠п╬я┌п╣.

п≤я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ п╡п╣я┌п╬п╨

п  я█я┌п╬п╪я┐ п╪п╬п╪п╣п╫я┌я┐ п╡я▀ п╢п╬п╩п╤п╫я▀ п©п╬п╫п╦п╪п╟я┌я▄, я┤я┌п╬ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п©я─п╦ п╨п╟п╤п╢п╬п╧ я└п╦п╨я│п╟я├п╦п╦ я│п╬п╥п╢п╟п╣я┌я│я▐ п©п╬п╩п╫п╬я│я┌я▄я▌ п╫п╬п╡п╬п╣ п╢п╣я─п╣п╡п╬ я└п╟п╧п╩п╬п╡ (п╫п╟п╥я▀п╡п╟п╣п╪п╬п╣ б╚п©я─п╟п╡п╨п╟б╩). п∙я│п╩п╦ п╫п╣я┌, я┌п╬ п╡п╣я─п╫п╦я┌п╣я│я▄ п╫п╟п╥п╟п╢ п╦ п©я─п╬я┤п╦я┌п╟п╧я┌п╣ п╬ п©я─п╟п╡п╨п╟я┘ п╡ я─п╟п╥п╢п╣п╩п╣ б╚п÷я─п╟п╡п╨п╦б╩.

п▓ я█я┌п╬п╧ пЁп╩п╟п╡п╣ п╪я▀ п╡п╬я│п©п╬п╩я▄п╥я┐п╣п╪я│я▐ я┌п╣п╪ п╤п╣ п©я─п╦п╪п╣я─п╬п╪, я┤я┌п╬ п╦ п╡ п⌠п╩п╟п╡п╟б═1, п╓я┐п╫п╢п╟п╪п╣п╫я┌п╟п╩я▄п╫я▀п╣ п©п╬п╫я▐я┌п╦я▐. п п╟п╨ п╡я▀ п©п╬п╪п╫п╦я┌п╣, п╡я▀ п╦ п╡п╟я┬ я│п╬я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨ п║п╟п╩п╩п╦ я│п╬п╡п╪п╣я│я┌п╫п╬ п╦я│п©п╬п╩я▄п╥я┐п╣я┌п╣ я┘я─п╟п╫п╦п╩п╦я┴п╣, я│п╬п╢п╣я─п╤п╟я┴п╣п╣ п╢п╡п╟ п©я─п╬п╣п╨я┌п╟, paint п╦ calc. п п╟п╨ п╬я┌п╪п╣я┤п╟п╩п╬я│я▄ п╡ п═п╦я│я┐п╫п╬п╨б═4.2, б╚п²п╟я┤п╟п╩я▄п╫п╟я▐ я│я┌я─я┐п╨я┌я┐я─п╟ я┘я─п╟п╫п╦п╩п╦я┴п╟б╩, п╨п╟п╤п╢я▀п╧ п╨п╟я┌п╟п╩п╬пЁ п©я─п╬п╣п╨я┌п╟ я│п╬п╢п╣я─п╤п╦я┌ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╦ я│ п╦п╪п╣п╫п╟п╪п╦ trunk п╦ branches. п²п╟п╥п╫п╟я┤п╣п╫п╦п╣ я█я┌п╦я┘ п╨п╟я┌п╟п╩п╬пЁп╬п╡ п╡я│п╨п╬я─п╣ я│я┌п╟п╫п╣я┌ п©п╬п╫я▐я┌п╫п╬.

п═п╦я│я┐п╫п╬п╨ 4.2. п²п╟я┤п╟п╩я▄п╫п╟я▐ я│я┌я─я┐п╨я┌я┐я─п╟ я┘я─п╟п╫п╦п╩п╦я┴п╟

п²п╟я┤п╟п╩я▄п╫п╟я▐ я│я┌я─я┐п╨я┌я┐я─п╟ я┘я─п╟п╫п╦п╩п╦я┴п╟


п п╟п╨ п╦ я─п╟п╫я▄я┬п╣, п©я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┤я┌п╬ п╦ п║п╟п╩п╩п╦, п╦ п╡я▀ п╦п╪п╣п╣я┌п╣ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦ п©я─п╬п╣п╨я┌п╟ б╚calcб╩. п╒п╬я┤п╫п╣п╣, п╨п╟п╤п╢я▀п╧ п╦п╥ п╡п╟я│ п╦п╪п╣п╣я┌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ /calc/trunk. п▓я│п╣ я└п╟п╧п╩я▀, п╬я┌п╫п╬я│я▐я┴п╦п╣я│я▐ п╨ п©я─п╬п╣п╨я┌я┐, п╫п╟я┘п╬п╢я▐я┌я│я▐ п╡ я█я┌п╬п╪ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╣, п╟ п╫п╣ п©я─я▐п╪п╬ п╡ /calc, п©п╬я┌п╬п╪я┐ я┤я┌п╬ п╡п╟я┬п╟ п╨п╬п╪п╟п╫п╢п╟ я─п╣я┬п╦п╩п╟ я─п╟п╥п╪п╣я┴п╟я┌я▄ б╚пЁп╩п╟п╡п╫я┐я▌ п╩п╦п╫п╦я▌б╩ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╡ /calc/trunk.

п■п╬п©я┐я│я┌п╦п╪, п©п╣я─п╣п╢ п╡п╟п╪п╦ п╠я▀п╩п╟ п©п╬я│я┌п╟п╡п╩п╣п╫п╟ п╥п╟п╢п╟я┤п╟ п╨п╬я─п╣п╫п╫п╬п╧ я─п╣п╬я─пЁп╟п╫п╦п╥п╟я├п╦п╦ п©я─п╬п╣п╨я┌п╟. п╜я┌п╬ п╥п╟п╧п╪п╣я┌ п╪п╫п╬пЁп╬ п╡я─п╣п╪п╣п╫п╦ п╦ п╥п╟я┌я─п╬п╫п╣я┌ п╡я│п╣ я└п╟п╧п╩я▀ п©я─п╬п╣п╨я┌п╟. п÷я─п╬п╠п╩п╣п╪п╟ п╥п╟п╨п╩я▌я┤п╟п╣я┌я│я▐ п╡ я┌п╬п╪, я┤я┌п╬ п╡я▀ п╫п╣ я┘п╬я┌п╦я┌п╣ п╪п╣я┬п╟я┌я▄ п║п╟п╩п╩п╦, п╨п╬я┌п╬я─п╟я▐ п©я─я▐п╪п╬ я│п╣п╧я┤п╟я│ п╥п╟п╫п╦п╪п╟п╣я┌я│я▐ п╦я│п©я─п╟п╡п╩п╣п╫п╦п╣п╪ п╫п╣п╠п╬п╩я▄я┬п╦я┘ п╬я┬п╦п╠п╬п╨. п∙п╣ я─п╟п╠п╬я┌п╟ п╥п╟п╡п╦я│п╦я┌ п╬я┌ п©п╬я│я┌п╬я▐п╫п╫п╬п╧ п╢п╬я│я┌я┐п©п╫п╬я│я┌п╦ п©п╬я│п╩п╣п╢п╫п╣п╧ п╡п╣я─я│п╦п╦ п©я─п╬п╣п╨я┌п╟ (п╨п╟я┌п╟п╩п╬пЁп╟ /calc/trunk). п∙я│п╩п╦ п╡я▀ п╫п╟я┤п╫п╣я┌п╣ п©п╬я┬п╟пЁп╬п╡п╬ я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ я│п╡п╬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╡я▀ п╨п╬п╫п╣я┤п╫п╬ п╤п╣ я│п╪п╣я┬п╟п╣я┌п╣ п║п╟п╩п╩п╦ п╡я│п╣ п╨п╟я─я┌я▀.

п·п╢п╫п╦п╪ п╦п╥ п╡п╟я─п╦п╟п╫я┌п╬п╡ я▐п╡п╩я▐п╣я┌я│я▐ п╡я─п╣п╪п╣п╫п╫п╟я▐ п╦п╥п╬п╩я▐я├п╦я▐: п╡я▀ п╦ п║п╟п╩п╩п╦ п©п╣я─п╣я│я┌п╟п╣я┌п╣ п╢п╣п╩п╦я┌я▄я│я▐ п╦п╫я└п╬я─п╪п╟я├п╦п╣п╧ п╫п╟ п╫п╣п╢п╣п╩я▌ п╦п╩п╦ п╢п╡п╣. п▓ я█я┌п╬ п╡я─п╣п╪я▐ п╡я▀ п╫п╟я┤п╦п╫п╟п╣я┌п╣ п©п╣я─п╣п╩п╬п©п╟я┤п╦п╡п╟я┌я▄ п╦ я─п╣п╬я─пЁп╟п╫п╦п╥п╬п╡я▀п╡п╟я┌я▄ я└п╟п╧п╩я▀ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╫п╬ п╫п╣ я└п╦п╨я│п╦я─я┐п╣я┌п╣ п╦ п╫п╣ п╬п╠п╫п╬п╡п╩я▐п╣я┌п╣ п╣п╣ п╢п╬ п╥п╟п╡п╣я─я┬п╣п╫п╦я▐ я─п╟п╠п╬я┌я▀ п╫п╟п╢ п╥п╟п╢п╟я┤п╣п╧. п·п╢п╫п╟п╨п╬, п╡ я█я┌п╬п╪ я│п╩я┐я┤п╟п╣ п©п╬я▐п╡п╩я▐п╣я┌я│я▐ п╫п╣я│п╨п╬п╩я▄п╨п╬ п©я─п╬п╠п╩п╣п╪. п▓п╬-п©п╣я─п╡я▀я┘, я█я┌п╬ п╫п╣ п╬я┤п╣п╫я▄ п╫п╟п╢п╣п╤п╫п╬. п▒п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ п╩я▌п╢п╣п╧ п©я─п╣п╢п©п╬я┤п╦я┌п╟я▌я┌ я┤п╟я│я┌п╬ я│п╬я┘я─п╟п╫я▐я┌я▄ я│п╡п╬я▌ я─п╟п╠п╬я┌я┐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╫п╟ я│п╩я┐я┤п╟п╧, п╣я│п╩п╦ я│ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╣п╧ п╡п╢я─я┐пЁ я│п╩я┐я┤п╦я┌я│я▐ я┤я┌п╬-я┌п╬ п©п╩п╬я┘п╬п╣. п▓п╬-п╡я┌п╬я─я▀я┘, я█я┌п╬ п╫п╣ п╢п╬я│я┌п╟я┌п╬я┤п╫п╬ пЁп╦п╠п╨п╬. п∙я│п╩п╦ п╡я▀ я─п╟п╠п╬я┌п╟п╣я┌п╣ п╫п╟ я─п╟п╥п╫я▀я┘ п╨п╬п╪п©я▄я▌я┌п╣я─п╟я┘ (п╨ п©я─п╦п╪п╣я─я┐, п╣я│п╩п╦ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ /calc/trunk п╣я│я┌я▄ я┐ п╡п╟я│ п╫п╟ п╢п╡я┐я┘ я─п╟п╥п╫я▀я┘ п╪п╟я┬п╦п╫п╟я┘), п╡п╟п╪ п©я─п╦п╢п╣я┌я│я▐ п╡я─я┐я┤п╫я┐я▌ п╨п╬п©п╦я─п╬п╡п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я┌я┐п╢п╟ п╦ п╬п╠я─п╟я┌п╫п╬, п╩п╦п╠п╬ п╢п╣п╩п╟я┌я▄ п╡я│я▌ я─п╟п╠п╬я┌я┐ п╫п╟ п╬п╢п╫п╬п╪ п╨п╬п╪п©я▄я▌я┌п╣я─п╣. п║ п╢я─я┐пЁп╬п╧ я│я┌п╬я─п╬п╫я▀, п╡п╟п╪ я┌я─я┐п╢п╫п╬ п╢п╣п╩п╦я┌я▄я│я▐ п╡п╫п╬я│п╦п╪я▀п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦ я│ п╨п╣п╪-я┌п╬ п╣я┴п╣. п░ п©я─п╣п╢п╬я│я┌п╟п╡п╩п╣п╫п╦п╣ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ п╥п╫п╟п╨п╬п╪п╦я┌я▄я│я▐ я│ п©я─п╬п╢п╣п╩п╟п╫п╫п╬п╧ п╡п╟п╪п╦ я─п╟п╠п╬я┌п╬п╧ п©п╬ п╪п╣я─п╣ п╣п╣ п©я─п╬п╢п╡п╦п╤п╣п╫п╦я▐ я│я┤п╦я┌п╟п╣я┌я│я▐ б╚п╫п╟п╦п╩я┐я┤я┬п╣п╧ п©я─п╟п╨я┌п╦п╨п╬п╧б╩ п©я─п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╣ п╩я▌п╠п╬пЁп╬ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐. п∙я│п╩п╦ п╫п╦п╨я┌п╬ п╫п╣ п╠я┐п╢п╣я┌ п╡п╦п╢п╣я┌я▄ п╡п╟я┬п╦я┘ п©я─п╬п╪п╣п╤я┐я┌п╬я┤п╫я▀я┘ я└п╦п╨я│п╟я├п╦п╧, п╡я▀ я┌п╣я─я▐п╣я┌п╣ п©п╬я┌п╣п╫я├п╦п╟п╩ п╬п╠я─п╟я┌п╫п╬п╧ я│п╡я▐п╥п╦. п²п╟п╨п╬п╫п╣я├, п╨п╬пЁп╢п╟ п╡я▀ п╥п╟п╨п╬п╫я┤п╦я┌п╣ я│п╡п╬п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╪п╬п╤п╣я┌ п╡я▀я▐я│п╫п╦я┌я▄я│я▐, я┤я┌п╬ я│п╩п╦я┌я▄ п©я─п╬п╢п╣п╩п╟п╫п╫я┐я▌ п╡п╟п╪п╦ я─п╟п╠п╬я┌я┐ я│ п╬я│я┌п╟п╩я▄п╫я▀п╪ п©я─п╬пЁя─п╟п╪п╪п╫я▀п╪ п╨п╬п╢п╬п╪ п╨п╬п╪п©п╟п╫п╦п╦ я┤я─п╣п╥п╡я▀я┤п╟п╧п╫п╬ я┌я─я┐п╢п╫п╬. п║п╟п╩п╩п╦ (п╦п╩п╦ п╨я┌п╬-я┌п╬ п╢я─я┐пЁп╬п╧) п╪п╬пЁп╩п╟ п╡п╫п╣я│я┌п╦ я┌п╟п╨п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣, п╨п╬я┌п╬я─я▀п╣ я┌я─я┐п╢п╫п╬ я│п╬п╡п╪п╣я│я┌п╦я┌я▄ я│ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╣п╧ Б─■ п╬я│п╬п╠п╣п╫п╫п╬, п╣я│п╩п╦ п╡я▀ п╡я▀п©п╬п╩п╫п╦я┌п╣ svn update п╡п©п╣я─п╡я▀п╣ п©п╬я│п╩п╣ п╫п╣я│п╨п╬п╩я▄п╨п╦я┘ п╫п╣п╢п╣п╩я▄ п╦п╥п╬п╩я▐я├п╦п╦.

п²п╟п╦п╩я┐я┤я┬п╦п╪ я─п╣я┬п╣п╫п╦п╣п╪ п╠я┐п╢п╣я┌ я│п╬п╥п╢п╟п╫п╦п╣ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╡п╟я┬п╣п╧ я│п╬п╠я│я┌п╡п╣п╫п╫п╬п╧ п╡п╣я┌п╨п╦, п╦п╩п╦ п╫п╟п©я─п╟п╡п╩п╣п╫п╦я▐ я─п╟п╥я─п╟п╠п╬я┌п╨п╦. п╜я┌п╬ п©п╬п╥п╡п╬п╩п╦я┌ п╡п╟п╪ я│п╬я┘я─п╟п╫я▐я┌я▄ п╫п╟п©п╬п╩п╬п╡п╦п╫я┐ п©п╬п╩п╬п╪п╟п╫п╫я┐я▌ я─п╟п╠п╬я┌я┐ я│п╨п╬п╩я▄ я┐пЁп╬п╢п╫п╬ я┤п╟я│я┌п╬, п╫п╣ п©п╣я─п╣я│п╣п╨п╟я▐я│я▄ я│ п╢я─я┐пЁп╦п╪п╦, п╦ п╨я─п╬п╪п╣ я┌п╬пЁп╬, п╡я▀ я│п╪п╬п╤п╣я┌п╣ п╡я▀п╠п╬я─п╬я┤п╫п╬ п╢п╣п╩п╦я┌я▄я│я▐ п╦п╫я└п╬я─п╪п╟я├п╦п╣п╧ я│ п╢я─я┐пЁп╦п╪п╦ п╨п╬п╩п╩п╣пЁп╟п╪п╦. п■п╟п╩я▄я┬п╣ п╡я▀ я┐п╡п╦п╢п╦я┌п╣, п╨п╟п╨ п╡я│я▒ я█я┌п╬ я─п╟п╠п╬я┌п╟п╣я┌.

п║п╬п╥п╢п╟п╫п╦п╣ п╡п╣я┌п╨п╦

п║п╬п╥п╢п╟я┌я▄ п╡п╣я┌п╨я┐ п╬я┤п╣п╫я▄ п©я─п╬я│я┌п╬ Б─■ п©я─п╦ п©п╬п╪п╬я┴п╦ п╨п╬п╪п╟п╫п╢я▀ svn copy п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ я│п╬п╥п╢п╟п╣я┌я│я▐ п╨п╬п©п╦я▐ п©я─п╬п╣п╨я┌п╟. Subversion п╪п╬п╤п╣я┌ п╨п╬п©п╦я─п╬п╡п╟я┌я▄ п╫п╣ я┌п╬п╩я▄п╨п╬ п╬я┌п╢п╣п╩я▄п╫я▀п╣ я└п╟п╧п╩я▀, п╫п╬ п╦ я├п╣п╩я▀п╣ п╨п╟я┌п╟п╩п╬пЁп╦. п≤я┌п╟п╨, п╡п╟п╪ п╫я┐п╤п╫п╬ я│п╢п╣п╩п╟я┌я▄ п╨п╬п©п╦я▌ п╨п╟я┌п╟п╩п╬пЁп╟ /calc/trunk. п⌠п╢п╣ п╢п╬п╩п╤п╫п╟ п╩п╣п╤п╟я┌я▄ я█я┌п╟ п╫п╬п╡п╟я▐ п╨п╬п©п╦я▐? п⌠п╢п╣ я┐пЁп╬п╢п╫п╬ Б─■ я█я┌п╬я┌ п╡п╬п©я─п╬я│ п╬п©я─п╣п╢п╣п╩я▐п╣я┌я│я▐ п©я─п╟п╡п╦п╩п╟п╪п╦ п©я─п╬п╣п╨я┌п╟. п■п╬п©я┐я│я┌п╦п╪, я┤я┌п╬ п©п╬ п©я─п╟п╡п╦п╩п╟п╪ п╡п╟я┬п╣п╧ п╨п╬п╪п╟п╫п╢я▀ п╡п╣я┌п╨п╦ я│п╬п╥п╢п╟я▌я┌я│я▐ п╡ п╨п╟я┌п╟п╩п╬пЁп╣ /calc/branches я┘я─п╟п╫п╦п╩п╦я┴п╟, п╦ п╡я▀ я┘п╬я┌п╦я┌п╣ п╫п╟п╥п╡п╟я┌я▄ я│п╡п╬я▌ п╡п╣я┌п╨я┐ my-calc-branch. п╒п╬пЁп╢п╟ п╡п╟п╪ я│п╩п╣п╢я┐п╣я┌ я│п╬п╥п╢п╟я┌я▄ п╫п╬п╡я▀п╧ п╨п╟я┌п╟п╩п╬пЁ /calc/branches/my-calc-branch, п╨п╬я┌п╬я─я▀п╧ п╠я┐п╢п╣я┌ п╨п╬п©п╦п╣п╧ /calc/trunk.

п п╬п©п╦я▌ п╪п╬п╤п╫п╬ я│п╬п╥п╢п╟я┌я▄ п╢п╡я┐п╪я▐ я─п╟п╥п╩п╦я┤п╫я▀п╪п╦ я│п©п╬я│п╬п╠п╟п╪п╦. п║п©п╣я─п╡п╟ п╪я▀ п©п╬п╨п╟п╤п╣п╪ п╠п╬п╩п╣п╣ п╢п╩п╦п╫п╫я▀п╧ я│п©п╬я│п╬п╠, п©я─п╬я│я┌п╬ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬ п╠я▀ п©п╬я▐я│п╫п╦я┌я▄ я│я┐я┌я▄ п╦п╢п╣п╦. п■п╩я▐ п╫п╟я┤п╟п╩п╟ я│п╬п╥п╢п╟п╢п╦п╪ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╨п╬я─п╫п╣п╡п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ п©я─п╬п╣п╨я┌п╟ /calc:

$ svn checkout http://svn.example.com/repos/calc bigwc
A  bigwc/trunk/
A  bigwc/trunk/Makefile
A  bigwc/trunk/integer.c
A  bigwc/trunk/button.c
A  bigwc/branches/
Checked out revision 340.

п╒п╣п©п╣я─я▄, я┤я┌п╬п╠я▀ я│п╬п╥п╢п╟я┌я▄ п╨п╬п©п╦я▌, п╢п╬я│я┌п╟я┌п╬я┤п╫п╬ п©я─п╬я│я┌п╬ п©п╣я─п╣п╢п╟я┌я▄ п╢п╡п╟ п©я┐я┌п╦ п╡ п©я─п╣п╢п╣п╩п╟я┘ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╨п╬п╪п╟п╫п╢п╣ svn copy:

$ cd bigwc
$ svn copy trunk branches/my-calc-branch
$ svn status
A  +   branches/my-calc-branch

п▓ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ п╨п╬п╪п╟п╫п╢п╟ svn copy я─п╣п╨я┐я─я│п╦п╡п╫п╬ п╨п╬п©п╦я─я┐п╣я┌ я─п╟п╠п╬я┤п╦п╧ п╨п╟я┌п╟п╩п╬пЁ trunk п╡ п╫п╬п╡я▀п╧ я─п╟п╠п╬я┤п╦п╧ п╨п╟я┌п╟п╩п╬пЁ branches/my-calc-branch. п╒п╣п©п╣я─я▄ п╨п╬п╪п╟п╫п╢п╟ svn status п©п╬п╨п╟п╤п╣я┌, я┤я┌п╬ п╫п╬п╡я▀п╧ п╨п╟я┌п╟п╩п╬пЁ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫ п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ п╥п╫п╟п╨ б╚+б╩ п©п╬я│п╩п╣ п╠я┐п╨п╡я▀ п░. п·п╫ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫п╫п╬п╣ п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ п╨п╟п╨я┐я▌-я┌п╬ п╨п╬п©п╦я▌, п╟ п╫п╣ я┤я┌п╬-я┌п╬ п╫п╬п╡п╬п╣. п÷я─п╦ я│п╩п╣п╢я┐я▌я┴п╣п╧ я└п╦п╨я│п╟я├п╦п╦ Subversion я│п╬п╥п╢п╟я│я┌ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╨п╟я┌п╟п╩п╬пЁ /calc/branches/my-calc-branch, я│п╨п╬п©п╦я─п╬п╡п╟п╡ п╣пЁп╬ п╦п╥ /calc/trunk п╡п╪п╣я│я┌п╬ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ п©п╬п╡я┌п╬я─п╫п╬ п╬я┌п©я─п╟п╡п╩я▐я┌я▄ п©п╬ я│п╣я┌п╦ п╡я│я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦:

$ svn commit -m "Creating a private branch of /calc/trunk."
Adding         branches/my-calc-branch
Committed revision 341.

п░ я┌п╣п©п╣я─я▄ п©п╬п╨п╟п╤п╣п╪ п©я─п╬я│я┌п╬п╧ я│п©п╬я│п╬п╠ я│п╬п╥п╢п╟п╫п╦я▐ п╡п╣я┌п╨п╦, п╬ п╨п╬я┌п╬я─п╬п╪ п╪я▀ я┐п©п╬п╪п╦п╫п╟п╩п╦ я─п╟п╫я▄я┬п╣: п╨п╬п╪п╟п╫п╢п╟ svn copy п╪п╬п╤п╣я┌ п╬п©п╣я─п╦я─п╬п╡п╟я┌я▄ п╢п╡я┐п╪я▐ URL-п╟п╢я─п╣я│п╟п╪п╦ п╫п╟п©я─я▐п╪я┐я▌.

$ svn copy http://svn.example.com/repos/calc/trunk \
           http://svn.example.com/repos/calc/branches/my-calc-branch \
      -m "Creating a private branch of /calc/trunk."

Committed revision 341.

п▓ я│я┐я┴п╫п╬я│я┌п╦, п╪п╣п╤п╢я┐ я█я┌п╦п╪п╦ п╢п╡я┐п╪я▐ п╪п╣я┌п╬п╢п╟п╪п╦ п╫п╣я┌ я─п╟п╥п╫п╦я├я▀. п·п╠п╟ п╡п╟я─п╦п╟п╫я┌п╟ я│п╬п╥п╢п╟я▌я┌ п╡ п©я─п╟п╡п╨п╣ 341 п╫п╬п╡я▀п╧ п╨п╟я┌п╟п╩п╬пЁ, п╦ я█я┌п╬п╧ п╫п╬п╡я▀п╧ п╨п╟я┌п╟п╩п╬пЁ я▐п╡п╩я▐п╣я┌я│я▐ п╨п╬п©п╦п╣п╧ /calc/trunk. п╜я┌п╬ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌ п═п╦я│я┐п╫п╬п╨б═4.3, б╚п╔я─п╟п╫п╦п╩п╦я┴п╣, я│п╬п╢п╣я─п╤п╟я┴п╣п╣ п╫п╬п╡я┐я▌ п╨п╬п©п╦я▌б╩. п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ я┌п╬, я┤я┌п╬ п╡я┌п╬я─п╬п╧ п╪п╣я┌п╬п╢, п╨я─п╬п╪п╣ п╡я│п╣пЁп╬ п©я─п╬я┤п╣пЁп╬, п╡я▀п©п╬п╩п╫я▐п╣я┌ п╫п╣п╪п╣п╢п╩п╣п╫п╫я┐я▌ я└п╦п╨я│п╟я├п╦я▌. [24]п╜я┌п╟ п©я─п╬я├п╣п╢я┐я─п╟ п╠п╬п╩п╣п╣ п©я─п╬я│я┌п╟ п╡ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦, я┌п╟п╨ п╨п╟п╨ п╫п╣я┌ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦ п╡ п╡я▀пЁя─я┐п╥п╨п╣ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╥п╫п╟я┤п╦я┌п╣п╩я▄п╫п╬пЁп╬ п╬п╠я┼п╣п╪п╟ п╢п╟п╫п╫я▀я┘ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟. п÷п╬ я│я┐я┌п╦, п╡ я█я┌п╬п╪ я│п╩я┐я┤п╟п╣ п╪п╬п╤п╫п╬ п╡п╬п╡я│п╣ п╫п╣ п╦п╪п╣я┌я▄ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦.

п═п╦я│я┐п╫п╬п╨ 4.3. п╔я─п╟п╫п╦п╩п╦я┴п╣, я│п╬п╢п╣я─п╤п╟я┴п╣п╣ п╫п╬п╡я┐я▌ п╨п╬п©п╦я▌

п╔я─п╟п╫п╦п╩п╦я┴п╣, я│п╬п╢п╣я─п╤п╟я┴п╣п╣ п╫п╬п╡я┐я▌ п╨п╬п©п╦я▌


п═п╟п╠п╬я┌п╟ я│ п╡п╣я┌п╨п╬п╧

п÷п╬я│п╩п╣ я│п╬п╥п╢п╟п╫п╦я▐ п╡п╣я┌п╨п╦ п©я─п╬п╣п╨я┌п╟ п╪п╬п╤п╫п╬ п╥п╟пЁя─я┐п╥п╦я┌я▄ п╫п╬п╡я┐я▌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╦ п©я─п╦я│я┌я┐п©п╦я┌я▄ п╨ я─п╟п╠п╬я┌п╣ я│ п╫п╣п╧:

$ svn checkout http://svn.example.com/repos/calc/branches/my-calc-branch
A  my-calc-branch/Makefile
A  my-calc-branch/integer.c
A  my-calc-branch/button.c
Checked out revision 341.

п▓ я█я┌п╬п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╫п╣я┌ п╫п╦я┤п╣пЁп╬ п╬я│п╬п╠п╣п╫п╫п╬пЁп╬; я█я┌п╬ п©я─п╬я│я┌п╬ п╥п╣я─п╨п╟п╩п╬ п╢я─я┐пЁп╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ я┘я─п╟п╫п╦п╩п╦я┴п╟. п·п╢п╫п╟п╨п╬, п╣я│п╩п╦ п║п╟п╩п╩п╦ п╬п╠п╫п╬п╡п╦я┌ я│п╡п╬я▌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, п╬п╫п╟ п╫п╣ я┐п╡п╦п╢п╦я┌ я┌п╟п╪ п╡п╟я┬п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п═п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п║п╟п╩п╩п╦ я│п╬п╥п╢п╟п╫п╟ п╦п╥ п╨п╟я┌п╟п╩п╬пЁп╟ /calc/trunk. (п║п╪п╬я┌я─п╦я┌п╣ п╢п╟п╩п╣п╣ п╡ я█я┌п╬п╧ пЁп╩п╟п╡п╣ я─п╟п╥п╢п╣п╩ б╚п÷п╣я─п╣п╨п╩я▌я┤п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦б╩: п╨п╬п╪п╟п╫п╢п╟ svn switch я▐п╡п╩я▐п╣я┌я│я▐ п╟п╩я▄я┌п╣я─п╫п╟я┌п╦п╡п╫я▀п╪ я│п©п╬я│п╬п╠п╬п╪ я│п╬п╥п╢п╟п╫п╦я▐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡п╣я┌п╨п╦.)

п÷я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┤я┌п╬ п╥п╟ п╫п╣п╢п╣п╩я▌ п╠я▀п╩п╦ я│п╢п╣п╩п╟п╫я▀ я│п╩п╣п╢я┐я▌я┴п╦п╣ я└п╦п╨я│п╟я├п╦п╦:

  • п▓я▀ п╡п╫п╣я│п╩п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ /calc/branches/my-calc-branch/button.c, я│п╬п╥п╢п╟п╡ я┌п╟п╨п╦п╪ п╬п╠я─п╟п╥п╬п╪ п©я─п╟п╡п╨я┐ 342.

  • п▓я▀ п╡п╫п╣я│п╩п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ /calc/branches/my-calc-branch/integer.c, я│п╬п╥п╢п╟п╡ п©я─п╟п╡п╨я┐ 343.

  • п║п╟п╩п╩п╦ п╡п╫п╣я│п╩п╟ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ /calc/trunk/integer.c, я│п╬п╥п╢п╟п╡ п©я─п╟п╡п╨я┐ 344.

п╒п╣п©п╣я─я▄ я┐ я└п╟п╧п╩п╟ integer.c п╣я│я┌я▄ п╢п╡п╟ п╫п╣п╥п╟п╡п╦я│п╦п╪я▀я┘ п╫п╟п©я─п╟п╡п╩п╣п╫п╦я▐ я─п╟п╥я─п╟п╠п╬я┌п╨п╦, я┤я┌п╬ п╢п╣п╪п╬п╫я│я┌я─п╦я─я┐п╣я┌ п═п╦я│я┐п╫п╬п╨б═4.4, б╚п≤я│я┌п╬я─п╦я▐ п╡п╣я┌п╡п╩п╣п╫п╦я▐ п╢п╩я▐ п╬п╢п╫п╬пЁп╬ я└п╟п╧п╩п╟б╩.

п═п╦я│я┐п╫п╬п╨ 4.4. п≤я│я┌п╬я─п╦я▐ п╡п╣я┌п╡п╩п╣п╫п╦я▐ п╢п╩я▐ п╬п╢п╫п╬пЁп╬ я└п╟п╧п╩п╟

п≤я│я┌п╬я─п╦я▐ п╡п╣я┌п╡п╩п╣п╫п╦я▐ п╢п╩я▐ п╬п╢п╫п╬пЁп╬ я└п╟п╧п╩п╟


п∙я│п╩п╦ п©п╬я│п╪п╬я┌я─п╣я┌я▄ п╦я│я┌п╬я─п╦я▌ п╦п╥п╪п╣п╫п╣п╫п╦п╧, я│п╢п╣п╩п╟п╫п╫я▀я┘ п╡ п╡п╟я┬п╣п╧ п╨п╬п©п╦п╦ integer.c, п╪п╬п╤п╫п╬ я┐п╡п╦п╢п╣я┌я▄ п╦п╫я┌п╣я─п╣я│п╫я▀п╣ п╡п╣я┴п╦:

$ pwd
/home/user/my-calc-branch

$ svn log --verbose integer.c
------------------------------------------------------------------------
r343 | user | 2002-11-07 15:27:56 -0600 (Thu, 07 Nov 2002) | 2 lines
Changed paths:
   M /calc/branches/my-calc-branch/integer.c

* integer.c:  frozzled the wazjub.

------------------------------------------------------------------------
r341 | user | 2002-11-03 15:27:56 -0600 (Thu, 07 Nov 2002) | 2 lines
Changed paths:
   A /calc/branches/my-calc-branch (from /calc/trunk:340)

Creating a private branch of /calc/trunk.

------------------------------------------------------------------------
r303 | sally | 2002-10-29 21:14:35 -0600 (Tue, 29 Oct 2002) | 2 lines
Changed paths:
   M /calc/trunk/integer.c

* integer.c:  changed a docstring.

------------------------------------------------------------------------
r98 | sally | 2002-02-22 15:35:29 -0600 (Fri, 22 Feb 2002) | 2 lines
Changed paths:
   M /calc/trunk/integer.c

* integer.c:  adding this file to the project.

------------------------------------------------------------------------

п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ я┌п╬, я┤я┌п╬ Subversion п©п╬п╩п╫п╬я│я┌я▄я▌ п©я─п╬я│п╩п╣п╤п╦п╡п╟п╣я┌ п╡я│я▌ п╦я│я┌п╬я─п╦я▌ п╡п╣я┌п╨п╦ integer.c п╡п╬ п╡я─п╣п╪п╣п╫п╦, п╡ я┌п╬п╪ я┤п╦я│п╩п╣ п©п╣я─п╣я│п╣п╨п╟я▐ я┌п╬я┤п╨я┐ я│п╬п╥п╢п╟п╫п╦я▐ п╨п╬п©п╦п╦. п║п╬п╥п╢п╟п╫п╦п╣ п╡п╣я┌п╨п╦ п©п╬п╨п╟п╥п╟п╫п╬ п╨п╟п╨ я│п╬п╠я▀я┌п╦п╣ п╡ п╦я│я┌п╬я─п╦п╦, п©п╬я┌п╬п╪я┐ я┤я┌п╬ я└п╟п╧п╩ integer.c п╠я▀п╩ п╫п╣я▐п╡п╫п╬ я│п╨п╬п©п╦я─п╬п╡п╟п╫ п©я─п╦ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╦ п╡я│п╣пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ /calc/trunk/. п╒п╣п©п╣я─я▄ п╢п╟п╡п╟п╧я┌п╣ п©п╬я│п╪п╬я┌я─п╦п╪, п╨п╟п╨п╬п╧ я─п╣п╥я┐п╩я▄я┌п╟я┌ п╡я▀п╢п╟я│я┌ я┌п╟п╨п╟я▐ п╤п╣ п╨п╬п╪п╟п╫п╢п╟ п╢п╩я▐ п║п╟п╩п╩п╦:

$ pwd
/home/sally/calc

$ svn log --verbose integer.c
------------------------------------------------------------------------
r344 | sally | 2002-11-07 15:27:56 -0600 (Thu, 07 Nov 2002) | 2 lines
Changed paths:
   M /calc/trunk/integer.c

* integer.c:  fix a bunch of spelling errors.

------------------------------------------------------------------------
r303 | sally | 2002-10-29 21:14:35 -0600 (Tue, 29 Oct 2002) | 2 lines
Changed paths:
   M /calc/trunk/integer.c

* integer.c:  changed a docstring.

------------------------------------------------------------------------
r98 | sally | 2002-02-22 15:35:29 -0600 (Fri, 22 Feb 2002) | 2 lines
Changed paths:
   M /calc/trunk/integer.c

* integer.c:  adding this file to the project.

------------------------------------------------------------------------

п║п╟п╩п╩п╦ я┐п╡п╦п╢п╦я┌ я│п╡п╬п╦ я│п╬п╠я│я┌п╡п╣п╫п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ п©я─п╟п╡п╨п╣ 344, п╟ п╡п╟я┬п╦, я│п╢п╣п╩п╟п╫п╫я▀п╣ п╡ п©я─п╟п╡п╨п╣ 343 Б─■ п╫п╣я┌. Subversion п©п╬п╥п╟п╠п╬я┌п╦п╩п╟я│я▄ п╬ я┌п╬п╪, я┤я┌п╬п╠я▀ я█я┌п╦ п╢п╡п╣ я└п╦п╨я│п╟я├п╦п╦ п╥п╟я┌я─п╬п╫я┐п╩п╦ я─п╟п╥п╫я▀п╣ я└п╟п╧п╩я▀, п╦п╪п╣я▌я┴п╦п╣ я─п╟п╥п╫п╬п╣ я─п╟я│п©п╬п╩п╬п╤п╣п╫п╦п╣ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п╒п╣п╪ п╫п╣ п╪п╣п╫п╣п╣, Subversion п╠я┐п╢п╣я┌ п©п╬п╨п╟п╥я▀п╡п╟я┌я▄ я┌п╬, я┤я┌п╬ п╢п╡п╟ я└п╟п╧п╩п╟ п╦п╪п╣я▌я┌ п╬п╠я┴я┐я▌ п╦я│я┌п╬я─п╦я▌. п■п╬ я│п╬п╥п╢п╟п╫п╦я▐ п╡п╣я┌п╨п╦-п╨п╬п©п╦п╦ п╡ п©я─п╟п╡п╨п╣ 341 я█я┌п╬ п╠я▀п╩ п╬п╢п╦п╫ я└п╟п╧п╩. п÷п╬я█я┌п╬п╪я┐ п╦ п╡я▀, п╦ п║п╟п╩п╩п╦ п╡п╦п╢п╦я┌п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я│п╢п╣п╩п╟п╫п╫я▀п╣ п╡ п©я─п╟п╡п╨п╟я┘ 303 п╦ 98.

п п╩я▌я┤п╣п╡я▀п╣ п╦п╢п╣п╦, я│я┌п╬я▐я┴п╦п╣ п╥п╟ п╡п╣я┌п╨п╟п╪п╦

п≤п╥ я█я┌п╬пЁп╬ я─п╟п╥п╢п╣п╩п╟ п╡я▀ п╢п╬п╩п╤п╫я▀ п╥п╟п©п╬п╪п╫п╦я┌я▄ п╢п╡п╣ п╡п╣я┴п╦.

  1. п▓ п╬я┌п╩п╦я┤п╦п╣ п╬я┌ п╪п╫п╬пЁп╦я┘ п╢я─я┐пЁп╦я┘ я│п╦я│я┌п╣п╪ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦, п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ Subversion п╡п╣я┌п╨п╦ я│я┐я┴п╣я│я┌п╡я┐я▌я┌ п╫п╣ п╡ п╬я┌п╢п╣п╩я▄п╫п╬п╪ п╦п╥п╪п╣я─п╣п╫п╦п╦, п╟ п╨п╟п╨ п╬п╠я▀я┤п╫я▀п╣ п╨п╟я┌п╟п╩п╬пЁп╦ я└п╟п╧п╩п╬п╡п╬п╧ я│п╦я│я┌п╣п╪я▀. п╜я┌п╦ п╨п╟я┌п╟п╩п╬пЁп╦ п╬я┌п╩п╦я┤п╟я▌я┌я│я▐ я┌п╬п╩я▄п╨п╬ я┌п╣п╪, я┤я┌п╬ п╫п╣я│я┐я┌ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬ я│п╡п╬п╣п╧ п╦я│я┌п╬я─п╦п╦.

  2. Subversion п╫п╣ п╦п╪п╣п╣я┌ я┌п╟п╨п╬пЁп╬ п©п╬п╫я▐я┌п╦я▐ п╨п╟п╨ п╡п╣я┌п╨п╟ Б─■ п╣я│я┌я▄ я┌п╬п╩я▄п╨п╬ п╨п╬п©п╦п╦. п п╬п©п╦я▐ п╨п╟я┌п╟п╩п╬пЁп╟ я│я┌п╟п╫п╬п╡п╦я┌я│я▐ б╚п╡п╣я┌п╨п╬п╧б╩ я┌п╬п╩я▄п╨п╬ п©п╬я┌п╬п╪я┐, я┤я┌п╬ п╡я▀ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟п╣я┌п╣ п╣п╣ я┌п╟п╨п╦п╪ п╬п╠я─п╟п╥п╬п╪. п▓я▀ п╪п╬п╤п╣я┌п╣ п©п╬-я─п╟п╥п╫п╬п╪я┐ п╢я┐п╪п╟я┌я▄ п╬ п╨п╟я┌п╟п╩п╬пЁп╣, п©п╬ я─п╟п╥п╫п╬п╪я┐ п╣пЁп╬ я┌я─п╟п╨я┌п╬п╡п╟я┌я▄, п╫п╬ п╢п╩я▐ Subversion я█я┌п╬ п╫п╣ п╠п╬п╩п╣п╣ я┤п╣п╪ п╬п╠я▀я┤п╫я▀п╧ п╨п╟я┌п╟п╩п╬пЁ, я│п╬п╥п╢п╟п╫п╫я▀п╧ п╡ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ п╨п╬п©п╦я─п╬п╡п╟п╫п╦я▐.

п п╬п©п╦я─п╬п╡п╟п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╪п╣п╤п╢я┐ п╡п╣я┌п╨п╟п╪п╦

п╒п╣п©п╣я─я▄ п╡я▀ п╦ п║п╟п╩п╩п╦ я─п╟п╠п╬я┌п╟п╣я┌п╣ п╫п╟п╢ п©п╟я─п╟п╩п╩п╣п╩я▄п╫я▀п╪п╦ п╡п╣я┌п╨п╟п╪п╦ п©я─п╬п╣п╨я┌п╟: п╡я▀ Б─■ п╫п╟п╢ я│п╡п╬п╣п╧ я│п╬п╠я│я┌п╡п╣п╫п╫п╬п╧ п╡п╣я┌п╨п╬п╧, п╟ п║п╟п╩п╩п╦ Б─■ п╫п╟п╢ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╣п╧ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ (п╨п╟я┌п╟п╩п╬пЁ trunk).

п▓ п©я─п╬п╣п╨я┌п╟я┘ я│п╬ п╥п╫п╟я┤п╦я┌п╣п╩я▄п╫я▀п╪ я┤п╦я│п╩п╬п╪ я┐я┤п╟я│я┌п╫п╦п╨п╬п╡, п╨п╟п╨ п©я─п╟п╡п╦п╩п╬, п╠п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ я─п╟п╠п╬я┌п╟п╣я┌ п╡ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦. п п╬пЁп╢п╟ п╨п╬п╪я┐-я┌п╬ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ я│п╢п╣п╩п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╨п╬я┌п╬я─я▀п╣ п╥п╟п╧п╪я┐я┌ п╪п╫п╬пЁп╬ п╡я─п╣п╪п╣п╫п╦ п╦ п╪п╬пЁя┐я┌ п╫п╟я─я┐я┬п╦я┌я▄ пЁп╩п╟п╡п╫я┐я▌ п╩п╦п╫п╦я▌, я│я┌п╟п╫п╢п╟я─я┌п╫п╬п╧ п©я─п╟п╨я┌п╦п╨п╬п╧ я▐п╡п╩я▐п╣я┌я│я▐ я│п╬п╥п╢п╟п╫п╦п╣ п╬я┌п╢п╣п╩я▄п╫п╬п╧ п╡п╣я┌п╨п╦ п╦ я└п╦п╨я│п╟я├п╦я▐ п╡я│п╣я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡ п╫п╣п╧ Б─■ п╢п╬ я┌п╣я┘ п©п╬я─, п©п╬п╨п╟ я─п╟п╠п╬я┌п╟ п╫п╣ п╠я┐п╢п╣я┌ п©п╬п╩п╫п╬я│я┌я▄я▌ п╥п╟п╡п╣я─я┬п╣п╫п╟.

п÷п╬п╩п╬п╤п╦я┌п╣п╩я▄п╫я▀п╪ п╪п╬п╪п╣п╫я┌п╬п╪ п╥п╢п╣я│я▄ я▐п╡п╩я▐п╣я┌я│я▐ я┌п╬, я┤я┌п╬ п╡я▀ п╦ п║п╟п╩п╩п╦ п╫п╣ п©п╣я─п╣я│п╣п╨п╟п╣я┌п╣я│я▄ п╢я─я┐пЁ я│ п╢я─я┐пЁп╬п╪. п²п╬ п╣я│я┌я▄ п╦ п╪п╦п╫я┐я│ Б─■ п╡я▀ п╪п╬п╤п╣я┌п╣ я─п╟п╥п╬п╧я┌п╦я│я▄ я│п╩п╦я┬п╨п╬п╪ п╢п╟п╩п╣п╨п╬ п╢я─я┐пЁ п╬я┌п╫п╬я│п╦я┌п╣п╩я▄п╫п╬ п╢я─я┐пЁп╟. п÷п╬п╪п╫п╦я┌п╣, я┤я┌п╬ п╬п╢п╫п╟ п╦п╥ п©я─п╬п╠п╩п╣п╪ я┌п╟п╨п╬п╧ я│я┌я─п╟я┌п╣пЁп╦п╦ б╚п╡я─п╣п╪п╣п╫п╫п╬п╧ п╦п╥п╬п╩я▐я├п╦п╦б╩ п╥п╟п╨п╩я▌я┤п╟п╣я┌я│я▐ п╡ я┌п╬п╪, я┤я┌п╬ п╨ п╪п╬п╪п╣п╫я┌я┐, п╨п╬пЁп╢п╟ п╡я▀ п╥п╟п╡п╣я─я┬п╦я┌п╣ я─п╟п╠п╬я┌я┐ я│п╬ я│п╡п╬п╣п╧ п╡п╣я┌п╨п╬п╧, п╪п╬п╤п╣я┌ п╬п╨п╟п╥п╟я┌я▄я│я▐ п©я─п╟п╨я┌п╦я┤п╣я│п╨п╦ п╫п╣п╡п╬п╥п╪п╬п╤п╫я▀п╪ п╬п╠я┼п╣п╢п╦п╫п╦я┌я▄ п╣п╣ я│ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╣п╧ п╠п╣п╥ п╬пЁя─п╬п╪п╫п╬пЁп╬ п╨п╬п╩п╦я┤п╣я│я┌п╡п╟ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡.

п▓п╪п╣я│я┌п╬ я█я┌п╬пЁп╬ п╡я▀ п╦ п║п╟п╩п╩п╦ п╪п╬п╤п╣я┌п╣ п©я─п╬п╢п╬п╩п╤п╟я┌я▄ п╢п╣п╩п╦я┌я▄я│я▐ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦ п©п╬ я┘п╬п╢я┐ я─п╟п╠п╬я┌я▀. п▓я▀ п╪п╬п╤п╣я┌п╣ я─п╣я┬п╟я┌я▄ п╡п©п╩п╬я┌я▄ п╢п╬ п╬я┌п╢п╣п╩я▄п╫п╬пЁп╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я│я┌п╬п╦я┌ п╩п╦ п╦п╪ п╢п╣п╩п╦я┌я▄я│я▐ Б─■ Subversion п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╡я▀п╠п╬я─п╬я┤п╫п╬пЁп╬ б╚п╨п╬п©п╦я─п╬п╡п╟п╫п╦я▐б╩ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╪п╣п╤п╢я┐ п╡п╣я┌п╨п╟п╪п╦. п░ я┌п╬пЁп╢п╟, п╨п╬пЁп╢п╟ п╡я▀ п©п╬п╩п╫п╬я│я┌я▄я▌ п╥п╟п╨п╬п╫я┤п╦я┌п╣ я─п╟п╠п╬я┌я┐ я│п╬ я│п╡п╬п╣п╧ п╡п╣я┌п╨п╬п╧, п╡я▀ п╪п╬п╤п╣я┌п╣ я│п╨п╬п©п╦я─п╬п╡п╟я┌я▄ п╬п╠я─п╟я┌п╫п╬ п╡ п╬я│п╫п╬п╡п╫я┐я▌ п╡п╣я┌п╨я┐ п╡я│п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п©п╬п╩п╫п╬я│я┌я▄я▌.

п п╬п©п╦я─п╬п╡п╟п╫п╦п╣ п╬я┌п╢п╣п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧

п▓ п©я─п╣п╢я▀п╢я┐я┴п╣п╪ я─п╟п╥п╢п╣п╩п╣ п╪я▀ п╬я┌п╪п╣я┌п╦п╩п╦, я┤я┌п╬ п╦ п╡я▀, п╦ п║п╟п╩п╩п╦, п╬п╢п╫п╬п╡я─п╣п╪п╣п╫п╫п╬, п╡ я─п╟п╥п╫я▀я┘ п╡п╣я┌п╨п╟я┘ п╡п╫п╬я│п╦я┌п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я└п╟п╧п╩ integer.c. п∙я│п╩п╦ п©п╬я│п╪п╬я┌я─п╣я┌я▄ п╫п╟ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╣ п║п╟п╩п╩п╦ п╢п╩я▐ п©я─п╟п╡п╨п╦ 344, п╡я▀ я┐п╡п╦п╢п╦я┌п╣, я┤я┌п╬ п╬п╫п╟ п╦я│п©я─п╟п╡п╦п╩п╟ п╫п╣я│п╨п╬п╩я▄п╨п╬ п╬я─я└п╬пЁя─п╟я└п╦я┤п╣я│п╨п╦я┘ п╬я┬п╦п╠п╬п╨. п п╬п╫п╣я┤п╫п╬ п╤п╣, п╡ п╡п╟я┬п╣п╧ п╨п╬п©п╦п╦ я█я┌п╬пЁп╬ я└п╟п╧п╩п╟ я█я┌п╦ п╬я┬п╦п╠п╨п╦ п╬я│я┌п╟п╩п╦я│я▄. п²п╣ п╦я│п╨п╩я▌я┤п╣п╫п╬, я┤я┌п╬ п╡п╟я┬п╦ п╠я┐п╢я┐я┴п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я█я┌п╬пЁп╬ я└п╟п╧п╩п╟ п╨п╬я│п╫я┐я┌я│я▐ п╬п╠п╩п╟я│я┌п╣п╧, я│п╬п╢п╣я─п╤п╟я┴п╦я┘ я█я┌п╦ п╬я─я└п╬пЁя─п╟я└п╦я┤п╣я│п╨п╦п╣ п╬я┬п╦п╠п╨п╦, п╦ я┌п╟п╨п╦п╪ п╬п╠я─п╟п╥п╬п╪ п╡я▀ п©п╬п╩я┐я┤п╦я┌п╣ п╫п╣я│п╨п╬п╩я▄п╨п╬ п©п╬я┌п╣п╫я├п╦п╟п╩я▄п╫я▀я┘ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡ п©я─п╦ п©п╬я│п╩п╣п╢я┐я▌я┴п╣п╪ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╦ п╡п╟я┬п╣п╧ п╡п╣я┌п╨п╦. п÷п╬я█я┌п╬п╪я┐ п╩я┐я┤я┬п╣ п©п╬п╩я┐я┤п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╬я┌ п║п╟п╩п╩п╦ я│п╣п╧я┤п╟я│, п╢п╬ я┌п╬пЁп╬, п╨п╟п╨ п╡я▀ п╫п╟я┤п╫п╣я┌п╣ п╡п©п╩п╬я┌п╫я┐я▌ я─п╟п╠п╬я┌п╟я┌я▄ я│ я█я┌п╬п╧ я┤п╟я│я┌я▄я▌ я└п╟п╧п╩п╟.

п²п╟я│я┌п╟п╩ п╪п╬п╪п╣п╫я┌ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╨п╬п╪п╟п╫п╢п╬п╧ svn merge. п╜я┌п╟ п╨п╬п╪п╟п╫п╢п╟, п╬п╨п╟п╥я▀п╡п╟п╣я┌я│я▐, я▐п╡п╩я▐п╣я┌я│я▐ п╬я┤п╣п╫я▄ п╠п╩п╦п╥п╨п╦п╪ я─п╬п╢я│я┌п╡п╣п╫п╫п╦п╨п╬п╪ п╨п╬п╪п╟п╫п╢я▀ svn diff (п╬ п╨п╬я┌п╬я─п╬п╧ п╡я▀ я┤п╦я┌п╟п╩п╦ п╡ п⌠п╩п╟п╡п╟б═2, п╜п╨я│п╨я┐я─я│п╦я▐ п©п╬ Subversion). п·п╠п╣ п╨п╬п╪п╟п╫п╢я▀ я│п©п╬я│п╬п╠п╫я▀ я│я─п╟п╡п╫п╦п╡п╟я┌я▄ п╩я▌п╠я▀п╣ п╢п╡п╟ п╬п╠я┼п╣п╨я┌п╟ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╦ п©п╬п╨п╟п╥я▀п╡п╟я┌я▄ я─п╟п╥п╩п╦я┤п╦я▐. п²п╟п©я─п╦п╪п╣я─, п╡я▀ п╪п╬п╤п╣я┌п╣ п©п╬п©я─п╬я│п╦я┌я▄ svn diff п©п╬п╨п╟п╥п╟я┌я▄ п╡я│п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я│п╢п╣п╩п╟п╫п╫я▀п╣ п║п╟п╩п╩п╦ п╡ п©я─п╟п╡п╨п╣ 344:

$ svn diff -r 343:344 http://svn.example.com/repos/calc/trunk

Index: integer.c
===================================================================
--- integer.c (revision 343)
+++ integer.c (revision 344)
@@ -147,7 +147,7 @@
     case 6:  sprintf(info->operating_system, "HPFS (OS/2 or NT)"); break;
     case 7:  sprintf(info->operating_system, "Macintosh"); break;
     case 8:  sprintf(info->operating_system, "Z-System"); break;
-    case 9:  sprintf(info->operating_system, "CPM"); break;
+    case 9:  sprintf(info->operating_system, "CP/M"); break;
     case 10:  sprintf(info->operating_system, "TOPS-20"); break;
     case 11:  sprintf(info->operating_system, "NTFS (Windows NT)"); break;
     case 12:  sprintf(info->operating_system, "QDOS"); break;
@@ -164,7 +164,7 @@
     low = (unsigned short) read_byte(gzfile);  /* read LSB */
     high = (unsigned short) read_byte(gzfile); /* read MSB */
     high = high << 8;  /* interpret MSB correctly */
-    total = low + high; /* add them togethe for correct total */
+    total = low + high; /* add them together for correct total */

     info->extra_header = (unsigned char *) my_malloc(total);
     fread(info->extra_header, total, 1, gzfile);
@@ -241,7 +241,7 @@
      Store the offset with ftell() ! */

   if ((info->data_offset = ftell(gzfile))== -1) {
-    printf("error: ftell() retturned -1.\n");
+    printf("error: ftell() returned -1.\n");
     exit(1);
   }

@@ -249,7 +249,7 @@
   printf("I believe start of compressed data is %u\n", info->data_offset);
   #endif

-  /* Set postion eight bytes from the end of the file. */
+  /* Set position eight bytes from the end of the file. */

   if (fseek(gzfile, -8, SEEK_END)) {
     printf("error: fseek() returned non-zero\n");

п п╬п╪п╟п╫п╢п╟ svn merge п╡п╣п╢п╣я┌ я│п╣п╠я▐ п©я─п╟п╨я┌п╦я┤п╣я│п╨п╦ п╦п╢п╣п╫я┌п╦я┤п╫п╬. п²п╬ п╡п╪п╣я│я┌п╬ п╡я▀п╡п╬п╢п╟ я─п╟п╥п╩п╦я┤п╦п╧ п╫п╟ я┌п╣я─п╪п╦п╫п╟п╩ п╬п╫п╟ п©я─п╦п╪п╣п╫я▐п╣я┌ п╦я┘ п╨ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡ п╡п╦п╢п╣ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧:

$ svn merge -r 343:344 http://svn.example.com/repos/calc/trunk
U  integer.c

$ svn status
M  integer.c

п▓я▀п╡п╬п╢ п╨п╬п╪п╟п╫п╢я▀ svn merge п©п╬п╨п╟п╥я▀п╡п╟п╣я┌, я┤я┌п╬ п╨ п╡п╟я┬п╣п╧ п╨п╬п©п╦п╦ integer.c п╠я▀п╩ п©я─п╦п╪п╣п╫п╣п╫ п©п╟я┌я┤. п╒п╣п©п╣я─я▄ п╬п╫п╟ я│п╬п╢п╣я─п╤п╦я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п║п╟п╩п╩п╦ Б─■ п╬п╫п╦ п╠я▀п╩п╦ б╚я│п╨п╬п©п╦я─п╬п╡п╟п╫я▀б╩ п╦п╥ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╡ п╡п╟я┬я┐ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, п╡п╟я┬я┐ я│п╬п╠я│я┌п╡п╣п╫п╫я┐я▌ п╡п╣я┌п╨я┐, п╦ я┌п╣п©п╣я─я▄ я│я┐я┴п╣я│я┌п╡я┐я▌я┌ п╡ п╡п╦п╢п╣ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п║ я█я┌п╬пЁп╬ п╪п╬п╪п╣п╫я┌п╟ п╡я▀ п╪п╬п╤п╣я┌п╣ п©я─п╬я│п╪п╬я┌я─п╣я┌я▄ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦ я┐п╠п╣п╢п╦я┌я▄я│я▐ п╡ я┌п╬п╪, я┤я┌п╬ п╬п╫п╦ п╨п╬я─я─п╣п╨я┌п╫я▀.

п▓п╬п╥п╪п╬п╤п╫п╟ я│п╦я┌я┐п╟я├п╦я▐, п╨п╬пЁп╢п╟ п╫п╣ п╡я│п╣ п╠я┐п╢п╣я┌ я┌п╟п╨ я┘п╬я─п╬я┬п╬ п╦ integer.c п╬п╨п╟п╤п╣я┌я│я▐ п╡ я│п╬я│я┌п╬я▐п╫п╦п╦ п╨п╬п╫я└п╩п╦п╨я┌п╟. п╒п╬пЁп╢п╟ п╡п╟п╪ п╠я┐п╢п╣я┌ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ я─п╟п╥я─п╣я┬п╦я┌я▄ п╨п╬п╫я└п╩п╦п╨я┌ п╬п╠я▀я┤п╫я▀п╪ п©я┐я┌п╣п╪ (я│п╪. п⌠п╩п╟п╡п╟б═2, п╜п╨я│п╨я┐я─я│п╦я▐ п©п╬ Subversion), п╩п╦п╠п╬, п╣я│п╩п╦ п╡я▀ п©я─п╦п╢п╣я┌п╣ п╨ п╪п╫п╣п╫п╦я▌, я┤я┌п╬ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╣ п╠я▀п╩п╬ п©п╩п╬я┘п╬п╧ п╦п╢п╣п╣п╧, п©я─п╬я│я┌п╬ п╬я┌п╨п╟п╥п╟я┌я▄я│я▐ п╬я┌ п╫п╣пЁп╬, п╬я┌п╪п╣п╫п╦п╡ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╨п╬п╪п╟п╫п╢п╬п╧ svn revert.

п÷я─п╬я│п╪п╬я┌я─п╣п╡ я─п╣п╥я┐п╩я▄я┌п╟я┌ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦я▐ п╦я│п©я─п╟п╡п╩п╣п╫п╦п╧, п╣пЁп╬ п╪п╬п╤п╫п╬ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ п╨п╟п╨ п╬п╠я▀я┤п╫п╬ (svn commit). п÷п╬я│п╩п╣ я█я┌п╬пЁп╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╠я┐п╢я┐я┌ п╡п╫п╣я│п╣п╫я▀ п╡ п╡п╟я┬я┐ п╡п╣я┌п╨я┐ я┘я─п╟п╫п╦п╩п╦я┴п╟. п▓ я┌п╣я─п╪п╦п╫п╬п╩п╬пЁп╦п╦ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ я┌п╟п╨я┐я▌ п©я─п╬я├п╣п╢я┐я─я┐ п╨п╬п©п╦я─п╬п╡п╟п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╪п╣п╤п╢я┐ п╡п╣я┌п╨п╟п╪п╦ п╬п╠я▀я┤п╫п╬ п╫п╟п╥я▀п╡п╟я▌я┌ п©п╬я─я┌п╦я─п╬п╡п╟п╫п╦п╣п╪ п╦п╥п╪п╣п╫п╣п╫п╦п╧.

п÷я─п╦ я└п╦п╨я│п╟я├п╦п╦ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ я┐п╠п╣п╢п╦я┌п╣я│я▄, я┤я┌п╬ п╡ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╦ я┐п©п╬п╪п╦п╫п╟п╣я┌я│я▐ п╬ п©п╬я─я┌п╦я─п╬п╡п╟п╫п╦п╦ п╬я┌п╢п╣п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╦п╥ п╬п╢п╫п╬п╧ п╡п╣я┌п╨п╦ п╡ п╢я─я┐пЁя┐я▌. п²п╟п©я─п╦п╪п╣я─:

$ svn commit -m "integer.c: ported r344 (spelling fixes) from trunk."
Sending        integer.c
Transmitting file data .
Committed revision 360.

п п╟п╨ п╡я▀ я┐п╡п╦п╢п╦я┌п╣ п╡ п©п╬я│п╩п╣п╢я┐я▌я┴п╦я┘ я─п╟п╥п╢п╣п╩п╟я┘, п╬я┤п╣п╫я▄ п╡п╟п╤п╫п╬ я│п╩п╣п╢п╬п╡п╟я┌я▄ я█я┌п╬п╧ б╚я┘п╬я─п╬я┬п╣п╧ п©я─п╟п╨я┌п╦п╨п╣б╩.

п²п╣п╠п╬п╩я▄я┬п╬п╣ п©я─п╣п╢я┐п©я─п╣п╤п╢п╣п╫п╦п╣: п╫п╣я│п╪п╬я┌я─я▐ п╫п╟ я┌п╬, я┤я┌п╬ svn diff п╦ svn merge п©п╬ я│я┐я┌п╦ п╬я┤п╣п╫я▄ п©п╬я┘п╬п╤п╦, п╡п╬ п╪п╫п╬пЁп╦я┘ я│п╩я┐я┤п╟я▐я┘ п╬п╫п╦ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ я─п╟п╥п╫я▀п╧ я│п╦п╫я┌п╟п╨я│п╦я│. п·п╠я▐п╥п╟я┌п╣п╩я▄п╫п╬ п©я─п╬я┤я┌п╦я┌п╣ п╬п╠ я█я┌п╬п╪ п╡ п⌠п╩п╟п╡п╟б═9, п÷п╬п╩п╫п╬п╣ я│п©я─п╟п╡п╬я┤п╫п╬п╣ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п©п╬ Subversion, п╦п╩п╦ я│п©я─п╬я│п╦я┌п╣ я┐ svn help. п²п╟п©я─п╦п╪п╣я─, svn merge я┌я─п╣п╠я┐п╣я┌ п╡ п╨п╟я┤п╣я│я┌п╡п╣ я├п╣п╩п╣п╡п╬пЁп╬ п╬п╠я┼п╣п╨я┌п╟ п©я┐я┌я▄ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, я┌п╬ п╣я│я┌я▄ п╪п╣я│я┌п╬, пЁп╢п╣ п╣п╧ п╫я┐п╤п╫п╬ п©я─п╦п╪п╣п╫п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│я┌я─я┐п╨я┌я┐я─я▀ я└п╟п╧п╩п╬п╡. п∙я│п╩п╦ я├п╣п╩п╣п╡п╬п╧ п╬п╠я┼п╣п╨я┌ п╫п╣ я┐п╨п╟п╥п╟п╫, п©я─п╣п╢п©п╬п╩п╟пЁп╟п╣я┌я│я▐, я┤я┌п╬ п╢п╣п╩п╟п╣я┌я│я▐ п©п╬п©я▀я┌п╨п╟ п╡я▀п©п╬п╩п╫п╦я┌я▄ п╬п╢п╫я┐ п╦п╥ я│п╩п╣п╢я┐я▌я┴п╦я┘ п╬п©п╣я─п╟я├п╦п╧:

  1. п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╨п╟я┌п╟п╩п╬пЁп╟ я│ п╡п╟я┬п╦п╪ я┌п╣п╨я┐я┴п╦п╪ я─п╟п╠п╬я┤п╦п╪ п╨п╟я┌п╟п╩п╬пЁп╬п╪;

  2. п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡ п╨п╬п╫п╨я─п╣я┌п╫п╬п╪ я└п╟п╧п╩п╣ я│ я└п╟п╧п╩п╬п╪, п╦п╪п╣я▌я┴п╦п╪ я┌п╬ п╤п╣ п╦п╪я▐ п╡ я┌п╣п╨я┐я┴п╣п╪ я─п╟п╠п╬я┤п╣п╪ п╨п╟я┌п╟п╩п╬пЁп╣.

п∙я│п╩п╦ п╡я▀ п╬п╠я┼п╣п╢п╦п╫я▐п╣я┌п╣ п╨п╟я┌п╟п╩п╬пЁ п╦ п╫п╣ я┐п╨п╟п╥я▀п╡п╟п╣я┌п╣ я├п╣п╩п╣п╡п╬п╧ п©я┐я┌я▄, svn merge п©я─п╣п╢п©п╬п╩п╟пЁп╟п╣я┌ п©п╣я─п╡я▀п╧ п╦п╥ п©я─п╦п╡п╣п╢п╣п╫п╫я▀я┘ п╡я▀я┬п╣ п╡п╟я─п╦п╟п╫я┌п╬п╡ п╦ п©я▀я┌п╟п╣я┌я│я▐ п©я─п╦п╪п╣п╫п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╨ я┌п╣п╨я┐я┴п╣п╪я┐ п╨п╟я┌п╟п╩п╬пЁя┐. п∙я│п╩п╦ п╡я▀ п╬п╠я┼п╣п╢п╦п╫я▐п╣я┌п╣ я└п╟п╧п╩, п╦ п©я─п╦ я█я┌п╬п╪ я└п╟п╧п╩ я│ я┌п╟п╨п╦п╪ п╦п╪п╣п╫п╣п╪ п╣я│я┌я▄ п╡ я┌п╣п╨я┐я┴п╣п╪ я─п╟п╠п╬я┤п╣п╪ п╨п╟я┌п╟п╩п╬пЁп╣, svn merge п©п╬п╢я─п╟п╥я┐п╪п╣п╡п╟п╣я┌ п╡я┌п╬я─п╬п╧ я│п╩я┐я┤п╟п╧ п╦ п©я▀я┌п╟п╣я┌я│я▐ п©я─п╦п╪п╣п╫п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╨ п╩п╬п╨п╟п╩я▄п╫п╬п╪я┐ я└п╟п╧п╩я┐ я│ я┌п╟п╨п╦п╪ п╤п╣ п╦п╪п╣п╫п╣п╪.

п∙я│п╩п╦ п╡я▀ я┘п╬я┌п╦я┌п╣ п©я─п╦п╪п╣п╫п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╨ я┤п╣п╪я┐-я┌п╬ п╢я─я┐пЁп╬п╪я┐, п╡п╟п╪ п╫я┐п╤п╫п╬ я█я┌п╬ я┐п╨п╟п╥п╟я┌я▄. п²п╟п©я─п╦п╪п╣я─, п╣я│п╩п╦ п╡я▀ п╫п╟я┘п╬п╢п╦я┌п╣я│я▄ п╡ я─п╬п╢п╦я┌п╣п╩я▄я│п╨п╬п╪ п╨п╟я┌п╟п╩п╬пЁп╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, я┌п╬ п╡п╟п╪ п╫я┐п╤п╫п╬ я┐п╨п╟п╥п╟я┌я▄ я├п╣п╩п╣п╡п╬п╧ п╨п╟я┌п╟п╩п╬пЁ, п©п╬п╩я┐я┤п╟я▌я┴п╦п╧ п╦п╥п╪п╣п╫п╣п╫п╦я▐:

$ svn merge -r 343:344 http://svn.example.com/repos/calc/trunk my-calc-branch
U   my-calc-branch/integer.c

п п╩я▌я┤п╣п╡я▀п╣ п╦п╢п╣п╦, я│я┌п╬я▐я┴п╦п╣ п╥п╟ я│п╩п╦я▐п╫п╦п╣п╪

п╒п╣п©п╣я─я▄, п©п╬я│п╩п╣ п╥п╫п╟п╨п╬п╪я│я┌п╡п╟ я│ п©я─п╦п╪п╣я─п╟п╪п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ svn merge, п╫п╟я│я┌п╟п╩п╟ п©п╬я─п╟ я─п╟п╥п╬п╠я─п╟я┌я▄я│я▐ п╡ п╫п╦я┘ п©п╬пЁп╩я┐п╠п╤п╣. п∙я│п╩п╦ п╡я▀ я┤я┐п╡я│я┌п╡я┐п╣я┌п╣ п╫п╣я┐п╡п╣я─п╣п╫п╫п╬я│я┌я▄ п╡ я┌п╬п╪ п╨п╟п╨, я│п╬п╠я│я┌п╡п╣п╫п╫п╬, я─п╟п╠п╬я┌п╟п╣я┌ я│п╩п╦я▐п╫п╦п╣, я┌п╬ п╡я▀ п╡ я█я┌п╬п╪ п╡я▀ п╫п╣ п╬п╢п╦п╫п╬п╨п╦. п°п╫п╬пЁп╦п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ (п╬я│п╬п╠п╣п╫п╫п╬ я┌п╣, п╢п╩я▐ п╨п╬я┌п╬я─я▀я┘ я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦ п╡ п╫п╬п╡п╦п╫п╨я┐) п©п╬п╫п╟я┤п╟п╩я┐ п©я┐я┌п╟я▌я┌я│я▐ п╡ п©я─п╟п╡п╦п╩я▄п╫п╬я│я┌п╦ п╥п╟п©п╦я│п╦ я█я┌п╬п╧ п╨п╬п╪п╟п╫п╢я▀ п╦ п╡ я┌п╬п╪, п╨п╟п╨ п╦ п╨п╬пЁп╢п╟ я█я┌я┐ я└я┐п╫п╨я├п╦я▌ я│п╩п╣п╢я┐п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄. п·я┌п╠я─п╬я│я▄я┌п╣ я│я┌я─п╟я┘ Б─■ п╫п╟ я│п╟п╪п╬п╪ п╢п╣п╩п╣ я█я┌п╟ п╨п╬п╪п╟п╫п╢п╟ п╫п╟п╪п╫п╬пЁп╬ п©я─п╬я┴п╣, я┤п╣п╪ п╡я▀ п╢я┐п╪п╟п╣я┌п╣! п÷п╬п╫я▐я┌я▄, п╨п╟п╨ п╦п╪п╣п╫п╫п╬ п╡п╣п╢п╣я┌ я│п╣п╠я▐ svn merge, п╬я┤п╣п╫я▄ п©я─п╬я│я┌п╬.

п▓ я│я┌я┐п©п╬я─ п╡п╡п╬п╢п╦я┌, пЁп╩п╟п╡п╫я▀п╪ п╬п╠я─п╟п╥п╬п╪, п╫п╟п╥п╡п╟п╫п╦п╣ п╨п╬п╪п╟п╫п╢я▀. п╒п╣я─п╪п╦п╫ б╚я│п╩п╦я▐п╫п╦п╣б╩ п╨п╟п╨ п╠я▀ я┐п╨п╟п╥я▀п╡п╟п╣я┌ п╫п╟ я┌п╬, я┤я┌п╬ п╡п╣я┌п╨п╦ я│п╬п╣п╢п╦п╫я▐я▌я┌я│я▐ п╡п╪п╣я│я┌п╣, п╦п╩п╦ п©я─п╬п╦я│я┘п╬п╢п╦я┌ п╨п╟п╨п╬п╣-я┌п╬ п╡п╬п╩я┬п╣п╠п╫п╬п╣ я│п╪п╣я┬п╦п╡п╟п╫п╦п╣ п╢п╟п╫п╫я▀я┘. п²п╟ я│п╟п╪п╬п╪ п╢п╣п╩п╣ я█я┌п╬ п╫п╣ я┌п╟п╨. п÷п╬п╤п╟п╩я┐п╧, я█я┌п╬п╧ п╨п╬п╪п╟п╫п╢п╣ п╩я┐я┤я┬п╣ п╠я▀ п©п╬п╢п╬я┴п╩п╬ п╫п╟п╥п╡п╟п╫п╦п╣ svn diff-and-apply, п©п╬я│п╨п╬п╩я▄п╨я┐ я█я┌п╬ п╡я│я▒, я┤я┌п╬ п╡ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ п©я─п╬п╦я│я┘п╬п╢п╦я┌: я│я─п╟п╡п╫п╦п╡п╟я▌я┌я│я▐ п╢п╡п╟ я└п╟п╧п╩п╬п╡я▀я┘ п╢п╣я─п╣п╡п╟ я┘я─п╟п╫п╦п╩п╦я┴п╟, п╟ я─п╟п╥п╩п╦я┤п╦я▐ п©п╣я─п╣п╫п╬я│я▐я┌я│я▐ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌.

п п╬п╪п╟п╫п╢п╟ п©я─п╦п╫п╦п╪п╟п╣я┌ я┌я─п╦ п╟я─пЁя┐п╪п╣п╫я┌п╟:

  1. п²п╟я┤п╟п╩я▄п╫п╬п╣ п╢п╣я─п╣п╡п╬ я┘я─п╟п╫п╦п╩п╦я┴п╟ (п╨п╟п╨ п©я─п╟п╡п╦п╩п╬, п╫п╟п╥я▀п╡п╟п╣п╪п╬п╣ п╩п╣п╡п╬п╧ я┤п╟я│я┌я▄я▌ п©я─п╦ я│я─п╟п╡п╫п╣п╫п╦п╦),

  2. п п╬п╫п╣я┤п╫п╬п╣ п╢п╣я─п╣п╡п╬ я┘я─п╟п╫п╦п╩п╦я┴п╟ (п╨п╟п╨ п©я─п╟п╡п╦п╩п╬ п╫п╟п╥я▀п╡п╟п╣п╪п╬п╣ п©я─п╟п╡п╬п╧ я┤п╟я│я┌я▄я▌ п©я─п╦ я│я─п╟п╡п╫п╣п╫п╦п╦),

  3. п═п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, п╨ п╨п╬я┌п╬я─п╬п╧ п╬я┌п╩п╦я┤п╦я▐ п©я─п╦п╪п╣п╫я▐я▌я┌я│я▐ п╡ п╡п╦п╢п╣ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ (п╨п╟п╨ п©я─п╟п╡п╦п╩п╬, п╫п╟п╥я▀п╡п╟п╣п╪я┐я▌ я├п╣п╩я▄я▌ я│п╩п╦я▐п╫п╦я▐).

п п╬пЁп╢п╟ я█я┌п╦ я┌я─п╦ п╟я─пЁя┐п╪п╣п╫я┌п╟ я┐п╨п╟п╥п╟п╫я▀, п©я─п╬п╦п╥п╡п╬п╢п╦я┌я│я▐ я│я─п╟п╡п╫п╣п╫п╦п╣ п╢п╡я┐я┘ п╢п╣я─п╣п╡я▄п╣п╡, п╟ п©п╬п╩я┐я┤п╣п╫п╫я▀п╣ я─п╟п╥п╩п╦я┤п╦я▐ п©я─п╦п╪п╣п╫я▐я▌я┌я│я▐ п╨ я├п╣п╩п╣п╡п╬п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡ п╡п╦п╢п╣ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п÷п╬я│п╩п╣ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ я█я┌п╬п╧ п╨п╬п╪п╟п╫п╢я▀ я─п╣п╥я┐п╩я▄я┌п╟я┌ п╠я┐п╢п╣я┌ я┌п╟п╨ п╤п╣, п╨п╟п╨ п╡ я│п╩я┐я┤п╟п╣, п╣я│п╩п╦ п╠я▀ п╡я▀ п╡я─я┐я┤п╫я┐я▌ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╩п╦ я└п╟п╧п╩я▀ п╦п╩п╦ п╪п╫п╬пЁп╬п╨я─п╟я┌п╫п╬ п╡я▀п©п╬п╩п╫я▐п╩п╦ п╨п╬п╪п╟п╫п╢я▀ svn add п╦п╩п╦ svn delete. п∙я│п╩п╦ я─п╣п╥я┐п╩я▄я┌п╟я┌ п╡п╟я│ я┐я│я┌я─п╟п╦п╡п╟п╣я┌, п╣пЁп╬ п╪п╬п╤п╫п╬ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄. п∙я│п╩п╦ я─п╣п╥я┐п╩я▄я┌п╟я┌ п╡п╟я│ п╫п╣ я┐я│я┌я─п╟п╦п╡п╟п╣я┌, п©я─п╬я│я┌п╬ п╬я┌п╪п╣п╫п╦я┌п╣ (svn revert) п╡я│п╣ я│п╢п╣п╩п╟п╫п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐.

п║п╦п╫я┌п╟п╨я│п╦я│ svn merge п©п╬п╥п╡п╬п╩я▐п╣я┌ я┐п╨п╟п╥я▀п╡п╟я┌я▄ я█я┌п╦ я┌я─п╦ п╟я─пЁя┐п╪п╣п╫я┌п╟ п╢п╬п╡п╬п╩я▄п╫п╬ пЁп╦п╠п╨п╬. п▓п╬я┌ п╫п╣я│п╨п╬п╩я▄п╨п╬ п©я─п╦п╪п╣я─п╬п╡:

      
$ svn merge http://svn.example.com/repos/branch1@150 \
            http://svn.example.com/repos/branch2@212 \
            my-working-copy

$ svn merge -r 100:200 http://svn.example.com/repos/trunk my-working-copy

$ svn merge -r 100:200 http://svn.example.com/repos/trunk

п▓ п©п╣я─п╡п╬п╪ п╡п╟я─п╦п╟п╫я┌п╣ п╡я│п╣ я┌я─п╦ п╟я─пЁя┐п╪п╣п╫я┌п╟ я┐п╨п╟п╥п╟п╫я▀ я▐п╡п╫п╬ Б─■ п╨п╟п╤п╢п╬п╣ п╢п╣я─п╣п╡п╬ п╥п╟п╢п╟п╫п╬ п╡ я└п╬я─п╪п╣ URL@REV п╦ я┐п╨п╟п╥п╟п╫п╟ я├п╣п╩п╣п╡п╟я▐ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐. п▓я┌п╬я─п╬п╧ п╡п╟я─п╦п╟п╫я┌ п╪п╬п╤п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╢п╩я▐ п╨я─п╟я┌п╨п╬я│я┌п╦ п╥п╟п©п╦я│п╦ п╡ я│п╦я┌я┐п╟я├п╦я▐я┘, п╨п╬пЁп╢п╟ я│я─п╟п╡п╫п╦п╡п╟я▌я┌я│я▐ п╢п╡п╣ я─п╟п╥п╫я▀я┘ п©я─п╟п╡п╨п╦ п©п╬ п╬п╢п╫п╬п╪я┐ п╦ я┌п╬п╪я┐ п╤п╣ URL. п÷п╬я│п╩п╣п╢п╫п╦п╧ п╡п╟я─п╦п╟п╫я┌ п╢п╣п╪п╬п╫я│я┌я─п╦я─я┐п╣я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╫п╣ я┐п╨п╟п╥я▀п╡п╟я┌я▄ я├п╣п╩п╣п╡я┐я▌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, п©я─п╦ я█я┌п╬п╪ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ я┌п╣п╨я┐я┴п╦п╧ п╨п╟я┌п╟п╩п╬пЁ.

п п╟п╨ п©я─п╟п╡п╦п╩я▄п╫п╣п╣ п╡я│п╣пЁп╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я│п╩п╦я▐п╫п╦п╣

п═я┐я┤п╫п╬п╧ п╨п╬п╫я┌я─п╬п╩я▄ я│п╩п╦я▐п╫п╦я▐

п²п╟ п©п╣я─п╡я▀п╧ п╡п╥пЁп╩я▐п╢ п╬п╠я┼п╣п╢п╦п╫п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п©я─п╬я│я┌п╬, п╬п╢п╫п╟п╨п╬ п╫п╟ п©я─п╟п╨я┌п╦п╨п╣ п╪п╬пЁя┐я┌ п╡п╬п╥п╫п╦п╨п╫я┐я┌я▄ я┌я─я┐п╢п╫п╬я│я┌п╦. п÷я─п╬п╠п╩п╣п╪п╟ п╥п╟п╨п╩я▌я┤п╟п╣я┌я│я▐ п╡ я┌п╬п╪, я┤я┌п╬ п©я─п╦ п╪п╫п╬пЁп╬п╨я─п╟я┌п╫п╬п╪ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╬п╢п╫п╬п╧ п╡п╣я┌п╨п╦ я│ п╢я─я┐пЁп╬п╧ п╪п╬п╤п╫п╬ п╫п╣п©я─п╣п╢п╫п╟п╪п╣я─п╣п╫п╫п╬ я│п╢п╣п╩п╟я┌я▄ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╣ п╬п╢п╫п╦я┘ п╦ я┌п╣я┘ п╤п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╢п╡п╟п╤п╢я▀. п≤п╫п╬пЁп╢п╟ я█я┌п╬ п╫п╣ п╡я▀п╥я▀п╡п╟п╣я┌ п©я─п╬п╠п╩п╣п╪. п÷я─п╦ п©я─п╦п╪п╣п╫п╣п╫п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╨ я└п╟п╧п╩я┐ Subversion, п╨п╟п╨ п©я─п╟п╡п╦п╩п╬, п©я─п╣п╢я┐п©я─п╣п╤п╢п╟п╣я┌ п╬ я┌п╬п╪, я┤я┌п╬ я└п╟п╧п╩ я┐п╤п╣ я│п╬п╢п╣я─п╤п╦я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦ п╡ я█я┌п╬п╪ я│п╩я┐я┤п╟п╣ п╫п╣ п╡я▀п©п╬п╩п╫я▐п╣я┌ п╫п╦п╨п╟п╨п╦я┘ п╢п╣п╧я│я┌п╡п╦п╧. п·п╢п╫п╟п╨п╬, п╣я│п╩п╦ я┐п╤п╣ п©я─п╦я│я┐я┌я│я┌п╡я┐я▌я┴п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╠я▀п╩п╦ п╪п╬п╢п╦я└п╦я├п╦я─п╬п╡п╟п╫я▀, п╡п╬п╥п╫п╦п╨п╫п╣я┌ п╨п╬п╫я└п╩п╦п╨я┌.

п▓ п╦п╢п╣п╟п╩п╣ я│п╦я│я┌п╣п╪п╟ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ п╢п╬п╩п╤п╫п╟ п©я─п╣п╢п╬я┌п╡я─п╟я┴п╟я┌я▄ п©п╬п╡я┌п╬я─п╫п╬п╣ п©я─п╦п╪п╣п╫п╣п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╨ п╡п╣я┌п╨п╣. п·п╫п╟ п╢п╬п╩п╤п╫п╟ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄, п╨п╟п╨п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я┐п╤п╣ п╠я▀п╩п╦ п©п╬п╩я┐я┤п╣п╫я▀ п╦ п╦п╪п╣я┌я▄ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п©п╣я─п╣я┤п╦я│п╩п╦я┌я▄ п╦я┘ п╡п╟п╪. п·п╫п╟ п╢п╬п╩п╤п╫п╟ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я█я┌я┐ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀, п╫п╟я│п╨п╬п╩я▄п╨п╬ п╡п╬п╥п╪п╬п╤п╫п╬, п©п╬п╪п╬я┤я▄ п╟п╡я┌п╬п╪п╟я┌п╦п╥п╦я─п╬п╡п╟я┌я▄ я│п╩п╦я▐п╫п╦п╣.

п  я│п╬п╤п╟п╩п╣п╫п╦я▌, Subversion п╫п╣ я┌п╟п╨п╟я▐ я│п╦я│я┌п╣п╪п╟. п п╟п╨ п╦ CVS, Subversion п©п╬п╨п╟ п╫п╣ я│п╬я┘я─п╟п╫я▐п╣я┌ п╫п╦п╨п╟п╨п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╬п╠ п╬п©п╣я─п╟я├п╦я▐я┘ я│п╩п╦я▐п╫п╦я▐. п÷я─п╦ я└п╦п╨я│п╟я├п╦п╦ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ я┘я─п╟п╫п╦п╩п╦я┴п╣ п©п╬п╫я▐я┌п╦я▐ п╫п╣ п╦п╪п╣п╣я┌, я▐п╡п╩я▐я▌я┌я│я▐ п╩п╦ я█я┌п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я─п╣п╥я┐п╩я▄я┌п╟я┌п╬п╪ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ п╨п╬п╪п╟п╫п╢я▀ svn merge п╦п╩п╦ я─п╣п╥я┐п╩я▄я┌п╟я┌п╬п╪ п╬п╠я▀я┤п╫п╬пЁп╬ я─я┐я┤п╫п╬пЁп╬ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦я▐ я└п╟п╧п╩п╬п╡.

п╖я┌п╬ я█я┌п╬ п╬п╥п╫п╟я┤п╟п╣я┌ п╢п╩я▐ п╡п╟я│ п╨п╟п╨ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐? п╜я┌п╬ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ п╢п╬ я┌п╬пЁп╬ п╪п╬п╪п╣п╫я┌п╟, п©п╬п╨п╟ я┐ Subversion п╫п╣ п©п╬я▐п╡п╦я┌я│я▐ я█я┌п╬п╧ я└я┐п╫п╨я├п╦п╦, п╡п╟п╪ п©я─п╦п╢п╣я┌я│я▐ п╨п╬п╫я┌я─п╬п╩п╦я─п╬п╡п╟я┌я▄ я│п╩п╦я▐п╫п╦п╣ п╦п╫я└п╬я─п╪п╟я├п╦п╦ я│п╟п╪п╬я│я┌п╬я▐я┌п╣п╩я▄п╫п╬. п⌡я┐я┤я┬п╦п╪ п╪п╣я│я┌п╬п╪ п╢п╩я▐ я█я┌п╬пЁп╬ я▐п╡п╩я▐п╣я┌я│я▐ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╣. п п╟п╨ п╠я▀п╩п╬ п©п╬п╨п╟п╥п╟п╫п╬ п╡ п©я─п╣п╢я▀п╢я┐я┴п╦я┘ п©я─п╦п╪п╣я─п╟я┘, я─п╣п╨п╬п╪п╣п╫п╢я┐п╣я┌я│я▐, я┤я┌п╬п╠я▀ п╡ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╦ п╠я▀п╩ я┐п╨п╟п╥п╟п╫ п╨п╬п╫п╨я─п╣я┌п╫я▀п╧ п╫п╬п╪п╣я─ п©я─п╟п╡п╨п╦ (п╦п╩п╦ п╢п╦п╟п©п╟п╥п╬п╫ п©я─п╟п╡п╬п╨), п╨п╬я┌п╬я─я▀п╣ п╠я▀п╩п╦ я│п╩п╦я┌я▀ п╡ п╡п╟я┬я┐ п╡п╣я┌п╨я┐. п▓ я█я┌п╬п╪ я│п╩я┐я┤п╟п╣ п╡я▀ я│п╪п╬п╤п╣я┌п╣ п╡п©п╬я│п╩п╣п╢я│я┌п╡п╦п╦ п©я─п╬я│п╪п╬я┌я─п╣я┌я▄, п╨п╟п╨п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я┐п╤п╣ я│п╬п╢п╣я─п╤п╦я┌ п╡п╟я┬п╟ п╡п╣я┌п╨п╟, п╥п╟п©я┐я│я┌п╦ п╨п╬п╪п╟п╫п╢я┐ svn log. п╜я┌п╬ п©п╬п╥п╡п╬п╩п╦я┌ п╠я▀я┌я▄ п╬я│я┌п╬я─п╬п╤п╫п╣п╣ п©я─п╦ п©п╬я│п╩п╣п╢я┐я▌я┴п╦я┘ п╥п╟п©я┐я│п╨п╟я┘ п╨п╬п╪п╟п╫п╢я▀ svn merge п╦ п╦п╥п╠п╣п╤п╟я┌я▄ п©п╣я─п╣я│п╣я┤п╣п╫п╦я▐ я│ я┐п╤п╣ п©п╬я─я┌п╦я─п╬п╡п╟п╫п╫я▀п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦.

п▓ я│п╩п╣п╢я┐я▌я┴п╣п╪ я─п╟п╥п╢п╣п╩п╣ п╪я▀ п╫п╟ п©я─п╦п╪п╣я─п╟я┘ я─п╟я│я│п╪п╬я┌я─п╦п╪ я█я┌я┐ п╪п╣я┌п╬п╢п╦п╨я┐ п╡ п╢п╣п╧я│я┌п╡п╦п╦.

п÷я─п╣п╢п╡п╟я─п╦я┌п╣п╩я▄п╫я▀п╧ п©я─п╬я│п╪п╬я┌я─ я─п╣п╥я┐п╩я▄я┌п╟я┌п╬п╡ я│п╩п╦я▐п╫п╦я▐

п÷п╬я│п╨п╬п╩я▄п╨я┐ я─п╣п╥я┐п╩я▄я┌п╟я┌п╬п╪ я│п╩п╦я▐п╫п╦я▐ я▐п╡п╩я▐я▌я┌я│я▐ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я┌п╟п╨п╟я▐ п╬п©п╣я─п╟я├п╦я▐ п╫п╣ я▐п╡п╩я▐п╣я┌я│я▐ п╬п©п╟я│п╫п╬п╧. п■п╬п©я┐я│я┌п╦п╡ п©я─п╦ я│п╩п╦я▐п╫п╦п╦ п╬я┬п╦п╠п╨я┐, п╪п╬п╤п╫п╬ п©я─п╬я│я┌п╬ п╬я┌п╪п╣п╫п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ (svn revert) п╦ п©п╬п©я─п╬п╠п╬п╡п╟я┌я▄ п╣я┴п╣ я─п╟п╥.

п·п╢п╫п╟п╨п╬, п╡п╬п╥п╪п╬п╤п╫п╟ я│п╦я┌я┐п╟я├п╦я▐, п╨п╬пЁп╢п╟ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ я┐п╤п╣ я│п╬п╢п╣я─п╤п╦я┌ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐. п≤п╥п╪п╣п╫п╣п╫п╦я▐, п©я─п╦п╪п╣п╫п╣п╫п╫я▀п╣ п©я─п╦ я│п╩п╦я▐п╫п╦п╦, п╠я┐п╢я┐я┌ я│п╪п╣я┬п╟п╫я▀ я│ я┐п╤п╣ я│я┐я┴п╣я│я┌п╡я┐я▌я┴п╦п╪п╦, п╦ п╥п╟п©я┐я│п╨ svn revert п╫п╟я│ п╠п╬п╩я▄я┬п╣ п╫п╣ я┐я│я┌я─п╬п╦я┌. п═п╟п╥п╢п╣п╩п╦я┌я▄ п╢п╡п╟ п╪п╫п╬п╤п╣я│я┌п╡п╟ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╠я┐п╢п╣я┌ п╫п╣п╡п╬п╥п╪п╬п╤п╫п╬.

п▓ я┌п╟п╨п╬п╧ я│п╦я┌я┐п╟я├п╦п╦ п╩я┐я┤я┬п╣ п©п╬п©я─п╬п╠п╬п╡п╟я┌я▄ я│п©я─п╬пЁп╫п╬п╥п╦я─п╬п╡п╟я┌я▄ п╦п╩п╦ п©я─п╬п╡п╣я─п╦я┌я▄ я─п╣п╥я┐п╩я▄я┌п╟я┌ я│п╩п╦я▐п╫п╦я▐ п╢п╬ я┌п╬пЁп╬, п╨п╟п╨ п╬п╫п╬ п©я─п╬п╦п╥п╬п╧п╢п╣я┌. п÷я─п╬я┴п╣ п╡я│п╣пЁп╬ п╥п╟п©я┐я│я┌п╦я┌я▄ п╢п╩я▐ я█я┌п╬пЁп╬ svn diff я│ я┌п╣п╪п╦ п╤п╣ п╟я─пЁя┐п╪п╣п╫я┌п╟п╪п╦, я┤я┌п╬ п╦ п╢п╩я▐ svn merge. п°я▀ я┐п╤п╣ п©п╬п╨п╟п╥я▀п╡п╟п╩п╦ я█я┌п╬ п╡ п©п╣я─п╡п╬п╪ п©я─п╦п╪п╣я─п╣ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦я▐. п■я─я┐пЁп╦п╪ я│п©п╬я│п╬п╠п╬п╪ п©я─п╣п╢п╡п╟я─п╦я┌п╣п╩я▄п╫п╬пЁп╬ п©я─п╬я│п╪п╬я┌я─п╟ п╪п╬п╤п╣я┌ я│п╩я┐п╤п╦я┌я▄ п╡я▀п╥п╬п╡ п╨п╬п╪п╟п╫п╢я▀ я│п╩п╦я▐п╫п╦я▐ я│ п╬п©я├п╦п╣п╧ --dry-run:

$ svn merge --dry-run -r 343:344 http://svn.example.com/repos/calc/trunk
U  integer.c

$ svn status
#  nothing printed, working copy is still unchanged.

п·п©я├п╦я▐ --dry-run п©п╬п╥п╡п╬п╩я▐п╣я┌ п╫п╣ п©я─п╦п╪п╣п╫я▐я┌я▄ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╨ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п·п╫п╟ я┌п╬п╩я▄п╨п╬ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌ я│я┌п╟я┌я┐я│я▀, п╨п╬я┌п╬я─я▀п╣ п╦п╪п╣п╩п╦ п╠я▀ я└п╟п╧п╩я▀ п©я─п╦ я─п╣п╟п╩я▄п╫п╬п╪ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╦. п╜я┌п╬ п©п╬п╩п╣п╥п╫п╬ п╢п╩я▐ п©п╬п╩я┐я┤п╣п╫п╦я▐ б╚я│п╡п╬п╢п╫п╬п╧б╩ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╬ п©п╬я┌п╣п╫я├п╦п╟п╩я▄п╫п╬п╪ я│п╩п╦я▐п╫п╦п╦ п╡ я┌п╣я┘ я│п╩я┐я┤п╟я▐я┘, п╨п╬пЁп╢п╟ п╥п╟п©я┐я│п╨ svn diff п╡я▀п╢п╟п╣я┌ я│п╩п╦я┬п╨п╬п╪ п╪п╫п╬пЁп╬ п©п╬п╢я─п╬п╠п╫п╬я│я┌п╣п╧.

п п╬п╫я└п╩п╦п╨я┌я▀ п©я─п╦ я│п╩п╦я▐п╫п╦п╦

п╒п╟п╨ п╤п╣ п╨п╟п╨ п╦ svn update, п╨п╬п╪п╟п╫п╢п╟ svn merge п╡п╫п╣п╢я─я▐п╣я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌. п║п╩п╣п╢п╬п╡п╟я┌п╣п╩я▄п╫п╬, п╬п╫п╟ я┌п╬п╤п╣ п╪п╬п╤п╣я┌ я│п╬п╥п╢п╟п╡п╟я┌я▄ п╨п╬п╫я└п╩п╦п╨я┌я▀. п·п╢п╫п╟п╨п╬ п╨п╬п╫я└п╩п╦п╨я┌я▀, п©п╬я─п╬п╤п╢п╟п╣п╪я▀п╣ svn merge, п╦п╪п╣я▌я┌ п╬п©я─п╣п╢п╣п╩п╣п╫п╫я▀п╣ п╬я┌п╩п╦я┤п╦я▐, п╦ п©п╬я█я┌п╬п╪я┐ п╪я▀ п╦я┘ я│п╣п╧я┤п╟я│ я─п╟я│я│п╪п╬я┌я─п╦п╪ п©п╬п╢я─п╬п╠п╫п╣п╣.

п▓п╫п╟я┤п╟п╩п╣ п©я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┤я┌п╬ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╫п╣ п╦п╪п╣п╣я┌ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п÷я─п╦ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╦ (svn update) я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╢п╬ п╨п╬п╫п╨я─п╣я┌п╫п╬п╧ п©я─п╟п╡п╨п╦ п╬я┌п©я─п╟п╡п╩я▐п╣п╪я▀п╣ я│п╣я─п╡п╣я─п╬п╪ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╠я┐п╢я┐я┌ п╡я│п╣пЁп╢п╟ б╚п╠п╣п╥ п©я─п╬п╠п╩п╣п╪б╩ п╡п╫п╣п╢я─я▐я┌я▄я│я▐ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌. п║п╣я─п╡п╣я─ я│п╬п╥п╢п╟п╣я┌ п╢п╣п╩я▄я┌я┐, я│я─п╟п╡п╫п╦п╡п╟я▐ п╢п╡п╟ п╢п╣я─п╣п╡п╟: п╡п╦я─я┌я┐п╟п╩я▄п╫я▀п╧ я│п╫п╦п╪п╬п╨ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╦ п╢п╣я─п╣п╡п╬ я└п╟п╧п╩п╬п╡, п╨п╬я┌п╬я─п╬п╣ п╡п╟я│ п╦п╫я┌п╣я─п╣я│я┐п╣я┌. пёя┤п╦я┌я▀п╡п╟я▐ я┌п╬, я┤я┌п╬ п╩п╣п╡п╟я▐ я┤п╟я│я┌я▄ я│я─п╟п╡п╫п╣п╫п╦я▐ п©п╬п╩п╫п╬я│я┌я▄я▌ я█п╨п╡п╦п╡п╟п╩п╣п╫я┌п╫п╟ я┌п╬п╪я┐, я┤я┌п╬ п╡я▀ я┐п╤п╣ п╦п╪п╣п╣я┌п╣, п╢п╣п╩я▄я┌п╟ пЁп╟я─п╟п╫я┌п╦я─п╬п╡п╟п╫п╫п╬ п©я─п╟п╡п╦п╩я▄п╫п╬ п╨п╬п╫п╡п╣я─я┌п╦я─я┐п╣я┌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╡ п©я─п╟п╡я┐я▌ я┤п╟я│я┌я▄ я│я─п╟п╡п╫п╣п╫п╦я▐.

п·п╢п╫п╟п╨п╬ svn merge п╫п╣ п╢п╟п╣я┌ я┌п╟п╨п╬п╧ пЁп╟я─п╟п╫я┌п╦п╦, п╦ п╪п╬п╤п╣я┌ п╡п╣я│я┌п╦ я│п╣п╠я▐ п╠п╬п╩п╣п╣ п╫п╣п©я─п╣п╢я│п╨п╟п╥я┐п╣п╪п╬: п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╪п╬п╤п╣я┌ п╥п╟п©я─п╬я│п╦я┌я▄ я│п╣я─п╡п╣я─ я│я─п╟п╡п╫п╦я┌я▄ п╩я▌п╠я▀п╣ п╢п╡п╟ п╢п╣я─п╣п╡п╟ я└п╟п╧п╩п╬п╡, п╢п╟п╤п╣ я┌п╟п╨п╦п╣, п╨п╬я┌п╬я─я▀п╣ п╫п╣ п╦п╪п╣я▌я┌ п╬я┌п╫п╬я┬п╣п╫п╦я▐ п╨ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦! п≤п╥ я█я┌п╬пЁп╬ я│п╩п╣п╢я┐п╣я┌ п╪п╫п╬п╤п╣я│я┌п╡п╬ п©п╬я┌п╣п╫я├п╦п╟п╩я▄п╫я▀я┘ я┤п╣п╩п╬п╡п╣я┤п╣я│п╨п╦я┘ п╬я┬п╦п╠п╬п╨. п≤п╫п╬пЁп╢п╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╠я┐п╢я┐я┌ я│я─п╟п╡п╫п╦п╡п╟я┌я▄ п╢п╡п╟ п╬я┬п╦п╠п╬я┤п╫я▀я┘ п╢п╣я─п╣п╡п╟, я│п╬п╥п╢п╟п╡п╟я▐ п╢п╣п╩я▄я┌я┐, п╨п╬я┌п╬я─п╟я▐ п╫п╣ я│п╪п╬п╤п╣я┌ п©я─п╟п╡п╦п╩я▄п╫п╬ п╡п╫п╣п╢я─п╦я┌я▄я│я▐. svn merge п╠я┐п╢п╣я┌ п©я▀я┌п╟я┌я▄я│я▐ п╡п╫п╣п╢я─п╦я┌я▄ я─п╟п╥п╩п╦я┤п╦я▐ п©п╬ п╪п╟п╨я│п╦п╪я┐п╪я┐, п╫п╬ п╦п╫п╬пЁп╢п╟ я█я┌п╬ п╠я┐п╢п╣я┌ п╫п╣п╡п╬п╥п╪п╬п╤п╫п╬. п╒п╟п╨ п╤п╣ п╨п╟п╨ п╨п╬п╪п╟п╫п╢п╟ patch п╡ Unix п╦п╫п╬пЁп╢п╟ п╤п╟п╩я┐п╣я┌я│я▐ п╫п╟ б╚п╫п╣я┐п╢п╟я┤п╫я▀п╣ п©п╬п©я▀я┌п╨п╦б╩ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦я▐, svn merge п╠я┐п╢п╣я┌ п╤п╟п╩п╬п╡п╟я┌я▄я│я▐ п╫п╟ б╚п©я─п╬п©я┐я┴п╣п╫п╫я▀п╣ я├п╣п╩п╦б╩:

$ svn merge -r 1288:1351 http://svn.example.com/repos/branch
U  foo.c
U  bar.c
Skipped missing target: 'baz.c'
U  glub.c
C  glorb.h

$

п▓п╬п╥п╪п╬п╤п╫п╬, я┤я┌п╬ п╡ п©я─п╣п╢я▀п╢я┐я┴п╣п╪ п©я─п╦п╪п╣я─п╣ я└п╟п╧п╩ baz.c я│я┐я┴п╣я│я┌п╡я┐п╣я┌ п╡ п╬п╠п╬п╦я┘ я│я─п╟п╡п╫п╦п╡п╟п╣п╪я▀я┘ я│п╫п╦п╪п╨п╟я┘ п╡п╣я┌п╨п╦ п╦ Subversion п©я▀я┌п╟п╣я┌я│я▐ п©я─п╦п╪п╣п╫п╦я┌я▄ я─п╣п╥я┐п╩я▄я┌п╦я─я┐я▌я┴я┐я▌ п╢п╣п╩я▄я┌я┐ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ п╦п╥п╪п╣п╫п╦я┌я▄ я│п╬п╢п╣я─п╤п╦п╪п╬п╣ я└п╟п╧п╩п╟, п╬п╢п╫п╟п╨п╬ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я└п╟п╧п╩ п╬я┌я│я┐я┌я│я┌п╡я┐п╣я┌. п▓ п╩я▌п╠п╬п╪ я│п╩я┐я┤п╟п╣ я│п╬п╬п╠я┴п╣п╫п╦п╣ б╚skippedб╩ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ я│п╨п╬я─п╣п╣ п╡я│п╣пЁп╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╬я┬п╦п╠я│я▐ п©я─п╦ я┐п╨п╟п╥п╟п╫п╦п╦ п╢п╣я─п╣п╡я▄п╣п╡ п╢п╩я▐ я│я─п╟п╡п╫п╣п╫п╦я▐ Б─■ я┌п╬ п╣я│я┌я▄ я█я┌п╬ п╨п╩п╟я│я│п╦я┤п╣я│п╨п╟я▐ п╬я┬п╦п╠п╨п╟ п╬п©п╣я─п╟я┌п╬я─п╟. п∙я│п╩п╦ я█я┌п╬ я┌п╟п╨, п©я─п╬я┴п╣ п╡я│п╣пЁп╬ я─п╣п╨я┐я─я│п╦п╡п╫п╬ п╬я┌п╪п╣п╫п╦я┌я▄ п╡я│п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я│п╢п╣п╩п╟п╫п╫я▀п╣ п©я─п╦ я│п╩п╦я▐п╫п╦п╦ (svn revert --recursive), я│я─п╟п╥я┐ п╤п╣ п©п╬я│п╩п╣ я█я┌п╬пЁп╬ я┐п╢п╟п╩п╦я┌я▄ п╡я│п╣ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╣ я└п╟п╧п╩я▀ п╦ п╨п╟я┌п╟п╩п╬пЁп╦ п╦ п©п╬п╡я┌п╬я─п╫п╬ п╥п╟п©я┐я│я┌п╦я┌я▄ svn merge я│ п╢я─я┐пЁп╦п╪п╦ п©п╟я─п╟п╪п╣я┌я─п╟п╪п╦.

п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ я┌п╬, я┤я┌п╬ п╡ п©я─п╣п╢я▀п╢я┐я┴п╣п╪ п©я─п╦п╪п╣я─п╣ п╡ я└п╟п╧п╩п╣ glorb.h п╡п╬п╥п╫п╦п╨ п╨п╬п╫я└п╩п╦п╨я┌. п·я┌п╨я┐п╢п╟ п╤п╣ п╬п╫ п╪п╬пЁ п╡п╥я▐я┌я▄я│я▐, п╣я│п╩п╦ я─п╟п╫п╣п╣ п╪я▀ п╢п╬пЁп╬п╡п╬я─п╦п╩п╦я│я▄, я┤я┌п╬ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╫п╣ п╦п╪п╣п╣я┌ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧? п·п©я▐я┌я▄ п╤п╣, п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╪п╬пЁ п╥п╟п©я┐я│я┌п╦я┌я▄ svn merge п╢п╩я▐ п╡я▀п╢п╣п╩п╣п╫п╦я▐ п╦ п©я─п╦п╪п╣п╫п╣п╫п╦я▐ п╨ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╨п╟п╨п╬п╧ я┌п╬ я│я┌п╟я─п╬п╧ п╢п╣п╩я▄я┌я▀. п▓ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ я┌п╟п╨п╟я▐ п╢п╣п╩я▄я┌п╟ п╪п╬п╤п╣я┌ я│п╬п╢п╣я─п╤п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╨п╬я┌п╬я─я▀п╣ п╫п╣п╩я▄п╥я▐ п╡п╫п╣п╢я─п╦я┌я▄ п╡ я─п╟п╠п╬я┤п╦п╧ я└п╟п╧п╩ п╠п╣п╥ п©п╬я▐п╡п╩п╣п╫п╦я▐ п©я─п╬п╠п╩п╣п╪, п╢п╟п╤п╣ п╣я│п╩п╦ п╬п╫ п╫п╣ п╦п╪п╣п╣я┌ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧.

п∙я┴п╣ п╬п╢п╫п╬ п╫п╣п╠п╬п╩я▄я┬п╬п╣ п╬я┌п╩п╦я┤п╦п╣ п╪п╣п╤п╢я┐ svn update п╦ svn merge п╥п╟п╨п╩я▌я┤п╟п╣я┌я│я▐ п╡ п╫п╟п╥п╡п╟п╫п╦я▐я┘ я└п╟п╧п╩п╬п╡, я│п╬п╥п╢п╟п╡п╟п╣п╪я▀я┘ п©я─п╦ п╨п╬п╫я└п╩п╦п╨я┌п╟я┘. п▓ я─п╟п╥п╢п╣п╩п╣ б╚п═п╟п╥я─п╣я┬п╣п╫п╦п╣ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡ (п©я─п╦ я│п╩п╦я▐п╫п╦п╦ я│ я┤я┐п╤п╦п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦)б╩ п╪я▀ пЁп╬п╡п╬я─п╦п╩п╦ п╬ я┌п╬п╪, я┤я┌п╬ п©я─п╦ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╦ я│п╬п╥п╢п╟я▌я┌я│я▐ я└п╟п╧п╩я▀ я│ п╫п╟п╥п╡п╟п╫п╦я▐п╪п╦ filename.mine, filename.rOLDREV п╦ filename.rNEWREV. п░ svn merge п╡ п╨п╬п╫я└п╩п╦п╨я┌п╫п╬п╧ я│п╦я┌я┐п╟я├п╦п╦ я│п╬п╥п╢п╟п╣я┌ я┌я─п╦ я└п╟п╧п╩п╟ я│ п╫п╟п╥п╡п╟п╫п╦я▐п╪п╦ filename.working, filename.left п╦ filename.right. п╒п╣я─п╪п╦п╫я▀ б╚leftб╩ п╦ б╚rightб╩ я┐п╨п╟п╥я▀п╡п╟я▌я┌ п╥п╢п╣я│я▄ п╫п╟ п╢п╡п╣ я│я┌п╬я─п╬п╫я▀ я│я─п╟п╡п╫п╣п╫п╦я▐, я┌п╬ п╣я│я┌я▄ п╫п╟ п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╣ п©я─п╦ я│я─п╟п╡п╫п╣п╫п╦п╦ п╢п╣я─п╣п╡я▄я▐. п╜я┌п╬ я─п╟п╥п╢п╣п╩п╣п╫п╦п╣ п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀я┘ п╫п╟п╥п╡п╟п╫п╦п╧ п©п╬п╪п╬п╤п╣я┌ п╡п╟п╪ п╬я┌п╩п╦я┤п╟я┌я▄ п╨п╬п╫я└п╩п╦п╨я┌я▀, п╡п╬п╥п╫п╦п╨я┬п╦п╣ п╡ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐, п╬я┌ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡, п╡п╬п╥п╫п╦п╨я┬п╦я┘ п╡ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ я│п╩п╦я▐п╫п╦я▐.

пёя┤п╦я┌я▀п╡п╟я┌я▄ п╦п╩п╦ п╦пЁп╫п╬я─п╦я─п╬п╡п╟я┌я▄ п©я─п╬п╦я│я┘п╬п╤п╢п╣п╫п╦п╣

п·п╠я┴п╟я▐я│я▄ я│ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╟п╪п╦, п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╦п╪п╦ Subversion, п╬я┤п╣п╫я▄ я┤п╟я│я┌п╬ п╪п╬п╤п╫п╬ я┐я│п╩я▀я┬п╟я┌я▄ я┌п╣я─п╪п╦п╫ п©я─п╬п╦я│я┘п╬п╤п╢п╣п╫п╦п╣. п╜я┌п╬ я│п╩п╬п╡п╬ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╢п╩я▐ п╬п©п╦я│п╟п╫п╦я▐ п╬я┌п╫п╬я┬п╣п╫п╦п╧ п╪п╣п╤п╢я┐ п╢п╡я┐п╪я▐ п╬п╠я┼п╣п╨я┌п╟п╪п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟: п╣я│п╩п╦ п╪п╣п╤п╢я┐ п╫п╦п╪п╦ п╣я│я┌я▄ я│п╡я▐п╥я▄, я┌п╬ пЁп╬п╡п╬я─я▐я┌, я┤я┌п╬ п╬п╢п╦п╫ п╬п╠я┼п╣п╨я┌ п©я─п╬п╦я│я┘п╬п╢п╦я┌ п╬я┌ п╢я─я┐пЁп╬пЁп╬.

п÷я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┤я┌п╬ я└п╦п╨я│п╦я─я┐п╣я┌я│я▐ п©я─п╟п╡п╨п╟ 100, п╡ п╨п╬я┌п╬я─п╬п╧ п╦п╥п╪п╣п╫я▐п╣я┌я│я▐ я└п╟п╧п╩ foo.c. п▓ я█я┌п╬п╪ я│п╩я┐я┤п╟п╣ я└п╟п╧п╩ foo.c@99 я▐п╡п╩я▐п╣я┌я│я▐ п©я─п╣п╢п╨п╬п╪ я└п╟п╧п╩п╟ foo.c@100. п║ п╢я─я┐пЁп╬п╧ я│я┌п╬я─п╬п╫я▀, п╪п╬п╤п╫п╬ п╢п╬п©я┐я│я┌п╦я┌я▄, я┤я┌п╬ п╡ п©я─п╟п╡п╨п╣ 101 п╡я▀ я└п╦п╨я│п╦я─я┐п╣я┌п╣ я┐п╢п╟п╩п╣п╫п╦п╣ foo.c, п╟ п╥п╟я┌п╣п╪ п╡ п©я─п╟п╡п╨п╣ 102 п╢п╬п╠п╟п╡п╩я▐п╣я┌п╣ п╫п╬п╡я▀п╧ я└п╟п╧п╩ я│ я┌п╟п╨п╦п╪ п╤п╣ п╦п╪п╣п╫п╣п╪. п▓ я┌п╟п╨п╬п╪ я│п╩я┐я┤п╟п╣ п╪п╬п╤п╣я┌ п©п╬п╨п╟п╥п╟я┌я▄я│я▐, я┤я┌п╬ я└п╟п╧п╩я▀ foo.c@99 п╦ foo.c@102 п╦п╪п╣я▌я┌ п╬я┌п╫п╬я┬п╣п╫п╦п╣ п╢я─я┐пЁ п╨ п╢я─я┐пЁя┐ (я┐ п╫п╦я┘ п╬п╢п╦п╫п╟п╨п╬п╡я▀п╧ п©я┐я┌я▄), п╬п╢п╫п╟п╨п╬ п╫п╟ я│п╟п╪п╬п╪ п╢п╣п╩п╣ п╬п╫п╦ я▐п╡п╩я▐я▌я┌я│я▐ п©п╬п╩п╫п╬я│я┌я▄я▌ п╫п╣п╥п╟п╡п╦я│п╦п╪я▀п╪п╦ п╬п╠я┼п╣п╨я┌п╟п╪п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟. п·п╫п╦ п╫п╣ п╦п╪п╣я▌я┌ п╫п╦ п╬п╠я┴п╣п╧ п╦я│я┌п╬я─п╦п╦, п╫п╦ п╬п╠я┴п╦я┘ б╚п©я─п╣п╢п╨п╬п╡б╩.

п°я▀ п╬п╠я─п╟я┴п╟п╣п╪ п╫п╟ я█я┌п╬ п╡п╟я┬п╣ п╡п╫п╦п╪п╟п╫п╦п╣, я┤я┌п╬п╠я▀ я┐п╨п╟п╥п╟я┌я▄ п╫п╟ п╡п╟п╤п╫я▀п╣ я─п╟п╥п╩п╦я┤п╦я▐ п╪п╣п╤п╢я┐ svn diff п╦ svn merge. п÷п╣я─п╡п╟я▐ п╨п╬п╪п╟п╫п╢п╟ п╦пЁп╫п╬я─п╦я─я┐п╣я┌ п©я─п╬п╦я│я┘п╬п╤п╢п╣п╫п╦п╣, п╡ я┌п╬ п╡я─п╣п╪я▐ п╨п╟п╨ п╡я┌п╬я─п╟я▐ п╣пЁп╬ я┐я┤п╦я┌я▀п╡п╟п╣я┌. п²п╟п©я─п╦п╪п╣я─, п╣я│п╩п╦ п©п╬п©я─п╬я│п╦я┌я▄ svn diff я│я─п╟п╡п╫п╦я┌я▄ п©я─п╟п╡п╨п╦ 99 п╦ 102 я└п╟п╧п╩п╟ foo.c п╡я▀ я┐п╡п╦п╢п╦я┌п╣ п©п╬я│я┌я─п╬я┤п╫п╬п╣ я│я─п╟п╡п╫п╣п╫п╦п╣; п╨п╬п╪п╟п╫п╢п╟ diff я│п╩п╣п©п╬ я│я─п╟п╡п╫п╦п╡п╟п╣я┌ п╢п╡п╟ п©я┐я┌п╦. п░ п╡п╬я┌ п╣я│п╩п╦ п╡я▀ п©п╬п©я─п╬я│п╦я┌п╣ svn merge я│я─п╟п╡п╫п╦я┌я▄ я┌п╣ п╤п╣ п╬п╠я┼п╣п╨я┌я▀, я┌п╬ Subversion п©я─п╣п╢я┐п©я─п╣п╢п╦я┌ п╡п╟я│ п╬ я┌п╬п╪, я┤я┌п╬ п╬п╫п╦ п╫п╣ я│п╡я▐п╥п╟п╫я▀ п╢я─я┐пЁ я│ п╢я─я┐пЁп╬п╪ п╦ я│п╫п╟я┤п╟п╩п╟ п©п╬п©я▀я┌п╟п╣я┌я│я▐ я┐п╢п╟п╩п╦я┌я▄ я│я┌п╟я─я▀п╧ я└п╟п╧п╩, п╟ п╥п╟я┌п╣п╪ п╢п╬п╠п╟п╡п╦я┌я▄ п╫п╬п╡я▀п╧; п╡я▀п╡п╬п╢ п╨п╬п╪п╟п╫п╢я▀ п©п╬п╨п╟п╤п╣я┌ я┐п╢п╟п╩п╣п╫п╦п╣ я│ п©п╬я│п╩п╣п╢я┐я▌я┴п╦п╪ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╣п╪:

D  foo.c
A  foo.c

п▓ п╠п╬п╩я▄я┬п╦п╫я│я┌п╡п╣ я│п╩я┐я┤п╟п╣п╡ п©я─п╦ я│п╩п╦я▐п╫п╦п╦ я│я─п╟п╡п╫п╦п╡п╟я▌я┌я│я▐ п╢п╣я─п╣п╡я▄я▐, п╦п╪п╣я▌я┴п╦п╣ я─п╬п╢я│я┌п╡п╣п╫п╫я┐я▌ я│п╡я▐п╥я▄ п╦ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ svn merge я─п╟я│я│я┤п╦я┌я▀п╡п╟п╣я┌ п╫п╟ я█я┌п╬. п·п╢п╫п╟п╨п╬ п╦п╫п╬пЁп╢п╟ п╡п╟п╪ п╠я┐п╢п╣я┌ п╫я┐п╤п╫п╬, я┤я┌п╬п╠я▀ п╨п╬п╪п╟п╫п╢п╟ merge я│я─п╟п╡п╫п╦п╩п╟ п╢п╡п╟ п╫п╣п╥п╟п╡п╦я│п╦п╪я▀я┘ п╢п╣я─п╣п╡п╟ я└п╟п╧п╩п╬п╡. п²п╟п©я─п╦п╪п╣я─, п╡я▀ п╪п╬пЁп╩п╦ п╦п╪п©п╬я─я┌п╦я─п╬п╡п╟я┌я▄ п╢п╡п╟ п╢п╣я─п╣п╡п╟, я│п╬п╢п╣я─п╤п╟я┴п╦п╣ п╦я│я┘п╬п╢п╫я▀п╧ п╨п╬п╢ я─п╣п╩п╦п╥п╬п╡ п©я─п╬пЁя─п╟п╪п╪п╫я▀я┘ п©я─п╬п╣п╨я┌п╬п╡ я│я┌п╬я─п╬п╫п╫п╦я┘ п©п╬я│я┌п╟п╡я┴п╦п╨п╬п╡ (я│п╪. б╚Vendor branchesб╩). п∙я│п╩п╦ п©п╬п©я─п╬я│п╦я┌я▄ svn merge я│я─п╟п╡п╫п╦я┌я▄ п╢п╡п╟ я█я┌п╦ п╢п╣я─п╣п╡п╟, п╡я▀ я┐п╡п╦п╢п╦я┌п╣, я┤я┌п╬ п©п╣я─п╡п╬п╣ п╢п╣я─п╣п╡п╬ п╠я┐п╢п╣я┌ п©п╬п╩п╫п╬я│я┌я▄я▌ я┐п╢п╟п╩п╣п╫п╬, п╟ п╥п╟я┌п╣п╪ п╠я┐п╢п╣я┌ п©п╬п╩п╫п╬я│я┌я▄я▌ п╢п╬п╠п╟п╡п╩п╣п╫п╬ п╡я┌п╬я─п╬п╣!

п▓ п©п╬п╢п╬п╠п╫я▀я┘ я│п╦я┌я┐п╟я├п╦я▐я┘ п╫я┐п╤п╫п╬, я┤я┌п╬п╠я▀ п╨п╬п╪п╟п╫п╢п╟ svn merge п╡я▀п©п╬п╩п╫я▐п╩п╟ я│я─п╟п╡п╫п╣п╫п╦п╣, я┐я┤п╦я┌я▀п╡п╟я▐ я┌п╬п╩я▄п╨п╬ п©я┐я┌п╦, п╦ п╫п╣ п╬п╠я─п╟я┴п╟п╩п╟ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ п╬я┌п╫п╬я┬п╣п╫п╦я▐ п╪п╣п╤п╢я┐ я└п╟п╧п╩п╟п╪п╦ п╦ п╨п╟я┌п╟п╩п╬пЁп╟п╪п╦. п■п╬п╠п╟п╡я▄я┌п╣ п╬п©я├п╦я▌ --ignore-ancestry п©я─п╦ п╥п╟п©я┐я│п╨п╣ п╨п╬п╪п╟п╫п╢я▀ я│п╩п╦я▐п╫п╦я▐, п©п╬я│п╩п╣ я┤п╣пЁп╬ п╬п╫п╟ п╠я┐п╢п╣я┌ п╡п╣я│я┌п╦ я│п╣п╠я▐ п╟п╫п╟п╩п╬пЁп╦я┤п╫п╬ svn diff. (п≤ п╫п╟п╬п╠п╬я─п╬я┌, п╬п©я├п╦я▐ --notice-ancestry п╥п╟я│я┌п╟п╡п╦я┌ svn diff я─п╟п╠п╬я┌п╟я┌я▄ п©п╬п╢п╬п╠п╫п╬ п╨п╬п╪п╟п╫п╢п╣ merge.)

п╒п╦п©п╬п╡я▀п╣ п©я─п╦п╪п╣я─я▀

п▓п╣я┌п╡п╩п╣п╫п╦п╣п╪ п╦ я│п╩п╦я▐п╫п╦п╣п╪ п╪п╬п╤п╫п╬ п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п©п╬-я─п╟п╥п╫п╬п╪я┐. п▓ я█я┌п╬п╪ я─п╟п╥п╢п╣п╩п╣ п╬п©п╦я│я▀п╡п╟я▌я┌я│я▐ п╫п╟п╦п╠п╬п╩п╣п╣ я┌п╦п©п╦я┤п╫я▀п╣ п©я─п╦п╪п╣я─я▀, я│ п╨п╬я┌п╬я─я▀п╪п╦ п╡п╟п╪ п©я─п╦п╢п╣я┌я│я▐ п╦п╪п╣я┌я▄ п╢п╣п╩п╬.

п÷п╬п╩п╫п╬п╣ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╣ п╢п╡я┐я┘ п╡п╣я┌п╬п╨

п╖я┌п╬п╠я▀ п╥п╟п╨п╬п╫я┤п╦я┌я▄ я│ п©п╬я│п╩п╣п╢п╫п╦п╪ п©я─п╦п╪п╣я─п╬п╪, п╥п╟пЁп╩я▐п╫п╣п╪ п╫п╣п╪п╫п╬пЁп╬ п╡п©п╣я─п╣п╢. п÷я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┤я┌п╬ п©я─п╬я┬п╩п╬ п╫п╣я│п╨п╬п╩я▄п╨п╬ п╢п╫п╣п╧. п≤ п╡ пЁп╩п╟п╡п╫я┐я▌ п╩п╦п╫п╦я▌ я─п╟п╥я─п╟п╠п╬я┌п╨п╦, п╦ п╡п╟я┬я┐ п╩п╦я┤п╫я┐я▌ п╡п╣я┌п╨я┐ п╥п╟ я█я┌п╬ п╡я─п╣п╪я▐ п╠я▀п╩п╬ п╡п╫п╣я│п╣п╫п╬ п╪п╫п╬п╤п╣я│я┌п╡п╬ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п■п╬п©я┐я│я┌п╦п╪, я┤я┌п╬ я─п╟п╠п╬я┌я┐ п╫п╟п╢ я│п╡п╬п╣п╧ п╡п╣я┌п╨п╬п╧ п╡я▀ п╥п╟п╡п╣я─я┬п╦п╩п╦. п²п╬п╡я▀п╧ я└я┐п╫п╨я├п╦п╬п╫п╟п╩ п╢п╬п╠п╟п╡п╩п╣п╫, п╬я┬п╦п╠п╨п╦ п╦я│п©я─п╟п╡п╩п╣п╫я▀, п╦ я┌п╣п©п╣я─я▄ п╡я▀ я┘п╬я┌п╦я┌п╣ п╬п╠я┼п╣п╢п╦п╫п╦я┌я▄ п╡я│п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦п╥ я│п╡п╬п╣п╧ п╡п╣я┌п╨п╦ я│ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╣п╧ я─п╟п╥я─п╟п╠п╬я┌п╨п╦.

п п╟п╨ п©я─п╦п╪п╣п╫п╦я┌я▄ п╡ я█я┌п╬п╪ я│п╩я┐я┤п╟п╣ svn merge? п÷п╬п╪п╫п╦я┌п╣ п╬ я┌п╬п╪, я┤я┌п╬ я█я┌п╟ п╨п╬п╪п╟п╫п╢п╟ я│я─п╟п╡п╫п╦п╡п╟п╣я┌ п╢п╡п╟ п╢п╣я─п╣п╡п╟ п╦ п©я─п╦п╪п╣п╫я▐п╣я┌ я─п╟п╥п╩п╦я┤п╦я▐ п╨ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п║п╩п╣п╢п╬п╡п╟я┌п╣п╩я▄п╫п╬, п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ п╠я▀п╩п╬ п╨ я┤п╣п╪я┐ п©я─п╦п╪п╣п╫я▐я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╦п╪п╣я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦. п▒я┐п╢п╣п╪ я│я┤п╦я┌п╟я┌я▄, я┤я┌п╬ я┌п╟п╨п╟я▐, п©п╬п╩п╫п╬я│я┌я▄я▌ п╬п╠п╫п╬п╡п╩п╣п╫п╫п╟я▐ п╨п╬п©п╦я▐ я┐ п╡п╟я│ п╩п╦п╠п╬ я┐п╤п╣ п╣я│я┌я▄, п╩п╦п╠п╬ п╡я▀ п╣п╣ я┌п╬п╩я▄п╨п╬ я┤я┌п╬ я│п╬п╥п╢п╟п╩п╦ п╡ п╨п╟я┌п╟п╩п╬пЁп╣ /calc/trunk.

п²п╬ п╨п╟п╨п╦п╣ п╦п╪п╣п╫п╫п╬ п╢п╡п╟ п╢п╣я─п╣п╡п╟ п╫я┐п╤п╫п╬ я│я─п╟п╡п╫п╦п╡п╟я┌я▄? п²п╟ п©п╣я─п╡я▀п╧ п╡п╥пЁп╩я▐п╢ п╬я┌п╡п╣я┌ п╬я┤п╣п╡п╦п╢п╣п╫: п╫я┐п╤п╫п╬ я│я─п╟п╡п╫п╦я┌я▄ п©п╬я│п╩п╣п╢п╫п╣п╣ п╢п╣я─п╣п╡п╬ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ я│ п©п╬я│п╩п╣п╢п╫п╦п╪ п╢п╣я─п╣п╡п╬п╪ п╡п╟я┬п╣п╧ п╡п╣я┌п╨п╦. п·п╢п╫п╟п╨п╬ я┌п╟п╨п╬п╣ п©я─п╣п╢п©п╬п╩п╬п╤п╣п╫п╦п╣ п╠я┐п╢п╣я┌ п╬я┬п╦п╠п╬я┤п╫я▀п╪. п╜я┌п╬ я┌п╦п©п╦я┤п╫п╟я▐ п╬я┬п╦п╠п╨п╟ п╠п╬п╩я▄я┬п╦п╫я│я┌п╡п╟ п╫п╬п╡п╦я┤п╨п╬п╡! п÷п╬я│п╨п╬п╩я▄п╨я┐ svn merge я─п╟п╠п╬я┌п╟п╣я┌ я┌п╟п╨ п╤п╣ п╨п╟п╨ п╦ svn diff, я│я─п╟п╡п╫п╣п╫п╦п╣ п©п╬я│п╩п╣п╢п╫п╣п╧ п╡п╣я─я│п╦п╦ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╦ п╡п╟я┬п╣п╧ п╡п╣я┌п╨п╦ п©п╬п╨п╟п╤п╣я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я│п╢п╣п╩п╟п╫п╫я▀п╣ п╫п╣ я┌п╬п╩я▄п╨п╬ п╡ п╡п╟я┬п╣п╧ п╡п╣я┌п╨п╣. п╒п╟п╨п╬п╣ я│я─п╟п╡п╫п╣п╫п╦п╣ п©п╬п╨п╟п╤п╣я┌ я│п╩п╦я┬п╨п╬п╪ п╪п╫п╬пЁп╬ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п·п╫п╬ п╡я▀п╡п╣п╢п╣я┌ п╫п╣ я┌п╬п╩я▄п╨п╬ я┌п╬, я┤я┌п╬ п╢п╬п╠п╟п╡п╩я▐п╩п╬я│я▄ п╡ п╡п╟я┬п╣п╧ п╡п╣я┌п╨п╣, п╫п╬ п╦ я┌п╬, я┤я┌п╬ я┐п╢п╟п╩я▐п╩п╬я│я▄ п╡ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╦ п╫п╣ я┐п╢п╟п╩я▐п╩п╬я│я▄ п╡ п╡п╟я┬п╣п╧ п╡п╣я┌п╨п╣.

п╖я┌п╬п╠я▀ п╡я▀п╢п╣п╩п╦я┌я▄ я┌п╬п╩я▄п╨п╬ я┌п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╨п╬я┌п╬я─я▀п╣ п╠я▀п╩п╦ я│п╢п╣п╩п╟п╫я▀ п╡ п╡п╟я┬п╣п╧ п╡п╣я┌п╨п╣, п╫я┐п╤п╫п╬ я│я─п╟п╡п╫п╦п╡п╟я┌я▄ п╫п╟я┤п╟п╩я▄п╫п╬п╣ п╦ п╨п╬п╫п╣я┤п╫п╬п╣ я│п╬я│я┌п╬я▐п╫п╦я▐ я█я┌п╬п╧ п╡п╣я┌п╨п╦. п÷п╬я│п╪п╬я┌я─п╣п╡ svn log, п╪п╬п╤п╫п╬ я┐п╥п╫п╟я┌я▄, я┤я┌п╬ п╡п╣я┌п╨п╟ п╠я▀п╩п╟ я│п╬п╥п╢п╟п╫п╟ п╡ п©я─п╟п╡п╨п╣ 341. п▓ п╨п╟я┤п╣я│я┌п╡п╣ п╨п╬п╫п╣я┤п╫п╬пЁп╬ я│п╬я│я┌п╬я▐п╫п╦я▐ п╡п╣я┌п╨п╦ п╪п╬п╤п╫п╬ п©я─п╬я│я┌п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п©я─п╟п╡п╨я┐ HEAD. п╜я┌п╬ п╥п╫п╟я┤п╦я┌, я┤я┌п╬ п╡п╟п╪ п╫я┐п╤п╫п╬ я│я─п╟п╡п╫п╦я┌я▄ п©я─п╟п╡п╨п╦ 341 п╦ HEAD п╨п╟я┌п╟п╩п╬пЁп╟ я│ п╡п╣я┌п╨п╬п╧ п╦ п©я─п╦п╪п╣п╫п╦я┌я▄ я─п╟п╥п╩п╦я┤п╦я▐ п╨ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦.

[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

п■п╩я▐ п╬п©я─п╣п╢п╣п╩п╣п╫п╦я▐ п©я─п╟п╡п╨п╦, п╡ п╨п╬я┌п╬я─п╬п╧ п╠я▀п╩п╟ я│п╬п╥п╢п╟п╫п╟ п╡п╣я┌п╨п╟ (б╚п╠п╟п╥п╬п╡п╬п╧б╩ п©я─п╟п╡п╨п╦ п╡п╣я┌п╨п╦), я┐п╢п╬п╠п╫п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п©п╟я─п╟п╪п╣я┌я─ --stop-on-copy п╨п╬п╪п╟п╫п╢я▀ svn log. п·п╠я▀я┤п╫п╬ я█я┌п╟ п╨п╬п╪п╟п╫п╢п╟ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌ п╡я│п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐, я│п╢п╣п╩п╟п╫п╫я▀п╣ п╡ п╡п╣я┌п╨п╣, п╡п╨п╩я▌я┤п╟я▐ я┌п╣, п╨п╬я┌п╬я─я▀п╣ п╠я▀п╩п╦ я│п╢п╣п╩п╟п╫я▀ п╢п╬ я│п╬п╥п╢п╟п╫п╦я▐ п╡п╣я┌п╨п╦. п÷п╬я█я┌п╬п╪я┐ п╡я▀ п╠я┐п╢п╣я┌п╣ п╡п╦п╢п╣я┌я▄ п╦ п╦я│я┌п╬я─п╦я▌ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦. п÷п╟я─п╟п╪п╣я┌я─ --stop-on-copy п╬я│я┌п╟п╫п╬п╡п╦я┌ п╡я▀п╡п╬п╢ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╧, п╨п╟п╨ я┌п╬п╩я▄п╨п╬ svn log п╬п╠п╫п╟я─я┐п╤п╦я┌ я└п╟п╨я┌ п╨п╬п©п╦я─п╬п╡п╟п╫п╦я▐ п╦п╩п╦ п©п╣я─п╣п╦п╪п╣п╫п╬п╡п╟п╫п╦я▐ я├п╣п╩п╣п╡п╬пЁп╬ п╬п╠я┼п╣п╨я┌п╟.

$ svn log --verbose --stop-on-copy \
          http://svn.example.com/repos/calc/branches/my-calc-branch
Б─╕
------------------------------------------------------------------------
r341 | user | 2002-11-03 15:27:56 -0600 (Thu, 07 Nov 2002) | 2 lines
Changed paths:
   A /calc/branches/my-calc-branch (from /calc/trunk:340)

$

п п╟п╨ п╦ п╬п╤п╦п╢п╟п╩п╬я│я▄, п©п╬я│п╩п╣п╢п╫п╣п╧ я│я┌я─п╬я┤п╨п╬п╧ я█я┌п╟ п╨п╬п╪п╟п╫п╢п╟ п╡я▀п╡п╣п╢п╣я┌ я┌я┐ п©я─п╟п╡п╨я┐, п╡ п╨п╬я┌п╬я─п╬п╧ п╡ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ п╨п╬п©п╦я─п╬п╡п╟п╫п╦я▐ п╠я▀п╩ я│п╬п╥п╢п╟п╫ п╨п╟я┌п╟п╩п╬пЁ my-calc-branch.

п╒п╣п©п╣я─я▄ п╪я▀ п╪п╬п╤п╣п╪ п╥п╟п╡п╣я─я┬п╦я┌я▄ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╣ п╡п╣я┌п╬п╨:

$ cd calc/trunk
$ svn update
At revision 405.

$ svn merge -r 341:405 http://svn.example.com/repos/calc/branches/my-calc-branch
U   integer.c
U   button.c
U   Makefile

$ svn status
M   integer.c
M   button.c
M   Makefile

# ...examine the diffs, compile, test, etc...

$ svn commit -m "Merged my-calc-branch changes r341:405 into the trunk."
Sending        integer.c
Sending        button.c
Sending        Makefile
Transmitting file data ...
Committed revision 406.

п∙я┴п╣ я─п╟п╥ п╬п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ я┌п╬, я┤я┌п╬ п╡ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╦ я└п╦п╨я│п╟я├п╦п╦ п╬я┤п╣п╫я▄ я┌п╬я┤п╫п╬ я┐п╨п╟п╥п╟п╫ п╢п╦п╟п©п╟п╥п╬п╫ п©я─п╟п╡п╬п╨, п╨п╬я┌п╬я─я▀п╣ п╠я▀п╩п╦ п╬п╠я┼п╣п╢п╦п╫п╣п╫я▀ я│ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╣п╧ я─п╟п╥я─п╟п╠п╬я┌п╨п╦. п²п╦п╨п╬пЁп╢п╟ п╫п╣ п╥п╟п╠я▀п╡п╟п╧я┌п╣ я█я┌п╬пЁп╬ п╢п╣п╩п╟я┌я▄, п©п╬я┌п╬п╪я┐ я┤я┌п╬ я█я┌п╬ п╬я┤п╣п╫я▄ п╡п╟п╤п╫п╟я▐ п╦п╫я└п╬я─п╪п╟я├п╦я▐, п╨п╬я┌п╬я─п╟я▐ п©п╬п╫п╟п╢п╬п╠п╦я┌я▄я│я▐ п╡п╟п╪ п©п╬п╥п╤п╣.

п÷я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я┤я┌п╬ п╫п╟ я│п╩п╣п╢я┐я▌я┴п╣п╧ п╫п╣п╢п╣п╩п╣ п╡я▀ я─п╣я┬п╦п╩п╦ п©я─п╬п╢п╬п╩п╤п╦я┌я▄ я─п╟п╠п╬я┌я┐ п╫п╟п╢ я│п╡п╬п╣п╧ п╡п╣я┌п╨п╬п╧, я┤я┌п╬п╠я▀ п╢п╬я─п╟п╠п╬я┌п╟я┌я▄ п╫п╬п╡я▀п╧ я└я┐п╫п╨я├п╦п╬п╫п╟п╩ п╦п╩п╦ п╦я│п©я─п╟п╡п╦я┌я▄ п╣я┴п╣ п╫п╣я│п╨п╬п╩я▄п╨п╬ п╬я┬п╦п╠п╬п╨. п╒п╣п©п╣я─я▄ п©я─п╟п╡п╨п╟ HEAD я┘я─п╟п╫п╦п╩п╦я┴п╟ п╦п╪п╣п╣я┌ п╫п╬п╪п╣я─ 480, п╦ п╡я▀ пЁп╬я┌п╬п╡я▀ п╣я┴п╣ я─п╟п╥ п╬п╠я┼п╣п╢п╦п╫п╦я┌я▄ я│п╡п╬я▌ п╩п╦я┤п╫я┐я▌ п╨п╬п©п╦я▌ я│ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╣п╧ я─п╟п╥я─п╟п╠п╬я┌п╨п╦. п·п╢п╫п╟п╨п╬, п╨п╟п╨ я┐п╤п╣ п╠я▀п╩п╬ я│п╨п╟п╥п╟п╫п╬ п╡ я─п╟п╥п╢п╣п╩п╣ б╚п п╟п╨ п©я─п╟п╡п╦п╩я▄п╫п╣п╣ п╡я│п╣пЁп╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я│п╩п╦я▐п╫п╦п╣б╩, я─п╟п╫п╣п╣ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╫п╣ я│я┌п╬п╦я┌ п╬п╠я┼п╣п╢п╦п╫я▐я┌я▄ п©п╬п╡я┌п╬я─п╫п╬. п·п╠я┼п╣п╢п╦п╫п╣п╫п╦я▌ п©п╬п╢п╩п╣п╤п╟я┌ я┌п╬п╩я▄п╨п╬ б╚п╫п╬п╡я▀п╣б╩ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п©п╬я▐п╡п╦п╡я┬п╦п╣я│я▐ я│ п╪п╬п╪п╣п╫я┌п╟ п©п╬я│п╩п╣п╢п╫п╣пЁп╬ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦я▐. п║п╩п╬п╤п╫п╬я│я┌я▄ п╥п╟п╨п╩я▌я┤п╟п╣я┌я│я▐ п╡ я┌п╬п╪, я┤я┌п╬п╠я▀ п╡я▀п╢п╣п╩п╦я┌я▄ я█я┌п╦ п╫п╬п╡я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐.

п÷п╣я─п╡я▀п╪ я┬п╟пЁп╬п╪ п╠я┐п╢п╣я┌ п╥п╟п©я┐я│п╨ svn log п╢п╩я▐ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦, п╡ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ я┤п╣пЁп╬ п╪я▀ я┐п╥п╫п╟п╣п╪ п╡я─п╣п╪я▐ п©п╬я│п╩п╣п╢п╫п╣пЁп╬ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦я▐ я│ п╡п╣я┌п╨п╬п╧:

$ cd calc/trunk
$ svn log
Б─╕
------------------------------------------------------------------------
r406 | user | 2004-02-08 11:17:26 -0600 (Sun, 08 Feb 2004) | 1 line

Merged my-calc-branch changes r341:405 into the trunk.
------------------------------------------------------------------------
Б─╕

п░пЁп╟! п▓я│п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡п╣я┌п╨п╦, я│п╢п╣п╩п╟п╫п╫я▀п╣ п╪п╣п╤п╢я┐ п©я─п╟п╡п╨п╟п╪п╦ 341 п╦ 405, я┐п╤п╣ п╠я▀п╩п╦ п╬п╠я┼п╣п╢п╦п╫п╣п╫я▀ я│ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╣п╧ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╡ п©я─п╟п╡п╨п╣ 406. п÷п╬я█я┌п╬п╪я┐ я│п╣п╧я┤п╟я│ п╫п╟п╪ п╫я┐п╤п╫п╬ п╡п╥я▐я┌я▄ я┌п╬п╩я▄п╨п╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╡я▀п©п╬п╩п╫п╣п╫п╫я▀п╣ п©п╬я│п╩п╣ я█я┌п╬пЁп╬. п■п╩я▐ я█я┌п╬пЁп╬ п╪я▀ п╠я┐п╢п╣п╪ я│я─п╟п╡п╫п╦п╡п╟я┌я▄ п©я─п╟п╡п╨п╦ 406 п╦ HEAD.

$ cd calc/trunk
$ svn update
At revision 480.

# We notice that HEAD is currently 480, so we use it to do the merge:

$ svn merge -r 406:480 http://svn.example.com/repos/calc/branches/my-calc-branch
U   integer.c
U   button.c
U   Makefile

$ svn commit -m "Merged my-calc-branch changes r406:480 into the trunk."
Sending        integer.c
Sending        button.c
Sending        Makefile
Transmitting file data ...
Committed revision 481.

п╒п╣п©п╣я─я▄ пЁп╩п╟п╡п╫п╟я▐ п╩п╦п╫п╦я▐ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п©п╬п╩п╫п╬я│я┌я▄я▌ я│п╬п╢п╣я─п╤п╦я┌ п╡я┌п╬я─я┐я▌ п╡п╬п╩п╫я┐ п╦п╥п╪п╣п╫п╣п╫п╦п╧, я│п╢п╣п╩п╟п╫п╫я▀я┘ п╡ п╡п╣я┌п╨п╣. п╒п╣п©п╣я─я▄ п╪п╬п╤п╫п╬ п╩п╦п╠п╬ я┐п╢п╟п╩п╦я┌я▄ п╡п╣я┌п╨я┐ (п╬п╠ я█я┌п╬п╪ п╪я▀ п©п╬пЁп╬п╡п╬я─п╦п╪ п©п╬п╥п╤п╣), п╩п╦п╠п╬ п©я─п╬п╢п╬п╩п╤п╦я┌я▄ я─п╟п╠п╬я┌я┐ п╫п╟п╢ п╫п╣п╧, п©п╣я─п╦п╬п╢п╦я┤п╣я│п╨п╦ п©п╬п╡я┌п╬я─я▐я▐ п©я─п╦ я█я┌п╬п╪ п©я─п╬я├п╣п╢я┐я─я┐ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦я▐.

п·я┌п╪п╣п╫п╟ п╦п╥п╪п╣п╫п╣п╫п╦п╧

п∙я┴п╣ п╬п╢п╫п╬п╧ я┌п╦п©п╦я┤п╫п╬п╧ п╥п╟п╢п╟я┤п╣п╧ п╢п╩я▐ svn merge я▐п╡п╩я▐п╣я┌я│я▐ п╬я┌п╨п╟я┌ я─п╟п╫п╣п╣ я│п╢п╣п╩п╟п╫п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п÷я─п╣п╢п©п╬п╩п╬п╤п╦п╪, я─п╟п╠п╬я┌п╟я▐ п╡ п╨п╬п©п╦п╦ /calc/trunk, п╡я▀ п╡п╢я─я┐пЁ п╡я▀я▐я│п╫я▐п╣я┌п╣, я┤я┌п╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я└п╟п╧п╩п╟ integer.c, я│п╢п╣п╩п╟п╫п╫я▀п╣ п╡ п©я─п╟п╡п╨п╣ 303, п╠я▀п╩п╦ я│п╬п╡п╣я─я┬п╣п╫п╫п╬ п╬я┬п╦п╠п╬я┤п╫я▀п╪п╦. п▓я▀ п╪п╬п╤п╣я┌п╣ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╨п╬п╪п╟п╫п╢п╬п╧ svn merge п╢п╩я▐ б╚п╬я┌п╪п╣п╫я▀б╩ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡ я│п╡п╬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п©п╬я│п╩п╣ я┤п╣пЁп╬ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п■п╩я▐ я█я┌п╬пЁп╬ п╫я┐п╤п╫п╬ п╡я│п╣пЁп╬ п╩п╦я┬я▄ я┐п╨п╟п╥п╟я┌я▄ я─п╟п╥п╩п╦я┤п╦я▐ п╡ п╬п╠я─п╟я┌п╫п╬п╪ п©п╬я─я▐п╢п╨п╣:

$ svn merge -r 303:302 http://svn.example.com/repos/calc/trunk
U  integer.c

$ svn status
M  integer.c

$ svn diff
Б─╕
# verify that the change is removed
Б─╕

$ svn commit -m "Undoing change committed in r303."
Sending        integer.c
Transmitting file data .
Committed revision 350.

п÷я─п╟п╡п╨я┐ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╪п╬п╤п╫п╬ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟я┌я▄ п╨п╟п╨ пЁя─я┐п©п©я┐ п╦п╥п╪п╣п╫п╣п╫п╦п╧ (п╫п╣п╨п╬я┌п╬я─я▀п╣ я│п╦я│я┌п╣п╪я▀ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ п╫п╟п╥я▀п╡п╟я▌я┌ я█я┌п╬ п╫п╟п╠п╬я─п╬п╪ п╦п╥п╪п╣п╫п╣п╫п╦п╧). п≤я│п©п╬п╩я▄п╥я┐я▐ п©п╟я─п╟п╪п╣я┌я─ -r, п╪п╬п╤п╫п╬ п©п╬п©я─п╬я│п╦я┌я▄ svn merge п©я─п╦п╪п╣п╫п╦я┌я▄ п╨ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╫п╟п╠п╬я─ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╦п╩п╦ я├п╣п╩я▀п╧ п╢п╦п╟п©п╟п╥п╬п╫ п╫п╟п╠п╬я─п╬п╡ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п▓ п╫п╟я┬п╣п╪ п©я─п╦п╪п╣я─п╣ я│ п╬я┌п╪п╣п╫п╬п╧ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╪я▀ п©я─п╬я│п╦п╪ svn merge п©я─п╦п╪п╣п╫п╦я┌я▄ п╨ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╫п╟п╠п╬я─ п╦п╥п╪п╣п╫п╣п╫п╦п╧ #303 п╡ п╬п╠я─п╟я┌п╫п╬п╪ п╫п╟п©я─п╟п╡п╩п╣п╫п╦п╦.

п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣, я┤я┌п╬ п©п╬п╢п╬п╠п╫я▀п╧ п╬я┌п╨п╟я┌ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╫п╦я┤п╣п╪ п╫п╣ п╬я┌п╩п╦я┤п╟п╣я┌я│я▐ п╬я┌ п╬я│я┌п╟п╩я▄п╫я▀я┘ п╬п©п╣я─п╟я├п╦п╧, п╡я▀п©п╬п╩п╫я▐п╣п╪я▀я┘ я│ п©п╬п╪п╬я┴я▄я▌ svn merge. п÷п╬я█я┌п╬п╪я┐ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ я│ п©п╬п╪п╬я┴я▄я▌ svn status п╦ svn diff я┐п╠п╣п╢п╦я┌я▄я│я▐ п╡ я┌п╬п╪, я┤я┌п╬ я─п╣п╥я┐п╩я▄я┌п╟я┌ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐п╣я┌ п╬п╤п╦п╢п╟п╫п╦я▐п╪, п╟ п╥п╟я┌п╣п╪, п╦я│п©п╬п╩я▄п╥я┐я▐ svn commit, п╬я┌п©я─п╟п╡п╦я┌я▄ я└п╦п╫п╟п╩я▄п╫я┐я▌ п╡п╣я─я│п╦я▌ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п÷п╬я│п╩п╣ я└п╦п╨я│п╟я├п╦п╦ я█я┌п╬я┌ п╨п╬п╫п╨я─п╣я┌п╫я▀п╧ п╫п╟п╠п╬я─ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╠п╬п╩я▄я┬п╣ п╫п╣ п╠я┐п╢п╣я┌ п╬я┌я─п╟п╤п╣п╫ п╡ п©я─п╟п╡п╨п╣ HEAD.

п■п╟п╡п╟п╧я┌п╣, п╬п╢п╫п╟п╨п╬, п©п╬п╢я┐п╪п╟п╣п╪: п╬я┌п╪п╣п╫я▐п╣я┌я│я▐ п╩п╦ п╫п╟ я│п╟п╪п╬п╪ п╢п╣п╩п╣ п©я─п╣п╢я▀п╢я┐я┴п╟я▐ я└п╦п╨я│п╟я├п╦я▐? п≤п╥п╪п╣п╫п╣п╫п╦я▐ п©я─п╬п╢п╬п╩п╤п╟я▌я┌ я│я┐я┴п╣я│я┌п╡п╬п╡п╟я┌я▄ п╡ п©я─п╟п╡п╨п╣ 303. п≤ п╣я│п╩п╦ п╨я┌п╬-я┌п╬ я│п╬п╥п╢п╟я│я┌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п©я─п╬п╣п╨я┌п╟ calc п╪п╣п╤п╢я┐ п©я─п╟п╡п╨п╟п╪п╦ 303 п╦ 349, п╬п╫ п╡п╣п╢я▄ п╡я│п╣ я─п╟п╡п╫п╬ п©п╬п╩я┐я┤п╦я┌ п╬я┬п╦п╠п╬я┤п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐?

п▒п╣п╥я┐я│п╩п╬п╡п╫п╬, я█я┌п╬ я┌п╟п╨. п⌠п╬п╡п╬я─я▐ п╬п╠ б╚я┐п╢п╟п╩п╣п╫п╦п╦б╩ п╦п╥п╪п╣п╫п╣п╫п╦п╧, п╪я▀ п╦п╪п╣п╣п╪ п╡ п╡п╦п╢я┐ п╦я┘ я┐п╢п╟п╩п╣п╫п╦п╣ п╦п╥ п©я─п╟п╡п╨п╦ HEAD. п≤я│я┘п╬п╢п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п©п╬-п©я─п╣п╤п╫п╣п╪я┐ п╬я│я┌п╟п╫я┐я┌я│я▐ п╡ п╦я│я┌п╬я─п╦п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟. п╖п╟я┴п╣ п╡я│п╣пЁп╬ я█я┌п╬ п╪п╬п╤п╫п╬ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟я┌я▄ п╢п╟п╤п╣ п╨п╟п╨ п©п╬п╩п╬п╤п╦я┌п╣п╩я▄п╫я▀п╧ п╪п╬п╪п╣п╫я┌. п▓ п╩я▌п╠п╬п╪ я│п╩я┐я┤п╟п╣, п╠п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п╦п╫я┌п╣я─п╣я│я┐п╣я┌ я┌п╬п╩я▄п╨п╬ HEAD-п©я─п╟п╡п╨п╟ п©я─п╬п╣п╨я┌п╟. п·п╢п╫п╟п╨п╬, п╡п╬п╥п╪п╬п╤п╫я▀ я│п╦я┌я┐п╟я├п╦п╦, п╨п╬пЁп╢п╟ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п©п╬п╩п╫п╬я│я┌я▄я▌ я┐п╢п╟п╩п╦я┌я▄ п©п╬я│п╩п╣п╢я│я┌п╡п╦я▐ я└п╦п╨я│п╟я├п╦п╦. (п²п╟п©я─п╦п╪п╣я─, п╣я│п╩п╦ п╨я┌п╬-я┌п╬ я│п╩я┐я┤п╟п╧п╫п╬ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╩ п╨п╬п╫я└п╦п╢п╣п╫я├п╦п╟п╩я▄п╫я▀п╧ п╢п╬п╨я┐п╪п╣п╫я┌.) п║п╢п╣п╩п╟я┌я▄ я█я┌п╬ п╠я┐п╢п╣я┌ п╫п╣п©я─п╬я│я┌п╬, я┌п╟п╨ п╨п╟п╨ п╟я─я┘п╦я┌п╣п╨я┌я┐я─п╟ Subversion п╫п╟п╪п╣я─п╣п╫п╫п╬ п╦я│п╨п╩я▌я┤п╟п╣я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п©п╬я┌п╣я─п╦ п╦п╫я└п╬я─п╪п╟я├п╦п╦. п÷я─п╟п╡п╨п╦ п©я─п╣п╢я│я┌п╟п╡п╩я▐я▌я┌ я│п╬п╠п╬п╧ п╫п╣ п╪п╣п╫я▐я▌я┴п╦п╣я│я▐ п╢п╣я─п╣п╡я▄я▐ я└п╟п╧п╩п╬п╡, п╬я│п╫п╬п╡п╟п╫п╫я▀п╣ п╢я─я┐пЁ п╫п╟ п╢я─я┐пЁп╣. пёп╢п╟п╩п╣п╫п╦п╣ п©я─п╟п╡п╨п╦ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╪п╬п╤п╣я┌ п╡я▀п╥п╡п╟я┌я▄ я█я└я└п╣п╨я┌ п╢п╬п╪п╦п╫п╬, п©п╬я┌п╟я┴п╦п╡ п╥п╟ я│п╬п╠п╬п╧ п╡я│п╣ п©п╬я│п╩п╣п╢я┐я▌я┴п╦п╣ п©я─п╟п╡п╨п╦ п╦ п©п╬п╡я─п╣п╢п╦п╡ п╡я│п╣ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦. [26]

п▓п╬я│я│я┌п╟п╫п╬п╡п╩п╣п╫п╦п╣ я┐п╢п╟п╩п╣п╫п╫я▀я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡

п·я┌п╩п╦я┤п╫я▀п╪ я│п╡п╬п╧я│я┌п╡п╬п╪ я│п╦я│я┌п╣п╪я▀ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦ я▐п╡п╩я▐п╣я┌я│я▐ я┌п╬, я┤я┌п╬ п╦п╫я└п╬я─п╪п╟я├п╦я▐ п╫п╦п╨п╬пЁп╢п╟ п╫п╣ я┌п╣я─я▐п╣я┌я│я▐. п÷я─п╦ я┐п╢п╟п╩п╣п╫п╦п╦ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟ я█п╩п╣п╪п╣п╫я┌ п╦я│п╨п╩я▌я┤п╟п╣я┌я│я▐ п╦п╥ п©я─п╟п╡п╨п╦ HEAD, п╫п╬ п©я─п╬п╢п╬п╩п╤п╟п╣я┌ я│я┐я┴п╣я│я┌п╡п╬п╡п╟я┌я▄ п╡ п╠п╬п╩п╣п╣ я─п╟п╫п╫п╦я┘ п©я─п╟п╡п╨п╟я┘. п²п╬п╡я▀п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╬я┤п╣п╫я▄ я┤п╟я│я┌п╬ я│п©я─п╟я┬п╦п╡п╟я▌я┌: б╚п п╟п╨ п╪п╫п╣ п╡п╣я─п╫я┐я┌я▄ п╫п╟п╥п╟п╢ я│п╡п╬п╧ я└п╟п╧п╩ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁ?б╩

п■п╩я▐ п╫п╟я┤п╟п╩п╟ п╠я▀п╩п╬ п╠я▀ п╫п╣п©п╩п╬я┘п╬ п╬п©я─п╣п╢п╣п╩п╦я┌я▄я│я▐, п╨п╟п╨п╬п╧ п╦п╪п╣п╫п╫п╬ я█п╩п╣п╪п╣п╫я┌ п╪я▀ п©я▀я┌п╟п╣п╪я│я▐ п╡п╬я│я│я┌п╟п╫п╬п╡п╦я┌я▄. п■п╩я▐ я█я┌п╬пЁп╬ п©п╬п╩п╣п╥п╫п╬ п©я─п╣п╢я│я┌п╟п╡п╦я┌я▄ п╡я│п╣ п╬п╠я┼п╣п╨я┌я▀ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╨п╟п╨ я┌п╬я┤п╨п╦ п╡ п╢п╡я┐п╪п╣я─п╫п╬п╧ я│п╦я│я┌п╣п╪п╣ п╨п╬п╬я─п╢п╦п╫п╟я┌. п÷п╣я─п╡п╬п╧ п╨п╬п╬я─п╢п╦п╫п╟я┌п╬п╧ п╠я┐п╢п╣я┌ п╬я┌п╢п╣п╩я▄п╫п╬п╣ п╢п╣я─п╣п╡п╬ п©я─п╟п╡п╬п╨, п╡ п╡я┌п╬я─п╬п╧ Б─■ п©я┐я┌я▄ п╡ я█я┌п╬п╪ п╢п╣я─п╣п╡п╣. п╒п╟п╨п╦п╪ п╬п╠я─п╟п╥п╬п╪, п╨п╟п╤п╢п╟я▐ п╡п╣я─я│п╦я▐ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ п╥п╟п╢п╟п╫п╟ п©п╟я─п╬п╧ п╨п╬п╬я─п╢п╦п╫п╟я┌.

п▓ п╬я┌п╩п╦я┤п╦п╣ п╬я┌ CVS, Subversion п╫п╣ п╦п╪п╣п╣я┌ п╨п╟я┌п╟п╩п╬пЁп╟ Attic[27], п©п╬я█я┌п╬п╪я┐ п╢п╩я▐ п╬п©я─п╣п╢п╣п╩п╣п╫п╦я▐ п╦я│п╨п╬п╪п╬п╧ п©п╟я─я▀ п╨п╬п╬я─п╢п╦п╫п╟я┌ п╡п╬я│я│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣п╪п╬пЁп╬ п╬п╠я┼п╣п╨я┌п╟ п╫я┐п╤п╫п╬ п╡я▀п╥п╡п╟я┌я▄ svn log. п⌡я┐я┤я┬п╣ п╡я│п╣пЁп╬ п╥п╟п©я┐я│я┌п╦я┌я▄ svn log --verbose п╡ п╨п╟я┌п╟п╩п╬пЁп╣, п╨п╬я┌п╬я─я▀п╧ я│п╬п╢п╣я─п╤п╟п╩ я┐п╢п╟п╩п╣п╫п╫я▀п╧ п╬п╠я┼п╣п╨я┌. п÷п╟я─п╟п╪п╣я┌я─ --verbose п©п╬п╨п╟п╤п╣я┌ п╢п╩я▐ п╨п╟п╤п╢п╬п╧ п©я─п╟п╡п╨п╦ я│п©п╦я│п╬п╨ п╦п╥п╪п╣п╫п╣п╫п╫я▀я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡ Б─■ п╡ я█я┌п╬п╪ я│п╩я┐я┤п╟п╣ п╡п╟п╪ п╬я│я┌п╟п╫п╣я┌я│я▐ я┌п╬п╩я▄п╨п╬ п╫п╟п╧я┌п╦ я┌я┐ п©я─п╟п╡п╨я┐, п╡ п╨п╬я┌п╬я─п╬п╧ я└п╟п╧п╩ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁ п╠я▀п╩п╦ я┐п╢п╟п╩п╣п╫я▀. п╜я┌п╬ п╪п╬п╤п╫п╬ я│п╢п╣п╩п╟я┌я▄ п╡п╦п╥я┐п╟п╩я▄п╫п╬ п╦п╩п╦ п╬п╠я─п╟п╠п╬я┌п╟п╡ п╡я▀п╡п╬п╢ п╨п╬п╪п╟п╫п╢я▀ п╨п╟п╨п╦п╪-п╫п╦п╠я┐п╢я▄ п╦п╫я│я┌я─я┐п╪п╣п╫я┌п╬п╪ (п╫п╟п©я─п╦п╪п╣я─, я┐я┌п╦п╩п╦я┌п╬п╧ grep п╦п╩п╦ п©я─п╬я│я┌п╬ п╥п╟п©я┐я│я┌п╦п╡ п©п╬п╦я│п╨ п╡ я─п╣п╢п╟п╨я┌п╬я─п╣).

$ cd parent-dir
$ svn log --verbose
Б─╕
------------------------------------------------------------------------
r808 | joe | 2003-12-26 14:29:40 -0600 (Fri, 26 Dec 2003) | 3 lines
Changed paths:
   D /calc/trunk/real.c
   M /calc/trunk/integer.c

Added fast fourier transform functions to integer.c.
Removed real.c because code now in double.c.
Б─╕

п▓ я█я┌п╬п╪ п©я─п╦п╪п╣я─п╣ п©я─п╣п╢п©п╬п╩п╟пЁп╟п╣я┌я│я▐, я┤я┌п╬ п╡я▀ п╦я┴п╣я┌п╣ я┐п╢п╟п╩п╣п╫п╫я▀п╧ я└п╟п╧п╩ real.c. п÷я─п╬я│п╪п╬я┌я─п╣п╡ п╩п╬пЁп╦ я─п╬п╢п╦я┌п╣п╩я▄я│п╨п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟, п╡я▀ п╪п╬п╤п╣я┌п╣ п╥п╟п╪п╣я┌п╦я┌я▄, я┤я┌п╬ я█я┌п╬я┌ я└п╟п╧п╩ п╠я▀п╩ я┐п╢п╟п╩п╣п╫ п╡ п©я─п╟п╡п╨п╣ 808. п║п╩п╣п╢п╬п╡п╟я┌п╣п╩я▄п╫п╬, я│п╟п╪п╟я▐ п©п╬я│п╩п╣п╢п╫я▐я▐ п╡п╣я─я│п╦я▐ я█я┌п╬пЁп╬ я└п╟п╧п╩п╟ п╠я▀п╩п╟ п╡ п©я─п╟п╡п╨п╣, п©я─п╣п╢я┬п╣я│я┌п╡я┐я▌я┴п╣п╧ я┐п╢п╟п╩п╣п╫п╦я▌. п▓я▀п╡п╬п╢: п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╦п╥ п©я─п╟п╡п╨п╦ 807 п╡п╬я│я│я┌п╟п╫п╬п╡п╦я┌я▄ п©я┐я┌я▄ /calc/trunk/real.c.

п÷п╬п╦я│п╨ Б─■ п╫п╣п©я─п╬я│я┌п╟я▐ п╥п╟п╢п╟я┤п╟. п╒п╣п©п╣я─я▄, п╨п╬пЁп╢п╟ п╫п╟п╪ п╦п╥п╡п╣я│я┌п╫п╬, я┤я┌п╬ п╦п╪п╣п╫п╫п╬ п╫я┐п╤п╫п╬ п╡п╬я│я│я┌п╟п╫п╬п╡п╦я┌я▄, п╣я│я┌я▄ п╢п╡п╣ п╡п╟я─п╦п╟п╫я┌п╟ п╢п╣п╧я│я┌п╡п╦п╧.

п▓п╬-п©п╣я─п╡я▀я┘, п╪я▀ п╪п╬п╤п╣п╪ п©п╬я│я─п╣п╢я│я┌п╡п╬п╪ svn merge п©я─п╦п╪п╣п╫п╦я┌я▄ п©я─п╟п╡п╨я┐ 808 б╚п╡ п╬п╠я─п╟я┌п╫п╬п╪ п╫п╟п©я─п╟п╡п╩п╣п╫п╦п╦б╩. (п п╟п╨ п╬я┌п╪п╣п╫я▐я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╪я▀ я┐п╤п╣ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟п╩п╦, я│п╪. б╚п·я┌п╪п╣п╫п╟ п╦п╥п╪п╣п╫п╣п╫п╦п╧б╩.) п╜я┌п╬ п©я─п╦п╡п╣п╢п╣я┌ п╨ п©п╬п╡я┌п╬я─п╫п╬п╪я┐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▌ я└п╟п╧п╩п╟ real.c п╡ я└п╬я─п╪п╣ п╩п╬п╨п╟п╩я▄п╫п╬пЁп╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐. п╓п╟п╧п╩ п╠я┐п╢п╣я┌ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫ п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐, п╦ п©п╬я│п╩п╣ я└п╦п╨я│п╟я├п╦п╦ п╠я┐п╢п╣я┌ я│п╫п╬п╡п╟ п©я─п╦я│я┐я┌я│я┌п╡п╬п╡п╟я┌я▄ п╡ HEAD.

п·п╢п╫п╟п╨п╬, п╡ п╢п╟п╫п╫п╬п╪ п©я─п╦п╪п╣я─п╣ я█я┌п╬ п╫п╣ я│п╟п╪п╬п╣ п╩я┐я┤я┬п╣п╣ я─п╣я┬п╣п╫п╦п╣. п÷п╬п╡я┌п╬я─п╫п╬п╣ п©я─п╦п╪п╣п╫п╣п╫п╦п╣ п©я─п╟п╡п╨п╦ 808 п╫п╣ я┌п╬п╩я▄п╨п╬ п╢п╬п╠п╟п╡п╦я┌ я└п╟п╧п╩ real.c. п⌡п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╣ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌, я┤я┌п╬ я┌п╟п╨п╤п╣ п╠я┐п╢я┐я┌ п╬я┌п╪п╣п╫п╣п╫я▀ п╫п╣п╨п╬я┌п╬я─я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ integer.c, я┤я┌п╬ п╡п╣я│я▄п╪п╟ п╫п╣п╤п╣п╩п╟я┌п╣п╩я▄п╫п╬. п п╬п╫п╣я┤п╫п╬, п╪п╬п╤п╫п╬ п╡я▀п©п╬п╩п╫п╦я┌я▄ п╬п╠я─п╟я┌п╫п╬п╣ я│п╩п╦я▐п╫п╦п╣ я│ п©я─п╟п╡п╨п╬п╧ 808, п╟ п╥п╟я┌п╣п╪ п╬я┌п╪п╣п╫п╦я┌я▄ (svn revert) п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ integer.c, п╫п╬ я┌п╟п╨п╬п╧ п©п╬п╢я┘п╬п╢ п©п╩п╬я┘п╬ п╪п╟я│я┬я┌п╟п╠п╦я─я┐п╣я┌я│я▐. п╖я┌п╬, п╣я│п╩п╦ п╡ п©я─п╟п╡п╨п╣ 808 п╦п╥п╪п╣п╫п╦п╩п╬я│я▄ 90 я└п╟п╧п╩п╬п╡?

п÷я─п╦ п╢я─я┐пЁп╬п╪, п╠п╬п╩п╣п╣ п╟п╨п╨я┐я─п╟я┌п╫п╬п╪ п©п╬п╢я┘п╬п╢п╣ svn merge п╡п╬п╬п╠я┴п╣ п╫п╣ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐, п╟ п╡п╪п╣я│я┌п╬ я█я┌п╬пЁп╬ п©я─п╦п╪п╣п╫я▐п╣я┌я│я▐ п╨п╬п╪п╟п╫п╢п╟ svn copy. п÷я─п╬я│я┌п╬ я│п╨п╬п©п╦я─я┐п╧я┌п╣ п╬п╠я┼п╣п╨я┌, п╥п╟п╢п╟п╫п╫я▀п╧ б╚п©п╟я─п╬п╧ п╨п╬п╬я─п╢п╦п╫п╟я┌б╩ (п©я─п╟п╡п╨п╟ п╦ п©я┐я┌я▄), п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌:

$ svn copy --revision 807 \
           http://svn.example.com/repos/calc/trunk/real.c ./real.c

$ svn status
A  +   real.c

$ svn commit -m "Resurrected real.c from revision 807, /calc/trunk/real.c."
Adding         real.c
Transmitting file data .
Committed revision 1390.

п≈п╫п╟п╨ "п©п╩я▌я│" п╡ я│я┌п╬п╩п╠я├п╣ я│я┌п╟я┌я┐я│п╟ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌, я┤я┌п╬ я█п╩п╣п╪п╣п╫я┌ п╫п╣ п©я─п╬я│я┌п╬ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫ п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐, п╟ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫ п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ б╚я│ п╦я│я┌п╬я─п╦п╣п╧б╩. Subversion п╥п╟п©п╬п╪п╦п╫п╟п╣я┌, п╬я┌п╨я┐п╢п╟ п╬п╫ п╠я▀п╩ я│п╨п╬п©п╦я─п╬п╡п╟п╫. п▓ п╠я┐п╢я┐я┴п╣п╪ п╡я▀п╥п╬п╡ svn log п╢п╩я▐ я█я┌п╬пЁп╬ я└п╟п╧п╩п╟ п╠я┐п╢п╣я┌ п©п╣я─п╣я│п╣п╨п╟я┌я▄ я┌п╬я┤п╨я┐ п╡п╬я│я│я┌п╟п╫п╬п╡п╩п╣п╫п╦я▐ я└п╟п╧п╩п╟ п╦ п©я─п╬я│п╩п╣п╤п╦п╡п╟я┌я▄ п╡я│я▌ п╦я│я┌п╬я─п╦я▌, п©я─п╣п╢я┬п╣я│я┌п╡я┐я▌я┴я┐я▌ п©я─п╟п╡п╨п╣ 807. п■я─я┐пЁп╦п╪п╦ я│п╩п╬п╡п╟п╪п╦, п╫п╬п╡я▀п╧ я└п╟п╧п╩ real.c п╫п╟ я│п╟п╪п╬п╪ п╢п╣п╩п╣ п╫п╣ я▐п╡п╩я▐п╣я┌я│я▐ п╫п╬п╡я▀п╪; п╬п╫ я▐п╡п╩я▐п╣я┌я│я▐ п©я─я▐п╪я▀п╪ п©п╬я┌п╬п╪п╨п╬п╪ п╦я│я┘п╬п╢п╫п╬пЁп╬ я└п╟п╧п╩п╟, п╨п╬я┌п╬я─я▀п╧ п╠я▀п╩ я┐п╢п╟п╩п╣п╫.

п╔п╬я┌я▐ п╫п╟я┬ п©я─п╦п╪п╣я─ п╢п╣п╪п╬п╫я│я┌я─п╦я─я┐п╣я┌ я┌п╬п╩я▄п╨п╬ п╡п╬я│я│я┌п╟п╫п╬п╡п╩п╣п╫п╦п╣ я└п╟п╧п╩п╟, п╬я┌п╪п╣я┌п╦п╪, я┤я┌п╬ я┌п╟п╨п╬п╧ п╤п╣ п©п╬п╢я┘п╬п╢ п╠я┐п╢п╣я┌ я─п╟п╠п╬я┌п╟я┌я▄ п╦ п©я─п╦ п╡п╬я│я│я┌п╟п╫п╬п╡п╩п╣п╫п╦п╦ я┐п╢п╟п╩п╣п╫п╫я▀я┘ п╨п╟я┌п╟п╩п╬пЁп╬п╡.

п╒п╦п©п╬п╡я▀п╣ п©я─п╦п╣п╪я▀ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╡п╣я┌п╬п╨

пёп©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦ я┤п╟я┴п╣ п╡я│п╣пЁп╬ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п©я─п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╣ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐, п©п╬я█я┌п╬п╪я┐ п╥п╢п╣я│я▄ п╪я▀ п╡п╨я─п╟я┌я├п╣ я─п╟я│я│п╪п╬я┌я─п╦п╪ п╢п╡п╟ п╫п╟п╦п╠п╬п╩п╣п╣ я┤п╟я│я┌п╬ п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀я┘ п╨п╬п╪п╟п╫п╢п╟п╪п╦ п©я─п╬пЁя─п╟п╪п╪п╦я│я┌п╬п╡ п©я─п╦п╣п╪п╟ п╡п╣я┌п╡п╩п╣п╫п╦я▐/я│п╩п╦я▐п╫п╦я▐. п∙я│п╩п╦ п╡я▀ п╫п╣ п╦я│п©п╬п╩я▄п╥я┐п╣я┌п╣ Subversion п╢п╩я▐ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐, п╪п╬п╤п╣я┌п╣ п©я─п╬п©я┐я│я┌п╦я┌я▄ я█я┌п╬я┌ я─п╟п╥п╢п╣п╩. п∙я│п╩п╦ п╡я▀ Б─■ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐, п╡п©п╣я─п╡я▀п╣ п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╦п╧ п╨п╬п╫я┌я─п╬п╩я▄ п╡п╣я─я│п╦п╧, я┐п╢п╣п╩п╦я┌п╣ я█я┌п╬п╪я┐ я─п╟п╥п╢п╣п╩я┐ п©я─п╦я│я┌п╟п╩я▄п╫п╬п╣ п╡п╫п╦п╪п╟п╫п╦п╣, п©п╬я│п╨п╬п╩я▄п╨я┐ п╬п©я▀я┌п╫я▀п╣ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╦ я│я┤п╦я┌п╟я▌я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ п╢п╟п╫п╫я▀я┘ п©я─п╦п╣п╪п╬п╡ я┘п╬я─п╬я┬п╦п╪ я│я┌п╦п╩п╣п╪. п╒п╟п╨п╦п╣ п©я─п╦п╣п╪я▀ п╫п╣ я▐п╡п╩я▐я▌я┌я│я▐ я│п©п╣я├п╦я└п╦я┤п╫я▀п╪п╦ п╢п╩я▐ Subversion; п╬п╫п╦ п©я─п╦п╪п╣п╫п╦п╪я▀ п╨ п╩я▌п╠п╬п╧ я│п╦я│я┌п╣п╪п╣ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦. п·п╢п╫п╟п╨п╬, п╥п╢п╣я│я▄ п╪я▀ п╡п╥пЁп╩я▐п╫п╣п╪ п╫п╟ п╫п╦я┘ я│ п©п╬п╥п╦я├п╦п╧ Subversion.

п▓п╣я┌п╨п╦ я─п╣п╩п╦п╥п╬п╡

п▒п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐ п╦п╪п╣п╣я┌ я┌п╦п©п╬п╡п╬п╧ п╤п╦п╥п╫п╣п╫п╫я▀п╧ я├п╦п╨п╩: п╫п╟п©п╦я│п╟п╫п╦п╣ п╨п╬п╢п╟, я┌п╣я│я┌п╦я─п╬п╡п╟п╫п╦п╣, п╡я▀п©я┐я│п╨, п©п╬п╡я┌п╬я─п╫я▀п╧ я├п╦п╨п╩. п÷я─п╦ я┌п╟п╨п╬п╪ п©п╬п╢я┘п╬п╢п╣ п╡п╬п╥п╫п╦п╨п╟я▌я┌ п╢п╡п╣ п©я─п╬п╠п╩п╣п╪я▀. п▓п╬-п©п╣я─п╡я▀я┘, я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╟п╪ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п©я─п╬п╢п╬п╩п╤п╟я┌я▄ я─п╟я│я┬п╦я─я▐я┌я▄ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╬я│я┌я▄ п╡ я┌п╬ п╡я─п╣п╪я▐, п╨п╟п╨ пЁя─я┐п©п©п╟ п©я─п╬п╡п╣я─п╨п╦ п╨п╟я┤п╣я│я┌п╡п╟ п╠я┐п╢п╣я┌ п╥п╟п╫п╦п╪п╟я┌я▄я│я▐ я┌п╣я│я┌п╦я─п╬п╡п╟п╫п╦п╣п╪ п©я─п╣п╢п©п╬п╩п╬п╤п╦я┌п╣п╩я▄п╫п╬ я│я┌п╟п╠п╦п╩я▄п╫я▀я┘ п╡п╣я─я│п╦п╧ п©я─п╬пЁя─п╟п╪п╪я▀. п▓п╬ п╡я─п╣п╪я▐ я┌п╣я│я┌п╦я─п╬п╡п╟п╫п╦я▐ п╫п╣ п╢п╬п╩п╤п╫п╟ п╬я│я┌п╟п╫п╟п╡п╩п╦п╡п╟я┌я▄я│я▐ я─п╟п╥я─п╟п╠п╬я┌п╨п╟. п▓п╬-п╡я┌п╬я─я▀я┘, п╨п╟п╨ п©я─п╟п╡п╦п╩п╬, я┌я─п╣п╠я┐п╣я┌я│я▐ п©п╬п╢п╢п╣я─п╤п╦п╡п╟я┌я▄ я│я┌п╟я─я▀п╣, я┐п╤п╣ п╡я▀п©я┐я┴п╣п╫п╫я▀п╣ п╡п╣я─я│п╦п╦ п©я─п╬пЁя─п╟п╪п╪я▀; п╣я│п╩п╦ п╫п╟п╧п╢п╣п╫п╟ п╬я┬п╦п╠п╨п╟ п╡ п©п╬я│п╩п╣п╢п╫п╣п╧ п╡п╣я─я│п╦п╦ п╨п╬п╢п╟, я┌п╬ я│п╨п╬я─п╣п╣ п╡я│п╣пЁп╬ п╬п╫п╟ п©я─п╦я│я┐я┌я│я┌п╡я┐п╣я┌ п╦ п╡ я┐п╤п╣ п╡я▀п©я┐я┴п╣п╫п╫я▀я┘ п╡п╣я─я│п╦я▐я┘, п©п╬я█я┌п╬п╪я┐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╥п╟я┘п╬я┌я▐я┌, я┤я┌п╬п╠я▀ я█я┌п╟ п╬я┬п╦п╠п╨п╟ п╠я▀п╩п╟ п╦я│п©я─п╟п╡п╩п╣п╫п╟ п╫п╣ п╢п╬п╤п╦п╢п╟я▐я│я▄ п╡я▀я┘п╬п╢п╟ п╫п╬п╡п╬п╧ п╡п╣я─я│п╦п╦ п©я─п╬пЁя─п╟п╪п╪я▀.

п≈п╢п╣я│я▄-я┌п╬ п╦ п╪п╬п╤п╣я┌ п©п╬п╪п╬я┤я▄ п╨п╬п╫я┌я─п╬п╩я▄ п╡п╣я─я│п╦п╧. п╒п╦п©п╦я┤п╫п╟я▐ п©я─п╬я├п╣п╢я┐я─п╟ п╡я▀пЁп╩я▐п╢п╦я┌ п©я─п╦п╪п╣я─п╫п╬ я┌п╟п╨:

  • п═п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╦ я└п╦п╨я│п╦я─я┐я▌я┌ п╡я│п╣ п╫п╬п╡п╬п╣ п╡ пЁп╩п╟п╡п╫я┐я▌ п╩п╦п╫п╦я▌ я─п╟п╥я─п╟п╠п╬я┌п╨п╦. п п╟п╤п╢п╬п╢п╫п╣п╡п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я└п╦п╨я│п╦я─я┐я▌я┌я│я▐ п╡ /trunk: п╫п╬п╡п╟я▐ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╬я│я┌я▄, п╦я│п©я─п╟п╡п╩п╣п╫п╦п╣ п╬я┬п╦п╠п╬п╨ п╦ я┌п╬п╪я┐ п©п╬п╢п╬п╠п╫п╬п╣.

  • п⌠п╩п╟п╡п╫п╟я▐ п╩п╦п╫п╦я▐ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╨п╬п©п╦я─я┐п╣я┌я│я▐ п╡ п╡п╣я┌п╨я┐ б╚я─п╣п╩п╦п╥п╟б╩. п п╬пЁп╢п╟ п╨п╬п╪п╟п╫п╢п╟ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡ я─п╣я┬п╟п╣я┌, я┤я┌п╬ п©я─п╬пЁя─п╟п╪п╪п╟ пЁп╬я┌п╬п╡п╟ п╨ п╡я▀п©я┐я│п╨я┐ (я│п╨п╟п╤п╣п╪, п╨ я─п╣п╩п╦п╥я┐ 1.0), я┌п╬пЁп╢п╟ /trunk п╨п╬п©п╦я─я┐п╣я┌я│я▐, п╫п╟п©я─п╦п╪п╣я─, п╡ /branches/1.0.

  • п⌠я─я┐п©п©я▀ п©я─п╬п╢п╬п╩п╤п╟я▌я┌ я─п╟п╠п╬я┌п╟я┌я▄ п©п╟я─п╟п╩п╩п╣п╩я▄п╫п╬. п·п╢п╫п╟ пЁя─я┐п©п©п╟ п╫п╟я┤п╦п╫п╟п╣я┌ п╡я│п╣я│я┌п╬я─п╬п╫п╫п╣п╣ я┌п╣я│я┌п╦я─п╬п╡п╟п╫п╦п╣ п╡п╣я┌п╨п╦ я─п╣п╩п╦п╥п╟, п╡ я┌п╬ п╡я─п╣п╪я▐ п╨п╟п╨ п╡я┌п╬я─п╟я▐ пЁя─я┐п©п©п╟ п©я─п╬п╢п╬п╩п╤п╟п╣я┌ я─п╟п╠п╬я┌я┐ (я│п╨п╟п╤п╣п╪, п╫п╟п╢ п╡п╣я─я│п╦п╣п╧ 2.0) п╡ /trunk. п∙я│п╩п╦ п╫п╟я┘п╬п╢я▐я┌я│я▐ п╬я┬п╦п╠п╨п╦ п╡ п╨п╟п╨п╬п╧-п╩п╦п╠п╬ п╦п╥ п╡п╣я─я│п╦п╧, п╦я│п©я─п╟п╡п╩п╣п╫п╦я▐ п©п╬я─я┌п╦я─я┐я▌я┌я│я▐ п©п╬ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦ п╡ п╬п╢п╫я┐ п╦п╩п╦ п╢я─я┐пЁя┐я▌ я│я┌п╬я─п╬п╫я┐. п▓ п╨п╟п╨п╬п╧-я┌п╬ п╪п╬п╪п╣п╫я┌ я█я┌п╬я┌ п©я─п╬я├п╣я│я│ п╬я│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣я┌я│я▐. п▓п╣я┌п╨п╟ б╚п╥п╟п╪п╬я─п╟п╤п╦п╡п╟п╣я┌я│я▐б╩ п╢п╩я▐ п╬п╨п╬п╫я┤п╟я┌п╣п╩я▄п╫п╬п╧ п©я─п╬п╡п╣я─п╨п╦ п©п╣я─п╣п╢ я─п╣п╩п╦п╥п╬п╪.

  • п²п╟ п╬я│п╫п╬п╡п╣ п╡п╣я┌п╨п╦ я│п╬п╥п╢п╟п╣я┌я│я▐ п╪п╣я┌п╨п╟ п╦ п╡я▀п©я┐я│п╨п╟п╣я┌я│я▐ я─п╣п╩п╦п╥. п п╬пЁп╢п╟ я┌п╣я│я┌п╦я─п╬п╡п╟п╫п╦п╣ п╥п╟п╡п╣я─я┬п╣п╫п╬, /branches/1.0 п╨п╬п©п╦я─я┐п╣я┌я│я▐ п╡ /tags/1.0.0 п╨п╟п╨ я│п©я─п╟п╡п╬я┤п╫я▀п╧ я│п╫п╦п╪п╬п╨. п°п╣я┌п╨п╟ п╥п╟п©п╟п╨п╬п╡я▀п╡п╟п╣я┌я│я▐ п╦ п╬я┌п©я─п╟п╡п╩я▐п╣я┌я│я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪.

  • п▓п╣я┌п╨п╟ п©я─п╬п╢п╬п╩п╤п╟п╣я┌ п©п╬п╢п╢п╣я─п╤п╦п╡п╟я┌я▄я│я▐. п÷п╬ п╪п╣я─п╣ п©я─п╬п╢п╡п╦п╤п╣п╫п╦я▐ я─п╟п╠п╬я┌я▀ п╫п╟п╢ /trunk п╢п╩я▐ п╡п╣я─я│п╦п╦ 2.0, п╦я│п©я─п╟п╡п╩п╣п╫п╦я▐ п╬я┬п╦п╠п╬п╨ п©я─п╬п╢п╬п╩п╤п╟я▌я┌ п©п╬я─я┌п╦я─п╬п╡п╟я┌я▄я│я▐ п╦п╥ /trunk п╡ /branches/1.0. п п╬пЁп╢п╟ п╠я┐п╢п╣я┌ п╫п╟п╨п╬п©п╩п╣п╫п╬ п╬п©я─п╣п╢п╣п╩п╣п╫п╫п╬п╧ п╨п╬п╩п╦я┤п╣я│я┌п╡п╬ п╦я│п©я─п╟п╡п╩п╣п╫п╦п╧, я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п╪п╬п╤п╣я┌ я─п╣я┬п╦я┌я▄ я│п╢п╣п╩п╟я┌я▄ я─п╣п╩п╦п╥ 1.0.1: /branches/1.0 п╨п╬п©п╦я─я┐п╣я┌я│я▐ п╡ /tags/1.0.1, п╪п╣я┌п╨п╟ п©п╟п╨я┐п╣я┌я│я▐ п╦ п╡я▀п©я┐я│п╨п╟п╣я┌я│я▐.

п÷п╬ п╪п╣я─п╣ я─п╟п╥п╡п╦я┌п╦я▐ п©я─п╬пЁя─п╟п╪п╪я▀ я█я┌п╦ я█я┌п╟п©я▀ п©п╬п╡я┌п╬я─я▐я▌я┌я│я▐: п╨п╬пЁп╢п╟ я─п╟п╠п╬я┌п╟ п╫п╟п╢ 2.0 п╠я┐п╢п╣я┌ п╥п╟п╡п╣я─я┬п╣п╫п╟, я│п╬п╥п╢п╟п╣я┌я│я▐ п╫п╬п╡п╟я▐ п╡п╣я┌п╨п╟ я─п╣п╩п╦п╥п╟ 2.0, я┌п╣я│я┌п╦я─я┐п╣я┌я│я▐, я│п╬п╥п╢п╟п╣я┌я│я▐ п╪п╣я┌п╨п╟ п╦ п╡ п©п╬я│п╩п╣п╢я│я┌п╡п╦п╦ п╡я▀п©я┐я│п╨п╟п╣я┌я│я▐ я─п╣п╩п╦п╥. п÷п╬я│п╩п╣ п╫п╣я│п╨п╬п╩я▄п╨п╦я┘ п╩п╣я┌ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╠я┐п╢п╣я┌ п╫п╟я┘п╬п╢п╦я┌я▄я│я▐ п╬п©я─п╣п╢п╣п╩п╣п╫п╫п╬п╣ п╨п╬п╩п╦я┤п╣я│я┌п╡п╬ п╡п╣я┌п╬п╨ я─п╣п╩п╦п╥п╬п╡, п╫п╟я┘п╬п╢я▐я┴п╦я┘я│я▐ п╡ я─п╣п╤п╦п╪п╣ б╚я│п╬п©я─п╬п╡п╬п╤п╢п╣п╫п╦я▐б╩ п╦ п╬п©я─п╣п╢п╣п╩п╣п╫п╫п╬п╣ п╨п╬п╩п╦я┤п╣я│я┌п╡п╬ п╪п╣я┌п╬п╨, п╬я┌я─п╟п╤п╟я▌я┴п╦я┘ п©п╬я│п╩п╣п╢п╫п╦п╣ п╡я▀п©я┐я┴п╣п╫п╫я▀п╣ п╡п╣я┌п╨п╦.

п╓я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫я▀п╣ п╡п╣я┌п╨п╦

п╓я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╟я▐ п╡п╣я┌п╨п╟ я▐п╡п╩я▐п╣я┌я│я▐ п╢п╬п╪п╦п╫п╦я─я┐я▌я┴п╦п╪ п©я─п╦п╪п╣я─п╬п╪ п╡ я█я┌п╬п╧ пЁп╩п╟п╡п╣, п╫п╟п╢ я┌п╟п╨п╬п╧ п╡п╣я┌п╨п╬п╧ п╡я▀ я─п╟п╠п╬я┌п╟п╣я┌п╣ п©п╬п╨п╟ п║п╟п╩п╩п╦ я─п╟п╠п╬я┌п╟п╣я┌ п╫п╟п╢ /trunk. п╜я┌п╬ п╡я─п╣п╪п╣п╫п╫п╟я▐ п╡п╣я┌п╨п╟, п╨п╬я┌п╬я─п╟я▐ я│п╬п╥п╢п╟п╣я┌я│я▐ п╢п╩я▐ я─п╟п╠п╬я┌я▀ п╫п╟п╢ п╨п╬п╪п©п╩п╣п╨я│п╫я▀п╪ п╦п╥п╪п╣п╫п╣п╫п╦п╣п╪ п╠п╣п╥ п©п╣я─п╣я│п╣я┤п╣п╫п╦я▐ я│п╬ я│я┌п╟п╠п╦п╩я▄п╫п╬п╧ п╩п╦п╫п╦п╣п╧ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ /trunk. п▓ п╬я┌п╩п╦я┤п╦п╣ п╬я┌ п╡п╣я┌п╬п╨ я─п╣п╩п╦п╥п╬п╡ (п╨п╬я┌п╬я─я▀п╣ п╪п╬пЁя┐я┌ п©п╬п╢п╢п╣я─п╤п╦п╡п╟я┌я▄я│я▐ п╡п╣я┤п╫п╬), я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫я▀п╣ п╡п╣я┌п╨п╦ я│п╬п╥п╢п╟я▌я┌я│я▐, п╦я│п©п╬п╩я▄п╥я┐я▌я┌я│я▐, п╡п╫п╣п╢я─я▐я▌я┌я│я▐ п╬п╠я─п╟я┌п╫п╬ п╡ пЁп╩п╟п╡п╫я┐я▌ п╩п╦п╫п╦я▌ я─п╟п╥я─п╟п╠п╬я┌п╨п╦, п©п╬я│п╩п╣ я┤п╣пЁп╬ п©п╬п╩п╫п╬я│я┌я▄я▌ я┐п╢п╟п╩я▐я▌я┌я│я▐. п·п╫п╦ п╦п╪п╣я▌я┌ п╬пЁя─п╟п╫п╦я┤п╣п╫п╫я▀п╧ я│я─п╬п╨ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐.

п·п©я▐я┌я▄ п╤п╣, п©я─п╟п╡п╦п╩п╟ п©я─п╬п╣п╨я┌п╟ п╬я┌п╫п╬я│п╦я┌п╣п╩я▄п╫п╬ п╬п©я─п╣п╢п╣п╩п╣п╫п╦я▐ п╪п╬п╪п╣п╫я┌п╟, п╨п╬пЁп╢п╟ я┌я─п╣п╠я┐п╣я┌я│я▐ я│п╬п╥п╢п╟п╫п╦п╣ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╬п╧ п╡п╣я┌п╨п╦ п╪п╬пЁя┐я┌ п╠я▀я┌я▄ я─п╟п╥п╫я▀п╪п╦. п²п╣п╨п╬я┌п╬я─я▀п╣ п©я─п╬п╣п╨я┌я▀ п╡п╬п╬п╠я┴п╣ п╫п╦п╨п╬пЁп╢п╟ п╫п╣ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫я▀п╣ п╡п╣я┌п╨п╦: п╡я│п╣ я└п╦п╨я│п╦я─я┐п╣я┌я│я▐ п╡ /trunk. п÷я─п╣п╦п╪я┐я┴п╣я│я┌п╡п╟ я┌п╟п╨п╬п╧ я│п╦я│я┌п╣п╪я▀ п╡ п╣п╣ п©я─п╬я│я┌п╬я┌п╣ Б─■ п╫п╦п╨п╬п╪я┐ п╫п╣ п╫я┐п╤п╫п╬ я┐я┤п╦я┌я▄я│я▐ п╢п╣п╩п╟я┌я▄ п╡п╣я┌п╨п╦ п╦п╩п╦ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦я▐. п²п╣п╢п╬я│я┌п╟я┌п╨п╬п╪ я▐п╡п╩я▐п╣я┌я│я▐ я┌п╬, я┤я┌п╬ пЁп╩п╟п╡п╫п╟я▐ п╩п╦п╫п╦я▐ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ я┤п╟я│я┌п╬ п╫п╣ я│я┌п╟п╠п╦п╩я▄п╫п╟ п╦п╩п╦ п╫п╣ п©я─п╦пЁп╬п╢п╫п╟ п╨ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▌. п▓ п╢я─я┐пЁп╦я┘ п©я─п╬п╣п╨я┌п╟я┘ п╡п╣я┌п╨п╦ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ п©п╬-п╢я─я┐пЁп╬п╪я┐: п╫п╦ п╬п╢п╫п╬пЁп╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╫п╣ я└п╦п╨я│п╦я─я┐я▌я┌ п╡ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╫п╟п©я─я▐п╪я┐я▌. п■п╟п╤п╣ п╢п╩я▐ я│п╟п╪я▀я┘ п©я─п╬я│я┌я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ я│п╬п╥п╢п╟п╣я┌я│я▐ п╨я─п╟я┌п╨п╬я│я─п╬я┤п╫п╟я▐ п╡п╣я┌п╨п╟, п╡п╫п╦п╪п╟я┌п╣п╩я▄п╫п╬ п╟п╫п╟п╩п╦п╥п╦я─я┐п╣я┌я│я▐ п╦ п╬п╠я┼п╣п╢п╦п╫я▐п╣я┌я│я▐ я│ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╣п╧. п÷п╬я│п╩п╣ я┤п╣пЁп╬ п╡п╣я┌п╨п╟ я┐п╢п╟п╩я▐п╣я┌я│я▐. п╕п╣п╫п╬п╧ п╬пЁя─п╬п╪п╫я▀я┘ п╫п╟п╨п╩п╟п╢п╫я▀я┘ я─п╟я│я┘п╬п╢п╬п╡, я┌п╟п╨п╟я▐ я│п╦я│я┌п╣п╪п╟ пЁп╟я─п╟п╫я┌п╦я─я┐п╣я┌ п╦я│п╨п╩я▌я┤п╦я┌п╣п╩я▄п╫я┐я▌ я│я┌п╟п╠п╦п╩я▄п╫п╬я│я┌я▄ п╦ п©я─п╦пЁп╬п╢п╫п╬я│я┌я▄ п╨ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▌ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╡ п╩я▌п╠п╬п╧ п╪п╬п╪п╣п╫я┌ п╡я─п╣п╪п╣п╫п╦.

п▒п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ п©я─п╬п╣п╨я┌п╬п╡ п╦я│п©п╬п╩я▄п╥я┐п╣я┌ я┤я┌п╬-я┌п╬ я│я─п╣п╢п╫п╣п╣. п п╟п╨ п©я─п╟п╡п╦п╩п╬, п╡я│п╣ п╡я─п╣п╪я▐ п╨п╬п╫я┌я─п╬п╩п╦я─я┐я▐, я┤я┌п╬ /trunk п╨п╬п╪п©п╦п╩п╦я─я┐п╣я┌я│я▐ п╦ п©я─п╬я┘п╬п╢п╦я┌ я─п╣пЁя─п╣я│я│п╦п╡п╫я▀п╣ я┌п╣я│я┌я▀. п╓я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╟я▐ п╡п╣я┌п╨п╟ я┌я─п╣п╠я┐п╣я┌я│я▐ я┌п╬п╩я▄п╨п╬ я┌п╬пЁп╢п╟, п╨п╬пЁп╢п╟ п╦п╥п╪п╣п╫п╣п╫п╦п╣ я┌я─п╣п╠я┐п╣я┌ п╠п╬п╩я▄я┬п╬пЁп╬ п╨п╬п╩п╦я┤п╣я│я┌п╡п╟ п╢п╣я│я┌п╟п╠п╦п╩п╦п╥п╦я─я┐я▌я┴п╦я┘ я└п╦п╨я│п╟я├п╦п╧. п╔п╬я─п╬я┬п╦п╪ я│п©п╬я│п╬п╠п╬п╪ п©я─п╬п╡п╣я─п╨п╦ я▐п╡п╩я▐п╣я┌я│я▐ п©п╬я│я┌п╟п╫п╬п╡п╨п╟ я┌п╟п╨п╬пЁп╬ п╡п╬п©я─п╬я│п╟: п╣я│п╩п╦ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨ я─п╟п╠п╬я┌п╟п╩ п╫п╣я│п╨п╬п╩я▄п╨п╬ п╢п╫п╣п╧ п╦п╥п╬п╩п╦я─п╬п╡п╟п╫п╬, п╟ п╥п╟я┌п╣п╪ п╥п╟ п╬п╢п╦п╫ я─п╟п╥ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╩ п╠п╬п╩я▄я┬п╬п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╣ (п©я─п╦я┌п╬п╪, я┤я┌п╬ /trunk п╫п╣ п╠я┐п╢п╣я┌ п╢п╣я│я┌п╟п╠п╦п╩п╦п╥п╦я─п╬п╡п╟п╫) п╠я┐п╢п╣я┌ п╩п╦ я│п╩п╬п╤п╫п╬ п╬я┌я│п╩п╣п╢п╦я┌я▄ я█я┌п╬ п╦п╥п╪п╣п╫п╣п╫п╦п╣? п∙я│п╩п╦ п╬я┌п╡п╣я┌ п╫п╟ я█я┌п╬я┌ п╡п╬п©я─п╬я│ б╚п╢п╟б╩, я┌п╬ я┌п╬пЁп╢п╟ п╦п╥п╪п╣п╫п╣п╫п╦п╣ п╢п╬п╩п╤п╫п╬ я─п╟п╥я─п╟п╠п╟я┌я▀п╡п╟я┌я▄я│я▐ п╡ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╬п╧ п╡п╣я┌п╨п╣. п÷п╬ п╪п╣я─п╣ я┌п╬пЁп╬, п╨п╟п╨ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨ п©п╬я│п╩п╣п╢п╬п╡п╟я┌п╣п╩я▄п╫п╬ я└п╦п╨я│п╦я─я┐п╣я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ п╡п╣я┌п╨я┐, п╬п╫п╦ п╪п╬пЁя┐я┌ п╩п╣пЁп╨п╬ п╬я┌я│п╩п╣п╤п╦п╡п╟я┌я▄я│я▐ п╢я─я┐пЁп╦п╪п╦ я┐я┤п╟я│я┌п╫п╦п╨п╟п╪п╦.

п²п╟п©п╬я│п╩п╣п╢п╬п╨, я─п╣п╨п╬п╪п╣п╫п╢п╟я├п╦я▐, п╨п╟п╨ п©п╬ я┘п╬п╢я┐ я─п╟п╠п╬я┌я▀ п╩я┐я┤я┬п╣ п╡я│п╣пЁп╬ я│п╬я┘я─п╟п╫я▐я┌я▄ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫я┐я▌ п╡п╣я┌п╨я┐ б╚я│п╦п╫я┘я─п╬п╫п╦п╥п╦я─п╬п╡п╟п╫п╫п╬п╧б╩ я│ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╣п╧ я─п╟п╥я─п╟п╠п╬я┌п╨п╦. п п╟п╨ п╪я▀ я┐п╤п╣ пЁп╬п╡п╬я─п╦п╩п╦, я─п╦я│п╨п╬п╡п╟п╫п╫п╬ я─п╟п╠п╬я┌п╟я┌я▄ п╫п╟п╢ п╡п╣я┌п╨п╬п╧ п╡ я┌п╣я┤п╣п╫п╦п╣ п╫п╣п╢п╣п╩я▄ п╦п╩п╦ п╪п╣я│я▐я├п╣п╡; п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ п╠я┐п╢я┐я┌ п©я─п╬п╢п╬п╩п╤п╟я┌я▄я│я▐, п╦ п╫п╟я│я┌п╟п╫п╣я┌ п╪п╬п╪п╣п╫я┌п╟, п╨п╬пЁп╢п╟ п╢п╡п╣ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ я│я┌п╟п╫я┐я┌ п╬я┌п╩п╦я┤п╟я┌я▄я│я▐ я┌п╟п╨ я│п╦п╩я▄п╫п╬, я┤я┌п╬ п©п╬п©я▀я┌п╨п╟ п╬п╠я┼п╣п╢п╦п╫п╦я┌я▄ п╡п╣я┌п╨я┐ п╬п╠я─п╟я┌п╫п╬ я│ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╣п╧ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╪п╬п╤п╣я┌ я│я┌п╟я┌я▄ п╫п╬я┤п╫я▀п╪ п╨п╬я┬п╪п╟я─п╬п╪.

п╜я┌п╬п╧ я│п╦я┌я┐п╟я├п╦п╦ п╫п╣ п╡п╬п╥п╫п╦п╨п╫п╣я┌, п╣я│п╩п╦ я─п╣пЁя┐п╩я▐я─п╫п╬ п╬п╠я┼п╣п╢п╦п╫я▐я┌я▄ п╡п╣я┌п╨я┐ я│ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦ п╡ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦. п▓п╬п╥я▄п╪п╦я┌п╣ п╥п╟ п©я─п╟п╡п╦п╩п╬ п╬п╢п╦п╫ я─п╟п╥ п╡ п╫п╣п╢п╣п╩я▌ п╬п╠я┼п╣п╢п╦п╫я▐я┌я▄ я│ п╡п╣я┌п╨п╬п╧ п╥п╫п╟я┤п╦п╪я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╥п╟ п©я─п╬я┬п╣п╢я┬я┐я▌ п╫п╣п╢п╣п╩я▌. п■п╣п╩п╟п╧я┌п╣ я█я┌п╬ п╟п╨п╨я┐я─п╟я┌п╫п╬; п╥п╟ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╣п╪ п╫п╣п╬п╠я┘п╬п╢п╦п╪ я─я┐я┤п╫п╬п╧ п╨п╬п╫я┌я─п╬п╩я▄ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬ п╠я▀ п╦я│п╨п╩я▌я┤п╦я┌я▄ п©я─п╬п╠п╩п╣п╪я┐ п©п╬п╡я┌п╬я─п╫я▀я┘ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╧ (п╨п╟п╨ я█я┌п╬ п╬п©п╦я│п╟п╫п╬ п╡ я─п╟п╥п╢п╣п╩п╣ б╚п═я┐я┤п╫п╬п╧ п╨п╬п╫я┌я─п╬п╩я▄ я│п╩п╦я▐п╫п╦я▐б╩). п²п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╡п╫п╦п╪п╟я┌п╣п╩я▄п╫п╬ п╥п╟п©п╦я│я▀п╡п╟я┌я▄ п╩п╬пЁ я│п╬п╬п╠я┴п╣п╫п╦п╣, я┐п╨п╟п╥я▀п╡п╟я▐ п╨п╟п╨п╬п╧ п╦п╪п╣п╫п╫п╬ п╢п╦п╟п©п╟п╥п╬п╫ п©я─п╟п╡п╬п╨ п╠я▀п╩ п╬п╠я┼п╣п╢п╦п╫п╣п╫ (п╨п╟п╨ п©п╬п╨п╟п╥п╟п╫п╬ п╡ я─п╟п╥п╢п╣п╩п╣ б╚п÷п╬п╩п╫п╬п╣ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╣ п╢п╡я┐я┘ п╡п╣я┌п╬п╨б╩). п▓п╬п╥п╪п╬п╤п╫п╬ я█я┌п╬ п╥п╡я┐я┤п╦я┌ я┐я│я┌я─п╟я┬п╟я▌я┴п╣, п╫п╬ п╫п╟ я│п╟п╪п╬п╪ п╢п╣п╩п╣ я█я┌п╬ я│п╢п╣п╩п╟я┌я▄ п╬я┤п╣п╫я▄ п╩п╣пЁп╨п╬.

п²п╟я┤п╦п╫п╟я▐ я│ п╨п╟п╨п╬пЁп╬-я┌п╬ п╪п╬п╪п╣п╫я┌п╟ п╡я▀ п╠я┐п╢п╣я┌п╣ пЁп╬я┌п╬п╡я▀ п╬п╠я┼п╣п╢п╦п╫п╦я┌я▄ б╚я│п╦п╫я┘я─п╬п╫п╦п╥п╦я─п╬п╡п╟п╫п╫я┐я▌б╩ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫я┐я▌ п╡п╣я┌п╨я┐ я│ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╣п╧ я─п╟п╥я─п╟п╠п╬я┌п╨п╦. п■п╩я▐ я█я┌п╬пЁп╬ п╫п╟я┤п╫п╦я┌п╣ я│ п╥п╟п╡п╣я─я┬п╟я▌я┴п╣пЁп╬ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦я▐ п©п╬я│п╩п╣п╢п╫п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╦п╥ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ я│ п╡п╣я┌п╨п╬п╧. п÷п╬я│п╩п╣ я┤п╣пЁп╬, п©п╬я│п╩п╣п╢п╫я▐я▐ п╡п╣я─я│п╦я▐ п╡п╣я┌п╨п╦ п╦ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ п╠я┐п╢я┐я┌ п╟п╠я│п╬п╩я▌я┌п╫п╬ п╦п╢п╣п╫я┌п╦я┤п╫я▀, п╥п╟ п╦я│п╨п╩я▌я┤п╣п╫п╦п╣п╪ п╡п╟я┬п╦я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡ п╡п╣я┌п╨п╣. п╒п╣п©п╣я─я▄ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╣ п╥п╟п╨п╩я▌я┤п╟п╣я┌я│я▐ п╡ я│я─п╟п╡п╫п╣п╫п╦п╦ п╡п╣я┌п╨п╦ я│ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╣п╧ я─п╟п╥я─п╟п╠п╬я┌п╨п╦:

$ cd trunk-working-copy

$ svn update
At revision 1910.

$ svn merge http://svn.example.com/repos/calc/trunk@1910 \
            http://svn.example.com/repos/calc/branches/mybranch@1910
U  real.c
U  integer.c
A  newdirectory
A  newdirectory/newfile
Б─╕

п║я─п╟п╡п╫п╦п╡п╟я▐ п©я─п╟п╡п╨я┐ HEAD пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╦ п©я─п╟п╡п╨я┐ HEAD п╡п╣я┌п╨п╦, п╬п©я─п╣п╢п╣п╩я▐п╣я┌я│я▐ п╢п╣п╩я▄я┌п╟, п╨п╬я┌п╬я─п╟я▐ п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ я┌п╬п╩я▄п╨п╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│п╢п╣п╩п╟п╫п╫я▀п╣ п╡ п╡п╣я┌п╨п╣; п╬п╠п╣ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ я┐п╤п╣ я│п╬п╢п╣я─п╤п╟я┌ п╡я│п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦п╥ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦.

п■я─я┐пЁп╦п╪ я│п©п╬я│п╬п╠п╬п╪ п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫п╦я▐ я█я┌п╬пЁп╬ п©я─п╦п╣п╪п╟ я▐п╡п╩я▐п╣я┌я│я▐ я┌п╬, я┤я┌п╬ п╣п╤п╣п╫п╣п╢п╣п╩я▄п╫п╟я▐ я│п╦п╫я┘я─п╬п╫п╦п╥п╟я├п╦я▐ п╡п╣я┌п╨п╦ п╟п╫п╟п╩п╬пЁп╦я┤п╫п╟ п╥п╟п©я┐я│п╨я┐ svn update п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╡ я┌п╬ п╡я─п╣п╪я▐ п╨п╟п╨ п╬п╨п╬п╫я┤п╟я┌п╣п╩я▄п╫п╬п╣ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╣ п╟п╫п╟п╩п╬пЁп╦я┤п╫п╬ п╥п╟п©я┐я│п╨я┐ п╦п╥ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ svn commit. п▓ п╨п╬п╫я├п╣ п╨п╬п╫я├п╬п╡, я┤я┌п╬ п╤п╣ я┌п╟п╨п╬п╣ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╣я│п╩п╦ п╫п╣ п╪п╦п╫п╦п╟я┌я▌я─п╫п╟я▐ п╩п╦я┤п╫п╟я▐ п╡п╣я┌п╨п╟? п╜я┌п╬ я┌п╟п╨п╟я▐ п╡п╣я┌п╨п╟, п╨п╬я┌п╬я─п╟я▐ я│п©п╬я│п╬п╠п╫п╟ я┘я─п╟п╫п╦я┌я▄ п╬п╢п╫п╬ п╦п╥п╪п╣п╫п╣п╫п╦п╣ п╡ п╨п╟п╤п╢я▀п╧ п╪п╬п╪п╣п╫я┌ п╡я─п╣п╪п╣п╫п╦.

п÷п╣я─п╣п╨п╩я▌я┤п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦

п п╬п╪п╟п╫п╢п╟ svn switch я┌я─п╟п╫я│я└п╬я─п╪п╦я─я┐п╣я┌ я│я┐я┴п╣я│я┌п╡я┐я▌я┴я┐я▌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╡ п╢я─я┐пЁя┐я▌ п╡п╣я┌п╨я┐. п²п╣я│п╪п╬я┌я─я▐ п╫п╟ я┌п╬, я┤я┌п╬ п©я─п╦ я─п╟п╠п╬я┌п╣ я│ п╡п╣я┌п╨п╟п╪п╦ я█я┌п╟ п╨п╬п╪п╟п╫п╢п╟ п╫п╣ я▐п╡п╩я▐п╣я┌я│я▐ п╨я─п╟п╧п╫п╣ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬п╧, п╬п╫п╟ п╥п╫п╟я┤п╦я┌п╣п╩я▄п╫п╬ п╬п╠п╩п╣пЁя┤п╟п╣я┌ п╤п╦п╥п╫я▄ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪. п▓ я─п╟п╫п╣п╣ п©я─п╦п╡п╣п╢п╣п╫п╫п╬п╪ п©я─п╦п╪п╣я─п╣, п©п╬я│п╩п╣ я│п╬п╥п╢п╟п╫п╦я▐ п╩п╦я┤п╫п╬п╧ п╡п╣я┌п╨п╦ п╡я▀ я│п╬п╥п╢п╟п╡п╟п╩п╦ п╫п╬п╡я┐я▌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ я│п╬п╥п╢п╟п╫п╫п╬п╧ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟. п▓п╪п╣я│я┌п╬ я█я┌п╬пЁп╬, п╪п╬п╤п╫п╬ п©п╬п©я─п╬я│п╦я┌я▄ Subversion п╦п╥п╪п╣п╫п╦я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ /calc/trunk я┌п╟п╨, я┤я┌п╬ п╠я▀ п╬п╫п╟ п╬я┌я─п╟п╤п╟п╩п╟ я│п╬п╥п╢п╟п╫п╫я┐я▌ п╡п╣я┌п╨я┐:

$ cd calc

$ svn info | grep URL
URL: http://svn.example.com/repos/calc/trunk

$ svn switch http://svn.example.com/repos/calc/branches/my-calc-branch
U   integer.c
U   button.c
U   Makefile
Updated to revision 341.

$ svn info | grep URL
URL: http://svn.example.com/repos/calc/branches/my-calc-branch

п÷п╬я│п╩п╣ б╚п©п╣я─п╣п╨п╩я▌я┤п╣п╫п╦я▐б╩ п╫п╟ п╡п╣я┌п╨я┐, я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╫п╣ п╠я┐п╢п╣я┌ п╬я┌п╩п╦я┤п╟я┌я▄я│я▐ п╬я┌ я┌п╬п╧ п╨п╬я┌п╬я─п╟я▐ п©п╬п╩я┐я┤п╦п╩п╟я│я▄ п╠я▀ п©я─п╦ я│п╬п╥п╢п╟п╫п╦п╦ п╫п╬п╡п╬п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟. п п╟п╨ п©я─п╟п╡п╦п╩п╬, п╠п╬п╩п╣п╣ я█я└я└п╣п╨я┌п╦п╡п╫п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я█я┌я┐ п╨п╬п╪п╟п╫п╢я┐, я┌п╟п╨ п╨п╟п╨ п╬п╠я▀я┤п╫п╬ я┐ п╡п╣я┌п╨п╦ п╫п╣п╪п╫п╬пЁп╬ п╬я┌п╩п╦я┤п╦п╧. п║п╣я─п╡п╣я─ п╬я┌п©я─п╟п╡п╩я▐п╣я┌ п╪п╦п╫п╦п╪п╟п╩я▄п╫п╬ п╫п╣п╬п╠я┘п╬п╢п╦п╪я▀п╧ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬ п╠я▀ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╬я┌я─п╟п╤п╟п╩п╟ п╢п╦я─п╣п╨я┌п╬я─п╦я▌ п╡п╣я┌п╨п╦, п╫п╟п╠п╬я─ п╦п╥п╪п╣п╫п╣п╫п╦п╧.

п п╬п╪п╟п╫п╢п╟ svn switch п©я─п╦п╫п╦п╪п╟п╣я┌ п©п╟я─п╟п╪п╣я┌я─ --revision (-r), п©п╬-я█я┌п╬п╪я┐ п╫п╣п╬п╠я▐п╥п╟я┌п╣п╩я▄п╫п╬ п©п╬п╪п╣я┴п╟я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╫п╟ я│п╟п╪я┐я▌ б╚п╡п╣я─я┘я┐я┬п╨я┐б╩ п╡п╣я┌п╨п╦.

п п╬п╫п╣я┤п╫п╬, п╠п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ п©я─п╬п╣п╨я┌п╬п╡, п©п╬ я│я─п╟п╡п╫п╣п╫п╦я▌ я│ п╫п╟я┬п╦п╪ п©я─п╦п╪п╣я─п╬п╪ calc п╠п╬п╩п╣п╣ я│п╩п╬п╤п╫я▀, я│п╬п╢п╣я─п╤п╟я┌ п╪п╫п╬п╤п╣я│я┌п╡п╬ п©п╬п╢п╢п╦я─п╣п╨я┌п╬я─п╦п╧. п·п╠я▀я┤п╫п╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ Subversion п╦я│п©п╬п╩я▄п╥я┐я▌я┌ я│п©п╣я├п╦п╟п╩я▄п╫я▀п╧ п╟п╩пЁп╬я─п╦я┌п╪ п╢п╩я▐ я─п╟п╠п╬я┌я▀ я│ п╡п╣я┌п╨п╟п╪п╦:

  1. п║п╨п╬п©п╦я─п╬п╡п╟я┌я▄ п╡я│я▌ п╢п╦я─п╣п╨я┌п╬я─п╦я▌ б╚trunkб╩ п╡ п╢п╦я─п╣п╨я┌п╬я─п╦я▌ п╫п╬п╡п╬п╧ п╡п╣я┌п╨п╦.

  2. п÷п╣я─п╣п╨п╩я▌я┤п╦я┌я▄ я┤п╟я│я┌я▄ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╦ п╫п╟ п╡п╣я┌п╨я┐.

п■я─я┐пЁп╦п╪п╦ я│п╩п╬п╡п╟п╪п╦, п╣я│п╩п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╥п╫п╟п╣я┌, я┤я┌п╬ я─п╟п╠п╬я┌п╟ п╫п╟п╢ п╡п╣я┌п╨п╬п╧ п╠я┐п╢п╣я┌ п©я─п╬я┘п╬п╢п╦я┌я▄ п╡ п╨п╬п╫п╨я─п╣я┌п╫п╬п╧ п╢п╦я─п╣п╨я┌п╬я─п╦п╦, п╬п╫ п╪п╬п╤п╣я┌, я│ п©п╬п╪п╬я┴я▄я▌, svn switch п©п╣я─п╣п╨п╩я▌я┤п╦я┌я▄ п╫п╟ п╡п╣я┌п╨я┐ я┌п╬п╩я▄п╨п╬ я█я┌я┐ п©п╬п╢п╢п╦я─п╣п╨я┌п╬я─п╦я▌. (п░ п╦п╫п╬пЁп╢п╟ п╫п╟ п╡п╣я┌п╨я┐ п©п╣я─п╣п╨п╩я▌я┤п╟п╣я┌я│я▐ я┌п╬п╩я▄п╨п╬ п╬п╢п╦п╫ я─п╟п╠п╬я┤п╦п╧ я└п╟п╧п╩!) п▓ я█я┌п╬п╪ я│п╩я┐я┤п╟п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╪п╬пЁя┐я┌ п©я─п╬п╢п╬п╩п╤п╟я┌я▄ п╬п╠я▀я┤п╫я▀п╪ п╬п╠я─п╟п╥п╬п╪ п©п╬п╩я┐я┤п╟я┌я▄ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐ б╚trunkб╩ п╢п╩я▐ п╠п╬п╩я▄я┬п╣п╧ я┤п╟я│я┌п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╟ п©п╣я─п╣п╨п╩я▌я┤п╣п╫п╫я▀п╣ я┤п╟я│я┌п╦ п╠я┐п╢я┐я┌ п╬я│я┌п╟п╡п╟я┌я▄я│я▐ п╫п╣я┌я─п╬п╫я┐я┌я▀п╪п╦ (п╢п╬ я┌п╣я┘ п©п╬я─, п©п╬п╨п╟ п╨я┌п╬-я┌п╬ п╫п╣ п╦п╥п╪п╣п╫п╦я┌ я█я┌п╬п╧ п╡п╣я┌п╨п╦). п╜я┌п╟ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╢п╬п╠п╟п╡п╩я▐п╣я┌ я│п╬п╡п╣я─я┬п╣п╫п╫п╬ п╫п╬п╡п╬п╣ п╦п╥п╪п╣я─п╣п╫п╦п╣ п╡ п©п╬п╫я▐я┌п╦п╣ б╚я│п╪п╣я┬п╟п╫п╫п╟я▐ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐б╩ Б─■ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╪п╬п╤п╣я┌ я│п╬п╢п╣я─п╤п╟я┌я▄ п╫п╣ я┌п╬п╩я▄п╨п╬ я│п╪п╣я│я▄ я─п╟п╠п╬я┤п╦я┘ п©я─п╟п╡п╬п╨ п╫п╬ п╦ я│п╪п╣я│я▄ п╪п╣я│я┌п╬п©п╬п╩п╬п╤п╣п╫п╦п╧ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣.

п∙я│п╩п╦ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ я│п╬п╢п╣я─п╤п╦я┌ п╨п╟п╨п╬п╣-я┌п╬ п╨п╬п╩п╦я┤п╣я│я┌п╡п╬ п©п╣я─п╣п╨п╩я▌я┤п╣п╫п╫я▀я┘ п╫п╟ я─п╟п╥п╫я▀п╣ п╪п╣я│я┌п╬п©п╬п╩п╬п╤п╣п╫п╦я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п©п╬п╢п╢п╦я─п╣п╨я┌п╬я─п╦п╧, п╬п╫п╟ п╠я┐п╢п╣я┌ п©я─п╬п╢п╬п╩п╤п╟я┌я▄ п╫п╬я─п╪п╟п╩я▄п╫п╬ я└я┐п╫п╨я├п╦п╬п╫п╦я─п╬п╡п╟я┌я▄. п÷я─п╦ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╦, п©п╟я┌я┤п╦ я│п╬п╬я┌п╡п╣я┌я│я┌п╡п╣п╫п╫п╬ п╠я┐п╢я┐я┌ п©я─п╦п╫п╦п╪п╟я┌я▄я│я▐ п╢п╩я▐ п╨п╟п╤п╢п╬п╧ п©п╬п╢п╢п╦я─п╣п╨я┌п╬я─п╦п╦. п÷я─п╦ я└п╦п╨я│п╟я├п╦п╦, п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╪п╬п╢п╦я└п╦п╨п╟я├п╦п╦ п╠я┐п╢я┐я┌ п©я─п╦п╫п╦п╪п╟я┌я▄я│я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╡ п╡п╦п╢п╣ п╣п╢п╦п╫п╬пЁп╬, п╟я┌п╬п╪п╟я─п╫п╬пЁп╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐.

п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣, п╫п╟ я┌п╬, я┤я┌п╬ я┘п╬я┌я▐ п╦ п╦п╪п╣я┌я▄ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│п╪п╣я│я▄ п╪п╣я│я┌п╬п©п╬п╩п╬п╤п╣п╫п╦п╧ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ я▐п╡п╩я▐п╣я┌я│я▐ п╫п╬я─п╪п╟п╩я▄п╫я▀п╪, п╡я│п╣ я█я┌п╦ п╪п╣я│я┌п╬п©п╬п╩п╬п╤п╣п╫п╦я▐ п╢п╬п╩п╤п╫я▀ п╠я▀я┌я▄ п╦п╥ п╬п╢п╫п╬пЁп╬ я┘я─п╟п╫п╦п╩п╦я┴п╟. п╔я─п╟п╫п╦п╩п╦я┴п╟ Subversion п©п╬п╨п╟ п╫п╣ п╪п╬пЁя┐я┌ я│п╬п╬п╠я┴п╟я┌я▄я│я▐ п╢я─я┐пЁ я│ п╢я─я┐пЁп╬п╪; я─п╣п╟п╩п╦п╥п╟я├п╦я▐ я█я┌п╬п╧ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ п╥п╟п©п╩п╟п╫п╦я─п╬п╡п╟п╫п╟ п©п╬я│п╩п╣ Subversion 1.0.[28]

пёя┤п╦я┌я▀п╡п╟я▐ я┌п╬, я┤я┌п╬ svn switch п╡ я│я┐я┴п╫п╬я│я┌п╦ я▐п╡п╩я▐п╣я┌я│я▐ я─п╟п╥п╫п╬п╡п╦п╢п╫п╬я│я┌я▄я▌ svn update п╦я┘ п©п╬п╡п╣п╢п╣п╫п╦п╣ я│я┘п╬п╤п╣; п©я─п╦ п©п╬п╩я┐я┤п╣п╫п╦п╦ п╫п╬п╡п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟, п╡я│п╣ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│п╬я┘я─п╟п╫я▐я▌я┌я│я▐. п╜я┌п╬ п©п╬п╥п╡п╬п╩я▐п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я─п╟п╥п╫п╬п╬п╠я─п╟п╥п╫я▀п╣ я┌я─я▌п╨п╦.

п÷я─п╣п╢п©п╬п╩п╬п╤п╦п╪ п╡я▀ п╡п╫п╣я│п╩п╦ п╫п╣п╨п╬я┌п╬я─я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ п╦п╪п╣я▌я┴я┐я▌я│я▐ я┐ п╡п╟я│ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ /calc/trunk. п÷п╬я│п╩п╣ я┤п╣пЁп╬ п╫п╣п╬п╤п╦п╢п╟п╫п╫п╬ п╬п╠п╫п╟я─я┐п╤п╦п╩п╦, я┤я┌п╬ п╡п╪п╣я│я┌п╬ я█я┌п╬пЁп╬ п╡п╟п╪ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╡п╫п╣я│я┌п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ п╡п╣я┌п╨я┐. п²п╣я┌ п©я─п╬п╠п╩п╣п╪! п п╬пЁп╢п╟ п╡я▀ п©п╣я─п╣п╨п╩я▌я┤п╦я┌п╣ (svn switch) я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╫п╟ п╡п╣я┌п╨я┐, п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я│п╬я┘я─п╟п╫я▐я┌я▄я│я▐. п÷п╬я│п╩п╣ я┤п╣пЁп╬ п╦я┘ п╪п╬п╤п╫п╬ п©я─п╬п╡п╣я─п╦я┌я▄ п╦ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ п╡ п╡п╣я┌п╨п╣.

п°п╣я┌п╨п╦

п∙я┴п╣ п╬п╢п╫п╦п╪ п©п╬п╫я▐я┌п╦п╣п╪, я│п╡п╬п╧я│я┌п╡п╣п╫п╫я▀п╪ я┐п©я─п╟п╡п╩п╣п╫п╦я▌ п╡п╣я─я│п╦я▐п╪п╦ я▐п╡п╩я▐п╣я┌я│я▐ п╪п╣я┌п╨п╟. п°п╣я┌п╨п╟ я▐п╡п╩я▐п╣я┌я│я▐ п©я─п╬я│я┌п╬ б╚я│п╫п╦п╪п╨п╬п╪б╩ п©я─п╬п╣п╨я┌п╟ п╡ п╬п©я─п╣п╢п╣п╩п╣п╫п╫я▀п╧ п╪п╬п╪п╣п╫я┌ п╡я─п╣п╪п╣п╫п╦. п▓ Subversion я█я┌п╟ п╦п╢п╣я▐ я┐п╤п╣, п╨п╟п╤п╣я┌я│я▐, п©п╬п╡я│я▌п╢я┐. п п╟п╤п╢п╟я▐ п©я─п╟п╡п╨п╟ я┘я─п╟п╫п╦п╩п╦я┴п╟ я▐п╡п╩я▐п╣я┌я│я▐ п╦п╪п╣п╫п╫п╬ я█я┌п╦п╪ Б─■ я│п╫п╦п╪п╨п╬п╪ я└п╟п╧п╩п╬п╡п╬п╧ я│п╦я│я┌п╣п╪я▀ п©п╬я│п╩п╣ п╨п╟п╤п╢п╬п╧ я└п╦п╨я│п╟я├п╦п╦.

п п╟п╨ п©я─п╟п╡п╦п╩п╬, п╩я▌п╢п╦ п©я─п╣п╢п©п╬я┤п╦я┌п╟я▌я┌ п╢п╟п╡п╟я┌я▄ п╪п╣я┌п╨п╟п╪ я┐п╢п╬п╠п╬я┤п╦я┌п╟п╣п╪я▀п╣ п╦п╪п╣п╫п╟, п╫п╟п©п╬п╢п╬п╠п╦п╣ release-1.0. п≤ п╢п╣п╩п╟я┌я▄ я│п╫п╦п╪п╨п╦ п╫п╣п╠п╬п╩я▄я┬п╦я┘ п©п╬п╢п╢п╦я─п╣п╨я┌п╬я─п╦п╧ я└п╟п╧п╩п╬п╡п╬п╧ я│п╦я│я┌п╣п╪я▀. п÷я─п╬я┴п╣ пЁп╬п╡п╬я─я▐, п╫п╣ п©я─п╬я│я┌п╬ п╥п╟п©п╬п╪п╫п╦я┌я▄, я┤я┌п╬ п╡п╣я─я│п╦я▐ 1.0 п©я─п╬пЁя─п╟п╪п╪я▀ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐п╣я┌ п©п╬п╢п╢п╦я─п╣п╨я┌п╬я─п╦п╦ п╡ п©я─п╟п╡п╨п╣ 4822.

п║п╬п╥п╢п╟п╫п╦п╣ п©я─п╬я│я┌п╬п╧ п╪п╣я┌п╨п╦

п≤ я│п╫п╬п╡п╟ п©я─п╦я┘п╬п╢п╦я┌ п╫п╟ п©п╬п╪п╬я┴я▄ svn copy. п∙я│п╩п╦ п╡п╟п╪ п╫я┐п╤п╫п╬ я│п╢п╣п╩п╟я┌я▄ я│п╫п╦п╪п╬п╨ /calc/trunk п╡ я┌п╬я┤п╫п╬ я┌п╟п╨п╬п╪ п╡п╦п╢п╣ п╨п╟п╨ п╡ п©я─п╟п╡п╨п╣ HEAD, я│п╢п╣п╩п╟п╧я┌п╣ п╨п╬п©п╦я▌ я█я┌п╬п╧ п╢п╦я─п╣п╨я┌п╬я─п╦п╦:

$ svn copy http://svn.example.com/repos/calc/trunk \
           http://svn.example.com/repos/calc/tags/release-1.0 \
      -m "Tagging the 1.0 release of the 'calc' project."

Committed revision 351.

п▓ я█я┌п╬п╪ п©я─п╦п╪п╣я─п╣ п©я─п╣п╢п©п╬п╩п╟пЁп╟п╣я┌я│я▐, я┤я┌п╬ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ /calc/tags я│я┐я┴п╣я│я┌п╡я┐п╣я┌. (п∙я│п╩п╦ п╫п╣я┌, п╬п╠я─п╟я┌п╦я┌п╣я│я▄ п╨ svn mkdir). п÷п╬я│п╩п╣ я┌п╬пЁп╬ п╨п╟п╨ я│п╢п╣п╩п╟п╫п╟ п╨п╬п©п╦я▐, п╫п╬п╡п╟я▐ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ release-1.0 п╫п╟п╡я│п╣пЁп╢п╟ я│п╬я┘я─п╟п╫п╦я┌ я│п╬я│я┌п╬я▐п╫п╦п╣ п©я─п╬п╣п╨я┌п╟ п╡ я┌п╟п╨п╬п╪ п╡п╦п╢п╣ п╡ п╨п╟п╨п╬п╪ п╬п╫ я│я┐я┴п╣я│я┌п╡п╬п╡п╟п╩ п╡ п©я─п╟п╡п╨п╣ HEAD п╫п╟ п╪п╬п╪п╣п╫я┌ я│п╬п╥п╢п╟п╫п╦я▐ п╨п╬п©п╦п╦. п п╬п╫п╣я┤п╫п╬, п╪п╬п╤п╫п╬ п╠п╬п╩п╣п╣ я┌п╬я┤п╫п╬ я┐п╨п╟п╥п╟я┌я▄ п╨п╟п╨я┐я▌ п╦п╪п╣п╫п╫п╬ п©я─п╟п╡п╨я┐ п╨п╬п©п╦я─п╬п╡п╟я┌я▄, п╡п╬п╥п╪п╬п╤п╫п╟ я│п╦я┌я┐п╟я├п╦я▐, п╨п╬пЁп╢п╟ п╨я┌п╬-я┌п╬ п╢я─я┐пЁп╬п╧ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╩ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ п©я─п╬п╣п╨я┌п╣ я│ п╨п╬я┌п╬я─я▀п╪п╦ п╡я▀ п╣я┴п╣ п╫п╣ я┐я│п©п╣п╩п╦ п©п╬п╥п╫п╟п╨п╬п╪п╦я┌я▄я│я▐. п÷п╬я█я┌п╬п╪я┐, п╣я│п╩п╦ п╡я▀ п╥п╫п╟п╣я┌п╣, я┤я┌п╬ п©я─п╟п╡п╨п╟ 350 /calc/trunk я█я┌п╬ п╦п╪п╣п╫п╫п╬ я┌п╬я┌ я│п╫п╦п╪п╬п╨ п╨п╬я┌п╬я─я▀п╧ п╡п╟п╪ п╫я┐п╤п╣п╫, п╪п╬п╤п╣я┌п╣ я┐п╨п╟п╥п╟я┌я▄ п╣п╣ п©п╣я─п╣п╢п╟п╡ -r 350 п╨п╬п╪п╟п╫п╢п╣ svn copy.

п÷п╬я│я┌п╬п╧я┌п╣: п╡п╣п╢я▄ п©я─п╬я├п╣п╢я┐я─п╟ я│п╬п╥п╢п╟п╫п╦я▐ п╪п╣я┌п╨п╦ я┌п╟п╨п╟я▐ п╤п╣ п╨п╟п╨ п©я─п╬я├п╣п╢я┐я─п╟ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╫п╟я▐ п╫п╟п╪п╦ п©я─п╦ я│п╬п╥п╢п╟п╫п╦п╦ п╡п╣я┌п╨п╦? п■п╟, я└п╟п╨я┌п╦я┤п╣я│п╨п╦, я█я┌п╬ я┌п╟п╨. Subversion п╫п╣ я─п╟п╥п╢п╣п╩я▐п╣я┌ п╡п╣я┌п╨п╦ п╦ п╪п╣я┌п╨п╦. п≤ я┌п╬ п╦ п╢я─я┐пЁп╬п╣ я▐п╡п╩я▐п╣я┌я│я▐ п╬п╠я▀я┤п╫я▀п╪п╦ п╢п╦я─п╣п╨я┌п╬я─п╦я▐п╪п╦, я│п╬п╥п╢п╟п╫п╫я▀п╪п╦ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣п╪. п п╟п╨ п╦ п╡ я│п╩я┐я┤п╟п╣ я│ п╡п╣я┌п╨п╟п╪п╦, я│п╨п╬п©п╦я─п╬п╡п╟п╫п╫п╟я▐ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ я│я┌п╟п╫п╬п╡п╦я┌я▄я│я▐ б╚п╪п╣я┌п╨п╬п╧б╩ я┌п╬п╩я▄п╨п╬ п©п╬я┌п╬п╪я┐, я┤я┌п╬ я┤п╣п╩п╬п╡п╣п╨ я│я┤п╦я┌п╟п╣я┌ п╣п╣ я┌п╟п╨п╬п╡п╬п╧: п╣я│п╩п╦ п╫п╦п╨я┌п╬ п╫п╣ п╢п╣п╩п╟п╣я┌ я└п╦п╨я│п╟я├п╦п╧ п╡ я█я┌я┐ п╢п╦я─п╣п╨я┌п╬я─п╦я▌ п╬п╫п╟ п╠я┐п╢п╣я┌ п╬я│я┌п╟п╡п╟я┌я▄я│я▐ я│п╫п╦п╪п╨п╬п╪. п∙я│п╩п╦ п╡ я█я┌я┐ п╢п╦я─п╣п╨я┌п╬я─п╦я▌ п╫п╟я┤п╫я┐я┌ п╢п╣п╩п╟я┌я▄ я└п╦п╨я│п╟я├п╦п╦ п╬п╫п╟ п©я─п╣п╡я─п╟я┌п╦я┌я│я▐ п╡ п╡п╣я┌п╨я┐.

п∙я│п╩п╦ п╡я▀ п╟п╢п╪п╦п╫п╦я│я┌я─п╦я─я┐п╣я┌п╣ я┘я─п╟п╫п╦п╩п╦я┴п╣, п╣я│я┌я▄ п╢п╡п╟ п╡п╬п╥п╪п╬п╤п╫я▀я┘ п©п╬п╢я┘п╬п╢п╟ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╪п╣я┌п╨п╟п╪п╦. п÷п╣я─п╡я▀п╧ п©п╬п╢я┘п╬п╢ б╚я─я┐я┤п╫п╬п╧б╩: п╡ я│п╬п╬я┌п╡п╣я┌я│я┌п╡п╦п╦ я│ п©я─п╟п╡п╦п╩п╟п╪п╦ п©я─п╬п╣п╨я┌п╟ я─п╣я┬п╦я┌п╣, пЁп╢п╣ п╠я┐п╢я┐я┌ п╫п╟я┘п╬п╢п╦я┌я▄я│я▐ п╪п╣я┌п╨п╦ п╦ я┐п╠п╣п╢п╦я┌п╣я│я▄ п╡ я┌п╬п╪, я┤я┌п╬ п╡я│п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╥п╫п╟я▌я┌ п╨п╟п╨ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟я┌я▄ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ я│п╨п╬п©п╦я─п╬п╡п╟п╫п╫я▀п╣ я│я▌п╢п╟. (п╒п╬ п╣я│я┌я▄ я┐п╠п╣п╢п╦я┌п╣я│я▄, я┤я┌п╬ п╬п╫п╦ п╥п╫п╟я▌я┌ п╬ я┌п╬п╪ я┤я┌п╬ п╡ п╫п╦я┘ п╫п╣п╩я▄п╥я▐ п╡я▀п©п╬п╩п╫я▐я┌я▄ я└п╦п╨я│п╟я├п╦п╦.) п▓я┌п╬я─п╬п╧ п©п╬п╢я┘п╬п╢ п╠п╬п╩п╣п╣ п©п╟я─п╟п╫п╬п╦п╢п╟п╩я▄п╫я▀п╧: п╡я▀ п╪п╬п╤п╣я┌п╣ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╬п╢п╫п╦п╪ п╦п╥ я│п╨я─п╦п©я┌п╬п╡ п╢п╩я▐ п╨п╬п╫я┌я─п╬п╩я▐ п╢п╬я│я┌я┐п©п╟, п©п╬я│я┌п╟п╡п╩я▐п╣п╪я▀п╪ я│ Subversion п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬ п╠я▀ п╫п╦п╨я┌п╬ п╫п╦я┤п╣пЁп╬ п╢я─я┐пЁп╬пЁп╬ п╨я─п╬п╪п╣ я│п╬п╥п╢п╟п╫п╦я▐ п╨п╬п©п╦п╧ п╡ п╬п╠п╩п╟я│я┌п╦ п╢п╩я▐ я│п╬п╥п╢п╟п╫п╦я▐ п╪п╣я┌п╬п╨ я│п╢п╣п╩п╟я┌я▄ п╫п╣ п╪п╬пЁ. (п║п╪. п⌠п╩п╟п╡п╟б═6, п²п╟я│я┌я─п╬п╧п╨п╟ я│п╣я─п╡п╣я─п╟.) п·п╢п╫п╟п╨п╬ п╬п╠я▀я┤п╫п╬ п╡ п©п╟я─п╟п╫п╬п╦п╢п╟п╩я▄п╫п╬п╪ п©п╬п╢я┘п╬п╢п╣ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦ п╫п╣я┌. п∙я│п╩п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╫п╣п©я─п╣п╢п╫п╟п╪п╣я─п╣п╫п╫п╬ п╥п╟я└п╦п╨я│п╦я─я┐п╣я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ п╢п╦я─п╣п╨я┌п╬я─п╦я▌ я│ п╪п╣я┌п╨п╬п╧, п╡я▀ п╪п╬п╤п╣я┌п╣ п©я─п╬я│я┌п╬ п╬я┌п╪п╣п╫п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐, п╨п╟п╨ я█я┌п╬ п╠я▀п╩п╬ я─п╟я│я│п╪п╬я┌я─п╣п╫п╬ п╡ п©я─п╣п╢я▀п╢я┐я┴п╣п╪ я─п╟п╥п╢п╣п╩п╣. п п╟п╨ п╫п╦ п╨п╟п╨, я█я┌п╬ я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦.

п║п╬п╥п╢п╟п╫п╦п╣ п╨п╬п╪п©п╩п╣п╨я│п╫п╬п╧ п╪п╣я┌п╨п╦

п≤п╫п╬пЁп╢п╟ п╡п╟п╪ п╠я┐п╢п╣я┌ п╫п╣п╬п╠я┘п╬п╢п╦п╪ п╠п╬п╩п╣п╣ я│п╩п╬п╤п╫я▀п╧ б╚я│п╫п╦п╪п╬п╨б╩, я┤п╣п╪ п╬п╢п╫п╟ п╣п╢п╦п╫я│я┌п╡п╣п╫п╫п╟я▐ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ п╡ п╬п╢п╫п╬п╧ п©я─п╟п╡п╨п╣.

п²п╟п©я─п╦п╪п╣я─, п©я─п╣п╢я│я┌п╟п╡п╦п╪, я┤я┌п╬ п╡п╟я┬ п©я─п╬п╣п╨я┌ пЁп╬я─п╟п╥п╢п╬ п╠п╬п╩я▄я┬п╣, я┤п╣п╪ п╫п╟я┬ п©я─п╦п╪п╣я─ calc: п╢п╬п©я┐я│я┌п╦п╪ п╬п╫ я│п╬п╢п╣я─п╤п╦я┌ п╫п╣я│п╨п╬п╩я▄п╨п╬ п©п╬п╢п╢п╦я─п╣п╨я┌п╬я─п╦п╧ п╦ п╫п╟п╪п╫п╬пЁп╬ п╠п╬п╩я▄я┬п╣ я└п╟п╧п╩п╬п╡. п▓ п©я─п╬я├п╣я│я│п╣ я─п╟п╠п╬я┌я▀ п╡п╟п╪ п╪п╬п╤п╣я┌ п©п╬п╫п╟п╢п╬п╠п╦я┌я▄я│я▐ я│п╬п╥п╢п╟я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, я│п╬п╢п╣я─п╤п╟я┴я┐я▌ п╨п╬п╫п╨я─п╣я┌п╫я┐я▌ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╬я│я┌я▄ п╦ п╦я│п©я─п╟п╡п╩п╣п╫п╫я▀п╣ п╬я┬п╦п╠п╨п╦. п■п╬п╠п╦я┌я▄я│я▐ я█я┌п╬пЁп╬ п╡я▀ п╪п╬п╤п╣я┌п╣ п╡я▀п╠п╬я─п╬я┤п╫п╬ п╡п╬п╥п╡я─п╟я┴п╟я▐ я└п╟п╧п╩я▀ п╦п╩п╦ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ п╨ п╨п╬п╫п╨я─п╣я┌п╫п╬п╧ п©я─п╟п╡п╨п╣ (п╦я│п©п╬п╩я▄п╥я┐я▐ svn update -r п©п╬ п╪п╣я─п╣ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦) п╦п╩п╦ п©п╣я─п╣п╨п╩я▌я┤п╟я▐ я└п╟п╧п╩я▀ п╦п╩п╦ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ п╫п╟ п╬я┌п╢п╣п╩я▄п╫я▀п╣ п╡п╣я┌п╨п╦ (п©я─п╦п╪п╣п╫я▐я▐ svn switch). п÷п╬ п╥п╟п╡п╣я─я┬п╣п╫п╦п╦ я─п╟п╠п╬я┤п╟я▐я▐ п╨п╬п©п╦я▐ п╠я┐п╢п╣я┌ п©я─п╣п╢я│я┌п╟п╡п╩я▐я┌я▄ я│п╬п╠п╬п╧ п╪п╣я┬п╟п╫п╦п╫я┐ я─п╟п╥п╩п╦я┤п╫я▀я┘ п╢п╦я─п╣п╨я┌п╬я─п╦п╧ п╦ п©я─п╟п╡п╬п╨ я┘я─п╟п╫п╦п╩п╦я┴п╟. п÷п╬я│п╩п╣ п©я─п╬п╡п╣я─п╨п╦ п╡я▀ п©п╬п╧п╪п╣я┌п╣, я┤я┌п╬ п╡п╟п╪ п╫я┐п╤п╫п╟ п╦п╪п╣п╫п╫п╬ я┌п╟п╨п╟я▐ п╨п╬п╪п╠п╦п╫п╟я├п╦я▐.

п▓я─п╣п╪я▐ я│п╬п╥п╢п╟п╡п╟я┌я▄ я│п╫п╦п╪п╬п╨. п п╬п©п╦я─п╬п╡п╟п╫п╦п╣ п╬п╢п╫п╬пЁп╬ URL п╡ п╢я─я┐пЁп╬п╧ п╥п╢п╣я│я▄ п╫п╣ п©я─п╬п╧п╢п╣я┌. п≈п╢п╣я│я▄ п╫я┐п╤п╫п╬ я│п╢п╣п╩п╟я┌я▄ п╦ я│п╬я┘я─п╟п╫п╦я┌я▄ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ я│п╫п╦п╪п╬п╨ п╦п╪п╣п╫п╫п╬ я┌п╟п╨п╬п╧ я│я┌я─я┐п╨я┌я┐я─я▀ п╨п╬я┌п╬я─я┐я▌ п╦п╪п╣п╣я┌ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐. п  я│я┤п╟я│я┌я▄я▌, svn copy п╦п╪п╣п╣я┌ я┤п╣я┌я▀я─п╣ я│п©п╬я│п╬п╠п╟ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ (п╬ п╨п╬я┌п╬я─я▀я┘ п╡я▀ п╪п╬п╤п╣я┌п╣ п©я─п╬я┤п╦я┌п╟я┌я▄ п╡ п⌠п╩п╟п╡п╟б═9, п÷п╬п╩п╫п╬п╣ я│п©я─п╟п╡п╬я┤п╫п╬п╣ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п©п╬ Subversion), п╡п╨п╩я▌я┤п╟я▐ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╨п╬п©п╦я─п╬п╡п╟я┌я▄ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╢п╣я─п╣п╡п╬ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦:

$ ls
my-working-copy/

$ svn copy my-working-copy http://svn.example.com/repos/calc/tags/mytag

Committed revision 352.

п╒п╣п©п╣я─я▄ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╣я│я┌я▄ п╫п╬п╡п╟я▐ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ /calc/tags/mytag п╨п╬я┌п╬я─п╟я▐ я▐п╡п╩я▐п╣я┌я│я▐ п©п╬п╩п╫я▀п╪ п╬я┌я─п╟п╤п╣п╫п╦п╣п╪ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ Б─■ я│п╪п╣я┬п╟п╫п╫я▀п╣ п©я─п╟п╡п╨п╦, URL, п╦ я┌п╬п╪я┐ п©п╬п╢п╬п╠п╫п╬п╣.

п²п╣п╨п╬я┌п╬я─я▀п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╫п╟я┘п╬п╢я▐я┌ п╦п╫я┌п╣я─п╣я│п╫п╬п╣ п©я─п╦п╪п╣п╫п╣п╫п╦п╣ я█я┌п╬п╧ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦. п≤п╫п╬пЁп╢п╟ п╡п╬п╥п╫п╦п╨п╟я▌я┌ я│п╦я┌я┐п╟я├п╦п╦, п╨п╬пЁп╢п╟ п╡ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│п╬п╢п╣я─п╤п╦я┌я│я▐ п╫п╣п╨п╬я┌п╬я─я▀п╧ п╫п╟п╠п╬я─ п╩п╬п╨п╟п╩я▄п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧, п╨п╬я┌п╬я─я▀п╣ п╡я▀ я┘п╬я┌п╣п╩п╦ п╠я▀ п©п╬п╨п╟п╥п╟я┌я▄ я│п╬я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨я┐. п▓п╪п╣я│я┌п╬ п╥п╟п©я┐я│п╨п╟ svn diff п╦ п╬я┌п©я─п╟п╡п╨п╦ п©п╟я┌я┤-я└п╟п╧п╩п╟ (п╨п╬я┌п╬я─я▀п╧ п╫п╣ я│п╪п╬п╤п╣я┌ п╬я┌я─п╟п╥п╦я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я│я┌я─я┐п╨я┌я┐я─п╣ я└п╟п╧п╩п╬п╡, п╦п╥п╪п╣п╫п╣п╫п╫я▀п╣ я│п╦п╪п╡п╬п╩я▄п╫я▀п╣ я│я│я▀п╩п╨п╦ п╦п╩п╦ я│п╡п╬п╧я│я┌п╡п╟), п╪п╬п╤п╫п╬ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ svn copy п╢п╩я▐ б╚п╥п╟пЁя─я┐п╥п╨п╦б╩ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡ п╬я┌п╢п╣п╩я▄п╫я┐я▌ п╬п╠п╩п╟я│я┌я▄ я┘я─п╟п╫п╦п╩п╦я┴п╟. п÷п╬я│п╩п╣ я┤п╣пЁп╬ п╡п╟я┬ я│п╬я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨ я│п╪п╬п╤п╣я┌ п╩п╦п╠п╬ п╡п╬я│я│п╬п╥п╢п╟я┌я▄ я┐ я│п╣п╠я▐ п╡п╟я┬я┐ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, п╩п╦п╠п╬, п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟п╡я┬п╦я│я▄ svn merge, п©п╬п╩я┐я┤п╦я┌я▄ я┌п╬п╩я▄п╨п╬ п╡п╫п╣я│п╣п╫п╫я▀п╣ п╡п╟п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐.

п÷п╬п╢п╢п╣я─п╤п╨п╟ п╡п╣я┌п╬п╨

п║п╣п╧я┤п╟я│ п╡я▀ я┐п╤п╣ п©п╬п╫п╦п╪п╟п╣я┌п╣, я┤я┌п╬ Subversion п╬я┤п╣п╫я▄ пЁп╦п╠п╨п╟я▐ я│п╦я│я┌п╣п╪п╟. пёя┤п╦я┌я▀п╡п╟я▐ я┌п╬, я┤я┌п╬ п╡п╣я┌п╨п╦ п╦ п╪п╣я┌п╨п╦ п╦п╪п╣я▌я┌ п╬п╢п╫я┐ п╦ я┌я┐ п╤п╣ п╬я│п╫п╬п╡я┐ (п╨п╬п©п╦п╦ п╢п╦я─п╣п╨я┌п╬я─п╦п╧), п╟ я┌п╟п╨п╤п╣ я┌п╬, я┤я┌п╬ п╡п╣я┌п╨п╦ п╦ п╪п╣я┌п╨п╦ я▐п╡п╩я▐я▌я┌я│я▐ п╬п╠я▀я┤п╫я▀п╪п╦ я█п╩п╣п╪п╣п╫я┌п╟п╪п╦ я└п╟п╧п╩п╬п╡п╬п╧ я│п╦я│я┌п╣п╪я▀, Subversion п╪п╫п╬пЁп╦я┘ п©я┐пЁп╟п╣я┌. п·п╫п╟ я│п╩п╦я┬п╨п╬п╪ пЁп╦п╠п╨п╟я▐. п▓ я█я┌п╬п╪ я─п╟п╥п╢п╣п╩п╣ п╪я▀ п©я─п╣п╢п╩п╬п╤п╦п╪ п╫п╣я│п╨п╬п╩я▄п╨п╬ я│п╬п╡п╣я┌п╬п╡ п©п╬ п╨п╬п╪п©п╬п╫п╬п╡п╨п╣ п╦ п©п╬п╢п╢п╣я─п╤п╨п╣ п╦п╫я└п╬я─п╪п╟я├п╦п╦ я│ я┌п╣я┤п╣п╫п╦п╣п╪ п╡я─п╣п╪п╣п╫п╦.

п║я┌я─я┐п╨я┌я┐я─п╟ я┘я─п╟п╫п╦п╩п╦я┴п╟

п║я┐я┴п╣я│я┌п╡я┐п╣я┌ п╫п╣я│п╨п╬п╩я▄п╨п╬ я│я┌п╟п╫п╢п╟я─я┌п╫я▀я┘, я─п╣п╨п╬п╪п╣п╫п╢я┐п╣п╪я▀я┘ я│п©п╬я│п╬п╠п╬п╡ п╬я─пЁп╟п╫п╦п╥п╟я├п╦п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟. п п╟п╨ п©я─п╟п╡п╦п╩п╬, я│п╬п╥п╢п╟п╣я┌я│я▐ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ trunk, п╡ п╨п╬я┌п╬я─п╬п╧ п╫п╟я┘п╬п╢п╦я┌я│я▐ б╚пЁп╩п╟п╡п╫п╟я▐ п╩п╦п╫п╦я▐б╩ я─п╟п╥я─п╟п╠п╬я┌п╨п╦, п╢п╦я─п╣п╨я┌п╬я─п╦я▐ branches п╢п╩я▐ я┘я─п╟п╫п╣п╫п╦я▐ п╡п╣я┌п╬п╨ п╦ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ tags п╢п╩я▐ я┘я─п╟п╫п╣п╫п╦я▐ п╪п╣я┌п╬п╨. п∙я│п╩п╦ я┘я─п╟п╫п╦п╩п╦я┴п╣ я│п╬п╢п╣я─п╤п╦я┌ я┌п╬п╩я▄п╨п╬ п╬п╢п╦п╫ п©я─п╬п╣п╨я┌, п╬п╠я▀я┤п╫п╬ я│п╬п╥п╢п╟я▌я┌ я┌я─п╦ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ п╡п╣я─я┘п╫п╣пЁп╬ я┐я─п╬п╡п╫я▐:

/trunk
/branches
/tags

п∙я│п╩п╦ я┘я─п╟п╫п╦п╩п╦я┴п╣ я│п╬п╢п╣я─п╤п╦я┌ п╫п╣я│п╨п╬п╩я▄п╨п╬ п©я─п╬п╣п╨я┌п╬п╡, п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╬я─, п╬п╠я▀я┤п╫п╬ я│п╬п╥п╢п╟п╣я┌ я┌п╟п╨я┐я▌ я│я┌я─я┐п╨я┌я┐я─я┐ п╢п╩я▐ п╨п╟п╤п╢п╬пЁп╬ п©я─п╬п╣п╨я┌п╟ п╬я┌п╢п╣п╩я▄п╫п╬ (п╥п╟ п╠п╬п╩п╣п╣ п©п╬п╢я─п╬п╠п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╣п╧ п╬ б╚п╨п╬я─п╫п╣ п©я─п╬п╣п╨я┌п╟б╩ п╬п╠я─п╟я┌п╦я┌п╣я│я▄ п╡ я─п╟п╥п╢п╣п╩ б╚Choosing a Repository Layoutб╩):

/paint/trunk
/paint/branches
/paint/tags
/calc/trunk
/calc/branches
/calc/tags

п п╬п╫п╣я┤п╫п╬, п╡я▀ п╪п╬п╤п╣я┌п╣ п╫п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я┌п╟п╨п╦п╣ я┌п╦п©п╬п╡я▀п╣ я│я┌я─я┐п╨я┌я┐я─я▀. п▓я▀ п╪п╬п╤п╣я┌п╣ я│п╢п╣п╩п╟я┌я▄ п╩я▌п╠я┐я▌ я─п╟п╥п╫п╬п╡п╦п╢п╫п╬я│я┌я▄, п╨п╬я┌п╬я─п╟я▐ п╠я┐п╢п╣я┌ я┐п╢п╬п╠п╫п╟ п╢п╩я▐ п╡п╟я│ п╦п╩п╦ п╡п╟я┬п╣п╧ п╨п╬п╪п╟п╫п╢я▀. п÷п╬п╪п╫п╦я┌п╣ п╬ я┌п╬п╪, п╨п╟п╨п╬п╧ п╠я▀ п╡я▀ п╡я▀п╠п╬я─ п╫п╣ я│п╢п╣п╩п╟п╩п╦, п╬п╫ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ п╫п╣ п╬п╨п╬п╫я┤п╟я┌п╣п╩я▄п╫я▀п╪. п╔я─п╟п╫п╦п╩п╦я┴п╣ п╪п╬п╤п╫п╬ я─п╣п╬я─пЁп╟п╫п╦п╥п╬п╡п╟я┌я▄ п╡ п╩я▌п╠п╬п╣ п╡я─п╣п╪я▐. пёя┤п╦я┌я▀п╡п╟я▐ я┌п╬, я┤я┌п╬ п╡п╣я┌п╨п╦ п╦ п╪п╣я┌п╨п╦ я▐п╡п╩я▐я▌я┌я│я▐ п╬п╠я▀я┤п╫я▀п╪п╦ п╢п╦я─п╣п╨я┌п╬я─п╦я▐п╪п╦, п╨п╬п╪п╟п╫п╢п╟ svn move п╪п╬п╤п╣я┌ п©п╣я─п╣п╪п╣я│я┌п╦я┌я▄ п╦п╩п╦ п©п╣я─п╣п╦п╪п╣п╫п╬п╡п╟я┌я▄ п╦я┘ п©п╬ п╡п╟я┬п╣п╪я┐ я┐я│п╪п╬я┌я─п╣п╫п╦я▌. п÷п╣я─п╣я┘п╬п╢ п╬я┌ п╬п╢п╫п╬п╧ я│я┌я─я┐п╨я┌я┐я─я▀ п╨ п╢я─я┐пЁп╬п╧ п╬п╥п╫п╟я┤п╟п╣я┌ п©я─п╬я│я┌п╬ п╫п╣я│п╨п╬п╩я▄п╨п╬ п©п╬я│п╩п╣п╢п╬п╡п╟я┌п╣п╩я▄п╫я▀я┘ п©п╣я─п╣п╢п╡п╦п╤п╣п╨ п╫п╟ я│п╣я─п╡п╣я─п╣; п╣я│п╩п╦ п╬я─пЁп╟п╫п╦п╥п╟я├п╦я▐ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╡п╟п╪ п╫п╣ п╫я─п╟п╡п╦я┌я│я▐, п©я─п╬я│я┌п╬ п©п╬п╪п╣п╫я▐п╧я┌п╣ п╪п╣я│я┌п╟п╪п╦ п╢п╦я─п╣п╨я┌п╬я─п╦п╦.

п·п╢п╫п╟п╨п╬ п╫п╣ п╥п╟п╠я▀п╡п╟п╧я┌п╣ п╬ я┌п╬п╪, я┤я┌п╬ п╫п╣я│п╪п╬я┌я─я▐ п╫п╟ п╩п╣пЁп╨п╬я│я┌я▄ п©п╣я─п╣п╪п╣я┴п╣п╫п╦я▐ п╢п╦я─п╣п╨я┌п╬я─п╦п╧, п╫я┐п╤п╫п╬ п©п╬п╪п╫п╦я┌я▄ п╦ п╬ п╢я─я┐пЁп╦я┘ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐я┘. п▓п╟я┬п╦ п©п╣я─п╣я│я┌п╟п╫п╬п╡п╨п╦ п╪п╬пЁя┐я┌ п╢п╣п╥п╬я─п╦п╣п╫я┌п╦я─п╬п╡п╟я┌я▄ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ я│ я│я┐я┴п╣я│я┌п╡я┐я▌я┴п╦п╪п╦ я─п╟п╠п╬я┤п╦п╪п╦ п╨п╬п©п╦я▐п╪п╦. п∙я│п╩п╦ я┐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╣я│я┌я▄ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╬я┌п╢п╣п╩я▄п╫п╬п╧ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟, я┌п╬ п╡п╟я┬п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ svn move п╪п╬п╤п╣я┌ я┐п╢п╟п╩п╦я┌я▄ я█я┌п╬я┌ п©я┐я┌я▄ п╦п╥ п©п╬я│п╩п╣п╢п╫п╣п╧ п©я─п╟п╡п╨п╦. п п╬пЁп╢п╟ п╡ п╬я┤п╣я─п╣п╢п╫п╬п╧ я─п╟п╥ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╥п╟п©я┐я│я┌п╦я┌ svn update, п╬п╫ п╠я┐п╢п╣я┌ п©я─п╬п╦п╫я└п╬я─п╪п╦я─п╬п╡п╟п╫ п╬ я┌п╬п╪, я┤я┌п╬ п╣пЁп╬ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╬я┌я─п╟п╤п╟п╣я┌ п©я┐я┌я▄, п╨п╬я┌п╬я─я▀п╧ п╠п╬п╩я▄я┬п╣ п╫п╣ я│я┐я┴п╣я│я┌п╡я┐п╣я┌, п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╠я┐п╢п╣я┌ п╡я▀п╫я┐п╤п╢п╣п╫ п©п╣я─п╣п╨п╩я▌я┤п╦я┌я▄я│я▐ (svn switch) п╫п╟ п╫п╬п╡п╬п╣ п╪п╣я│я┌п╬п©п╬п╩п╬п╤п╣п╫п╦п╣.

п÷я─п╬п╢п╬п╩п╤п╦я┌п╣п╩я▄п╫п╬я│я┌я▄ п╤п╦п╥п╫п╦ п╦п╫я└п╬я─п╪п╟я├п╦п╦

п∙я┴п╣ п╬п╢п╫п╦п╪ п╥п╟п╪п╣я┤п╟я┌п╣п╩я▄п╫я▀п╪ я│п╡п╬п╧я│я┌п╡п╬п╪ п╪п╬п╢п╣п╩п╦ Subversion я▐п╡п╩я▐п╣я┌я│я▐ я┌п╬, я┤я┌п╬ п╡п╣я┌п╨п╦ п╦ п╪п╣я┌п╨п╦ п╪п╬пЁя┐я┌ п╦п╪п╣я┌я▄ п╨п╬п╫п╣я┤п╫я┐я▌ п©я─п╬п╢п╬п╩п╤п╦я┌п╣п╩я▄п╫п╬я│я┌я▄ п╤п╦п╥п╫п╦, я┌п╟п╨ п╤п╣ п╨п╟п╨ п╦ п╡я│п╣ п╢я─я┐пЁп╦п╣ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╣ я█п╩п╣п╪п╣п╫я┌я▀. п²п╟п©я─п╦п╪п╣я─, п©я─п╣п╢п©п╬п╩п╬п╤п╦п╪ п╡я▀ п╫п╟п╨п╬п╫п╣я├ п╥п╟п╨п╬п╫я┤п╦п╩п╦ п╡я│п╣ я─п╟п╠п╬я┌я▀ п╡ п╡п╟я┬п╣ п╩п╦я┤п╫п╬п╧ п╡п╣я┌п╨п╣ п©я─п╬п╣п╨я┌п╟ calc. п÷п╬я│п╩п╣ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧ я│ /calc/trunk, п╫п╣я┌ п©я─п╦я┤п╦п╫ п©я─п╬п╢п╬п╩п╤п╟я┌я▄ я┘я─п╟п╫п╦я┌я▄ я█я┌я┐ п╡п╣я┌п╨я┐:

$ svn delete http://svn.example.com/repos/calc/branches/my-calc-branch \
             -m "Removing obsolete branch of calc project."

Committed revision 375.

п▒п╬п╩я▄я┬п╣ п╡п╟я┬п╣п╧ п╡п╣я┌п╨п╦ п╫п╣ я│я┐я┴п╣я│я┌п╡я┐п╣я┌. п п╬п╫п╣я┤п╫п╬, п╫п╟ я│п╟п╪п╬п╪ п╢п╣п╩п╣ п╬п╫п╟ п╫п╣ п╦я│я┤п╣п╥п╩п╟: п©я─п╬я│я┌п╬ п╣п╣ п╠п╬п╩я▄я┬п╣ п╫п╣я┌ п╡ п©я─п╟п╡п╨п╣ HEAD, п╬п╫п╟ п╠п╬п╩я▄я┬п╣ п╫п╦п╨п╬пЁп╬ п╫п╣ п╬я┌п╡п╩п╣п╨п╟п╣я┌. п∙я│п╩п╦ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╨п╬п╪п╟п╫п╢п╟п╪п╦ svn checkout, svn switch п╦п╩п╦ svn list п╢п╩я▐ п╬п╠я─п╟я┴п╣п╫п╦я▐ п╨ я─п╟п╫п╫п╦п╪ п©я─п╟п╡п╨п╟п╪, я│п╡п╬я▌ я│я┌п╟я─я┐я▌ п╡п╣я┌п╨я┐ п╡я▀ я┐п╡п╦п╢п╦я┌п╣.

п∙я│п╩п╦ п©я─п╬я│п╪п╬я┌я─п╟ я┐п╢п╟п╩п╣п╫п╫п╬п╧ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ п╫п╣ п╢п╬я│я┌п╟я┌п╬я┤п╫п╬, п╡я▀ п╡я│п╣пЁп╢п╟ п╪п╬п╤п╣я┌п╣ п╡п╬я│я│я┌п╟п╫п╬п╡п╦я┌я▄ я█я┌я┐ п╢п╦я─п╣п╨я┌п╬я─п╦я▌. п▓п╬я│я│я┌п╟п╫п╬п╡п╩п╣п╫п╦п╣ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╡ Subversion п╡я▀п©п╬п╩п╫п╦я┌я▄ п╬я┤п╣п╫я▄ п©я─п╬я│я┌п╬. п∙я│п╩п╦ п╣я│я┌я▄ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ п╦п╩п╦ я└п╟п╧п╩, п╨п╬я┌п╬я─я▀п╧ п╡я▀ я┘п╬я┌п╦я┌п╣ п╡п╣я─п╫я┐я┌я▄ п╬п╠я─п╟я┌п╫п╬ п╡ HEAD, п©я─п╬я│я┌п╬ п╡п╬я│п©п╬п╩я▄п╥я┐п╧я┌п╣я│я▄ svn copy -r п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬ п╠я▀ я│п╨п╬п©п╦я─п╬п╡п╟я┌я▄ п╣пЁп╬ п╦п╥ я│я┌п╟я─п╬п╧ п©я─п╟п╡п╨п╦:

$ svn copy -r 374 http://svn.example.com/repos/calc/branches/my-calc-branch \
                  http://svn.example.com/repos/calc/branches/my-calc-branch

Committed revision 376.

п▓ п╫п╟я┬п╣п╪ п©я─п╦п╪п╣я─п╣ п╡п╟я┬п╟ п╩п╦я┤п╫п╟я▐ п╡п╣я┌п╨п╟ п╦п╪п╣п╣я┌ п╬я┌п╫п╬я│п╦я┌п╣п╩я▄п╫п╬ п╨п╬я─п╬я┌п╨я┐я▌ п©я─п╬п╢п╬п╩п╤п╦я┌п╣п╩я▄п╫п╬я│я┌я▄ п╤п╦п╥п╫п╦: п╡п╬п╥п╪п╬п╤п╫п╬ п╬п╫п╟ я│п╬п╥п╢п╟п╡п╟п╩п╟я│я▄ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬ п╠я▀ п╦я│п©я─п╟п╡п╦я┌я▄ п╬я┬п╦п╠п╨я┐ п╦п╩п╦ я─п╣п╟п╩п╦п╥п╬п╡п╟я┌я▄ п╫п╬п╡я┐я▌ я└я┐п╫п╨я├п╦я▌. п÷п╬я│п╩п╣ я┌п╬пЁп╬, п╨п╟п╨ я─п╟п╠п╬я┌п╟ п╥п╟п╡п╣я─я┬п╣п╫п╟, п╥п╟п╡п╣я─я┬п╣п╫п╟ п╦ п╡п╣я┌п╨п╟. п÷я─п╦ я─п╟п╥я─п╟п╠п╬я┌п╨п╣ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐, я┌п╣п╪ п╫п╣ п╪п╣п╫п╣п╣, я┤п╟я│я┌п╬ п╦п╪п╣я▌я┌ п╢п╡п╣ б╚пЁп╩п╟п╡п╫я▀я┘б╩ п╡п╣я┌п╨п╦, я│я┐я┴п╣я│я┌п╡я┐я▌я┴п╦я┘ я─я▐п╢п╬п╪ п╢п╬п╡п╬п╩я▄п╫п╬ п╢п╬п╩пЁп╬п╣ п╡я─п╣п╪я▐. п■п╬п©я┐я│я┌п╦п╪, п©я─п╦я┬п╩п╬ п╡я─п╣п╪я▐ п╡я▀п©я┐я│я┌п╦я┌я▄ я─п╣п╩п╦п╥ я│я┌п╟п╠п╦п╩я▄п╫п╬п╧ п╡п╣я─я│п╦п╦ п©я─п╬п╣п╨я┌п╟ calc, п╟ п╡я▀ п╥п╫п╟п╣я┌п╣, я┤я┌п╬ п╫я┐п╤п╫п╟ п╠я┐п╢п╣я┌ п©п╟я─п╟ п╪п╣я│я▐я├п╣п╡ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬ п╠я▀ п╡я▀я┌я─я▐я│я┌п╦ п╦п╥ п©я─п╬пЁя─п╟п╪п╪я▀ п©п╬я│п╩п╣п╢п╫п╦п╣ п╬я┬п╦п╠п╨п╦. п═п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╦ п╫п╣ п╢п╬п╩п╤п╫я▀ п╢п╬п╠п╟п╡п╩я▐я┌я▄ п╡ п©я─п╬п╣п╨я┌ п╫п╬п╡я▀я┘ я└я┐п╫п╨я├п╦п╦, п╫п╬ п©я─п╦ я█я┌п╬п╪ п╦ я─п╟п╠п╬я┌п╟ п╫п╣ п╢п╬п╩п╤п╫п╟ п╬я│я┌п╟п╫п╟п╡п╩п╦п╡п╟я┌я▄я│я▐. п▓ п©п╬п╢п╬п╠п╫п╬п╧ я│п╦я┌я┐п╟я├п╦п╦ я│п╬п╥п╢п╟п╣я┌я│я▐ б╚я│я┌п╟п╠п╦п╩я▄п╫п╟я▐б╩ п╡п╣я┌п╨п╟ п©я─п╬пЁя─п╟п╪п╪я▀, п╨п╬я┌п╬я─п╟я▐ я│я┐я┴п╣я│я┌п╡п╣п╫п╫п╬ п╦п╥п╪п╣п╫я▐я┌я▄я│я▐ я┐п╤п╣ п╫п╣ п╠я┐п╢п╣я┌:

$ svn copy http://svn.example.com/repos/calc/trunk \
         http://svn.example.com/repos/calc/branches/stable-1.0 \
         -m "Creating stable branch of calc project."

Committed revision 377.

п÷п╬я│п╩п╣ я█я┌п╬пЁп╬, я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╟п╪ п╫п╦я┤п╣пЁп╬ п╫п╣ п╪п╣я┬п╟п╣я┌ п©я─п╬п╢п╬п╩п╤п╟я┌я▄ п╢п╬п╠п╟п╡п╩я▐я┌я▄ п╡ /calc/trunk п╫п╬п╡я▀п╣ п©п╣я─п╣п╢п╬п╡я▀п╣ (п╦п╩п╦ я█п╨я│п©п╣я─п╦п╪п╣п╫я┌п╟п╩я▄п╫я▀п╣) я└я┐п╫п╨я├п╦п╦, п╟ п╡ п©я─п╟п╡п╦п╩п╟я┘ п©я─п╬п╣п╨я┌п╟ п╪п╬п╤п╫п╬ я┐п╨п╟п╥п╟я┌я▄, я┤я┌п╬ п╡ /calc/branches/stable-1.0 п╢п╬п╩п╤п╫я▀ я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄я│я▐ я┌п╬п╩я▄п╨п╬ п╦я│п©я─п╟п╡п╩п╣п╫п╦я▐ п╬я┬п╦п╠п╬п╨. п÷п╬ п╪п╣я─п╣ я┌п╬пЁп╬, п╨п╟п╨ п╠я┐п╢п╣я┌ п©я─п╬п╢п╡п╦пЁп╟я┌я▄я│я▐ я─п╟п╠п╬я┌п╟ п╫п╟п╢ пЁп╩п╟п╡п╫п╬п╧ п╩п╦п╫п╦п╣п╧ я─п╟п╥я─п╟п╠п╬я┌п╨п╦, п╦я│п©я─п╟п╡п╩п╣п╫п╫я▀п╣ п╬я┬п╦п╠п╨п╦ п╠я┐п╢я┐я┌ п╡я▀п╠п╬я─п╬я┤п╫п╬ п©п╬я─я┌п╦я─п╬п╡п╟я┌я▄я│я▐ п╡ я│я┌п╟п╠п╦п╩я▄п╫я┐я▌ п╡п╣я┌п╨я┐. п■п╟п╤п╣ п©п╬я│п╩п╣ п╡я▀я┘п╬п╢п╟ я─п╣п╩п╦п╥п╟ я│я┌п╟п╠п╦п╩я▄п╫п╬п╧ п╡п╣я┌п╨п╦, п╬п╫п╟ п╪п╬п╤п╣я┌ п©я─п╬п╢п╬п╩п╤п╟я┌я▄ п©п╬п╢п╢п╣я─п╤п╦п╡п╟я┌я▄я│я▐ п╢п╬п╩пЁп╬п╣ п╡я─п╣п╪я▐ Б─■ я│я┌п╬п╩я▄п╨п╬, я│п╨п╬п╩я▄п╨п╬ я█я┌п╬я┌ я─п╣п╩п╦п╥ п╠я┐п╢п╣я┌ п©я─п╬п╢п╬п╩п╤п╟я┌я▄ п©п╬п╢п╢п╣я─п╤п╦п╡п╟я┌я▄я│я▐ п╢п╩я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧.

Vendor branches

As is especially the case when developing software, the data that you maintain under version control is often closely related to, or perhaps dependent upon, someone else's data. Generally, the needs of your project will dictate that you stay as up-to-date as possible with the data provided by that external entity without sacrificing the stability of your own project. This scenario plays itself out all the timeБ─■anywhere that the information generated by one group of people has a direct effect on that which is generated by another group.

For example, software developers might be working on an application which makes use of a third-party library. Subversion has just such a relationship with the Apache Portable Runtime library (see б╚The Apache Portable Runtime Libraryб╩). The Subversion source code depends on the APR library for all its portability needs. In earlier stages of Subversion's development, the project closely tracked APR's changing API, always sticking to the б╚bleeding edgeб╩ of the library's code churn. Now that both APR and Subversion have matured, Subversion attempts to synchronize with APR's library API only at well-tested, stable release points.

Now, if your project depends on someone else's information, there are several ways that you could attempt to synchronize that information with your own. Most painfully, you could issue oral or written instructions to all the contributors of your project, telling them to make sure that they have the specific versions of that third-party information that your project needs. If the third-party information is maintained in a Subversion repository, you could also use Subversion's externals definitions to effectively б╚pin downб╩ specific versions of that information to some location in your own working copy directory (see б╚п▓п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦б╩).

But sometimes you want to maintain custom modifications to third-party data in your own version control system. Returning to the software development example, programmers might need to make modifications to that third-party library for their own purposes. These modifications might include new functionality or bug fixes, maintained internally only until they become part of an official release of the third-party library. Or the changes might never be relayed back to the library maintainers, existing solely as custom tweaks to make the library further suit the needs of the software developers.

Now you face an interesting situation. Your project could house its custom modifications to the third-party data in some disjointed fashion, such as using patch files or full-fledged alternate versions of files and directories. But these quickly become maintenance headaches, requiring some mechanism by which to apply your custom changes to the third-party data, and necessitating regeneration of those changes with each successive version of the third-party data that you track.

The solution to this problem is to use vendor branches. A vendor branch is a directory tree in your own version control system that contains information provided by a third-party entity, or vendor. Each version of the vendor's data that you decide to absorb into your project is called a vendor drop.

Vendor branches provide two key benefits. First, by storing the currently supported vendor drop in your own version control system, the members of your project never need to question whether they have the right version of the vendor's data. They simply receive that correct version as part of their regular working copy updates. Secondly, because the data lives in your own Subversion repository, you can store your custom changes to it in-placeБ─■you have no more need of an automated (or worse, manual) method for swapping in your customizations.

General Vendor Branch Management Procedure

Managing vendor branches generally works like this. You create a top-level directory (such as /vendor) to hold the vendor branches. Then you import the third party code into a subdirectory of that top-level directory. You then copy that subdirectory into your main development branch (for example, /trunk) at the appropriate location. You always make your local changes in the main development branch. With each new release of the code you are tracking you bring it into the vendor branch and merge the changes into /trunk, resolving whatever conflicts occur between your local changes and the upstream changes.

Perhaps an example will help to clarify this algorithm. We'll use a scenario where your development team is creating a calculator program that links against a third-party complex number arithmetic library, libcomplex. We'll begin with the initial creation of the vendor branch, and the import of the first vendor drop. We'll call our vendor branch directory libcomplex, and our code drops will go into a subdirectory of our vendor branch called current. And since svn import creates all the intermediate parent directories it needs, we can actually accomplish both of these steps with a single command.

$ svn import /path/to/libcomplex-1.0 \
             http://svn.example.com/repos/vendor/libcomplex/current \
             -m 'importing initial 1.0 vendor drop'
Б─╕

We now have the current version of the libcomplex source code in /vendor/libcomplex/current. Now, we tag that version (see б╚п°п╣я┌п╨п╦б╩) and then copy it into the main development branch. Our copy will create a new directory called libcomplex in our existing calc project directory. It is in this copied version of the vendor data that we will make our customizations.

$ svn copy http://svn.example.com/repos/vendor/libcomplex/current  \
           http://svn.example.com/repos/vendor/libcomplex/1.0      \
           -m 'tagging libcomplex-1.0'
Б─╕
$ svn copy http://svn.example.com/repos/vendor/libcomplex/1.0  \
           http://svn.example.com/repos/calc/libcomplex        \
           -m 'bringing libcomplex-1.0 into the main branch'
Б─╕

We check out our project's main branchБ─■which now includes a copy of the first vendor dropБ─■and we get to work customizing the libcomplex code. Before we know it, our modified version of libcomplex is now completely integrated into our calculator program. [29]

A few weeks later, the developers of libcomplex release a new version of their libraryБ─■version 1.1Б─■which contains some features and functionality that we really want. We'd like to upgrade to this new version, but without losing the customizations we made to the existing version. What we essentially would like to do is to replace our current baseline version of libcomplex 1.0 with a copy of libcomplex 1.1, and then re-apply the custom modifications we previously made to that library to the new version. But we actually approach the problem from the other direction, applying the changes made to libcomplex between versions 1.0 and 1.1 to our modified copy of it.

To perform this upgrade, we checkout a copy of our vendor branch, and replace the code in the current directory with the new libcomplex 1.1 source code. We quite literally copy new files on top of existing files, perhaps exploding the libcomplex 1.1 release tarball atop our existing files and directories. The goal here is to make our current directory contain only the libcomplex 1.1 code, and to ensure that all that code is under version control. Oh, and we want to do this with as little version control history disturbance as possible.

After replacing the 1.0 code with 1.1 code, svn status will show files with local modifications as well as, perhaps, some unversioned or missing files. If we did what we were supposed to do, the unversioned files are only those new files introduced in the 1.1 release of libcomplexБ─■we run svn add on those to get them under version control. The missing files are files that were in 1.0 but not in 1.1, and on those paths we run svn delete. Finally, once our current working copy contains only the libcomplex 1.1 code, we commit the changes we made to get it looking that way.

Our current branch now contains the new vendor drop. We tag the new version (in the same way we previously tagged the version 1.0 vendor drop), and then merge the differences between the tag of the previous version and the new current version into our main development branch.

$ cd working-copies/calc
$ svn merge http://svn.example.com/repos/vendor/libcomplex/1.0      \
            http://svn.example.com/repos/vendor/libcomplex/current  \
            libcomplex
Б─╕ # resolve all the conflicts between their changes and our changes
$ svn commit -m 'merging libcomplex-1.1 into the main branch'
Б─╕

In the trivial use case, the new version of our third-party tool would look, from a files-and-directories point of view, just like the previous version. None of the libcomplex source files would have been deleted, renamed or moved to different locationsБ─■the new version would contain only textual modifications against the previous one. In a perfect world, our modifications would apply cleanly to the new version of the library, with absolutely no complications or conflicts.

But things aren't always that simple, and in fact it is quite common for source files to get moved around between releases of software. This complicates the process of ensuring that our modifications are still valid for the new version of code, and can quickly degrade into a situation where we have to manually recreate our customizations in the new version. Once Subversion knows about the history of a given source fileБ─■including all its previous locationsБ─■the process of merging in the new version of the library is pretty simple. But we are responsible for telling Subversion how the source file layout changed from vendor drop to vendor drop.

svn_load_dirs.pl

Vendor drops that contain more than a few deletes, additions and moves complicate the process of upgrading to each successive version of the third-party data. So Subversion supplies the svn_load_dirs.pl script to assist with this process. This script automates the importing steps we mentioned in the general vendor branch management procedure to make sure that mistakes are minimized. You will still be responsible for using the merge commands to merge the new versions of the third-party data into your main development branch, but svn_load_dirs.pl can help you more quickly and easily arrive at that stage.

In short, svn_load_dirs.pl is an enhancement to svn import that has several important characteristics:

  • It can be run at any point in time to bring an existing directory in the repository to exactly match an external directory, performing all the necessary adds and deletes, and optionally performing moves, too.

  • It takes care of complicated series of operations between which Subversion requires an intermediate commitБ─■such as before renaming a file or directory twice.

  • It will optionally tag the newly imported directory.

  • It will optionally add arbitrary properties to files and directories that match a regular expression.

svn_load_dirs.pl takes three mandatory arguments. The first argument is the URL to the base Subversion directory to work in. This argument is followed by the URLБ─■relative to the first argumentБ─■into which the current vendor drop will be imported. Finally, the third argument is the local directory to import. Using our previous example, a typical run of svn_load_dirs.pl might look like:

$ svn_load_dirs.pl http://svn.example.com/repos/vendor/libcomplex \
                   current                                        \
                   /path/to/libcomplex-1.1
Б─╕

You can indicate that you'd like svn_load_dirs.pl to tag the new vendor drop by passing the -t command-line option and specifying a tag name. This tag is another URL relative to the first program argument.

$ svn_load_dirs.pl -t libcomplex-1.1                              \
                   http://svn.example.com/repos/vendor/libcomplex \
                   current                                        \
                   /path/to/libcomplex-1.1
Б─╕

When you run svn_load_dirs.pl, it examines the contents of your existing б╚currentб╩ vendor drop, and compares them with the proposed new vendor drop. In the trivial case, there will be no files that are in one version and not the other, and the script will perform the new import without incident. If, however, there are discrepancies in the file layouts between versions, svn_load_dirs.pl will prompt you for how you would like to resolve those differences. For example, you will have the opportunity to tell the script that you know that the file math.c in version 1.0 of libcomplex was renamed to arithmetic.c in libcomplex 1.1. Any discrepancies not explained by moves are treated as regular additions and deletions.

The script also accepts a separate configuration file for setting properties on files and directories matching a regular expression that are added to the repository. This configuration file is specified to svn_load_dirs.pl using the -p command-line option. Each line of the configuration file is a whitespace-delimited set of two or four values: a Perl-style regular expression to match the added path against, a control keyword (either break or cont), and then optionally a property name and value.

\.png$              break   svn:mime-type   image/png
\.jpe?g$            break   svn:mime-type   image/jpeg
\.m3u$              cont    svn:mime-type   audio/x-mpegurl
\.m3u$              break   svn:eol-style   LF
.*                  break   svn:eol-style   native

For each added path, the configured property changes whose regular expression matches the path are applied in order, unless the control specification is break (which means that no more property changes should be applied to that path). If the control specification is contБ─■an abbreviation for continueБ─■then matching will continue with the next line of the configuration file.

Any whitespace in the regular expression, property name, or property value must be surrounded by either single or double quote characters. You can escape quote characters that are not used for wrapping whitespace by preceding them with a backslash (\) character. The backslash escapes only quotes when parsing the configuration file, so do not protect any other characters beyond what is necessary for the regular expression.

п÷п╬п╢п╡п╬п╢я▐ п╦я┌п╬пЁп╦

п▓ я█я┌п╬п╧ пЁп╩п╟п╡п╣ п╠я▀п╩п╬ я─п╟я│я│п╪п╬я┌я─п╣п╫п╬ п╬я┤п╣п╫я▄ п╪п╫п╬пЁп╬п╣. п°я▀ п╬п╠я│я┐п╢п╦п╩п╦ п╨п╬п╫я├п╣п©я├п╦я▌ п╪п╣я┌п╬п╨ п╦ п╡п╣я┌п╬п╨, п©п╬п╨п╟п╥п╟п╩п╦ п╨п╟п╨ Subversion я─п╣п╟п╩п╦п╥я┐п╣я┌ я█я┌п╦ п©п╬п╫я▐я┌п╦я▐ п╦я│п©п╬п╩я▄п╥я┐я▐ п╨п╬п╪п╟п╫п╢я┐ svn copy. п÷п╬п╨п╟п╥п╟п╩п╦, п╨п╟п╨ svn merge п╨п╬п©п╦я─я┐п╣я┌ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╦п╥ п╬п╢п╫п╬п╧ п╡п╣я┌п╨п╦ п╡ п╢я─я┐пЁя┐я▌, п╨п╟п╨ я│ п©п╬п╪п╬я┴я▄я▌ я█я┌п╬п╧ п╨п╬п╪п╟п╫п╢я▀ п╬я┌п╪п╣п╫п╦я┌я▄ п╬я┬п╦п╠п╬я┤п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐. п°я▀ я─п╟я│я│п╪п╬я┌я─п╣п╩п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ svn switch п╢п╩я▐ я│п╬п╥п╢п╟п╫п╦я▐ я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦п╧, я│п╬п╠я─п╟п╫п╫я▀я┘ п╦п╥ я─п╟п╥п╫я▀я┘ п╢п╦я─п╣п╨я┌п╬я─п╦п╧ я┘я─п╟п╫п╦п╩п╦я┴п╟. п·п╠я│я┐п╢п╦п╩п╦, п╨п╟п╨ я┐п©я─п╟п╡п╩я▐я┌я▄ п╬я─пЁп╟п╫п╦п╥п╟я├п╦п╣п╧ п╦ п╡я─п╣п╪п╣п╫п╣п╪ п╤п╦п╥п╫п╦ п╡п╣я┌п╬п╨ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣.

п²п╣ п╥п╟п╠я▀п╡п╟п╧я┌п╣ п╬ п╪п╟п╫я┌я─п╣ Subversion: п╡п╣я┌п╨п╦ п╦ п╪п╣я┌п╨п╦ п╩п╣пЁп╨п╬п╡п╣я│п╫я▀. п÷п╬я█я┌п╬п╪я┐ п©п╬п╩я▄п╥я┐п╧я┌п╣я│я▄ п╦п╪п╦ я│п╡п╬п╠п╬п╢п╫п╬!




[24] Subversion п╫п╣ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╨п╬п©п╦я─п╬п╡п╟п╫п╦я▐ п╪п╣п╤п╢я┐ я┘я─п╟п╫п╦п╩п╦я┴п╟п╪п╦. п÷я─п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦ п╡ п╨п╬п╪п╟п╫п╢п╟я┘ svn copy п╦п╩п╦ svn move URL-п╟п╢я─п╣я│п╬п╡ п╪п╬п╤п╫п╬ п╨п╬п©п╦я─п╬п╡п╟я┌я▄ я┌п╬п╩я▄п╨п╬ я█п╩п╣п╪п╣п╫я┌я▀ п╦п╥ п╬п╢п╫п╬пЁп╬ п╦ я┌п╬пЁп╬ п╤п╣ я┘я─п╟п╫п╦п╩п╦я┴п╟.

[25] п▓ п╠я┐п╢я┐я┴п╣п╪ п©я─п╬п╣п╨я┌ Subversion п©п╩п╟п╫п╦я─я┐п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ (п╦п╩п╦ п╦п╥п╬п╠я─п╣я│я┌п╦) я─п╟я│я┬п╦я─п╣п╫п╫я▀п╧ я└п╬я─п╪п╟я┌ п©я─п╣п╢я│я┌п╟п╡п╩п╣п╫п╦я▐ я─п╟п╥п╩п╦я┤п╦п╧, п╨п╬я┌п╬я─я▀п╧ п╠я┐п╢п╣я┌ п©п╣я─п╣п╢п╟п╡п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я│я┌я─я┐п╨я┌я┐я─п╣ п╢п╣я─п╣п╡п╟ я└п╟п╧п╩п╬п╡ п╦ я│п╡п╬п╧я│я┌п╡.

[26] п·п╢п╫п╟п╨п╬, я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╦ Subversion п╡ п╠я┐п╢я┐я┴п╣п╪ п©п╩п╟п╫п╦я─я┐я▌я┌ я─п╣п╟п╩п╦п╥п╬п╡п╟я┌я▄ п╨п╬п╪п╟п╫п╢я┐ svnadmin obliterate, п╨п╬я┌п╬я─п╟я▐ п©п╬п╥п╡п╬п╩п╦я┌ п©п╬п╩п╫п╬я│я┌я▄я▌ я┐п╢п╟п╩я▐я┌я▄ п╦п╫я└п╬я─п╪п╟я├п╦я▌. п░ п©п╬п╨п╟ п╥п╟ п╡п╬п╥п╪п╬п╤п╫я▀п╪ я─п╣я┬п╣п╫п╦п╣п╪ п©я─п╬п╠п╩п╣п╪я▀ п╬п╠я─п╟я┌п╦я┌п╣я│я▄ п╨ я─п╟п╥п╢п╣п╩я┐ б╚svndumpfilterб╩.

[27] п≤п╥-п╥п╟ я┌п╬пЁп╬, я┤я┌п╬ CVS п╫п╣ п╡п╣я─я│п╦п╬п╫п╦я─я┐п╣я┌ п╢п╣я─п╣п╡я▄я▐, п╬п╫п╟ я│п╬п╥п╢п╟п╣я┌ п╬п╠п╩п╟я│я┌я▄ Attic п╢п╩я▐ п╨п╟п╤п╢п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╨п╟п╨ я│п©п╬я│п╬п╠ я│п╬я┘я─п╟п╫п╣п╫п╦я▐ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╬п╠ я┐п╢п╟п╩п╣п╫п╫я▀я┘ я└п╟п╧п╩п╟я┘.

[28] п·п╢п╫п╟п╨п╬, п╪п╬п╤п╫п╬ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ svn switch я│ п©п╟я─п╟п╪п╣я┌я─п╬п╪ --relocate п╣я│п╩п╦ URL я│п╣я─п╡п╣я─п╟ п╦п╥п╪п╣п╫п╦п╩я│я▐ п╦ п╡я▀ п╫п╣ я┘п╬я┌п╦я┌п╣ п╠я─п╬я│п╟я┌я▄ я│я┐я┴п╣я│я┌п╡я┐я▌я┴я┐я▌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌. п≈п╟ п╠п╬п╩п╣п╣ п©п╬п╢я─п╬п╠п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╣п╧ п╦ п©я─п╦п╪п╣я─п╟п╪п╦ я│п╪п╬я┌я─п╦я┌п╣ я─п╟п╥п╢п╣п╩, п©п╬я│п╡я▐я┴п╣п╫п╫я▀п╧ svn switch п╡ п⌠п╩п╟п╡п╟б═9, п÷п╬п╩п╫п╬п╣ я│п©я─п╟п╡п╬я┤п╫п╬п╣ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п©п╬ Subversion

[29] And entirely bug-free, of course!

п⌠п╩п╟п╡п╟ 5. п░п╢п╪п╦п╫п╦я│я┌я─п╦я─п╬п╡п╟п╫п╦п╣ я┘я─п╟п╫п╦п╩п╦я┴п╟

### TODO: Heavy (re-)construction will be happenin' here! ###

The Subversion repository is the central storehouse of versioned data for any number of projects. As such, it becomes an obvious candidate for all the love and attention an administrator can offer. While the repository is generally a low-maintenance item, it is important to understand how to properly configure and care for it so that potential problems are avoided, and actual problems are safely resolved.

In this chapter, we'll discuss how to create and configure a Subversion repository. We'll also talk about repository maintenance, including the use of the svnlook and svnadmin tools (which are provided with Subversion). We'll address some common questions and mistakes, and give some suggestions on how to arrange the data in the repository.

If you plan to access a Subversion repository only in the role of a user whose data is under version control (that is, via a Subversion client), you can skip this chapter altogether. However, if you are, or wish to become, a Subversion repository administrator, [30] you should definitely pay attention to this chapter.

Repository Basics

Before jumping into the broader topic of repository administration, let's further define what a repository is. How does it look? How does it feel? Does it take its tea hot or iced, sweetened, and with lemon? As an administrator, you'll be expected to understand the composition of a repository both from a logical perspectiveБ─■dealing with how data is represented inside the repositoryБ─■and from a physical nuts-and-bolts perspectiveБ─■how a repository looks and acts with respect to non-Subversion tools. The following section covers some of these basic concepts at a very high level.

Understanding Transactions and Revisions

Conceptually speaking, a Subversion repository is a sequence of directory trees. Each tree is a snapshot of how the files and directories versioned in your repository looked at some point in time. These snapshots are created as a result of client operations, and are called revisions.

Every revision begins life as a transaction tree. When doing a commit, a client builds a Subversion transaction that mirrors their local changes (plus any additional changes that might have been made to the repository since the beginning of the client's commit process), and then instructs the repository to store that tree as the next snapshot in the sequence. If the commit succeeds, the transaction is effectively promoted into a new revision tree, and is assigned a new revision number. If the commit fails for some reason, the transaction is destroyed and the client is informed of the failure.

Updates work in a similar way. The client builds a temporary transaction tree that mirrors the state of the working copy. The repository then compares that transaction tree with the revision tree at the requested revision (usually the most recent, or б╚youngestб╩ tree), and sends back information that informs the client about what changes are needed to transform their working copy into a replica of that revision tree. After the update completes, the temporary transaction is deleted.

The use of transaction trees is the only way to make permanent changes to a repository's versioned filesystem. However, it's important to understand that the lifetime of a transaction is completely flexible. In the case of updates, transactions are temporary trees that are immediately destroyed. In the case of commits, transactions are transformed into permanent revisions (or removed if the commit fails). In the case of an error or bug, it's possible that a transaction can be accidentally left lying around in the repository (not really affecting anything, but still taking up space).

In theory, someday whole workflow applications might revolve around more fine-grained control of transaction lifetime. It is feasible to imagine a system whereby each transaction slated to become a revision is left in stasis well after the client finishes describing its changes to repository. This would enable each new commit to be reviewed by someone else, perhaps a manager or engineering QA team, who can choose to promote the transaction into a revision, or abort it.

Unversioned Properties

Transactions and revisions in the Subversion repository can have properties attached to them. These properties are generic key-to-value mappings, and are generally used to store information about the tree to which they are attached. The names and values of these properties are stored in the repository's filesystem, along with the rest of your tree data.

Revision and transaction properties are useful for associating information with a tree that is not strictly related to the files and directories in that treeБ─■the kind of information that isn't managed by client working copies. For example, when a new commit transaction is created in the repository, Subversion adds a property to that transaction named svn:dateБ─■a datestamp representing the time that the transaction was created. By the time the commit process is finished, and the transaction is promoted to a permanent revision, the tree has also been given a property to store the username of the revision's author (svn:author) and a property to store the log message attached to that revision (svn:log).

Revision and transaction properties are unversioned propertiesБ─■as they are modified, their previous values are permanently discarded. Also, while revision trees themselves are immutable, the properties attached to those trees are not. You can add, remove, and modify revision properties at any time in the future. If you commit a new revision and later realize that you had some misinformation or spelling error in your log message, you can simply replace the value of the svn:log property with a new, corrected log message.

Repository Data Stores

As of Subversion 1.1, there are two options for storing data in a Subversion repository. One type of repository stores everything in a Berkeley DB database; the other kind stores data in ordinary flat files, using a custom format. Because Subversion developers often refer to a repository as б╚the (versioned) filesystemб╩, they have adopted the habit of referring to the latter type of repository as FSFS [31] Б─■a versioned filesystem implementation that uses the native OS filesystem to store data.

When a repository is created, an administrator must decide whether it will use Berkeley DB or FSFS. There are advantages and disadvantages to each, which we'll describe in a bit. Neither back-end is more б╚officialб╩ than another, and programs which access the repository are insulated from this implementation detail. Programs have no idea how a repository is storing data; they only see revision and transaction trees through the repository API.

п╒п╟п╠п╩п╦я├п╟б═5.1, б╚Repository Data Store Comparisonб╩ gives a comparative overview of Berkeley DB and FSFS repositories. The next sections go into detail.

п╒п╟п╠п╩п╦я├п╟ 5.1. Repository Data Store Comparison

FeatureBerkeley DBFSFS
Sensitivity to interruptionsvery; crashes and permission problems can leave the database б╚wedgedб╩, requiring journaled recovery procedures.quite insensitive.
Usable from a read-only mountnoyes
Platform-independent storagenoyes
Usable over network filesystemsnoyes
Repository sizeslightly largerslightly smaller
Scalability: number of revision treesdatabase; no problemssome older native filesystems don't scale well with thousands of entries in a single directory.
Scalability: directories with many filesslowerfaster
Speed: checking out latest codefasterslower
Speed: large commitsslower, but work is spread throughout commitfaster, but finalization delay may cause client timeouts
Group permissions handlingsensitive to user umask problems; best if accessed by only one user.works around umask problems
Code maturityin use since 2001in use since 2004


Berkeley DB

When the initial design phase of Subversion was in progress, the developers decided to use Berkeley DB for a variety of reasons, including its open-source license, transaction support, reliability, performance, API simplicity, thread-safety, support for cursors, and so on.

Berkeley DB provides real transaction supportБ─■perhaps its most powerful feature. Multiple processes accessing your Subversion repositories don't have to worry about accidentally clobbering each other's data. The isolation provided by the transaction system is such that for any given operation, the Subversion repository code sees a static view of the databaseБ─■not a database that is constantly changing at the hand of some other processБ─■and can make decisions based on that view. If the decision made happens to conflict with what another process is doing, the entire operation is rolled back as if it never happened, and Subversion gracefully retries the operation against a new, updated (and yet still static) view of the database.

Another great feature of Berkeley DB is hot backupsБ─■the ability to backup the database environment without taking it б╚offlineб╩. We'll discuss how to backup your repository in б╚Repository Backupб╩, but the benefits of being able to make fully functional copies of your repositories without any downtime should be obvious.

Berkeley DB is also a very reliable database system. Subversion uses Berkeley DB's logging facilities, which means that the database first writes to on-disk log files a description of any modifications it is about to make, and then makes the modification itself. This is to ensure that if anything goes wrong, the database system can back up to a previous checkpointБ─■a location in the log files known not to be corruptБ─■and replay transactions until the data is restored to a usable state. See б╚Managing Disk Spaceб╩ for more about Berkeley DB log files.

But every rose has its thorn, and so we must note some known limitations of Berkeley DB. First, Berkeley DB environments are not portable. You cannot simply copy a Subversion repository that was created on a Unix system onto a Windows system and expect it to work. While much of the Berkeley DB database format is architecture independent, there are other aspects of the environment that are not. Secondly, Subversion uses Berkeley DB in a way that will not operate on Windows 95/98 systemsБ─■if you need to house a repository on a Windows machine, stick with Windows 2000 or Windows XP. Also, you should never keep a Berkeley DB repository on a network share. While Berkeley DB promises to behave correctly on network shares that meet a particular set of specifications, almost no known shares actually meet all those specifications.

Finally, because Berkeley DB is a library linked directly into Subversion, it's more sensitive to interruptions than a typical relational database system. Most SQL systems, for example, have a dedicated server process that mediates all access to tables. If a program accessing the database crashes for some reason, the database daemon notices the lost connection and cleans up any mess left behind. And because the database daemon is the only process accessing the tables, applications don't need to worry about permission conflicts. These things are not the case with Berkeley DB, however. Subversion (and programs using Subversion libraries) access the database tables directly, which means that a program crash can leave the database in a temporarily inconsistent, inaccessible state. When this happens, an administrator needs to ask Berkeley DB to restore to a checkpoint, which is a bit of an annoyance. Other things can cause a repository to б╚wedgeб╩ besides crashed processes, such as programs conflicting over ownership and permissions on the database files. So while a Berkeley DB repository is quite fast and scalable, it's best used by a single server process running as one userБ─■such as Apache's httpd or svnserve (see п⌠п╩п╟п╡п╟б═6, п²п╟я│я┌я─п╬п╧п╨п╟ я│п╣я─п╡п╣я─п╟)Б─■rather than accessing it as many different users via file:/// or svn+ssh:// URLs. If using a Berkeley DB repository directly as multiple users, be sure to read б╚Supporting Multiple Repository Access Methodsб╩.

FSFS

In mid-2004, a second type of repository storage system came into being: one which doesn't use a database at all. An FSFS repository stores a revision tree in a single file, and so all of a repository's revisions can be found in a single subdirectory full of numbered files. Transactions are created in separate subdirectories. When complete, a single transaction file is created and moved to the revisions directory, thus guaranteeing that commits are atomic. And because a revision file is permanent and unchanging, the repository also can be backed up while б╚hotб╩, just like a Berkeley DB repository.

The revision-file format represents a revision's directory structure, file contents, and deltas against files in other revision trees. Unlike a Berkeley DB database, this storage format is portable across different operating systems and isn't sensitive to CPU architecture. Because there's no journaling or shared-memory files being used, the repository can be safely accessed over a network filesystem and examined in a read-only environment. The lack of database overhead also means that the overall repository size is a bit smaller.

FSFS has different performance characteristics too. When committing a directory with a huge number of files, FSFS uses an O(N) algorithm to append entries, while Berkeley DB uses an O(N^2) algorithm to rewrite the whole directory. On the other hand, FSFS writes the latest version of a file as a delta against an earlier version, which means that checking out the latest tree is a bit slower than fetching the fulltexts stored in a Berkeley DB HEAD revision. FSFS also has a longer delay when finalizing a commit, which could in extreme cases cause clients to time out when waiting for a response.

The most important distinction, however, is FSFS's inability to be б╚wedgedб╩ when something goes wrong. If a process using a Berkeley DB database runs into a permissions problem or suddenly crashes, the database is left unusable until an administrator recovers it. If the same scenarios happen to a process using an FSFS repository, the repository isn't affected at all. At worst, some transaction data is left behind.

The only real argument against FSFS is its relative immaturity compared to Berkeley DB. It hasn't been used or stress-tested nearly as much, and so a lot of these assertions about speed and scalability are just that: assertions, based on good guesses. In theory, it promises a lower barrier to entry for new administrators and is less susceptible to problems. In practice, only time will tell.

Repository Creation and Configuration

Creating a Subversion repository is an incredibly simple task. The svnadmin utility, provided with Subversion, has a subcommand for doing just that. To create a new repository, just run:

$ svnadmin create /path/to/repos

This creates a new repository in the directory /path/to/repos. This new repository begins life at revision 0, which is defined to consist of nothing but the top-level root (/) filesystem directory. Initially, revision 0 also has a single revision property, svn:date, set to the time at which the repository was created.

In Subversion 1.2, a repository is created with an FSFS back-end by default (see б╚Repository Data Storesб╩). The back-end can be explicitly chosen with the --fs-type argument:

$ svnadmin create --fs-type fsfs /path/to/repos
$ svnadmin create --fs-type bdb /path/to/other/repos
[п▓п╫п╦п╪п╟п╫п╦п╣]п▓п╫п╦п╪п╟п╫п╦п╣

Do not create a Berkeley DB repository on a network shareБ─■it cannot exist on a remote filesystem such as NFS, AFS, or Windows SMB. Berkeley DB requires that the underlying filesystem implement strict POSIX locking semantics, and more importantly, the ability to map files directly into process memory. Almost no network filesystems provide these features. If you attempt to use Berkeley DB on a network share, the results are unpredictableБ─■you may see mysterious errors right away, or it may be months before you discover that your repository database is subtly corrupted.

If you need multiple computers to access the repository, you create an FSFS repository on the network share, not a Berkeley DB repository. Or better yet, set up a real server process (such as Apache or svnserve), store the repository on a local filesystem which the server can access, and make the repository available over a network. п⌠п╩п╟п╡п╟б═6, п²п╟я│я┌я─п╬п╧п╨п╟ я│п╣я─п╡п╣я─п╟ covers this process in detail.

You may have noticed that the path argument to svnadmin was just a regular filesystem path and not a URL like the svn client program uses when referring to repositories. Both svnadmin and svnlook are considered server-side utilitiesБ─■they are used on the machine where the repository resides to examine or modify aspects of the repository, and are in fact unable to perform tasks across a network. A common mistake made by Subversion newcomers is trying to pass URLs (even б╚localб╩ file: ones) to these two programs.

So, after you've run the svnadmin create command, you have a shiny new Subversion repository in its own directory. Let's take a peek at what is actually created inside that subdirectory.

$ ls repos
conf/  dav/  db/  format  hooks/  locks/  README.txt

With the exception of the README.txt and format files, the repository directory is a collection of subdirectories. As in other areas of the Subversion design, modularity is given high regard, and hierarchical organization is preferred to cluttered chaos. Here is a brief description of all of the items you see in your new repository directory:

conf

A directory containing repository configuration files.

dav

A directory provided to Apache and mod_dav_svn for their private housekeeping data.

db

Where all of your versioned data resides. This directory is either a Berkeley DB environment (full of DB tables and other things), or is an FSFS environment containing revision files.

format

A file whose contents are a single integer value that dictates the version number of the repository layout.

hooks

A directory full of hook script templates (and hook scripts themselves, once you've installed some).

locks

A directory for Subversion's repository locking data, used for tracking accessors to the repository.

README.txt

A file which merely informs its readers that they are looking at a Subversion repository.

In general, you shouldn't tamper with your repository б╚by handб╩. The svnadmin tool should be sufficient for any changes necessary to your repository, or you can look to third-party tools (such as Berkeley DB's tool suite) for tweaking relevant subsections of the repository. Some exceptions exist, though, and we'll cover those here.

Hook Scripts

A hook is a program triggered by some repository event, such as the creation of a new revision or the modification of an unversioned property. Each hook is handed enough information to tell what that event is, what target(s) it's operating on, and the username of the person who triggered the event. Depending on the hook's output or return status, the hook program may continue the action, stop it, or suspend it in some way.

The hooks subdirectory is, by default, filled with templates for various repository hooks.

$ ls repos/hooks/
post-commit.tmpl          post-unlock.tmpl          pre-revprop-change.tmpl
post-lock.tmpl            pre-commit.tmpl           pre-unlock.tmpl
post-revprop-change.tmpl  pre-lock.tmpl             start-commit.tmpl

There is one template for each hook that the Subversion repository implements, and by examining the contents of those template scripts, you can see what triggers each such script to run and what data is passed to that script. Also present in many of these templates are examples of how one might use that script, in conjunction with other Subversion-supplied programs, to perform common useful tasks. To actually install a working hook, you need only place some executable program or script into the repos/hooks directory which can be executed as the name (like start-commit or post-commit) of the hook.

On Unix platforms, this means supplying a script or program (which could be a shell script, a Python program, a compiled C binary, or any number of other things) named exactly like the name of the hook. Of course, the template files are present for more than just informational purposesБ─■the easiest way to install a hook on Unix platforms is to simply copy the appropriate template file to a new file that lacks the .tmpl extension, customize the hook's contents, and ensure that the script is executable. Windows, however, uses file extensions to determine whether or not a program is executable, so you would need to supply a program whose basename is the name of the hook, and whose extension is one of the special extensions recognized by Windows for executable programs, such as .exe or .com for programs, and .bat for batch files.

[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

For security reasons, the Subversion repository executes hook scripts with an empty environmentБ─■that is, no environment variables are set at all, not even $PATH or %PATH%. Because of this, a lot of administrators are baffled when their hook script runs fine by hand, but doesn't work when run by Subversion. Be sure to explicitly set environment variables in your hook and/or use absolute paths to programs.

There are nine hooks implemented by the Subversion repository:

start-commit

This is run before the commit transaction is even created. It is typically used to decide if the user has commit privileges at all. The repository passes two arguments to this program: the path to the repository, and username which is attempting the commit. If the program returns a non-zero exit value, the commit is stopped before the transaction is even created. If the hook program writes data to stderr, it will be marshalled back to the client.

pre-commit

This is run when the transaction is complete, but before it is committed. Typically, this hook is used to protect against commits that are disallowed due to content or location (for example, your site might require that all commits to a certain branch include a ticket number from the bug tracker, or that the incoming log message is non-empty). The repository passes two arguments to this program: the path to the repository, and the name of the transaction being committed. If the program returns a non-zero exit value, the commit is aborted and the transaction is removed. If the hook program writes data to stderr, it will be marshalled back to the client.

The Subversion distribution includes some access control scripts (located in the tools/hook-scripts directory of the Subversion source tree) that can be called from pre-commit to implement fine-grained write-access control. Another option is to use the mod_authz_svn Apache httpd module, which provides both read and write access control on individual directories (see б╚Per-Directory Access Controlб╩). In a future version of Subversion, we plan to implement access control lists (ACLs) directly in the filesystem.

post-commit

This is run after the transaction is committed, and a new revision is created. Most people use this hook to send out descriptive emails about the commit or to make a backup of the repository. The repository passes two arguments to this program: the path to the repository, and the new revision number that was created. The exit code of the program is ignored.

The Subversion distribution includes mailer.py and commit-email.pl scripts (located in the tools/hook-scripts/ directory of the Subversion source tree) that can be used to send email with (and/or append to a log file) a description of a given commit. This mail contains a list of the paths that were changed, the log message attached to the commit, the author and date of the commit, as well as a GNU diff-style display of the changes made to the various versioned files as part of the commit.

Another useful tool provided by Subversion is the hot-backup.py script (located in the tools/backup/ directory of the Subversion source tree). This script performs hot backups of your Subversion repository (a feature supported by the Berkeley DB database back-end), and can be used to make a per-commit snapshot of your repository for archival or emergency recovery purposes.

pre-revprop-change

Because Subversion's revision properties are not versioned, making modifications to such a property (for example, the svn:log commit message property) will overwrite the previous value of that property forever. Since data can be potentially lost here, Subversion supplies this hook (and its counterpart, post-revprop-change) so that repository administrators can keep records of changes to these items using some external means if they so desire. As a precaution against losing unversioned property data, Subversion clients will not be allowed to remotely modify revision properties at all unless this hook is implemented for your repository.

This hook runs just before such a modification is made to the repository. The repository passes four arguments to this hook: the path to the repository, the revision on which the to-be-modified property exists, the authenticated username of the person making the change, and the name of the property itself.

post-revprop-change

As mentioned earlier, this hook is the counterpart of the pre-revprop-change hook. In fact, for the sake of paranoia this script will not run unless the pre-revprop-change hook exists. When both of these hooks are present, the post-revprop-change hook runs just after a revision property has been changed, and is typically used to send an email containing the new value of the changed property. The repository passes four arguments to this hook: the path to the repository, the revision on which the property exists, the authenticated username of the person making the change, and the name of the property itself.

The Subversion distribution includes a propchange-email.pl script (located in the tools/hook-scripts/ directory of the Subversion source tree) that can be used to send email with (and/or append to a log file) the details of a revision property change. This mail contains the revision and name of the changed property, the user who made the change, and the new property value.

pre-lock

This hook runs whenever someone attempts to lock a file. It can be used to prevent locks altogether, or to create a more complex policy specifying exactly which users are allowed to lock particular paths. If the hook notices a pre-existing lock, then it can also decide whether a user is allowed to б╚stealб╩ the existing lock. The repository passes three arguments to the hook: the path to the repository, the path being locked, and the user attempting to perform the lock. If the program returns a non-zero exit value, the lock action is aborted and anything printed to stderr is marshalled back to the client.

post-lock

This hook runs after a path is locked. The locked path is passed to the hook's stdin, and the hook also receives two arguments: the path to the repository, and the user who performed the lock. The hook is then free to send email notification or record the event in any way it chooses. Because the lock already happened, the output of the hook is ignored.

pre-unlock

This hook runs whenever someone attempts to remove a lock on a file. It can be used to create policies that specify which users are allowed to unlock particular paths. It's particularly important for determining policies about lock breakage. If user A locks a file, is user B allowed to break the lock? What if the lock is more than a week old? These sorts of things can be decided and enforced by the hook. The repository passes three arguments to the hook: the path to the repository, the path being unlocked, and the user attempting to remove the lock. If the program returns a non-zero exit value, the unlock action is aborted and anything printed to stderr is marshalled back to the client.

post-unlock

This hook runs after a path is unlocked. The unlocked path is passed to the hook's stdin, and the hook also receives two arguments: the path to the repository, and the user who removed the lock. The hook is then free to send email notification or record the event in any way it chooses. Because the lock removal already happened, the output of the hook is ignored.

[п▓п╫п╦п╪п╟п╫п╦п╣]п▓п╫п╦п╪п╟п╫п╦п╣

Do not attempt to modify the transaction using hook scripts. A common example of this would be to automatically set properties such as svn:eol-style or svn:mime-type during the commit. While this might seem like a good idea, it causes problems. The main problem is that the client does not know about the change made by the hook script, and there is no way to inform the client that it is out-of-date. This inconsistency can lead to surprising and unexpected behavior.

Instead of attempting to modify the transaction, it is much better to check the transaction in the pre-commit hook and reject the commit if it does not meet the desired requirements.

Subversion will attempt to execute hooks as the same user who owns the process which is accessing the Subversion repository. In most cases, the repository is being accessed via Apache HTTP server and mod_dav_svn, so this user is the same user that Apache runs as. The hooks themselves will need to be configured with OS-level permissions that allow that user to execute them. Also, this means that any file or programs (including the Subversion repository itself) accessed directly or indirectly by the hook will be accessed as the same user. In other words, be alert to potential permission-related problems that could prevent the hook from performing the tasks you've written it to perform.

Berkeley DB Configuration

A Berkeley DB environment is an encapsulation of one or more databases, log files, region files and configuration files. The Berkeley DB environment has its own set of default configuration values for things like the number of database locks allowed to be taken out at any given time, or the maximum size of the journaling log files, etc. Subversion's filesystem code additionally chooses default values for some of the Berkeley DB configuration options. However, sometimes your particular repository, with its unique collection of data and access patterns, might require a different set of configuration option values.

The folks at Sleepycat (the producers of Berkeley DB) understand that different databases have different requirements, and so they have provided a mechanism for overriding at runtime many of the configuration values for the Berkeley DB environment. Berkeley checks for the presence of a file named DB_CONFIG in each environment directory, and parses the options found in that file for use with that particular Berkeley environment.

The Berkeley configuration file for your repository is located in the db environment directory, at repos/db/DB_CONFIG. Subversion itself creates this file when it creates the rest of the repository. The file initially contains some default options, as well as pointers to the Berkeley DB online documentation so you can read about what those options do. Of course, you are free to add any of the supported Berkeley DB options to your DB_CONFIG file. Just be aware that while Subversion never attempts to read or interpret the contents of the file, and makes no use of the option settings in it, you'll want to avoid any configuration changes that may cause Berkeley DB to behave in a fashion that is unexpected by the rest of the Subversion code. Also, changes made to DB_CONFIG won't take effect until you recover the database environment (using svnadmin recover).

Repository Maintenance

Maintaining a Subversion repository can be a daunting task, mostly due to the complexities inherent in systems which have a database backend. Doing the task well is all about knowing the toolsБ─■what they are, when to use them, and how to use them. This section will introduce you to the repository administration tools provided by Subversion, and how to wield them to accomplish tasks such as repository migrations, upgrades, backups and cleanups.

An Administrator's Toolkit

Subversion provides a handful of utilities useful for creating, inspecting, modifying and repairing your repository. Let's look more closely at each of those tools. Afterward, we'll briefly examine some of the utilities included in the Berkeley DB distribution that provide functionality specific to your repository's database backend not otherwise provided by Subversion's own tools.

svnlook

svnlook is a tool provided by Subversion for examining the various revisions and transactions in a repository. No part of this program attempts to change the repositoryБ─■it's a б╚read-onlyб╩ tool. svnlook is typically used by the repository hooks for reporting the changes that are about to be committed (in the case of the pre-commit hook) or that were just committed (in the case of the post-commit hook) to the repository. A repository administrator may use this tool for diagnostic purposes.

svnlook has a straightforward syntax:

$ svnlook help
general usage: svnlook SUBCOMMAND REPOS_PATH [ARGS & OPTIONS ...]
Note: any subcommand which takes the '--revision' and '--transaction'
      options will, if invoked without one of those options, act on
      the repository's youngest revision.
Type "svnlook help <subcommand>" for help on a specific subcommand.
Б─╕

Nearly every one of svnlook's subcommands can operate on either a revision or a transaction tree, printing information about the tree itself, or how it differs from the previous revision of the repository. You use the --revision and --transaction options to specify which revision or transaction, respectively, to examine. Note that while revision numbers appear as natural numbers, transaction names are alphanumeric strings. Keep in mind that the filesystem only allows browsing of uncommitted transactions (transactions that have not resulted in a new revision). Most repositories will have no such transactions, because transactions are usually either committed (which disqualifies them from viewing) or aborted and removed.

In the absence of both the --revision and --transaction options, svnlook will examine the youngest (or б╚HEADб╩) revision in the repository. So the following two commands do exactly the same thing when 19 is the youngest revision in the repository located at /path/to/repos:

$ svnlook info /path/to/repos
$ svnlook info /path/to/repos --revision 19

The only exception to these rules about subcommands is the svnlook youngest subcommand, which takes no options, and simply prints out the HEAD revision number.

$ svnlook youngest /path/to/repos
19

Output from svnlook is designed to be both human- and machine-parsable. Take as an example the output of the info subcommand:

$ svnlook info /path/to/repos
sally
2002-11-04 09:29:13 -0600 (Mon, 04 Nov 2002)
27
Added the usual
Greek tree.

The output of the info subcommand is defined as:

  1. The author, followed by a newline.

  2. The date, followed by a newline.

  3. The number of characters in the log message, followed by a newline.

  4. The log message itself, followed by a newline.

This output is human-readable, meaning items like the datestamp are displayed using a textual representation instead of something more obscure (such as the number of nanoseconds since the Tasty Freeze guy drove by). But this output is also machine-parsableБ─■because the log message can contain multiple lines and be unbounded in length, svnlook provides the length of that message before the message itself. This allows scripts and other wrappers around this command to make intelligent decisions about the log message, such as how much memory to allocate for the message, or at least how many bytes to skip in the event that this output is not the last bit of data in the stream.

Another common use of svnlook is to actually view the contents of a revision or transaction tree. The svnlook tree command displays the directories and files in the requested tree. If you supply the --show-ids option, it will also show the filesystem node revision IDs for each of those paths (which is generally of more use to developers than to users).

$ svnlook tree /path/to/repos --show-ids
/ <0.0.1>
 A/ <2.0.1>
  B/ <4.0.1>
   lambda <5.0.1>
   E/ <6.0.1>
    alpha <7.0.1>
    beta <8.0.1>
   F/ <9.0.1>
  mu <3.0.1>
  C/ <a.0.1>
  D/ <b.0.1>
   gamma <c.0.1>
   G/ <d.0.1>
    pi <e.0.1>
    rho <f.0.1>
    tau <g.0.1>
   H/ <h.0.1>
    chi <i.0.1>
    omega <k.0.1>
    psi <j.0.1>
 iota <1.0.1>

Once you've seen the layout of directories and files in your tree, you can use commands like svnlook cat, svnlook propget, and svnlook proplist to dig into the details of those files and directories.

svnlook can perform a variety of other queries, displaying subsets of bits of information we've mentioned previously, reporting which paths were modified in a given revision or transaction, showing textual and property differences made to files and directories, and so on. The following is a brief description of the current list of subcommands accepted by svnlook, and the output of those subcommands:

author

Print the tree's author.

cat

Print the contents of a file in the tree.

changed

List all files and directories that changed in the tree.

date

Print the tree's datestamp.

diff

Print unified diffs of changed files.

dirs-changed

List the directories in the tree that were themselves changed, or whose file children were changed.

history

Display interesting points in the history of a versioned path (places where modifications or copies occurred).

info

Print the tree's author, datestamp, log message character count, and log message.

lock

If a path is locked, describe the lock attributes.

log

Print the tree's log message.

propget

Print the value of a property on a path in the tree.

proplist

Print the names and values of properties set on paths in the tree.

tree

Print the tree listing, optionally revealing the filesystem node revision IDs associated with each path.

uuid

Print the repository's UUIDБ─■ Universal Unique IDentifier.

youngest

Print the youngest revision number.

svnadmin

The svnadmin program is the repository administrator's best friend. Besides providing the ability to create Subversion repositories, this program allows you to perform several maintenance operations on those repositories. The syntax of svnadmin is similar to that of svnlook:

$ svnadmin help
general usage: svnadmin SUBCOMMAND REPOS_PATH  [ARGS & OPTIONS ...]
Type "svnadmin help <subcommand>" for help on a specific subcommand.

Available subcommands:
   create
   deltify
   dump
   help (?, h)
Б─╕

We've already mentioned svnadmin's create subcommand (see б╚Repository Creation and Configurationб╩). Most of the others we will cover in more detail later in this chapter. For now, let's just take a quick glance at what each of the available subcommands offers.

create

Create a new Subversion repository.

deltify

Run over a specified revision range, performing predecessor deltification on the paths changed in those revisions. If no revisions are specified, this command will simply deltify the HEAD revision.

dump

Dump the contents of the repository, bounded by a given set of revisions, using a portable dump format.

hotcopy

Make a hot copy of a repository. You can run this command at any time and make a safe copy of the repository, regardless if other processes are using the repository.

list-dblogs

(Berkeley DB repositories only.) List the paths of Berkeley DB log files associated with the repository. This list includes all log filesБ─■those still in use by Subversion, as well as those no longer in use.

list-unused-dblogs

(Berkeley DB repositories only.) List the paths of Berkeley DB log files associated with, but no longer used by, the repository. You may safely remove these log files from the repository layout, possibly archiving them for use in the event that you ever need to perform a catastrophic recovery of the repository.

load

Load a set of revisions into a repository from a stream of data that uses the same portable dump format generated by the dump subcommand.

lslocks

List and describe any locks that exist in the repository.

lstxns

List the names of uncommitted Subversion transactions that currently exist in the repository.

recover

Perform recovery steps on a repository that is in need of such, generally after a fatal error has occurred that prevented a process from cleanly shutting down its communication with the repository.

rmlocks

Unconditionally remove locks from listed paths.

rmtxns

Cleanly remove Subversion transactions from the repository (conveniently fed by output from the lstxns subcommand).

setlog

Replace the current value of the svn:log (commit log message) property on a given revision in the repository with a new value.

verify

Verify the contents of the repository. This includes, among other things, checksum comparisons of the versioned data stored in the repository.

svndumpfilter

Since Subversion stores everything in an opaque database system, attempting manual tweaks is unwise, if not quite difficult. And once data has been stored in your repository, Subversion generally doesn't provide an easy way to remove that data. [32] But inevitably, there will be times when you would like to manipulate the history of your repository. You might need to strip out all instances of a file that was accidentally added to the repository (and shouldn't be there for whatever reason). Or, perhaps you have multiple projects sharing a single repository, and you decide to split them up into their own repositories. To accomplish tasks like this, administrators need a more manageable and malleable representation of the data in their repositoriesБ─■the Subversion repository dump format.

The Subversion repository dump format is a human-readable representation of the changes that you've made to your versioned data over time. You use the svnadmin dump command to generate the dump data, and svnadmin load to populate a new repository with it (see б╚Migrating a Repositoryб╩). The great thing about the human-readability aspect of the dump format is that, if you aren't careless about it, you can manually inspect and modify it. Of course, the downside is that if you have two years' worth of repository activity encapsulated in what is likely to be a very large dump file, it could take you a long, long time to manually inspect and modify it.

While it won't be the most commonly used tool at the administrator's disposal, svndumpfilter provides a very particular brand of useful functionalityБ─■the ability to quickly and easily modify that dump data by acting as a path-based filter. Simply give it either a list of paths you wish to keep, or a list of paths you wish to not keep, then pipe your repository dump data through this filter. The result will be a modified stream of dump data that contains only the versioned paths you (explicitly or implicitly) requested.

The syntax of svndumpfilter is as follows:

$ svndumpfilter help
general usage: svndumpfilter SUBCOMMAND [ARGS & OPTIONS ...]
Type "svndumpfilter help <subcommand>" for help on a specific subcommand.

Available subcommands:
   exclude
   include
   help (?, h)

There are only two interesting subcommands. They allow you to make the choice between explicit or implicit inclusion of paths in the stream:

exclude

Filter out a set of paths from the dump data stream.

include

Allow only the requested set of paths to pass through the dump data stream.

Let's look a realistic example of how you might use this program. We discuss elsewhere (see б╚Choosing a Repository Layoutб╩) the process of deciding how to choose a layout for the data in your repositoriesБ─■using one repository per project or combining them, arranging stuff within your repository, and so on. But sometimes after new revisions start flying in, you rethink your layout and would like to make some changes. A common change is the decision to move multiple projects which are sharing a single repository into separate repositories for each project.

Our imaginary repository contains three projects: calc, calendar, and spreadsheet. They have been living side-by-side in a layout like this:

/
   calc/
      trunk/
      branches/
      tags/
   calendar/
      trunk/
      branches/
      tags/
   spreadsheet/
      trunk/
      branches/
      tags/

To get these three projects into their own repositories, we first dump the whole repository:

$ svnadmin dump /path/to/repos > repos-dumpfile
* Dumped revision 0.
* Dumped revision 1.
* Dumped revision 2.
* Dumped revision 3.
Б─╕
$

Next, run that dump file through the filter, each time including only one of our top-level directories, and resulting in three new dump files:

$ svndumpfilter include calc < repos-dumpfile > calc-dumpfile
Б─╕
$ svndumpfilter include calendar < repos-dumpfile > cal-dumpfile
Б─╕
$ svndumpfilter include spreadsheet < repos-dumpfile > ss-dumpfile
Б─╕
$

At this point, you have to make a decision. Each of your dump files will create a valid repository, but will preserve the paths exactly as they were in the original repository. This means that even though you would have a repository solely for your calc project, that repository would still have a top-level directory named calc. If you want your trunk, tags, and branches directories to live in the root of your repository, you might wish to edit your dump files, tweaking the Node-path and Node-copyfrom-path headers to no longer have that first calc/ path component. Also, you'll want to remove the section of dump data that creates the calc directory. It will look something like:

Node-path: calc
Node-action: add
Node-kind: dir
Content-length: 0

[п▓п╫п╦п╪п╟п╫п╦п╣]п▓п╫п╦п╪п╟п╫п╦п╣

If you do plan on manually editing the dump file to remove a top-level directory, make sure that your editor is not set to automatically convert end-lines to the native format (e.g. \r\n to \n) as the content will then not agree with the metadata and this will render the dump file useless.

All that remains now is to create your three new repositories, and load each dump file into the right repository:

$ svnadmin create calc; svnadmin load calc < calc-dumpfile
<<< Started new transaction, based on original revision 1
     * adding path : Makefile ... done.
     * adding path : button.c ... done.
Б─╕
$ svnadmin create calendar; svnadmin load calendar < cal-dumpfile
<<< Started new transaction, based on original revision 1
     * adding path : Makefile ... done.
     * adding path : cal.c ... done.
Б─╕
$ svnadmin create spreadsheet; svnadmin load spreadsheet < ss-dumpfile
<<< Started new transaction, based on original revision 1
     * adding path : Makefile ... done.
     * adding path : ss.c ... done.
Б─╕
$

Both of svndumpfilter's subcommands accept options for deciding how to deal with б╚emptyб╩ revisions. If a given revision contained only changes to paths that were filtered out, that now-empty revision could be considered uninteresting or even unwanted. So to give the user control over what to do with those revisions, svndumpfilter provides the following command-line options:

--drop-empty-revs

Do not generate empty revisions at allБ─■just omit them.

--renumber-revs

If empty revisions are dropped (using the --drop-empty-revs option), change the revision numbers of the remaining revisions so that there are no gaps in the numeric sequence.

--preserve-revprops

If empty revisions are not dropped, preserve the revision properties (log message, author, date, custom properties, etc.) for those empty revisions. Otherwise, empty revisions will only contain the original datestamp, and a generated log message that indicates that this revision was emptied by svndumpfilter.

While svndumpfilter can be very useful, and a huge timesaver, there are unfortunately a couple of gotchas. First, this utility is overly sensitive to path semantics. Pay attention to whether paths in your dump file are specified with or without leading slashes. You'll want to look at the Node-path and Node-copyfrom-path headers.

Б─╕
Node-path: spreadsheet/Makefile
Б─╕

If the paths have leading slashes, you should include leading slashes in the paths you pass to svndumpfilter include and svndumpfilter exclude (and if they don't, you shouldn't). Further, if your dump file has an inconsistent usage of leading slashes for some reason, [33] you should probably normalize those paths so they all have, or lack, leading slashes.

Also, copied paths can give you some trouble. Subversion supports copy operations in the repository, where a new path is created by copying some already existing path. It is possible that at some point in the lifetime of your repository, you might have copied a file or directory from some location that svndumpfilter is excluding, to a location that it is including. In order to make the dump data self-sufficient, svndumpfilter needs to still show the addition of the new pathБ─■including the contents of any files created by the copyБ─■and not represent that addition as a copy from a source that won't exist in your filtered dump data stream. But because the Subversion repository dump format only shows what was changed in each revision, the contents of the copy source might not be readily available. If you suspect that you have any copies of this sort in your repository, you might want to rethink your set of included/excluded paths.

Berkeley DB Utilities

If you're using a Berkeley DB repository, then all of your versioned filesystem's structure and data live in a set of database tables within the db subdirectory of your repository. This subdirectory is a regular Berkeley DB environment directory, and can therefore be used in conjunction with any of the Berkeley database tools (you can see the documentation for these tools at Sleepycat's website, http://www.sleepycat.com/).

For day-to-day Subversion use, these tools are unnecessary. Most of the functionality typically needed for Subversion repositories has been duplicated in the svnadmin tool. For example, svnadmin list-unused-dblogs and svnadmin list-dblogs perform a subset of what is provided by the Berkeley db_archive command, and svnadmin recover reflects the common use cases of the db_recover utility.

There are still a few Berkeley DB utilities that you might find useful. The db_dump and db_load programs write and read, respectively, a custom file format which describes the keys and values in a Berkeley DB database. Since Berkeley databases are not portable across machine architectures, this format is a useful way to transfer those databases from machine to machine, irrespective of architecture or operating system. Also, the db_stat utility can provide useful information about the status of your Berkeley DB environment, including detailed statistics about the locking and storage subsystems.

Repository Cleanup

Your Subversion repository will generally require very little attention once it is configured to your liking. However, there are times when some manual assistance from an administrator might be in order. The svnadmin utility provides some helpful functionality to assist you in performing such tasks as:

  • modifying commit log messages,

  • removing dead transactions,

  • recovering б╚wedgedб╩ repositories, and

  • migrating repository contents to a different repository.

Perhaps the most commonly used of svnadmin's subcommands is setlog. When a transaction is committed to the repository and promoted to a revision, the descriptive log message associated with that new revision (and provided by the user) is stored as an unversioned property attached to the revision itself. In other words, the repository remembers only the latest value of the property, and discards previous ones.

Sometimes a user will have an error in her log message (a misspelling or some misinformation, perhaps). If the repository is configured (using the pre-revprop-change and post-revprop-change hooks; see б╚Hook Scriptsб╩) to accept changes to this log message after the commit is finished, then the user can б╚fixб╩ her log message remotely using the svn program's propset command (see п⌠п╩п╟п╡п╟б═9, п÷п╬п╩п╫п╬п╣ я│п©я─п╟п╡п╬я┤п╫п╬п╣ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п©п╬ Subversion). However, because of the potential to lose information forever, Subversion repositories are not, by default, configured to allow changes to unversioned propertiesБ─■except by an administrator.

If a log message needs to be changed by an administrator, this can be done using svnadmin setlog. This command changes the log message (the svn:log property) on a given revision of a repository, reading the new value from a provided file.

$ echo "Here is the new, correct log message" > newlog.txt
$ svnadmin setlog myrepos newlog.txt -r 388

The svnadmin setlog command alone is still bound by the same protections against modifying unversioned properties as a remote client isБ─■the pre- and post-revprop-change hooks are still triggered, and therefore must be setup to accept changes of this nature. But an administrator can get around these protections by passing the --bypass-hooks option to the svnadmin setlog command.

[п▓п╫п╦п╪п╟п╫п╦п╣]п▓п╫п╦п╪п╟п╫п╦п╣

Remember, though, that by bypassing the hooks, you are likely avoiding such things as email notifications of property changes, backup systems which track unversioned property changes, and so on. In other words, be very careful about what you are changing, and how you change it.

Another common use of svnadmin is to query the repository for outstandingБ─■possibly deadБ─■Subversion transactions. In the event that a commit should fail, the transaction is usually cleaned up. That is, the transaction itself is removed from the repository, and any data associated with (and only with) that transaction is removed as well. Occasionally, though, a failure occurs in such a way that the cleanup of the transaction never happens. This could happen for several reasons: perhaps the client operation was inelegantly terminated by the user, or a network failure might have occurred in the middle of an operation, etc. Regardless of the reason, dead transactions can happen. They don't do any real harm, other than consuming a small bit of disk space. A fastidious administrator may nonetheless want to remove them.

You can use svnadmin's lstxns command to list the names of the currently outstanding transactions.

$ svnadmin lstxns myrepos
19
3a1
a45
$

Each item in the resultant output can then be used with svnlook (and its --transaction option) to determine who created the transaction, when it was created, what types of changes were made in the transactionБ─■in other words, whether or not the transaction is a safe candidate for removal! If so, the transaction's name can be passed to svnadmin rmtxns, which will perform the cleanup of the transaction. In fact, the rmtxns subcommand can take its input directly from the output of lstxns!

$ svnadmin rmtxns myrepos `svnadmin lstxns myrepos`
$

If you use these two subcommands like this, you should consider making your repository temporarily inaccessible to clients. That way, no one can begin a legitimate transaction before you start your cleanup. The following is a little bit of shell-scripting that can quickly generate information about each outstanding transaction in your repository:

п÷я─п╦п╪п╣я─ 5.1. txn-info.sh (Reporting Outstanding Transactions)

#!/bin/sh

### Generate informational output for all outstanding transactions in
### a Subversion repository.

REPOS="${1}"
if [ "x$REPOS" = x ] ; then
  echo "usage: $0 REPOS_PATH"
  exit
fi

for TXN in `svnadmin lstxns ${REPOS}`; do
  echo "---[ Transaction ${TXN} ]-------------------------------------------"
  svnlook info "${REPOS}" --transaction "${TXN}"
done


You can run the previous script using /path/to/txn-info.sh /path/to/repos. The output is basically a concatenation of several chunks of svnlook info output (see б╚svnlookб╩), and will look something like:

$ txn-info.sh myrepos
---[ Transaction 19 ]-------------------------------------------
sally
2001-09-04 11:57:19 -0500 (Tue, 04 Sep 2001)
0
---[ Transaction 3a1 ]-------------------------------------------
harry
2001-09-10 16:50:30 -0500 (Mon, 10 Sep 2001)
39
Trying to commit over a faulty network.
---[ Transaction a45 ]-------------------------------------------
sally
2001-09-12 11:09:28 -0500 (Wed, 12 Sep 2001)
0
$

A long-abandoned transaction usually represents some sort of failed or interrupted commit. A transaction's datestamp can provide interesting informationБ─■for example, how likely is it that an operation begun nine months ago is still active?

In short, transaction cleanup decisions need not be made unwisely. Various sources of informationБ─■including Apache's error and access logs, the logs of successful Subversion commits, and so onБ─■can be employed in the decision-making process. Finally, an administrator can often simply communicate with a seemingly dead transaction's owner (via email, for example) to verify that the transaction is, in fact, in a zombie state.

Managing Disk Space

While the cost of storage has dropped incredibly in the past few years, disk usage is still a valid concern for administrators seeking to version large amounts of data. Every additional byte consumed by the live repository is a byte that needs to be backed up offsite, perhaps multiple times as part of rotating backup schedules. If using a Berkeley DB repository, the primary storage mechanism is a complex database system, it is useful to know what pieces of data need to remain on the live site, which need to be backed up, and which can be safely removed. This section is specific to Berkeley DB; FSFS repositories have no extra data to be cleaned up or reclaimed.

Until recently, the largest offender of disk space usage with respect to Subversion repositories was the log files to which Berkeley DB performs its pre-writes before modifying the actual database files. These files capture all the actions taken along the route of changing the database from one state to anotherБ─■while the database files reflect at any given time some state, the log files contain all the many changes along the way between states. As such, they can start to accumulate quite rapidly.

Fortunately, beginning with the 4.2 release of Berkeley DB, the database environment has the ability to remove its own unused log files without any external procedures. Any repositories created using an svnadmin which is compiled against Berkeley DB version 4.2 or greater will be configured for this automatic log file removal. If you don't want this feature enabled, simply pass the --bdb-log-keep option to the svnadmin create command. If you forget to do this, or change your mind at a later time, simple edit the DB_CONFIG file found in your repository's db directory, comment out the line which contains the set_flags DB_LOG_AUTOREMOVE directive, and then run svnadmin recover on your repository to force the configuration changes to take effect. See б╚Berkeley DB Configurationб╩ for more information about database configuration.

Without some sort of automatic log file removal in place, log files will accumulate as you use your repository. This is actually somewhat of a feature of the database systemБ─■you should be able to recreate your entire database using nothing but the log files, so these files can be useful for catastrophic database recovery. But typically, you'll want to archive the log files that are no longer in use by Berkeley DB, and then remove them from disk to conserve space. Use the svnadmin list-unused-dblogs command to list the unused log files:

$ svnadmin list-unused-dblogs /path/to/repos
/path/to/repos/log.0000000031
/path/to/repos/log.0000000032
/path/to/repos/log.0000000033

$ svnadmin list-unused-dblogs /path/to/repos | xargs rm
## disk space reclaimed!

To keep the size of the repository as small as possible, Subversion uses deltification (or, б╚deltified storageб╩) within the repository itself. Deltification involves encoding the representation of a chunk of data as a collection of differences against some other chunk of data. If the two pieces of data are very similar, this deltification results in storage savings for the deltified chunkБ─■rather than taking up space equal to the size of the original data, it only takes up enough space to say, б╚I look just like this other piece of data over here, except for the following couple of changesб╩. Specifically, each time a new version of a file is committed to the repository, Subversion encodes the previous version (actually, several previous versions) as a delta against the new version. The result is that most of the repository data that tends to be sizableБ─■namely, the contents of versioned filesБ─■is stored at a much smaller size than the original б╚fulltextб╩ representation of that data.

[п≈п╟п╪п╣я┤п╟п╫п╦п╣]п≈п╟п╪п╣я┤п╟п╫п╦п╣

Because all of the Subversion repository data that is subject to deltification is stored in a single Berkeley DB database file, reducing the size of the stored values will not necessarily reduce the size of the database file itself. Berkeley DB will, however, keep internal records of unused areas of the database file, and use those areas first before growing the size of the database file. So while deltification doesn't produce immediate space savings, it can drastically slow future growth of the database.

Repository Recovery

As mentioned in б╚Berkeley DBб╩, a Berkeley DB repository can sometimes be left in frozen state if not closed properly. When this happens, an administrator needs to rewind the database back into a consistent state.

In order to protect the data in your repository, Berkeley DB uses a locking mechanism. This mechanism ensures that portions of the database are not simultaneously modified by multiple database accessors, and that each process sees the data in the correct state when that data is being read from the database. When a process needs to change something in the database, it first checks for the existence of a lock on the target data. If the data is not locked, the process locks the data, makes the change it wants to make, and then unlocks the data. Other processes are forced to wait until that lock is removed before they are permitted to continue accessing that section of the database. (This has nothing to do with the locks that you, as a user, can apply to versioned files within the repository; see Three meanings of б╚lockб╩ for more information.)

In the course of using your Subversion repository, fatal errors (such as running out of disk space or available memory) or interruptions can prevent a process from having the chance to remove the locks it has placed in the database. The result is that the back-end database system gets б╚wedgedб╩. When this happens, any attempts to access the repository hang indefinitely (since each new accessor is waiting for a lock to go awayБ─■which isn't going to happen).

First, if this happens to your repository, don't panic. The Berkeley DB filesystem takes advantage of database transactions and checkpoints and pre-write journaling to ensure that only the most catastrophic of events [34] can permanently destroy a database environment. A sufficiently paranoid repository administrator will be making off-site backups of the repository data in some fashion, but don't call your system administrator to restore a backup tape just yet.

Secondly, use the following recipe to attempt to б╚unwedgeб╩ your repository:

  1. Make sure that there are no processes accessing (or attempting to access) the repository. For networked repositories, this means shutting down the Apache HTTP Server, too.

  2. Become the user who owns and manages the repository. This is important, as recovering a repository while running as the wrong user can tweak the permissions of the repository's files in such a way that your repository will still be inaccessible even after it is б╚unwedgedб╩.

  3. Run the command svnadmin recover /path/to/repos. You should see output like this:

    Repository lock acquired.
    Please wait; recovering the repository may take some time...
    
    Recovery completed.
    The latest repos revision is 19.
    

    This command may take many minutes to complete.

  4. Restart the Subversion server.

This procedure fixes almost every case of repository lock-up. Make sure that you run this command as the user that owns and manages the database, not just as root. Part of the recovery process might involve recreating from scratch various database files (shared memory regions, for example). Recovering as root will create those files such that they are owned by root, which means that even after you restore connectivity to your repository, regular users will be unable to access it.

If the previous procedure, for some reason, does not successfully unwedge your repository, you should do two things. First, move your broken repository out of the way and restore your latest backup of it. Then, send an email to the Subversion user list (at ) describing your problem in detail. Data integrity is an extremely high priority to the Subversion developers.

Migrating a Repository

A Subversion filesystem has its data spread throughout various database tables in a fashion generally understood by (and of interest to) only the Subversion developers themselves. However, circumstances may arise that call for all, or some subset, of that data to be collected into a single, portable, flat file format. Subversion provides such a mechanism, implemented in a pair of svnadmin subcommands: dump and load.

The most common reason to dump and load a Subversion repository is due to changes in Subversion itself. As Subversion matures, there are times when certain changes made to the back-end database schema cause Subversion to be incompatible with previous versions of the repository. Other reasons for dumping and loading might be to migrate a Berkeley DB repository to a new OS or CPU architecture, or to switch between Berkeley DB and FSFS back-ends. The recommended course of action is relatively simple:

  1. Using your current version of svnadmin, dump your repositories to dump files.

  2. Upgrade to the new version of Subversion.

  3. Move your old repositories out of the way, and create new empty ones in their place using your new svnadmin.

  4. Again using your new svnadmin, load your dump files into their respective, just-created repositories.

  5. Be sure to copy any customizations from your old repositories to the new ones, including DB_CONFIG files and hook scripts. You'll want to pay attention to the release notes for the new release of Subversion to see if any changes since your last upgrade affect those hooks or configuration options.

  6. If the migration process made your repository accessible at a different URL (e.g. moved to a different computer, or is being accessed via a different schema), then you'll probably want to tell your users to run svn switch --relocate on their existing working copies. See svn switch.

svnadmin dump will output a range of repository revisions that are formatted using Subversion's custom filesystem dump format. The dump format is printed to the standard output stream, while informative messages are printed to the standard error stream. This allows you to redirect the output stream to a file while watching the status output in your terminal window. For example:

$ svnlook youngest myrepos
26
$ svnadmin dump myrepos > dumpfile
* Dumped revision 0.
* Dumped revision 1.
* Dumped revision 2.
Б─╕
* Dumped revision 25.
* Dumped revision 26.

At the end of the process, you will have a single file (dumpfile in the previous example) that contains all the data stored in your repository in the requested range of revisions. Note that svnadmin dump is reading revision trees from the repository just like any other б╚readerб╩ process would (svn checkout, for example). So it's safe to run this command at any time.

The other subcommand in the pair, svnadmin load, parses the standard input stream as a Subversion repository dump file, and effectively replays those dumped revisions into the target repository for that operation. It also gives informative feedback, this time using the standard output stream:

$ svnadmin load newrepos < dumpfile
<<< Started new txn, based on original revision 1
     * adding path : A ... done.
     * adding path : A/B ... done.
     Б─╕
------- Committed new rev 1 (loaded from original rev 1) >>>

<<< Started new txn, based on original revision 2
     * editing path : A/mu ... done.
     * editing path : A/D/G/rho ... done.

------- Committed new rev 2 (loaded from original rev 2) >>>

Б─╕

<<< Started new txn, based on original revision 25
     * editing path : A/D/gamma ... done.

------- Committed new rev 25 (loaded from original rev 25) >>>

<<< Started new txn, based on original revision 26
     * adding path : A/Z/zeta ... done.
     * editing path : A/mu ... done.

------- Committed new rev 26 (loaded from original rev 26) >>>

The result of a load is new revisions added to a repositoryБ─■the same thing you get by making commits against that repository from a regular Subversion client. And just as in a commit, you can use hook scripts to perform actions before and after each of the commits made during a load process. By passing the --use-pre-commit-hook and --use-post-commit-hook options to svnadmin load, you can instruct Subversion to execute the pre-commit and post-commit hook scripts, respectively, for each loaded revision. You might use these, for example, to ensure that loaded revisions pass through the same validation steps that regular commits pass through. Of course, you should use these options with careБ─■if your post-commit hook sends emails to a mailing list for each new commit, you might not want to spew hundreds or thousands of commit emails in rapid succession at that list for each of the loaded revisions! You can read more about the use of hook scripts in б╚Hook Scriptsб╩.

Note that because svnadmin uses standard input and output streams for the repository dump and load process, people who are feeling especially saucy can try things like this (perhaps even using different versions of svnadmin on each side of the pipe):

$ svnadmin create newrepos
$ svnadmin dump myrepos | svnadmin load newrepos

By default, the dump file will be quite largeБ─■much larger than the repository itself. That's because every version of every file is expressed as a full text in the dump file. This is the fastest and simplest behavior, and nice if you're piping the dump data directly into some other process (such as a compression program, filtering program, or into a loading process). But if you're creating a dump file for longer-term storage, you'll likely want to save disk space by using the --deltas switch. With this option, successive revisions of files will be output as compressed, binary differencesБ─■just as file revisions are stored in a repository. This option is slower, but results in a dump file much closer in size to the original repository.

We mentioned previously that svnadmin dump outputs a range of revisions. Use the --revision option to specify a single revision to dump, or a range of revisions. If you omit this option, all the existing repository revisions will be dumped.

$ svnadmin dump myrepos --revision 23 > rev-23.dumpfile
$ svnadmin dump myrepos --revision 100:200 > revs-100-200.dumpfile

As Subversion dumps each new revision, it outputs only enough information to allow a future loader to re-create that revision based on the previous one. In other words, for any given revision in the dump file, only the items that were changed in that revision will appear in the dump. The only exception to this rule is the first revision that is dumped with the current svnadmin dump command.

By default, Subversion will not express the first dumped revision as merely differences to be applied to the previous revision. For one thing, there is no previous revision in the dump file! And secondly, Subversion cannot know the state of the repository into which the dump data will be loaded (if it ever, in fact, occurs). To ensure that the output of each execution of svnadmin dump is self-sufficient, the first dumped revision is by default a full representation of every directory, file, and property in that revision of the repository.

However, you can change this default behavior. If you add the --incremental option when you dump your repository, svnadmin will compare the first dumped revision against the previous revision in the repository, the same way it treats every other revision that gets dumped. It will then output the first revision exactly as it does the rest of the revisions in the dump rangeБ─■mentioning only the changes that occurred in that revision. The benefit of this is that you can create several small dump files that can be loaded in succession, instead of one large one, like so:

$ svnadmin dump myrepos --revision 0:1000 > dumpfile1
$ svnadmin dump myrepos --revision 1001:2000 --incremental > dumpfile2
$ svnadmin dump myrepos --revision 2001:3000 --incremental > dumpfile3

These dump files could be loaded into a new repository with the following command sequence:

$ svnadmin load newrepos < dumpfile1
$ svnadmin load newrepos < dumpfile2
$ svnadmin load newrepos < dumpfile3

Another neat trick you can perform with this --incremental option involves appending to an existing dump file a new range of dumped revisions. For example, you might have a post-commit hook that simply appends the repository dump of the single revision that triggered the hook. Or you might have a script that runs nightly to append dump file data for all the revisions that were added to the repository since the last time the script ran. Used like this, svnadmin's dump and load commands can be a valuable means by which to backup changes to your repository over time in case of a system crash or some other catastrophic event.

The dump format can also be used to merge the contents of several different repositories into a single repository. By using the --parent-dir option of svnadmin load, you can specify a new virtual root directory for the load process. That means if you have dump files for three repositories, say calc-dumpfile, cal-dumpfile, and ss-dumpfile, you can first create a new repository to hold them all:

$ svnadmin create /path/to/projects
$

Then, make new directories in the repository which will encapsulate the contents of each of the three previous repositories:

$ svn mkdir -m "Initial project roots" \
      file:///path/to/projects/calc \
      file:///path/to/projects/calendar \
      file:///path/to/projects/spreadsheet
Committed revision 1.
$

Lastly, load the individual dump files into their respective locations in the new repository:

$ svnadmin load /path/to/projects --parent-dir calc < calc-dumpfile
Б─╕
$ svnadmin load /path/to/projects --parent-dir calendar < cal-dumpfile
Б─╕
$ svnadmin load /path/to/projects --parent-dir spreadsheet < ss-dumpfile
Б─╕
$

We'll mention one final way to use the Subversion repository dump formatБ─■conversion from a different storage mechanism or version control system altogether. Because the dump file format is, for the most part, human-readable, [35] it should be relatively easy to describe generic sets of changesБ─■each of which should be treated as a new revisionБ─■using this file format. In fact, the cvs2svn utility (see б╚Converting a Repository from CVS to Subversionб╩) uses the dump format to represent the contents of a CVS repository so that those contents can be copied into a Subversion repository.

Repository Backup

Despite numerous advances in technology since the birth of the modern computer, one thing unfortunately rings true with crystalline clarityБ─■sometimes, things go very, very awry. Power outages, network connectivity dropouts, corrupt RAM and crashed hard drives are but a taste of the evil that Fate is poised to unleash on even the most conscientious administrator. And so we arrive at a very important topicБ─■how to make backup copies of your repository data.

There are generally two types of backup methods available for Subversion repository administratorsБ─■incremental and full. We discussed in an earlier section of this chapter how to use svnadmin dump --incremental to perform an incremental backup (see б╚Migrating a Repositoryб╩). Essentially, the idea is to only backup at a given time the changes to the repository since the last time you made a backup.

A full backup of the repository is quite literally a duplication of the entire repository directory (which includes either Berkeley database or FSFS environment). Now, unless you temporarily disable all other access to your repository, simply doing a recursive directory copy runs the risk of generating a faulty backup, since someone might be currently writing to the database.

In the case of Berkeley DB, Sleepycat documents describe a certain order in which database files can be copied that will guarantee a valid backup copy. And a similar ordering exists for FSFS data. Better still, you don't have to implement these algorithms yourself, because the Subversion development team has already done so. The hot-backup.py script is found in the tools/backup/ directory of the Subversion source distribution. Given a repository path and a backup location, hot-backup.pyБ─■which is really just a more intelligent wrapper around the svnadmin hotcopy commandБ─■will perform the necessary steps for backing up your live repositoryБ─■without requiring that you bar public repository access at allБ─■and then will clean out the dead Berkeley log files from your live repository.

Even if you also have an incremental backup, you might want to run this program on a regular basis. For example, you might consider adding hot-backup.py to a program scheduler (such as cron on Unix systems). Or, if you prefer fine-grained backup solutions, you could have your post-commit hook script call hot-backup.py (see б╚Hook Scriptsб╩), which will then cause a new backup of your repository to occur with every new revision created. Simply add the following to the hooks/post-commit script in your live repository directory:

(cd /path/to/hook/scripts; ./hot-backup.py ${REPOS} /path/to/backups &)

The resulting backup is a fully functional Subversion repository, able to be dropped in as a replacement for your live repository should something go horribly wrong.

There are benefits to both types of backup methods. The easiest is by far the full backup, which will always result in a perfect working replica of your repository. This again means that should something bad happen to your live repository, you can restore from the backup with a simple recursive directory copy. Unfortunately, if you are maintaining multiple backups of your repository, these full copies will each eat up just as much disk space as your live repository.

Incremental backups using the repository dump format are excellent to have on hand if the database schema changes between successive versions of Subversion itself. Since a complete repository dump and load are generally required to upgrade your repository to the new schema, it's very convenient to already have half of that process (the dump part) finished. Unfortunately, the creation ofБ─■and restoration fromБ─■incremental backups takes longer, as each commit is effectively replayed into either the dump file or the repository.

In either backup scenario, repository administrators need to be aware of how modifications to unversioned revision properties affect their backups. Since these changes do not themselves generate new revisions, they will not trigger post-commit hooks, and may not even trigger the pre-revprop-change and post-revprop-change hooks. [36] And since you can change revision properties without respect to chronological orderБ─■you can change any revision's properties at any timeБ─■an incremental backup of the latest few revisions might not catch a property modification to a revision that was included as part of a previous backup.

Generally speaking, only the truly paranoid would need to backup their entire repository, say, every time a commit occurred. However, assuming that a given repository has some other redundancy mechanism in place with relatively fine granularity (like per-commit emails), a hot backup of the database might be something that a repository administrator would want to include as part of a system-wide nightly backup. For most repositories, archived commit emails alone provide sufficient redundancy as restoration sources, at least for the most recent few commits. But it's your dataБ─■protect it as much as you'd like.

Often, the best approach to repository backups is a diversified one. You can leverage combinations of full and incremental backups, plus archives of commit emails. The Subversion developers, for example, back up the Subversion source code repository after every new revision is created, and keep an archive of all the commit and property change notification emails. Your solution might be similar, but should be catered to your needs and that delicate balance of convenience with paranoia. And while all of this might not save your hardware from the iron fist of Fate, [37] it should certainly help you recover from those trying times.

Adding Projects

Once your repository is created and configured, all that remains is to begin using it. If you have a collection of existing data that is ready to be placed under version control, you will more than likely want to use the svn client program's import subcommand to accomplish that. Before doing this, though, you should carefully consider your long-term plans for the repository. In this section, we will offer some advice on how to plan the layout of your repository, and how to get your data arranged in that layout.

Choosing a Repository Layout

While Subversion allows you to move around versioned files and directories without any loss of information, doing so can still disrupt the workflow of those who access the repository often and come to expect things to be at certain locations. Try to peer into the future a bit; plan ahead before placing your data under version control. By б╚laying outб╩ the contents of your repositories in an effective manner the first time, you can prevent a load of future headaches.

There are a few things to consider when setting up Subversion repositories. Let's assume that as repository administrator, you will be responsible for supporting the version control system for several projects. The first decision is whether to use a single repository for multiple projects, or to give each project its own repository, or some compromise of these two.

There are benefits to using a single repository for multiple projects, most obviously the lack of duplicated maintenance. A single repository means that there is one set of hook scripts, one thing to routinely backup, one thing to dump and load if Subversion releases an incompatible new version, and so on. Also, you can move data between projects easily, and without losing any historical versioning information.

The downside of using a single repository is that different projects may have different commit mailing lists or different authentication and authorization requirements. Also, remember that Subversion uses repository-global revision numbers. Some folks don't like the fact that even though no changes have been made to their project lately, the youngest revision number for the repository keeps climbing because other projects are actively adding new revisions.

A middle-ground approach can be taken, too. For example, projects can be grouped by how well they relate to each other. You might have a few repositories with a handful of projects in each repository. That way, projects that are likely to want to share data can do so easily, and as new revisions are added to the repository, at least the developers know that those new revisions are at least remotely related to everyone who uses that repository.

After deciding how to organize your projects with respect to repositories, you'll probably want to think about directory hierarchies in the repositories themselves. Because Subversion uses regular directory copies for branching and tagging (see п⌠п╩п╟п╡п╟б═4, п▓п╣я┌п╡п╩п╣п╫п╦п╣ п╦ я│п╩п╦я▐п╫п╦п╣), the Subversion community recommends that you choose a repository location for each project rootБ─■the б╚top-mostб╩ directory which contains data related to that projectБ─■and then create three subdirectories beneath that root: trunk, meaning the directory under which the main project development occurs; branches, which is a directory in which to create various named branches of the main development line; tags, which is a directory of branches that are created, and perhaps destroyed, but never changed. [38]

For example, your repository might look like:

/
   calc/
      trunk/
      tags/
      branches/
   calendar/
      trunk/
      tags/
      branches/
   spreadsheet/
      trunk/
      tags/
      branches/
   Б─╕

Note that it doesn't matter where in your repository each project root is. If you have only one project per repository, the logical place to put each project root is at the root of that project's respective repository. If you have multiple projects, you might want to arrange them in groups inside the repository, perhaps putting projects with similar goals or shared code in the same subdirectory, or maybe just grouping them alphabetically. Such an arrangement might look like:

/
   utils/
      calc/
         trunk/
         tags/
         branches/
      calendar/
         trunk/
         tags/
         branches/
      Б─╕
   office/
      spreadsheet/
         trunk/
         tags/
         branches/
      Б─╕

Lay out your repository in whatever way you see fit. Subversion does not expect or enforce a layout schemaБ─■in its eyes, a directory is a directory is a directory. Ultimately, you should choose the repository arrangement that meets the needs of the people who work on the projects that live there.

Creating the Layout, and Importing Initial Data

After deciding how to arrange the projects in your repository, you'll probably want to actually populate the repository with that layout and with initial project data. There are a couple of ways to do this in Subversion. You could use the svn mkdir command (see п⌠п╩п╟п╡п╟б═9, п÷п╬п╩п╫п╬п╣ я│п©я─п╟п╡п╬я┤п╫п╬п╣ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п©п╬ Subversion) to create each directory in your skeletal repository layout, one-by-one. A quicker way to accomplish the same task is to use the svn import command (see б╚svn importб╩). By first creating the layout in a temporary location on your drive, you can import the whole layout tree into the repository in a single commit:

$ mkdir tmpdir
$ cd tmpdir
$ mkdir projectA
$ mkdir projectA/trunk
$ mkdir projectA/branches
$ mkdir projectA/tags
$ mkdir projectB
$ mkdir projectB/trunk
$ mkdir projectB/branches
$ mkdir projectB/tags
Б─╕
$ svn import . file:///path/to/repos --message "Initial repository layout"
Adding         projectA
Adding         projectA/trunk
Adding         projectA/branches
Adding         projectA/tags
Adding         projectB
Adding         projectB/trunk
Adding         projectB/branches
Adding         projectB/tags
Б─╕
Committed revision 1.
$ cd ..
$ rm -rf tmpdir
$

You can verify the results of the import by running the svn list command:

$ svn list --verbose file:///path/to/repos
      1 harry               May 08 21:48 projectA/
      1 harry               May 08 21:48 projectB/
Б─╕
$

Once you have your skeletal layout in place, you can begin importing actual project data into your repository, if any such data exists yet. Once again, there are several ways to do this. You could use the svn import command. You could checkout a working copy from your new repository, move and arrange project data inside the working copy, and use the svn add and svn commit commands. But once we start talking about such things, we're no longer discussing repository administration. If you aren't already familiar with the svn client program, see п⌠п╩п╟п╡п╟б═2, п╜п╨я│п╨я┐я─я│п╦я▐ п©п╬ Subversion.

Summary

By now you should have a basic understanding of how to create, configure, and maintain Subversion repositories. We've introduced you to the various tools that will assist you with this task. Throughout the chapter, we've noted common administration pitfalls, and suggestions for avoiding them.

All that remains is for you to decide what exciting data to store in your repository, and finally, how to make it available over a network. The next chapter is all about networking.




[30] This may sound really prestigious and lofty, but we're just talking about anyone who is interested in that mysterious realm beyond the working copy where everyone's data hangs out.

[31] Pronounced б╚fuzz-fuzzб╩, if Jack Repenning has anything to say about it.

[32] That, by the way, is a feature, not a bug.

[33] While svnadmin dump has a consistent leading slash policyБ─■to not include themБ─■other programs which generate dump data might not be so consistent.

[34] E.g.: hard drive + huge electromagnet = disaster.

[35] The Subversion repository dump format resembles an RFC-822 format, the same type of format used for most email.

[36] svnadmin setlog can be called in a way that bypasses the hook interface altogether.

[37] You knowБ─■the collective term for all of her б╚fickle fingersб╩.

[38] The trunk, tags, and branches trio are sometimes referred to as б╚the TTB directoriesб╩.

п⌠п╩п╟п╡п╟ 6. п²п╟я│я┌я─п╬п╧п╨п╟ я│п╣я─п╡п╣я─п╟

п║п╬п╢п╣я─п╤п╟п╫п╦п╣

п·п╠п╥п╬я─
Http-я│п╣я─п╡п╣я─ Apache
п║п╣я─п╡п╣я─ svnserve
svnserve я┤п╣я─п╣п╥ SSH
п▓я▀п╠п╬я─ п╩я┐я┤я┬п╣п╧ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ я│п╣я─п╡п╣я─п╟
п║п╣я┌п╣п╡п╟я▐ п╪п╬п╢п╣п╩я▄
п≈п╟п©я─п╬я│я▀ п╦ п╬я┌п╨п╩п╦п╨п╦
п я█я┬п╦я─п╬п╡п╟п╫п╦п╣ п╨п╩п╦п╣п╫я┌я│п╨п╬п╧ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦
п║п╬п╠я│я┌п╡п╣п╫п╫я▀п╧ я│п╣я─п╡п╣я─ svnserve
п≈п╟п©я┐я│п╨ п║п╣я─п╡п╣я─п╟
п▓я│я┌я─п╬п╣п╫п╫п╟я▐ п╟я┐я┌п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▐ п╦ п╟п╡я┌п╬я─п╦п╥п╟я├п╦я▐
п║п╬п╥п╢п╟п╫п╦п╣ я└п╟п╧п╩п╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п╦ п╬п╠п╩п╟я│я┌я▄ я┘я─п╟п╫п╦п╩п╦я┴п╟
пёя│я┌п╟п╫п╬п╡п╨п╟ п╨п╬п╫я┌я─п╬п╩я▐ п╢п╬я│я┌я┐п©п╟
SSH п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▐ п╦ п╟п╡я┌п╬я─п╦п╥п╟я├п╦я▐
п╒я─я▌п╨п╦ п╨п╬п╫я└п╦пЁя┐я─п╦я─п╬п╡п╟п╫п╦я▐ SSH
п²п╟я┤п╟п╩я▄п╫п╟я▐ п╫п╟я│я┌я─п╬п╧п╨п╟
Controlling the invoked command
httpd, the Apache HTTP server
Prerequisites
Basic Apache Configuration
Authentication Options
Basic HTTP Authentication
SSL Certificate Management
Authorization Options
Blanket Access Control
Per-Directory Access Control
Disabling Path-based Checks
Extra Goodies
Repository Browsing
Other Features
Path-Based Authorization
Supporting Multiple Repository Access Methods

п·п╢п╫п╬п╡я─п╣п╪п╣п╫п╫я▀п╧ п╢п╬я│я┌я┐п© п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐ Subversion п╨п╩п╦п╣п╫я┌п╟п╪п╦, п╥п╟п©я┐я┴п╣п╫п╫я▀п╪п╦ п╫п╟ я┌п╬п╪ п╤п╣ п╨п╬п╪п©я▄я▌я┌п╣я─п╣, пЁп╢п╣ я─п╟я│п©п╬п╩п╬п╤п╣п╫п╬ п╦ я┘я─п╟п╫п╦п╩п╦я┴п╣, п╡п╬п╥п╪п╬п╤п╣п╫ п©я─п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦ п╪п╣я┌п╬п╢п╟ file:///. п²п╬, п╬п╠я▀я┤п╫п╬, я│п╣я─п╡п╣я─ Subversion я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣я┌я│я▐ п╫п╟ п╬я┌п╢п╣п╩я▄п╫я▀п╧ п╨п╬п╪п©я▄я▌я┌п╣я─, п╨ п╨п╬я┌п╬я─п╬п╪я┐ п╦п╪п╣я▌я┌ п╢п╬я│я┌я┐п© п╨п╩п╦п╣п╫я┌я▀ я│ п╨п╬п╪п©я▄я▌я┌п╣я─п╬п╡ п╡я│п╣пЁп╬ п╬я└п╦я│п╟ Б─■ п╦п╩п╦, п╡п╬п╥п╪п╬п╤п╫п╬, п╡я│п╣пЁп╬ п╪п╦я─п╟.

п╜я┌п╬я┌ я─п╟п╥п╢п╣п╩ я─п╟я│я│п╨п╟п╤п╣я┌, п╨п╟п╨ п©я─п╣п╢п╬я│я┌п╟п╡п╦я┌я▄ п╢п╬я│я┌я┐п© п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐ Subversion я┐п╢п╟п╩п╣п╫п╫я▀п╪ п╨п╩п╦п╣п╫я┌п╟п╪. п°я▀ п╬п©п╦я┬п╣п╪ п╢п╬я│я┌я┐п©п╫я▀п╣ п╫п╟ я│п╣пЁп╬п╢п╫я▐я┬п╫п╦п╧ п╢п╣п╫я▄ п╪п╣я┘п╟п╫п╦п╥п╪я▀ я│п╣я─п╡п╣я─п╬п╡ Subversion, п╟ я┌п╟п╨ п╤п╣ п╬п╠я│я┐п╢п╦п╪ п╡п╬п©я─п╬я│я▀ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╨п╟п╤п╢п╬пЁп╬ п╦п╥ п╫п╦я┘. п÷п╬я│п╩п╣ п©я─п╬я┤я┌п╣п╫п╦я▐ я█я┌п╬пЁп╬ я─п╟п╥п╢п╣п╩п╟ п╡я▀ я│п╪п╬п╤п╣я┌п╣ я─п╣я┬п╦я┌я▄, п╨п╟п╨п╬п╧ я┌п╦п© я│п╣я─п╡п╣я─п╟ п©п╬п╢я┘п╬п╢п╦я┌ п╡п╟п╪, п╨п╟п╨ п╣пЁп╬ я┐я│я┌п╟п╫п╬п╡п╦я┌я▄ п╦ п╫п╟я│я┌я─п╬п╦я┌я▄ п╫п╟ п╡п╟я┬п╣п╪ п╨п╬п╪п©я▄я▌я┌п╣я─п╣.

п·п╠п╥п╬я─

Subversion п╠я▀п╩ я─п╟п╥я─п╟п╠п╬я┌п╟п╫ я│ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣п╪ п╟п╠я│я┌я─п╟п╨я┌п╫п╬пЁп╬ я│п╣я┌п╣п╡п╬пЁп╬ я┐я─п╬п╡п╫я▐. п╜я┌п╬ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ п╫п╟ п©я─п╬пЁя─п╟п╪п╪п╫п╬п╪ я┐я─п╬п╡п╫п╣ п╢п╩я▐ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫ п╩я▌п╠п╬п╧ я┌п╦п© я│п╣я─п╡п╣я─п╟, п╟ б╚п╨п╩п╦п╣п╫я┌я│п╨п╦п╧ API п╢п╩я▐ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐б╩ п╢п╟п╣я┌ п©я─п╬пЁя─п╟п╪п╪п╦я│я┌п╟п╪ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ я│п╬п╥п╢п╟п╡п╟я┌я▄ п©п╩п╟пЁп╦п╫я▀, п╨п╬я┌п╬я─я▀п╣ п╠я┐п╢я┐я┌ п╡п╥п╟п╦п╪п╬п╢п╣п╧я│я┌п╡п╬п╡п╟я┌я▄ я│ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╪ я│п╣я┌п╣п╡я▀п╪ п©я─п╬я┌п╬п╨п╬п╩п╬п╪. п╒п╣п╬я─п╣я┌п╦я┤п╣я│п╨п╦, Subversion п╪п╬п╤п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╫п╣п╬пЁя─п╟п╫п╦я┤п╣п╫п╫п╬п╣ п╨п╬п╩п╦я┤п╣я│я┌п╡п╬ я│п╣я┌п╣п╡я▀я┘ я─п╣п╟п╩п╦п╥п╟я├п╦п╧. п÷я─п╟п╨я┌п╦я┤п╣я│п╨п╦ п╤п╣, п╫п╟ п╢п╟п╫п╫я▀п╧ п╪п╬п╪п╣п╫я┌ п╣я│я┌я▄ я┌п╬п╩я▄п╨п╬ п╢п╡п╟ я│п╣я─п╡п╣я─п╟.

Apache Б─■ п╫п╟п╦п╠п╬п╩п╣п╣ п©п╬п©я┐п╩я▐я─п╫я▀п╧ web-я│п╣я─п╡п╣я─; п©я─п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦ п╪п╬п╢я┐п╩я▐ mod_dav_svn Apache п©п╬п╩я┐я┤п╟п╣я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐, п╟ я┌п╟п╨ п╤п╣ п╢п╣п╩п╟п╣я┌ п╣пЁп╬ п╢п╬я│я┌я┐п©п╫я▀п╪ п╢п╩я▐ п╨п╩п╦п╣п╫я┌п╬п╡, п╦я│п©п╬п╩я▄п╥я┐я▐ п©я─п╬я┌п╬п╨п╬п╩ WebDAV/DeltaV, п╨п╬я┌п╬я─я▀п╧ я▐п╡п╩я▐п╣я┌я│я▐ я─п╟я│я┬п╦я─п╣п╫п╦п╣п╪ HTTP. п▓ п╢я─я┐пЁп╬п╪ я┐пЁп╩я┐ я─п╦п╫пЁп╟ Б─■ svnserve Б─■ п╫п╣п╠п╬п╩я▄я┬п╬п╧, я│п╟п╪п╬я│я┌п╬я▐я┌п╣п╩я▄п╫я▀п╧ я│п╣я─п╡п╣я─, п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╦п╧ п╢п╩я▐ я│п╡я▐п╥п╦ я│ п╨п╩п╦п╣п╫я┌п╟п╪п╦ я│п╬п╠я│я┌п╡п╣п╫п╫я▀п╧ п©я─п╬я┌п╬п╨п╬п╩. п▓ п╒п╟п╠п╩п╦я├п╟б═6.1, б╚п║я─п╟п╡п╫п╣п╫п╦п╣ я│п╣я─п╡п╣я─п╬п╡б╩ п╢п╟п╫п╬ я│я─п╟п╡п╫п╣п╫п╦п╣ я█я┌п╦я┘ п╢п╡я┐я┘ я│п╣я─п╡п╣я─п╬п╡.

п╒п╟п╠п╩п╦я├п╟ 6.1. п║я─п╟п╡п╫п╣п╫п╦п╣ я│п╣я─п╡п╣я─п╬п╡

п▓п╬п╥п╪п╬п╤п╫п╬я│я┌я▄Apache + mod_dav_svnsvnserve
п²п╟я│я┌я─п╬п╧п╨п╦ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╦я▐ п╩п╦я┤п╫п╬я│я┌п╦я│я┌п╟п╫п╢п╟я─я┌п╫п╬п╣ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╦п╣ п╩п╦я┤п╫п╬я│я┌п╦ я│я─п╣п╢я│я┌п╡п╟п╪п╦ HTTP(S), я│п╣я─я┌п╦я└п╦п╨п╟я┌я▀ X.509, LDAP, NTLM, п╟ я┌п╟п╨п╤п╣ п╢я─я┐пЁп╦п╣ п╪п╣я┘п╟п╫п╦п╥п╪я▀, п╢п╬я│я┌я┐п©п╫я▀п╣ п╢п╩я▐ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╡ ApacheCRAM-MD5 п╦п╩п╦ SSH
п²п╟я│я┌я─п╬п╧п╨п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╦я┘ я┐я┤п╣я┌п╫я▀я┘ п╥п╟п©п╦я│п╣п╧п╡п╫я┐я┌я─п╣п╫п╫п╦п╧ я└п╟п╧п╩ 'users'п╡п╫я┐я┌я─п╣п╫п╫п╦п╧ я└п╟п╧п╩ 'users' п╦п╩п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ я│я┐я┴п╣я│я┌п╡я┐я▌я┴п╦я┘ я│п╦я│я┌п╣п╪п╫я▀я┘ (SSH) я┐я┤п╣я┌п╫я▀я┘ п╥п╟п©п╦я│п╣п╧
п²п╟я│я┌я─п╬п╧п╨п╦ п©я─п╟п╡ п╢п╬я│я┌я┐п©п╟п╢п╬я│я┌я┐п© п╫п╟ я┤я┌п╣п╫п╦п╣/п╥п╟п©п╦я│я▄ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣я┌я│я▐ я│я─п╟п╥я┐ п╫п╟ п╡я│я▒ я┘я─п╟п╫п╦п╩п╦я┴п╣, п╦п╩п╦ п╫п╟я│я┌я─п╟п╦п╡п╟п╣я┌я│я▐ п©п╬-п╨п╟я┌п╟п╩п╬пЁп╬п╡п╬п╢п╬я│я┌я┐п© п╫п╟ я┤я┌п╣п╫п╦п╣/п╥п╟п©п╦я│я▄ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣я┌я│я▐ я│я─п╟п╥я┐ п╫п╟ п╡я│я▒ я┘я─п╟п╫п╦п╩п╦я┴п╣, п╦п╩п╦ п╫п╟я│я┌я─п╟п╦п╡п╟п╣я┌я│я▐ п©п╬-п╨п╟я┌п╟п╩п╬пЁп╬п╡п╬
п╗п╦я└я─п╬п╡п╟п╫п╦п╣я┤п╣я─п╣п╥ SSL (п╬п©я├п╦п╬п╫п╟п╩я▄п╫п╬)я┤п╣я─п╣п╥ SSH-я┌я┐п╫п╫п╣п╩я▄ (п╬п©я├п╦п╬п╫п╟п╩я▄п╫п╬)
п▓п╣п╢п╣п╫п╦п╣ п╤я┐я─п╫п╟п╩п╟п©п╬п╩п╫п╬я├п╣п╫п╫я▀п╧ п╤я┐я─п╫п╟п╩ Apache я│ п╥п╟п©п╦я│я▐п╪п╦ п╬ п╨п╟п╤п╢п╬п╪ HTTP п╥п╟п©я─п╬я│п╣, я│ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄я▌ б╚п╡я▀я│п╬п╨п╬я┐я─п╬п╡п╫п╣п╡п╬пЁп╬б╩ я┐я┤п╣я┌п╟ п╩я▌п╠я▀я┘ п╬п©п╣я─п╟я├п╦п╧ п╨п╩п╦п╣п╫я┌п╟п╫п╣я┌ п╤я┐я─п╫п╟п╩п╟
п≤п╫я┌п╣я─п╬п©п╣я─п╟п╠п╣п╩я▄п╫п╬я│я┌я▄я┤п╟я│я┌п╦я┤п╫п╬, п╦я│п©п╬п╩я▄п╥я┐я▐ п╢я─я┐пЁп╦п╣ WevDAV-п╨п╩п╦п╣п╫я┌я▀я┌п╬п╩я▄п╨п╬ п╢п╩я▐ svn п╨п╩п╦п╣п╫я┌п╬п╡
п÷я─п╬я│п╪п╬я┌я─ я┤п╣я─п╣п╥ п╡п╣п╠п╬пЁя─п╟п╫п╦я┤п╣п╫п╫п╟я▐ п╡я│я┌я─п╬п╣п╫п╫п╟я▐ п©п╬п╢п╢п╣я─п╤п╨п╟, п╦п╩п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ п©я─п╬пЁя─п╟п╪п╪ я│я┌п╬я─п╬п╫п╫п╦я┘ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡, я┌п╟п╨п╦я┘, п╨п╟п╨ ViewVSя┌п╬п╩я▄п╨п╬ п©я─п╦ п©п╬п╪п╬я┴п╦ п©я─п╬пЁя─п╟п╪п╪ я│я┌п╬я─п╬п╫п╫п╦я┘ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡, я┌п╟п╨п╦я┘, п╨п╟п╨ ViewVS
п║п╨п╬я─п╬я│я┌я▄п╠п╬п╩п╣п╣ п╫п╦п╥п╨п╟я▐п╠п╬п╩п╣п╣ п╡я▀я│п╬п╨п╟я▐
п²п╟я┤п╟п╩я▄п╫п╟я▐ я┐я│я┌п╟п╫п╬п╡п╨п╟п╫п╣я│п╨п╬п╩я▄п╨п╬ я│п╩п╬п╤п╫п╟я▐п╢п╬я│я┌п╟я┌п╬я┤п╫п╬ п©я─п╬я│я┌п╟я▐


Http-я│п╣я─п╡п╣я─ Apache

п п╟п╨ я█я┌п╬ я─п╟п╠п╬я┌п╟п╣я┌:

пёя│я┌п╟п╫п╬п╡п╦я┌п╣ п╦ п╫п╟я│я┌я─п╬п╧я┌п╣ я│п╣я─п╡п╣я─ Apache 2.0, п╥п╟я┌п╣п╪ п╟п╨я┌п╦п╡п╦я─я┐п╧я┌п╣ п╪п╬п╢я┐п╩я▄ я│п╣я─п╡п╣я─п╟ subversion. п п╩п╦п╣п╫я┌я▀ п╠я┐п╢я┐я┌ п╬п╠я─п╟я┴п╟я┌я▄я│я▐ п╨ я│п╣я─п╡п╣я─я┐ я┤п╣я─п╣п╥ HTTP п╦п╩п╦ HTTPS, п╦я│п©п╬п╩я▄п╥я┐я▐ п©я─п╬я┌п╬п╨п╬п╩ WebDAV.

п÷я─п╣п╦п╪я┐я┴п╣я│я┌п╡п╟ п╢п╟п╫п╫п╬пЁп╬ п╡п╟я─п╦п╟п╫я┌п╟:
  • Subversion п╪п╬п╤п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╩я▌п╠п╬п╧ п╦п╥ п╪п╣я┘п╟п╫п╦п╥п╪п╬п╡ п╟я┐я┌п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦, п╦п╫я┌п╣пЁя─п╦я─п╬п╡п╟п╫п╫я▀п╧ п╡ Apache.

  • п²п╣я┌ п╫я┐п╤п╢я▀ я│п╬п╥п╢п╟п╡п╟я┌я▄ я┐я┤я▒я┌п╫я▀п╣ п╥п╟п©п╦я│п╦ п╫п╟ я│п╣я─п╡п╣я─п╣.

  • п▓п╣п╢п╣п╫п╦п╣ п╩п╬пЁп╬п╡ я│я─п╣п╢я│я┌п╡п╟п╪п╦ Apache.

  • п▓п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ я┬п╦я└я─п╬п╡п╟я┌я▄ я┌я─п╟я└п╦п╨ я│ п©п╬п╪п╬я┴я▄я▌ SSL.

  • п∙я│п╩п╦ п╨п╬п╪п©я▄я▌я┌п╣я─ п╦п╩п╦ я│п╣я┌я▄ п╥п╟я┴п╦я┴п╣п╫я▀ п╠я─п╟п╫п╢п╪п╟я┐я█я─п╬п╪, п©п╬я─я┌я▀ HTTP(S) п╬п╠я▀я┤п╫п╬ п╬я┌п╨я─я▀я┌я▀.

  • п▓я│я┌я─п╬п╣п╫п╫я▀п╧ п©я─п╬я│п╪п╬я┌я─ я┘я─п╟п╫п╦п╩п╦я┴п╟ я┤п╣я─п╣п╥ п╡п╣п╠-п╬п╠п╬п╥я─п╣п╡п╟я┌п╣п╩я▄.

  • п╔я─п╟п╫п╦п╩п╦я┴п╣ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ я│п╪п╬п╫я┌п╦я─п╬п╡п╟п╫п╬ п╨п╟п╨ я│п╣я┌п╣п╡п╬п╧ п╢п╦я│п╨. (п║п╪п╬я┌я─п╦я┌п╣ б╚Autoversioningб╩.)

п²п╣п╢п╬я│я┌п╟я┌п╨п╦ п╢п╟п╫п╫п╬пЁп╬ п╡п╟я─п╦п╟п╫я┌п╟:
  • п║п╨п╬я─п╬я│я┌я▄ п╥п╟п╪п╣я┌п╫п╬ п╫п╦п╤п╣, я┤п╣п╪ п©я─п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦ svnserve.

  • п÷п╣я─п╡п╦я┤п╫п╟я▐ п╫п╟я│я┌я─п╬п╧п╨п╟ п╠п╬п╩п╣п╣ п╨п╬п╪п©п╩п╣п╨я│п╫п╟я▐.

п║п╣я─п╡п╣я─ svnserve

п п╟п╨ п╬п╫ я─п╟п╠п╬я┌п╟п╣я┌:

"п⌡я▒пЁп╨п╦п╧" п©я─п╬я├п╣я│я│, п╨п╬я┌п╬я─я▀п╧ п╪п╬п╤п╣я┌ я─п╟п╠п╬я┌п╟я┌я▄ п╨п╟п╨ я│п╟п╪п╬я│я┌п╬я▐я┌п╣п╩я▄п╫п╬, я┌п╟п╨ п╦ "п©п╬ п╡я▀п╥п╬п╡я┐" inetd. п░я┐я┌п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▐ п©я─п╬п╦я│я┘п╬п╢п╦я┌ п©п╬ п╟п╩пЁп╬я─п╦я┌п╪я┐ CRAM-MD5. п≤я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ я│п╡п╬п╧ п©я─п╬я┌п╬п╨п╬п╩.

п÷я─п╣п╦п╪я┐я┴п╣я│я┌п╡п╟ п╢п╟п╫п╫п╬пЁп╬ п╡п╟я─п╦п╟п╫я┌п╟:
  • п▒я▀я│я┌я─п╟я▐ п╦ п╩я▒пЁп╨п╟я▐ я┐я│я┌п╟п╫п╬п╡п╨п╟.

  • п║п╣я┌п╣п╡п╬п╧ п©я─п╬я┌п╬п╨п╬п╩ п╠п╬п╩п╣п╣ п©я─п╬п╢п╡п╦п╫я┐я┌я▀п╧ п╦ я─п╟п╠п╬я┌п╟п╣я┌ п╬я┴я┐я┌п╦п╪п╬ п╠я▀я│я┌я─п╣п╣, я┤п╣п╪ WebDAV.

  • п²п╣я┌ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦ я│п╬п╥п╢п╟п╡п╟я┌я▄ п╫п╟ я│п╣я─п╡п╣я─п╣ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я▀п╣ я┐я┤я▒я┌п╫я▀п╣ п╥п╟п©п╦я│п╦.

  • п÷п╟я─п╬п╩я▄ п╫п╣ п©п╣я─п╣п╢п╟я▒я┌я│я▐ п©п╬ я│п╣я┌п╦.

п²п╣п╢п╬я│я┌п╟я┌п╨п╦ п╢п╟п╫п╫п╬пЁп╬ п╡п╟я─п╦п╟п╫я┌п╟:
  • п÷я─п╬я┌п╬п╨п╬п╩ п╫п╣ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌ я┬п╦я└я─п╬п╡п╟п╫п╦п╣.

  • п■п╬я│я┌я┐п©п╣п╫ я┌п╬п╩я▄п╨п╬ п╬п╢п╦п╫ п╪п╣я┌п╬п╢ п╟я┐я┌п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦.

  • п÷п╟я─п╬п╩я▄ я┘я─п╟п╫п╦я┌я│я▐ п╫п╟ я│п╣я─п╡п╣я─п╣ п╬я┌п╨я─я▀я┌я▀п╪ я┌п╣п╨я│я┌п╬п╪.

  • п⌡п╬пЁп╦ п╫п╣ п╡п╣п╢я┐я┌я│я▐, п╢п╟п╤п╣ п╩п╬пЁ п╬я┬п╦п╠п╬п╨.

svnserve я┤п╣я─п╣п╥ SSH

п п╟п╨ п╬п╫ я─п╟п╠п╬я┌п╟п╣я┌:

п п╩п╦п╣п╫я┌ п©п╬п╢п╨п╩я▌я┤п╟п╣я┌я│я▐ п╨ я│п╣я─п╡п╣я─я┐ я│ п©п╬п╪п╬я┴я▄я▌ SSH, п╦я│п©п╬п╩я▄п╥я┐я▐ я│п╦я│я┌п╣п╪п╫я┐я▌ я┐я┤я▒я┌п╫я┐я▌ п╥п╟п©п╦я│я▄. п÷я─п╦ я█я┌п╬п╪ п╫п╟ я│п╣я─п╡п╣я─п╣ п╥п╟п©я┐я│п╨п╟п╣я┌я│я▐ п╡я─п╣п╪п╣п╫п╫я▀п╧ п©я─п╬я├п╣я│я│ svnserve. п·п╫ я─п╟п╠п╬я┌п╟п╣я┌ я│ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪, п╬п╠п╪п╣п╫п╦п╡п╟п╣я┌я│я▐ п╢п╟п╫п╫я▀п╪п╦ я│ п╨п╩п╦п╣п╫я┌п╬п╪ я┤п╣я─п╣п╥ SSH-я┌я┐п╫п╫п╣п╩я▄, п©п╬я│п╩п╣ я┤п╣пЁп╬, п©я─п╦ п╥п╟п╨я─я▀я┌п╦п╦ SSH-я│п╣я│я│п╦п╦, п╥п╟п╡п╣я─я┬п╟п╣я┌я│я▐. (п÷я─п╦ я█я┌п╬п╪ п╪п╣я┌п╬п╢п╣ п╡ я│п╦я│я┌п╣п╪п╣ п╫п╣ п╠я┐п╢п╣я┌ п©п╬я│я┌п╬я▐п╫п╫п╬ п╥п╟п©я┐я┴п╣п╫п╫я▀я┘ п©я─п╬я├п╣я│я│п╬п╡ svnserve).

п÷я─п╣п╦п╪я┐я┴п╣я│я┌п╡п╟ п╢п╟п╫п╫п╬пЁп╬ п╡п╟я─п╦п╟п╫я┌п╟:
  • п≤я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╧ stateful-п©я─п╬я┌п╬п╨п╬п╩ п╥п╫п╟я┤п╦я┌п╣п╩я▄п╫п╬ п╠я▀я│я┌я─п╣п╣, я┤п╣п╪ WebDAV.

  • пёп╢п╬п╠я│я┌п╡п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ я│я┐я┴п╣я│я┌п╡я┐я▌я┴п╦я┘ я┐я┤я▒я┌п╫я▀я┘ п╥п╟п©п╦я│п╣п╧ п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╬п╧ п╦п╫я└я─п╟я│я┌я─я┐п╨я┌я┐я─я▀.

  • п▓п╣я│я▄ я│п╣я┌п╣п╡п╬п╧ я┌я─п╟я└я└п╦п╨ я┬п╦я└я─я┐п╣я┌я│я▐.

п²п╣п╢п╬я│я┌п╟я┌п╨п╦ п╢п╟п╫п╫п╬пЁп╬ п╡п╟я─п╦п╟п╫я┌п╟:
  • п▓я▀п╠п╬я─ п╬п╢п╫п╬пЁп╬ п╪п╣я┌п╬п╢п╟ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦

  • п√я┐я─п╫п╟п╩ п╫п╣ п╡п╣п╢п╣я┌я│я▐ п╡п╬п╬п╠я┴п╣, п╢п╟п╤п╣ п╥п╟п©п╦я│п╦ п╬п╠ п╬я┬п╦п╠п╨п╟я┘.

  • п╒я─п╣п╠я┐п╣я┌ п╬я┌ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п©я─п╦п╫п╟п╢п╩п╣п╤п╫п╬я│я┌п╦ п╨ п╬п╢п╫п╬п╧ пЁя─я┐п©п©п╣ п╦п╩п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╬п╠я┴п╣пЁп╬ п╨п╩я▌я┤п╟ ssh.

  • п°п╬п╤п╣я┌ п©я─п╦п╡п╣я│я┌п╦ п╨ п©я─п╬п╠п╩п╣п╪п╟п╪ я│ п©я─п╟п╡п╟п╪п╦.

п▓я▀п╠п╬я─ п╩я┐я┤я┬п╣п╧ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ я│п╣я─п╡п╣я─п╟

п≤я┌п╟п╨, п╨п╟п╨п╬п╧ я│п╣я─п╡п╣я─ п╩я┐я┤я┬п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄? п п╟п╨п╬п╧ п╦п╥ п╫п╦я┘ п╩я┐я┤я┬п╣?

п п╬п╫п╣я┤п╫п╬, п╫п╟ я█я┌п╬я┌ п╡п╬п©я─п╬я│ п╫п╣я┌ я┌п╬я┤п╫п╬пЁп╬ п╬я┌п╡п╣я┌п╟. п п╟п╤п╢п╟я▐ п╨п╬п╪п╟п╫п╢п╟ п╦п╪п╣п╣я┌ я│п╡п╬п╦ п©п╬я┌я─п╣п╠п╫п╬я│я┌п╦, п╦ п╨п╟п╤п╢я▀п╧ я│п╣я─п╡п╣я─ п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣я┌ я│п╡п╬п╧ п╫п╟п╠п╬я─ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╣п╧. п║п╟п╪ п©я─п╬п╣п╨я┌ Subversion п╫п╣ п©я─п╣п╢п©п╬я┤п╦я┌п╟п╣я┌ п╨п╟п╨п╬п╧-я┌п╬ п╬п╢п╦п╫ я│п╣я─п╡п╣я─ п╦ п╫п╣ п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ п╬п╢п╦п╫ п╦п╥ п╫п╦я┘ п╨п╟п╨ п╠п╬п╩п╣п╣ б╚п╬я└п╦я├п╦п╟п╩я▄п╫я▀п╧б╩.

п■п╩я▐ п╫п╣п╠п╬п╩я▄я┬п╬п╧ п╨п╬п╪п╟п╫п╢я▀, п╨п╬я┌п╬я─п╟я▐ я┘п╬я┤п╣я┌ п╫п╟я┤п╟я┌я▄ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я│п╣я─п╡п╣я─ Subversion, п╟п╡я┌п╬я─я▀ я█я┌п╬п╧ п╨п╫п╦пЁп╦ я─п╣п╨п╬п╪п╣п╫п╢я┐я▌я┌ п©я─п╬я│я┌я┐я▌ я┐я│я┌п╟п╫п╬п╡п╨я┐ svnserve; п╬п╫ п©я─п╬я│я┌ п╡ п╫п╟я│я┌я─п╬п╧п╨п╣ п╦ я┌я─п╣п╠я┐п╣я┌ п╪п╦п╫п╦п╪п╟п╩я▄п╫я▀я┘ я┐я│п╦п╩п╦п╧ п╫п╟ п©п╬п╢п╢п╣я─п╤п╨я┐. п÷п╬п╪п╫п╦я┌п╣, я┤я┌п╬ п╡я▀ п╡я│п╣пЁп╢п╟ п╪п╬п╤п╣я┌п╣ п©п╣я─п╣п╧я┌п╦ п╫п╟ п╠п╬п╩п╣п╣ п╨п╬п╪п©п╩п╣п╨я│п╫п╬п╣ я─п╣я┬п╣п╫п╦п╣, п╨п╬пЁп╢п╟ п╡п╟я┬п╦ п©п╬я┌я─п╣п╠п╫п╬я│я┌п╦ п╡я▀я─п╟я│я┌я┐я┌.

п▓п╬я┌ п╫п╣я│п╨п╬п╩я▄п╨п╬ п╬п╠я┴п╦я┘ я─п╣п╨п╬п╪п╣п╫п╢п╟я├п╦п╧, п╬я│п╫п╬п╡п╟п╫п╫я▀я┘ п╫п╟ п╪п╫п╬пЁп╬п╩п╣я┌п╫п╣п╪ п╬п©я▀я┌п╣ п©п╬п╢п╢п╣я─п╤п╨п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧:

  • If you're trying to set up the simplest possible server for your group, then a vanilla svnserve installation is the easiest, fastest route. Note, however, that your repository data will be transmitted in the clear over the network. If your deployment is entirely within your company's LAN or VPN, this isn't an issue. If the repository is exposed to the wide-open internet, then you might want to make sure the repository's contents aren't sensitive (e.g. it contains only open-source code.)

  • If you need to integrate with existing identity systems (LDAP, Active Directory, NTLM, X.509, etc.), then an Apache-based server is your only real option. Similarly, if you absolutely need server-side logs of either server errors or client activities, then an Apache-based server is required.

  • If you've decided to use either Apache or stock svnserve, create a single svn user on your system, and run either Apache or svnserve as that user. Be sure to make the repository directory wholly owned by the svn user as well. These keeps the repository data nicely siloed and protected by operating system filesystem permissions, changeable by only the Subverion server process itself.

  • If you have an existing infrastructure heavily based on SSH accounts, and if your users already have system accounts on your server machine, then it makes sense to deploy an svnserve-over-ssh solution. Otherwise, we don't recommend this option to the general public. It's generally considered safer to have your users access the repository via (imaginary) accounts managed by svnserve or Apache, rather than by full-blown system accounts. If your deep desire for encrypted communication still draws you to this option, we recommend using Apache with SSL instead.

  • Do not be seduced by the simple idea of having all of your users access a repository directly via file:/// URLs. Even if the repository is readily available to everyone via network share, this is a bad idea. It removes any layers of protection between the users and the repository: users can accidentally (or intentionally) corrupt the repository database, it becomes hard to take the repository 'offline' for inspection or upgrade, and it can lead to a mess of file-permissions problems (see б╚Supporting Multiple Repository Access Methodsб╩.) Note that this is also one of the reasons we warn against accessing repositories via svn+ssh:// URLs Б─■ from a security standpoint, it's effectively the same as local users accessing via file:///, and can entail all the same problems if the administrator isn't careful.)

п║п╣я┌п╣п╡п╟я▐ п╪п╬п╢п╣п╩я▄

п╜я┌п╬я┌ я─п╟п╥п╢п╣п╩ я▐п╡п╩я▐п╣я┌я│я▐ п╬п╠я│я┐п╤п╢п╣п╫п╦п╣п╪ я┌п╬пЁп╬, п╨п╟п╨ п╨п╩п╦п╣п╫я┌ п╦ я│п╣я─п╡п╣я─ Subversion п╡п╥п╟п╦п╪п╬п╢п╣п╧я│я┌п╡я┐я▌я┌ п╢я─я┐пЁ я│ п╢я─я┐пЁп╬п╪, п╡п╫п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╬я┌ п╦я│п©п╬п╩я▄п╥я┐п╣п╪п╬пЁп╬ п╡п╟п╪п╦ я│п╣я┌п╣п╡п╬пЁп╬ я─п╣я┬п╣п╫п╦я▐. п÷п╬я│п╩п╣ п©я─п╬я┤я┌п╣п╫п╦я▐ п╡я▀ п╠я┐п╢п╣я┌п╣ п©п╬п╫п╦п╪п╟я┌я▄, п╨п╟п╨ я─п╟п╠п╬я┌п╟п╣я┌ я│п╣я─п╡п╣я─, п╟ я┌п╟п╨п╤п╣ п╥п╫п╟я┌я▄ я─п╟п╥п╩п╦я┤п╫я▀п╣ я│п©п╬я│п╬п╠я▀ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ п╨п╩п╦п╣п╫я┌п╟.

п≈п╟п©я─п╬я│я▀ п╦ п╬я┌п╨п╩п╦п╨п╦

п·я│п╫п╬п╡п╫п╟я▐ я┤п╟я│я┌я▄ я─п╟п╠п╬я┌я▀ п╨п╩п╦п╣п╫я┌п╟ Subversion п╬я┌п╫п╬я│п╦я┌я│я▐ п╨ я┐п©я─п╟п╡п╩п╣п╫п╦я▌ я─п╟п╠п╬я┤п╦п╪п╦ п╨п╬п©п╦я▐п╪п╦. п·п╢п╫п╟п╨п╬, п╨п╬пЁп╢п╟ п╡п╬п╥п╫п╦п╨п╟п╣я┌ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌я▄ п©п╬п╩я┐я┤п╦я┌я▄ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟, п╬п╫ п©п╬я│я▀п╩п╟п╣я┌ п╥п╟п©я─п╬я│ я│п╣я─п╡п╣я─я┐, п╟ я│п╣я─п╡п╣я─ п©п╬я│я▀п╩п╟п╣я┌ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╧ п╬я┌п╡п╣я┌. п÷п╬п╢я─п╬п╠п╫п╬я│я┌п╦ я│п╣я┌п╣п╡п╬пЁп╬ п©я─п╬я┌п╬п╨п╬п╩п╟ п╫п╣п╡п╦п╢п╦п╪я▀ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▌; п╨п╩п╦п╣п╫я┌ п©я▀я┌п╟п╣я┌я│я▐ я┐я│я┌п╟п╫п╬п╡п╦я┌я▄ я│п╡я▐п╥я▄ я│ URL, п╦, п╡ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╬я┌ я│я┘п╣п╪я▀ URL, п╦я│п©п╬п╩я▄п╥я┐п╣я┌ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╧ п©я─п╬я┌п╬п╨п╬п╩ я│п╡я▐п╥п╦ я│ я│п╣я─п╡п╣я─п╬п╪ (я│п╪п╬я┌я─п╦я┌п╣ URL я┘я─п╟п╫п╦п╩п╦я┴п╟). п÷п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╪п╬пЁя┐я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╨п╬п╪п╟п╫п╢я┐ svn --version п╢п╩я▐ п©п╬п╩я┐я┤п╣п╫п╦я▐ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╬ я┌п╬п╪, я│ п╨п╟п╨п╦п╪п╦ я│я┘п╣п╪п╟п╪п╦ URL п╦ п©я─п╬я┌п╬п╨п╬п╩п╟п╪п╦ п╨п╩п╦п╣п╫я┌ я┐п╪п╣п╣я┌ я─п╟п╠п╬я┌п╟я┌я▄.

п п╬пЁп╢п╟ я│п╣я─п╡п╣я─ п©п╬п╩я┐я┤п╟п╣я┌ п╥п╟п©я─п╬я│ п╬я┌ п╨п╩п╦п╣п╫я┌п╟, п╬п╫ я┌я─п╣п╠я┐п╣я┌, я┤я┌п╬п╠я▀ п╨п╩п╦п╣п╫я┌ п╦п╢п╣п╫я┌п╦я└п╦я├п╦я─п╬п╡п╟п╩ я│п╣п╠я▐. п·п╫ п╬я┌я│я▀п╩п╟п╣я┌ п╥п╟п©я─п╬я│ п╬п╠ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╦п╦ п╩п╦я┤п╫п╬я│я┌п╦ п╨п╩п╦п╣п╫я┌п╟, п╫п╟ я┤я┌п╬ п╨п╩п╦п╣п╫я┌ я─п╣п╟пЁп╦я─я┐п╣я┌ п©я─п╣п╢п╬я│я┌п╟п╡п╩п╣п╫п╦п╣п╪ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ я│п╣я─п╡п╣я─я┐. п÷п╬я│п╩п╣ п╬п╨п╬п╫я┤п╟п╫п╦я▐ п©я─п╬я├п╣п╢я┐я─я▀ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╦я▐ п╩п╦я┤п╫п╬я│я┌п╦ я│п╣я─п╡п╣я─ п╬я┌я│я▀п╩п╟п╣я┌ п╨п╩п╦п╣п╫я┌я┐ п╦п╫я└п╬я─п╪п╟я├п╦я▌, п╨п╬я┌п╬я─я┐я▌ я┌п╬я┌ п╥п╟п©я─п╟я┬п╦п╡п╟п╩. п≈п╟п╪п╣я┌я▄я┌п╣, я┤я┌п╬ я█я┌п╟ я│п╦я│я┌п╣п╪п╟ п╬я┌п╩п╦я┤п╟п╣я┌я│я▐ п╬я┌ я┌п╟п╨п╦я┘, п╨п╟п╨ п╡ CVS, пЁп╢п╣ п╨п╩п╦п╣п╫я┌ п╡п╫п╟я┤п╟п╩п╣ п╬я┌я│я▀п╩п╟п╣я┌ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌, п╟ п©п╬я┌п╬п╪ я┐п╤п╣ п©п╬я│я▀п╩п╟п╣я┌ п╥п╟п©я─п╬я│. п▓ Subversion я│п╣я─п╡п╣я─ я│п╟п╪ п©п╬п╩я┐я┤п╟п╣я┌ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌, п╥п╟п©я─п╟я┬п╦п╡п╟я▐ п╣я▒ я┐ п╨п╩п╦п╣п╫я┌п╟ я┌п╬пЁп╢п╟, п╨п╬пЁп╢п╟ п╣п╪я┐ п╫я┐п╤п╫п╬. п╒п╟п╨п╬п╧ я│п©п╬я│п╬п╠ п╢п╣п╩п╟п╣я┌ п╬п©я─п╣п╢п╣п╩п╣п╫п╫я▀п╣ п╬п©п╣я─п╟я├п╦п╦ п╠п╬п╩п╣п╣ п╦п╥я▐я┴п╫я▀п╪п╦. п  п©я─п╦п╪п╣я─я┐, п╡ я│п╩я┐я┤п╟п╣, п╨п╬пЁп╢п╟ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦я▐ я│п╣я─п╡п╣я─п╟ п╬я┌п╨я─я▀п╡п╟п╣я┌ п╢п╬я│я┌я┐п© п╢п╩я▐ я┤я┌п╣п╫п╦я▐ п╡я│п╣п╪ п╠п╣п╥ п╬пЁя─п╟п╫п╦я┤п╣п╫п╦п╧, п╦ п╨п╩п╦п╣п╫я┌ п╡я▀п©п╬п╩п╫я▐п╣я┌ п╨п╬п╪п╟п╫п╢я┐ svn checkout, я│п╣я─п╡п╣я─ п╫п╣ п╠я┐п╢п╣я┌ п╥п╟п©я─п╟я┬п╦п╡п╟я┌я▄ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╢п╩я▐ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╦я▐ п╩п╦я┤п╫п╬я│я┌п╦.

п п╬пЁп╢п╟ п╨п╩п╦п╣п╫я┌я│п╨п╦п╧ п╥п╟п©я─п╬я│ п©п╦я┬п╣я┌ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╫п╬п╡я▀п╣ п╢п╟п╫п╫я▀п╣ (п╫п╟п©я─п╦п╪п╣я─ svn commit), я│п╬п╥п╢п╟п╣я┌я│я▐ п╫п╬п╡п╬п╣ п╢п╣я─п╣п╡п╬ п©я─п╟п╡п╬п╨. п∙я│п╩п╦ п╨п╩п╦п╣п╫я┌я│п╨п╦п╧ п╥п╟п©я─п╬я│ я┐я│п©п╣я┬п╫п╬ п©я─п╬я┬п╣п╩ п©я─п╬я├п╣п╢я┐я─я┐ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╦я▐ п╩п╦я┤п╫п╬я│я┌п╦, п╦п╪я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ я│п╬я┘я─п╟п╫я▐п╣я┌я│я▐ п╨п╟п╨ п╥п╫п╟я┤п╣п╫п╦п╣ я│п╡п╬п╧я│я┌п╡п╟ svn:author п╫п╬п╡п╬п╧ п©я─п╟п╡п╨п╦ (я│п╪п╬я┌я─п╦я┌п╣ б╚Unversioned Propertiesб╩). п∙я│п╩п╦ п╨п╩п╦п╣п╫я┌ п╫п╣ п╠я▀п╩ п╬п©п╬п╥п╫п╟п╫ (п╢я─я┐пЁп╦п╪п╦ я│п╩п╬п╡п╟п╪п╦, я│п╣я─п╡п╣я─ п╫п╦ я─п╟п╥я┐ п╫п╣ п©п╬я│п╩п╟п╩ п╥п╟п©я─п╬я│ п╬п╠ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╦п╦ п╩п╦я┤п╫п╬я│я┌п╦), я┌п╬ я│п╡п╬п╧я│я┌п╡п╬ svn:author п╬я│я┌п╟п╣я┌я│я▐ п©я┐я│я┌я▀п╪. [39]

п я█я┬п╦я─п╬п╡п╟п╫п╦п╣ п╨п╩п╦п╣п╫я┌я│п╨п╬п╧ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦

п°п╫п╬пЁп╦п╣ я│п╣я─п╡п╣я─я▀ я│п╨п╬п╫я└п╦пЁя┐я─п╦я─п╬п╡п╟п╫я▀ я┌п╟п╨п╦п╪ п╬п╠я─п╟п╥п╬п╪, я┤я┌п╬ п╬п╫п╦ я┌я─п╣п╠я┐я▌я┌ я┐я│я┌п╟п╫п╬п╡п╦я┌я▄ п╩п╦я┤п╫п╬я│я┌я▄ п©я─п╦ п╨п╟п╤п╢п╬п╪ п╥п╟п©я─п╬я│п╣. п╜я┌п╬ п╪п╬п╤п╣я┌ я│п╦п╩я▄п╫п╬ я─п╟п╥п╢я─п╟п╤п╟я┌я▄ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧, я┌я─п╣п╠я┐я▐ п╬я┌ п╫п╦я┘ п╡п╡п╬п╢п╟ п©п╟я─п╬п╩я▐ п╣я┴п╣ п╦ п╣я┴п╣ я─п╟п╥.

п  я│я┤п╟я│я┌я▄я▌, п╨п╩п╦п╣п╫я┌ Subversion я│п©п╟я│п╟п╣я┌ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╬я┌ я█я┌п╬пЁп╬: п╬п╫ п╦п╪п╣п╣я┌ п╡я│я┌я─п╬п╣п╫п╫я┐я▌ я│п╦я│я┌п╣п╪я┐ п╨я█я┬п╦я─п╬п╡п╟п╫п╦я▐ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╫п╟ п╢п╦я│п╨. п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌, п╨п╟п╤п╢я▀п╧ я─п╟п╥, п╨п╬пЁп╢п╟ п╨п╩п╦п╣п╫я┌ я┐я│п©п╣я┬п╫п╬ п©я─п╬я┘п╬п╢п╦я┌ п©я─п╬я├п╣п╢я┐я─я┐ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╦я▐ п╩п╦я┤п╫п╬я│я┌п╦ п╫п╟ я│п╣я─п╡п╣я─п╣, п╬п╫ я│п╬я┘я─п╟п╫я▐п╣я┌ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╡ п╬п╠п╩п╟я│я┌п╦ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ Б─■ п╡ ~/.subversion/auth/ п╫п╟ UNIX-я│п╦я│я┌п╣п╪п╟я┘ п╦ п╡ %APPDATA%/Subversion/auth/ п╡ Windows. (п÷п╬п╢я─п╬п╠п╫п╬ п©я─п╬ п╬п╠п╩п╟я│я┌я▄ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ я│п╪п╬я┌я─п╦я┌п╣ б╚п÷п╟я─п╟п╪п╣я┌я─я▀ п╡я─п╣п╪п╣п╫п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐б╩). п÷я─п╦ я┐я│п©п╣я┬п╫п╬п╪ п╬п©я─п╣п╢п╣п╩п╣п╫п╦п╦ п╩п╦я┤п╫п╬я│я┌п╦ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╟я▐ п╦п╫я└п╬я─п╪п╟я├п╦я▐ я│п╬я┘я─п╟п╫я▐п╣я┌я│я▐ п╫п╟ п╢п╦я│п╨ я│ п╨п╩я▌я┤п╬п╪, я│п╬я│я┌п╬я▐я┴п╦п╪ п╦п╥ п╦п╪п╣п╫п╦ я┘п╬я│я┌п╟, п©п╬я─я┌п╟ п╦ п╬п╠п╩п╟я│я┌п╦ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╦я▐ п╩п╦я┤п╫п╬я│я┌п╦.

п п╬пЁп╢п╟ п╨п╩п╦п╣п╫я┌ п©п╬п╩я┐я┤п╟п╣я┌ п╥п╟п©я─п╬я│ п╬п╠ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╦п╦ п╩п╦я┤п╫п╬я│я┌п╦, п╬п╫ п╡ п©п╣я─п╡я┐я▌ п╬я┤п╣я─п╣п╢я▄ п╦я┴п╣я┌ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴я┐я▌ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╡ п╢п╦я│п╨п╬п╡п╬п╪ п╨п╣я┬п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐; п╣я│п╩п╦ п╣п╣ п╫п╣я┌ п╡ п╨п╣я┬п╣ п╦п╩п╦ п╬п╫п╟ п╫п╣ п©я─п╬я┘п╬п╢п╦я┌ п©я─п╬я├п╣п╢я┐я─я┐ п╬п©п╬п╥п╫п╟п╫п╦я▐, п╨п╩п╦п╣п╫я┌ п©я─п╬я│п╦я┌ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╡п╡п╣я│я┌п╦ п╫п╣п╬п╠я┘п╬п╢п╦п╪я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌.

п⌡я▌п╢п╦, п©п╬п╪п╣я┬п╟п╫п╫я▀п╣ п╫п╟ п╠п╣п╥п╬п©п╟я│п╫п╬я│я┌п╦, п╪п╬пЁя┐я┌ п©п╬п╢я┐п╪п╟я┌я▄: б╚ п║п╬я┘я─п╟п╫я▐я┌я▄ п©п╟я─п╬п╩п╦ п╫п╟ п╢п╦я│п╨? п╜я┌п╬ я┐п╤п╟я│п╫п╬! п▓я▀ п╫п╦п╨п╬пЁп╢п╟ п╫п╣ п╢п╬п╩п╤п╫я▀ я┌п╟п╨ п╢п╣п╩п╟я┌я▄.б╩ п÷п╬п╤п╟п╩я┐п╧я│я┌п╟, я┐я│п©п╬п╨п╬п╧я┌п╣я│я▄, я█я┌п╬ п╫п╣ я┌п╟п╨ п╬п©п╟я│п╫п╬, п╨п╟п╨ п╨п╟п╤п╣я┌я│я▐.

  • п п╟я┌п╟п╩п╬пЁ auth/ п╥п╟я┴п╦я┴п╣п╫ я│п╦я│я┌п╣п╪п╬п╧ п©я─п╟п╡ п╢п╬я│я┌я┐п©п╟, п╨п╬я┌п╬я─п╟я▐ п©п╬п╥п╡п╬п╩я▐п╣я┌ я┤я┌п╣п╫п╦п╣ п╢п╟п╫п╫я▀я┘ п╦п╥ п╨п╟я┌п╟п╩п╬пЁп╟ я┌п╬п╩я▄п╨п╬ п╣пЁп╬ п╡п╩п╟п╢п╣п╩я▄я├я┐, п╦ п╠п╬п╩я▄я┬п╣ п╫п╦п╨п╬п╪я┐ п╡ п╪п╦я─п╣. п÷я─п╟п╡п╟ п╢п╬я│я┌я┐п©п╟ п╫п╟ я┐я─п╬п╡п╫п╣ п╬п©п╣я─п╟я├п╦п╬п╫п╫п╬п╧ я│п╦я│я┌п╣п╪я▀ п╥п╟я┴п╦я┴п╣п╫я▀ п©п╟я─п╬п╩п╣п╪.

  • п²п╟ п╬п©п╣я─п╟я├п╦п╬п╫п╫я▀я┘ я│п╦я│я┌п╣п╪п╟я┘ Windows 2000 п╦ я│я┌п╟я─я┬п╣ Subversion п╦я│п©п╬п╩я▄п╥я┐п╣я┌ я│я┌п╟п╫п╢п╟я─я┌п╫я▀п╣ я│я─п╣п╢я│я┌п╡п╟ я┬п╦я└я─п╬п╡п╟п╫п╦я▐ Windows п©я─п╦ я│п╬я┘я─п╟п╫п╣п╫п╦п╦ п©п╟я─п╬п╩я▐ п╫п╟ п╢п╦я│п╨. п÷п╬я│п╨п╬п╩я▄п╨я┐ п╨п╩я▌я┤ я┬п╦я└я─п╬п╡п╟п╫п╦я▐ я┐п©я─п╟п╡п╩я▐п╣я┌я│я▐ Windows п╦ п©я─п╦п╡я▐п╥я▀п╡п╟п╣я┌я│я▐ п╨ я┐я┤п╣я┌п╫п╬п╧ п╥п╟п©п╦я│п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐, я┌п╬ я┌п╬п╩я▄п╨п╬ п╡п╩п╟п╢п╣п╩п╣я├ я┐я┤п╣я┌п╫п╬п╧ п╥п╟п©п╦я│п╦ п╪п╬п╤п╣я┌ я─п╟я│я┬п╦я└я─п╬п╡п╟я┌я▄ я│п╬я┘я─п╟п╫п╣п╫п╫я▀п╧ п©п╟я─п╬п╩я▄. (п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣: п╣я│п╩п╦ п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╬я─ я│п╪п╣п╫п╦я┌ п©п╟я─п╬п╩я▄ п╢п╩я▐ я┐я┤п╣я┌п╫п╬п╧ п╥п╟п©п╦я│п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╡я│п╣ я│п╬я┘я─п╟п╫п╣п╫п╫я▀п╣ п╫п╟ п╢п╦я│п╨ п©п╟я─п╬п╩п╦ я│я┌п╟п╫я┐я┌ п╫п╣п╢п╣п╧я│я┌п╡п╦я┌п╣п╩я▄п╫я▀п╪п╦. п п╩п╦п╣п╫я┌ Subversion п╠я┐п╢п╣я┌ п╡п╣я│я┌п╦ я│п╣п╠я▐ я┌п╟п╨, я│п╩п╬п╡п╫п╬ п╦я┘ п╫п╣ я│я┐я┴п╣я│я┌п╡я┐п╣я┌, п╥п╟п©я─п╟я┬п╦п╡п╟я▐ п©п╟я─п╬п╩я▄, п╨п╬пЁп╢п╟ п╬п╫ п©п╬я┌я─п╣п╠я┐п╣я┌я│я▐.)

  • п■п╩я▐ я┌п╣я┘ п©п╟я─п╟п╫п╬п╦п╨п╬п╡, п╨п╬я┌п╬я─я▀п╣ пЁп╬я┌п╬п╡я▀ п╤п╣я─я┌п╡п╬п╡п╟я┌я▄ п╡я│п╣п╪п╦ я┐п╢п╬п╠я│я┌п╡п╟п╪п╦, п©я─п╣п╢я┐я│п╪п╬я┌я─п╣п╫п╟ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╬я┌п╨п╩я▌я┤п╣п╫п╦я▐ п╪п╣я┘п╟п╫п╦п╥п╪п╟ п╨п╣я┬п╦я─п╬п╡п╟п╫п╦я▐.

п╖я┌п╬п╠я▀ п╬я┌п╨п╩я▌я┤п╦я┌я▄ п╨п╣я┬п╦я─п╬п╡п╟п╫п╦п╣ п╢п╩я▐ я┌п╣п╨я┐я┴п╣п╧ п╨п╬п╪п╟п╫п╢я▀, п╦я│п©п╬п╩я▄п╥я┐п╧я┌п╣ п╨п╩я▌я┤ --no-auth-cache.

$ svn commit -F log_msg.txt --no-auth-cache
Authentication realm: <svn://host.example.com:3690> example realm
Username:  joe
Password for 'joe':

Adding         newfile
Transmitting file data .
Committed revision 2324.

# password was not cached, so a second commit still prompts us

$ svn delete newfile
$ svn commit -F new_msg.txt
Authentication realm: <svn://host.example.com:3690> example realm
Username:  joe
Б─╕

п·п╢п╫п╟п╨п╬, п╣я│п╩п╦ п╡я▀ я┘п╬я┌п╦я┌п╣ п╫п╟п╡я│п╣пЁп╢п╟ п╬я┌п╨п╩я▌я┤п╦я┌я▄ п╪п╣я┘п╟п╫п╦п╥п╪ п╨п╣я┬п╦я─п╬п╡п╟п╫п╦я▐ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦, п╡п╟п╪ п╫п╟п╢п╬ п╬я┌я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟я┌я▄ я└п╟п╧п╩ config (п╫п╟я┘п╬п╢п╦я┌я│я▐ п╡ п╨п╟я┌п╟п╩п╬пЁп╣ auth/). п÷я─п╬я│я┌п╬ я┐я│я┌п╟п╫п╬п╡п╦я┌п╣ п©п╟я─п╟п╪п╣я┌я─ store-auth-creds п╡ no. п▓я│я▒! п п╣я┬п╦я─п╬п╟п╫п╦п╣ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╫п╟ п╢п╦я│п╨ п╬я┌п╨п╩я▌я┤п╣п╫п╬!

[auth]
store-auth-creds = no

п≤п╫п╬пЁп╢п╟ я┌я─п╣п╠я┐п╣я┌я│я▐ я┐п╢п╟п╩п╦я┌я▄ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╦п╥ п╨п╣я┬п╟. п■п╩я▐ я█я┌п╬пЁп╬ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╡я─я┐я┤п╫я┐я▌ я┐п╢п╟п╩п╦я┌я▄ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╧ я└п╟п╧п╩ п╦п╥ п╨п╟я┌п╟п╩п╬пЁп╟ auth/. п≤п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╟я▐ п╦п╫я└п╬я─п╪п╟я├п╦я▐ я┘я─п╟п╫п╦я┌я│я▐ п╡ п╬я┌п╢п╣п╩я▄п╫я▀я┘ я└п╟п╧п╩п╟я┘; п╣я│п╩п╦ п╡я▀ п©я─п╬я│п╪п╬я┌я─п╦я┌п╣ я█я┌п╦ я└п╟п╧п╩я▀, п╡я▀ я┐п╡п╦п╢п╦я┌п╣ я│п©п╦я│п╬п╨ п╨п╩я▌я┤п╣п╧ п╦ п╦я┘ п╥п╫п╟я┤п╣п╫п╦п╧. п п╩я▌я┤ svn:realmstring п╬п©п╦я│я▀п╡п╟п╣я┌ п╨п╬п╫п╨я─п╣я┌п╫я┐я▌ realm я│п╣я─п╡п╣я─п╟, я│ п╨п╬я┌п╬я─п╬п╧ я│п╡я▐п╥п╟п╫ п╢п╟п╫п╫я▀п╧ я└п╟п╧п╩.

$ ls ~/.subversion/auth/svn.simple/
5671adf2865e267db74f09ba6f872c28
3893ed123b39500bca8a0b382839198e
5c3c22968347b390f349ff340196ed39

$ cat ~/.subversion/auth/svn.simple/5671adf2865e267db74f09ba6f872c28

K 8
username
V 3
joe
K 8
password
V 4
blah
K 15
svn:realmstring
V 45
<https://svn.domain.com:443> Joe's repository
END

п▓я▀ п╫п╟я┬п╩п╦ я┌я─п╣п╠я┐п╣п╪я▀п╧ я└п╟п╧п╩? п╒п╣п©п╣я─я▄ п©я─п╬я│я┌п╬ я┐п╢п╟п╩п╦я┌п╣ п╣пЁп╬.

п≤ п©п╬я│п╩п╣п╢п╫п╣п╣ п╬ п╫п╣п╨п╬я┌п╬я─я▀я┘ п╬я│п╬п╠п╣п╫п╫п╬я│я┌я▐я┘ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦ п╨п╩п╦п╣п╫я┌п╟, п╟ п╦п╪п╣п╫п╫п╬ п╫п╣п╠п╬п╩я▄я┬п╬п╣ я─п╟п╥я┼я▐я│п╫п╣п╫п╦п╣ п╨п╩я▌я┤п╣п╧ --username п╦ --password. п°п╫п╬пЁп╦п╣ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀ п╨п╩п╦п╣п╫я┌п╟ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ я█я┌п╦ п╨п╩я▌я┤п╦, п╬п╢п╫п╟п╨п╬ я│п╩п╣п╢я┐п╣я┌ п©п╬п╫п╦п╪п╟я┌я▄, я┤я┌п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ я█я┌п╦я┘ п╨п╩я▌я┤п╣п╧ п╫п╣ п©п╬п╢я─п╟п╥я┐п╪п╣п╡п╟п╣я┌ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨я┐я▌ п╬я┌я│я▀п╩п╨я┐ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╫п╟ я│п╣я─п╡п╣я─. п п╟п╨ п╬п╠я┼я▐я│п╫я▐п╩п╬я│я▄ я─п╟п╫я▄я┬п╣, я│п╣я─п╡п╣я─ п©п╬п╩я┐я┤п╟п╣я┌ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬я┌ п╨п╩п╦п╣п╫я┌п╟ я┌п╬п╩я▄п╨п╬ я┌п╬пЁп╢п╟, п╨п╬пЁп╢п╟ я│я┤п╦я┌п╟п╣я┌, я┤я┌п╬ я█я┌п╬ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬; п╨п╩п╦п╣п╫я┌ п╫п╣ п╪п╬п╤п╣я┌ п©п╣я─п╣п╢п╟я┌я▄ п╣я▒ я│п╣я─п╡п╣я─я┐ п©п╬ я│п╡п╬п╣п╧ п╦п╫п╦я├п╦п╟я┌п╦п╡п╣. п п╬пЁп╢п╟ п╦п╪я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╦ п©п╟я─п╬п╩я▄ п©п╣я─п╣п╢п╟я▌я┌я│я▐ п╡ п╨п╩я▌я┤п╟я┘, п╬п╫п╦ п╠я┐п╢я┐я┌ п╬я┌п╬я│п╩п╟п╫я▀ я│п╣я─п╡п╣я─я┐ я┌п╬п╩я▄п╨п╬ п╡ я┌п╬п╪ я│п╩я┐я┤п╟п╣, п╣я│п╩п╦ я│п╣я─п╡п╣я─ п╥п╟п©я─п╬я│п╦я┌ п╦я┘. [40] п·п╠я▀я┤п╫п╬ я█я┌п╦ п╨п╩я▌я┤п╦ п╦я│п©п╬п╩я▄п╥я┐я▌я┌я│я▐ п╡ я│п╩п╣п╢я┐я▌я┴п╦я┘ я│п╩я┐я┤п╟я▐я┘:

  • п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╫п╣ я┘п╬я┤п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я┌п╣п╨я┐я┴я┐я▌ я┐я┤п╣я┌п╫я┐я▌ п╥п╟п©п╦я│я▄, п╦п╩п╦

  • я│п╨я─п╦п©я┌ я┘п╬я┤п╣я┌ п©я─п╬п╧я┌п╦ п╬п©п╬п╥п╫п╟п╫п╦п╣ п╩п╦я┤п╫п╬я│я┌п╦, п╫п╣ п╦я│п©п╬п╩я▄п╥я┐я▐ я│п╬я┘я─п╟п╫я▒п╫п╫я▀п╣ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫я▀п╣ п╢п╟п╫п╫я▀п╣.

п▓п╬я┌ п╦я┌п╬пЁп╬п╡п╬п╣ п╬п©п╦я│п╟п╫п╦п╣, п╨п╟п╨ п╨п╩п╦п╣п╫я┌ Subversion п╡п╣п╢п╣я┌ я│п╣п╠я▐ п╨п╬пЁп╢п╟ п╬п╫ п©п╬п╩я┐я┤п╟п╣я┌ п╥п╟п©я─п╬я│ п╫п╟ п╟п╡я┌п╬я─п╦п╥п╟я├п╦я▌:

  1. п÷я─п╬п╡п╣я─я▐п╣я┌ я┐п╨п╟п╥п╟п╩ п╩п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╩я▌п╠я┐я▌ п╟п╡я┌п╬я─п╦п╥п╟я├п╦п╬п╫п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╨п╟п╨ п©п╟я─п╟п╪п╣я┌я─я▀ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦, я┤п╣я─п╣п╥ --username п╦/п╦п╩п╦ --password. п∙я│п╩п╦ п╫п╣я┌ п╦п╩п╦ п╣я│п╩п╦ я█я┌п╦ п©п╟я─п╟п╪п╣я┌я─я▀ п╫п╣ п©я─п╬я┬п╩п╦ п╟п╡я┌п╬я─п╦п╥п╟я├п╦я▌, я┌п╬пЁп╢п╟

  2. п÷я─п╬я│п╪п╟я┌я─п╦п╡п╟п╣я┌ п╬п╠п╩п╟я│я┌я▄ я│п╣я─п╡п╣я─п╟ п╡ я─п╟п╥п╢п╣п╩п╣ auth/ п╫п╟ п©я─п╣п╢п╪п╣я┌ п╠я▀п╩п╦ п╩п╦ п╥п╟п╨п╣я┬п╦я─п╬п╡п╟п╫я▀ п╢п╟п╫п╫я▀п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐. п∙я│п╩п╦ п╫п╣я┌, п╦п╩п╦ п╣я│п╩п╦ п╥п╟п╨п╣я┬п╦я─п╬п╡п╟п╫п╫я▀п╣ п╢п╟п╫п╫я▀п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╫п╣ п©я─п╬я┬п╩п╦ п╟п╡я┌п╬я─п╦п╥п╟я├п╦я▌, я┌п╬пЁп╢п╟

  3. п·п╠я─п╟я┴п╟п╣я┌я│я▐ я│ п╥п╟п©я─п╬я│п╬п╪ п╨ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▌.

п∙я│п╩п╦ п╨п╩п╦п╣п╫я┌ я┐я│п©п╣я┬п╫п╬ п╦п╢п╣п╫я┌п╦я└п╦я├п╦я─п╬п╡п╟п╫ я┤п╣я─п╣п╥ п╩я▌п╠п╬п╧ п╦п╥ п╪п╣я┌п╬п╢п╬п╡, п©п╣я─п╣я┤п╦я│п╩п╣п╫п╫я▀я┘ п╡я▀я┬п╣, п╬п╫ п╠я┐п╢п╣я┌ п©я▀я┌п╟я┌я▄я│я▐ п╥п╟п╨п╣я┬п╦я─п╬п╡п╟я┌я▄ п╢п╟п╫п╫я▀п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╫п╟ п╢п╦я│п╨ (п╥п╟ п╦я│п╨п╩я▌я┤п╣п╫п╦п╣п╪ я│п╩я┐я┤п╟п╡, п╨п╬пЁп╢п╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╥п╟п©я─п╣я┌п╦п╩ я█я┌п╬ п©п╬п╡п╣п╢п╣п╫п╦п╣, п╨п╟п╨ п╬п©п╦я│я▀п╡п╟п╩п╬я│я▄ я─п╟п╫п╣п╣).

п║п╬п╠я│я┌п╡п╣п╫п╫я▀п╧ я│п╣я─п╡п╣я─ svnserve

п÷я─п╬пЁя─п╟п╪п╪п╟ svnserve п╩п╣пЁп╨п╦п╧ я│п╣я─п╡п╣я─, я│п©п╬я│п╬п╠п╫я▀п╧ п╬п╠я┴п╟я┌я▄я│я▐ я│ п╨п╩п╦п╣п╫я┌п╟п╪п╦ я┤п╣я─п╣п╥ TCP/IP, п╦я│п©п╬п╩я▄п╥я┐я▐ я│п╬п╠я│я┌п╡п╣п╫п╫я▀п╧ п©я─п╬я│я┌п╬п╧ п©я─п╬я┌п╬п╨п╬п╩. п п╩п╦п╣п╫я┌я▀ п╬п╠я─п╟я┴п╟я▌я┌я│я▐ п╨ я│п╣я─п╡п╣я─я┐, svnserve п╦я│п©п╬п╩я▄п╥я┐я▐ URL, п╨п╬я┌п╬я─я▀п╧ п╫п╟я┤п╦п╫п╟п╣я┌я│я▐ я│ svn:// п╦п╩п╦ svn+ssh://. п▓ я█я┌п╬п╪ я─п╟п╥п╢п╣п╩п╣ я─я│п╨п╟п╥я▀п╡п╟п╣я┌я│я▐ п╬ я─п╟п╥п╩п╦я┤п╫я▀я┘ я│п©п╬я│п╬п╠п╟я┘ п╥п╟п©я┐я│п╨п╟ svnserve, п╬ я┌п╬п╪ п╨п╟п╨ п╨п╩п╦п╣п╫я┌я▀ п╟я┐я┌п╣п╫я┌п╦я└п╦я├п╦я─я┐я▌я┌я│я▐ п╫п╟ я│п╣я─п╡п╣я─п╣ п╦ п╬ п╫п╟я│я┌я─п╬п╧п╨п╣ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦я┘ п©я─п╟п╡п╦п╩ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐.

п≈п╟п©я┐я│п╨ п║п╣я─п╡п╣я─п╟

п║я┐я┴п╣я│я┌п╡я┐п╣я┌ п╫п╣я│п╨п╬п╩я▄п╨п╬ я─п╟п╥п╩п╦я┤п╫я▀я┘ я│п©п╬я│п╬п╠п╬п╡ п╥п╟п©я┐я│я┌п╦я┌я▄ п©я─п╬пЁя─п╟п╪п╪я┐ svnserve. п÷я─п╦ п╥п╟п©я┐я│п╨п╣ п╠п╣п╥ п©п╟я─п╟п╪п╣я┌я─п╬п╡, п╫п╦я┤п╣пЁп╬ п╨я─п╬п╪п╣ я│п©я─п╟п╡п╬я┤п╫п╬пЁп╬ я│п╬п╬п╠я┴п╣п╫п╦я▐ п╡я▀ п╫п╣ я┐п╡п╦п╢п╦я┌п╣. п∙я│п╩п╦ п╡я▀ п©п╩п╟п╫п╦я─я┐п╣я┌п╣ п╥п╟п©я┐я│п╨п╟я┌я▄ п©я─п╬я├п╣я│я│ я┤п╣я─п╣п╥ inetd, п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ я┐п╨п╟п╥я▀п╡п╟я┌я▄ п©п╟я─п╟п╪п╣я┌я─ -i (--inetd):

$ svnserve -i
( success ( 1 2 ( ANONYMOUS ) ( edit-pipeline ) ) )

п÷я─п╦ п╥п╟п©я┐я│п╨п╣ я│ п©п╟я─п╟п╪п╣я┌я─п╬п╪ --inetd, svnserve п╠я┐п╢п╣я┌ п©я▀я┌п╟я┌я▄я│я▐ п╬п╠я┴п╟я┌я▄я│я▐ я│ п╨п╩п╦п╣п╫я┌п╬п╪ Subversion я┤п╣я─п╣п╥ stdin п╦ stdout п╦я│п©п╬п╩я▄п╥я┐я▐ я│п╬п╠я│я┌п╡п╣п╫п╫я▀п╧ п©я─п╬я┌п╬п╨п╬п╩. п╜я┌п╬ я│я┌п╟п╫п╢п╟я─я┌п╫п╬п╣ п©п╬п╡п╣п╢п╣п╫п╦п╣ п╢п╩я▐ п©я─п╬пЁя─п╟п╪п╪, п╥п╟п©я┐я│п╨п╟п╣п╪я▀я┘ я┤п╣я─п╣п╥ inetd. IANA п╥п╟я─п╣п╥п╣я─п╡п╦я─п╬п╡п╟п╩ п©п╬я─я┌ 3690 п╢п╩я▐ п©я─п╬я┌п╬п╨п╬п╩п╟ Subversion, п©п╬я█я┌п╬п╪я┐ п╫п╟ unix-п©п╬п╢п╬п╠п╫я▀я┘ я│п╦я│я┌п╣п╪п╟я┘ п╡я▀ п╪п╬п╤п╣я┌п╣ п╢п╬п╠п╟п╡п╦я┌я▄ п╡ /etc/services я│я┌я─п╬п╨п╦ п©п╬п╢п╬п╠п╫я▀п╣ я█я┌п╦п╪ (п╡п╬п╥п╪п╬п╤п╫п╬, п╬п╫п╦ я┌п╟п╪ я┐п╤п╣ п╣я│я┌я▄):

svn           3690/tcp   # Subversion
svn           3690/udp   # Subversion

п∙я│п╩п╦ я│п╦я│я┌п╣п╪п╟ п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╨п╩п╟я│я│п╦я┤п╣я│п╨п╦п╧ Unix-п©п╬п╢п╬п╠п╫я▀п╧ п╢п╣п╪п╬п╫ inetd, п╡ /etc/inetd.conf п╪п╬п╤п╫п╬ п╢п╬п╠п╟п╡п╦я┌я▄ я┌п╟п╨я┐я▌ я│я┌я─п╬п╨я┐:

svn stream tcp nowait svnowner /usr/bin/svnserve svnserve -i

пёп╠п╣п╢п╦я┌п╣я│я▄, я┤я┌п╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ б╚svnownerб╩ п╦п╪п╣п╣я┌ п╫п╣п╬п╠я┘п╬п╢п╦п╪я▀п╣ п©я─п╟п╡п╟ п╢п╩я▐ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐. п÷п╬я│п╩п╣ я█я┌п╬пЁп╬, п╨п╬пЁп╢п╟ п╬я┌ п╨п╩п╦п╣п╫я┌п╟ п╨ я│п╣я─п╡п╣я─я┐ п╫п╟ п©п╬я─я┌ 3690 п©я─п╦п╢п╣я┌ п╥п╟п©я─п╬я│ п╫п╟ я│п╬п╣п╢п╦п╫п╣п╫п╦п╣, inetd п╥п╟п©я┐я│я┌п╦я┌ п©я─п╬я├п╣я│я│ svnserve п╢п╩я▐ п╬п╠я│п╩я┐п╤п╦п╡п╟п╫п╦я▐ я█я┌п╬пЁп╬ п╥п╟п©я─п╬я│п╟.

п²п╟ Windows я│п╦я│я┌п╣п╪п╟я┘, я│я┐я┴п╣я│я┌п╡я┐я▌я┌ я│я─п╣п╢я│я┌п╡п╟ п╬я┌ я│я┌п╬я─п╬п╫п╫п╦я┘ п©я─п╬п╦п╥п╡п╬п╢п╦я┌п╣п╩п╣п╧, п╨п╬я┌п╬я─я▀п╣ п╥п╟п©я┐я│п╨п╟я▌я┌ svnserve п╨п╟п╨ я│п╣я─п╡п╦я│. п║п©п╦я│п╬п╨ я█я┌п╦я┘ п╦п╫я│я┌я─я┐п╪п╣п╫я┌п╬п╡ п╪п╬п╤п╫п╬ п©п╬я│п╪п╬я┌я─п╣я┌я▄ п╫п╟ п╡п╣п╠-я│п╟п╧я┌п╣ Subversion.

п▓я┌п╬я─п╬п╧ п©п╟я─п╟п╪п╣я┌я─ п╥п╟п©я┐я│п╨п╟п╣я┌ svnserve п╨п╟п╨ п╟п╡я┌п╬п╫п╬п╪п╫я▀п╧ п©я─п╬я├п╣я│я│Б─■б╚п╢п╣п╪п╬п╫б╩. п■п╩я▐ я█я┌п╬пЁп╬ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п©п╟я─п╟п╪п╣я┌я─ -d:

$ svnserve -d
$               # svnserve is now running, listening on port 3690

п∙я│п╩п╦ svnserve п╥п╟п©я┐я│п╨п╟п╣я┌я│я▐ п╡ я─п╣п╤п╦п╪п╣ п╢п╣п╪п╬п╫п╟, п╪п╬п╤п╫п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╬п©я├п╦п╦ --listen-port= п╦ --listen-host=, я┤я┌п╬п╠я▀ п╫п╟п╥п╫п╟я┤п╦я┌я▄ п╫я┐п╤п╫п╬п╣ п╥п╫п╟я┤п╣п╫п╦п╣ п©п╬я─я┌п╟ п╦ п╦п╪п╣п╫п╦ я┘п╬я│я┌п╟, п╨ п╨п╬я┌п╬я─п╬п╪я┐ б╚п©я─п╦п╡я▐п╥п╟п╫б╩ svnserve.

п║я┐я┴п╣я│я┌п╡я┐п╣я┌ п╣я┴п╣ п╬п╢п╦п╫, я┌я─п╣я┌п╦п╧ я│п©п╬я│п╬п╠ п╥п╟п©я┐я│п╨п╟ svnserve, я│ п©п╟я─п╟п╪п╣я┌я─п╬п╪ -t Б─■ я█я┌п╬ я┌п╟п╨ п╫п╟п╥я▀п╡п╟п╣п╪я▀п╧ б╚я┌я┐п╫п╫п╣п╩я▄п╫я▀п╧ я─п╣п╤п╦п╪б╩. п╜я┌п╬я┌ я─п╣п╤п╦п╪ п©я─п╣п╢п©п╬п╩п╟пЁп╟п╣я┌, я┤я┌п╬ п©я─п╬пЁя─п╟п╪п╪я▀ я┐п╢п╟п╩п╣п╫п╫п╬пЁп╬ п╢п╬я│я┌я┐п©п╟ я┌п╟п╨п╦п╣ п╨п╟п╨ RSH п╦п╩п╦ SSH я┐п╤п╣ я┐я│п©п╣я┬п╫п╬ п╟я┐я┌п╣п╫я┌п╦я└п╦я├п╦я─п╬п╡п╟п╩п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╦ п╥п╟п©я┐я│п╨п╟я▌я┌ я┤п╟я│я┌п╫я▀п╧ п©я─п╬я├п╣я│я│ svnserve п╬я┌ п╦п╪п╣п╫п╦ я█я┌п╬пЁп╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐. п÷я─п╬пЁя─п╟п╪п╪п╟ svnserve я─п╟п╠п╬я┌п╟п╣я┌ п╡ п╬п╠я▀я┤п╫п╬п╪ я─п╣п╤п╦п╪п╣ (я─п╟п╠п╬я┌п╟я▐ я┤п╣я─п╣п╥ stdin п╦ stdout) п╦ п©я─п╣п╢п©п╬п╩п╟пЁп╟п╣я┌, я┤я┌п╬ я┌я─п╟я└п╦п╨ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ п©п╣я─п╣п╫п╟п©я─п╟п╡п╦я┌я│я▐ п©п╬ п╫п╣п╨п╬я┌п╬я─п╬п╪я┐ я┌я┐п╫п╣п╩я▌ п╨ п╨п╩п╦п╣п╫я┌я┐. п п╬пЁп╢п╟ svnserve п╥п╟п©я┐я┴п╣п╫ п©п╬п╢п╬п╠п╫я▀п╪ я┌я┐п╫п╫п╣п╩я▄п╫я▀п╪ п╟пЁп╣п╫я┌п╬п╪ я┐п╠п╣п╢п╦я┌п╣я│я▄ п╡ я┌п╬п╪ я┤я┌п╬ п╟я┐я┌п╣п╫я┌п╦я└п╦я├п╦я─п╬п╡п╟п╫я▀п╧ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╦п╪п╣п╣я┌ п©п╬п╩п╫я▀п╧ п╢п╬я│я┌я┐п© п╫п╟ я┤я┌п╣п╫п╦п╣ п╦ п╥п╟п©п╦я│я▄ п╨ я└п╟п╧п╩п╟п╪ п╠п╟п╥я▀ п╢п╟п╫п╫я▀я┘ я┘я─п╟п╫п╦п╩п╦я┴п╟. п÷п╬ я│я┐я┌п╦, я█я┌п╬ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐п╣я┌ п╬п╠я─п╟я┴п╣п╫п╦я▌ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐ п╩п╬п╨п╟п╩я▄п╫п╬пЁп╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ я┤п╣я─п╣п╥ URL п╡п╦п╢п╟ file:///.

п÷п╬я│п╩п╣ п╥п╟п©я┐я│п╨п╟ svnserve п╡я│п╣ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╫п╟ п╡п╟я┬п╣п╧ я│п╦я│я┌п╣п╪п╣ п╠я┐п╢я┐я┌ п╢п╬я│я┌я┐п©п╫я▀ я┤п╣я─п╣п╥ я│п╣я┌я▄. п п╩п╦п╣п╫я┌ п╢п╬п╩п╤п╣п╫ я┐п╨п╟п╥я▀п╡п╟я┌я▄ п╟п╠я│п╬п╩я▌я┌п╫я▀п╧ п©я┐я┌я▄ п╡ URL я┘я─п╟п╫п╦п╩п╦я┴п╟. п²п╟п©я─п╦п╪п╣я─, п╣я│п╩п╦ я┘я─п╟п╫п╦п╩п╦я┴п╣ я─п╟я│п©п╬п╩п╬п╤п╣п╫п╬ п╡ /usr/local/repositories/project1, п╬п╠я─п╟я┴п╟я┌я▄я│я▐ п╨ п╫п╣п╪я┐ п╨п╩п╦п╣п╫я┌ я│п╪п╬п╤п╣я┌ п©п╬ п╟п╢я─п╣я│я┐ svn://host.example.com/usr/local/repositories/project1. п╖я┌п╬п╠я▀ я┐п╡п╣п╩п╦я┤п╦я┌я▄ п╠п╣п╥п╬п©п╟я│п╫п╬я│я┌я▄, п╪п╬п╤п╫п╬ п©п╣я─п╣п╢п╟я┌я▄ svnserve п©п╟я─п╟п╪п╣я┌я─ -r, п╨п╬я┌п╬я─я▀п╧ я─п╟п╥я─п╣я┬п╦я┌ п╬п╠я─п╟я┴п╟я┌я▄я│я▐ я┌п╬п╩я▄п╨п╬ п╨ я┌п╣п╪ я┘я─п╟п╫п╦п╩п╦я┴п╟п╪, п╨п╬я┌п╬я─я▀п╣ я─п╟я│п©п╬п╩п╬п╤п╣п╫я▀ п╫п╦п╤п╣ я┐п╨п╟п╥п╟п╫п╫п╬пЁп╬ п©я┐я┌п╦:

$ svnserve -d -r /usr/local/repositories
Б─╕

п÷я─п╦п╪п╣п╫п╣п╫п╦п╣ п©п╟я─п╟п╪п╣я┌я─п╟ -r я█я└я└п╣п╨я┌п╦п╡п╫п╬ п╦п╥п╪п╣п╫я▐п╣я┌ п╪п╣я│я┌п╬п©п╬п╩п╬п╤п╣п╫п╦п╣ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟п╣п╪п╬п╣ п©я─п╬пЁя─п╟п╪п╪п╬п╧ п╨п╟п╨ п╨п╬я─п╣п╫я▄ я└п╟п╧п╩п╬п╡п╬п╧ я│п╦я│я┌п╣п╪я▀. п п╩п╦п╣п╫я┌я▀ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ URL, п╦п╥ п╨п╬я┌п╬я─п╬пЁп╬ я┐п╢п╟п╩п╣п╫ я█я┌п╬я┌ п©я┐я┌я▄, п╡ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ я┤п╣пЁп╬ URL п©п╬п╩я┐я┤п╟п╣я┌я│я▐ п╠п╬п╩п╣п╣ п╨п╬я─п╬я┌п╨п╦п╪ (п╦ п╪п╣п╫п╣п╣ я─п╟п╥п╬п╠п╩п╟я┤п╦я┌п╣п╩я▄п╫я▀п╪):

$ svn checkout svn://host.example.com/project1
Б─╕

п▓я│я┌я─п╬п╣п╫п╫п╟я▐ п╟я┐я┌п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▐ п╦ п╟п╡я┌п╬я─п╦п╥п╟я├п╦я▐

п п╬пЁп╢п╟ п╨п╩п╦п╣п╫я┌ п©п╬п╢п╨п╩я▌я┤п╟п╣я┌я│я▐ п╨ svnserve, п©я─п╬п╦я│я┘п╬п╢п╦я┌ я│п╩п╣п╢я┐я▌я┴п╣п╣:

  • п п╩п╦п╣п╫я┌ я┐п╨п╟п╥я▀п╡п╟п╣я┌ я┌я─п╣п╠я┐п╣п╪п╬п╣ я┘я─п╟п╫п╦п╩п╦я┴п╣.

  • п║п╣я─п╡п╣я─ п╬п╠я─п╟п╠п╟я┌я▀п╡п╟п╣я┌ я└п╟п╧п╩ conf/svnserve.conf я┘я─п╟п╫п╦п╩п╦я┴п╟, п╦ п╫п╟я┤п╦п╫п╟п╣я┌ п╡я▀п©п╬п╩п╫я▐я┌я▄ п©я─п╟п╡п╦п╩п╟ п╟я┐я┌п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦ п╦ п╟п╡я┌п╬я─п╦п╥п╟я├п╦п╦, я┐п╨п╟п╥п╟п╫п╫я▀п╣ п╡ п╫п╣п╪.

  • п▓ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╬я┌ я│п╦я┌я┐п╟я├п╦п╦ п╦ п©я─п╟п╡п╦п╩ п╟п╡я┌п╬я─п╦п╥п╟я├п╦п╦,

    • п╨п╩п╦п╣п╫я┌я┐ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ я─п╟п╥я─п╣я┬п╣п╫п╬ п╢п╣п╩п╟я┌я▄ п╟п╫п╬п╫п╦п╪п╫я▀п╣ п╬п╠я─п╟я┴п╣п╫п╦я▐, п╠п╣п╥ п╥п╟п©я─п╬я│п╟ п╫п╟ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▌, п≤п⌡п≤

    • п╨п╩п╦п╣п╫я┌я┐ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ я│п╢п╣п╩п╟п╫ п╥п╟п©я─п╬я│ п╫п╟ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▌ п╡ п╩я▌п╠п╬п╧ п╪п╬п╪п╣п╫я┌, п≤п⌡п≤

    • п©я─п╦ я─п╟п╠п╬я┌п╣ п╡ б╚я┌я┐п╫п╫п╣п╩я▄п╫п╬п╪ я─п╣п╤п╦п╪п╣б╩, п╨п╩п╦п╣п╫я┌ п╬п╠я┼я▐п╡п╦я┌ я│п╣п╠я▐ я┐п╤п╣ п╦п╢п╣п╫я┌п╦я└п╦я├п╦я─п╬п╡п╟п╫п╫я▀п╪.

п▓п╬ п╡я─п╣п╪я▐ п╫п╟п©п╦я│п╟п╫п╦я▐ п╢п╟п╫п╫п╬пЁп╬ п╪п╟я┌п╣я─п╦п╟п╩п╟ я│п╣я─п╡п╣я─ п╥п╫п╟п╩ я┌п╬п╩я▄п╨п╬ п╬п╠ п╡я▀п╥п╬п╡п╣ п╟п╡я┌п╬я─п╦п╥п╟я├п╦п╦ я┤п╣я─п╣п╥ CRAM-MD5 [41]. п▓ я│я┐я┴п╫п╬я│я┌п╦, я│п╣я─п╡п╣я─ п╬я┌п©я─п╟п╡п╩я▐п╣я┌ п╫п╣п╨п╬я┌п╬я─я▀п╣ п╢п╟п╫п╫я▀п╣ п╨п╩п╦п╣п╫я┌я┐. п п╩п╦п╣п╫я┌, п╦я│п©п╬п╩я▄п╥я┐я▐ я┘я█я┬ п╟п╩пЁп╬я─п╦я┌п╪п╟ MD5, я│п╬п╥п╢п╟п╣я┌ п╬я┌п©п╣я┤п╟я┌п╬п╨ (fingerprint) п╦п╥ я│п╬п╡п╪п╣я┴п╣п╫п╫я▀я┘ п╡п╪п╣я│я┌п╣ я█я┌п╦я┘ п╢п╟п╫п╫я▀я┘ п╦ я│п╡п╬п╣пЁп╬ п©п╟я─п╬п╩я▐, п©п╬я│п╩п╣ я┤п╣пЁп╬ п╬я┌п©я─п╟п╡п╩я▐п╣я┌ я█я┌п╬я┌ п╬я┌п©п╣я┤п╟я┌п╬п╨ я│п╣я─п╡п╣я─я┐ п╨п╟п╨ п╬я┌п╡п╣я┌. п║п╣я─п╡п╣я─ п©я─п╬п╦п╥п╡п╬п╢п╦я┌ п©п╬п╢п╬п╠п╫я▀п╣ п╡я▀я┤п╦я│п╩п╣п╫п╦я▐ я│п╬ я│п╡п╬п╣п╧ п╡п╣я─я│п╦п╣п╧ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╬пЁп╬ п©п╟я─п╬п╩я▐ п╦ п©я─п╬п╡п╣я─я▐п╣я┌ п╦п╢п╣п╫я┌п╦я┤п╫п╬я│я┌я▄ я─п╣п╥я┐п╩я▄я┌п╟я┌п╬п╡. п╒п╟п╨п╦п╪ п╬п╠я─п╟п╥п╬п╪ п©п╟я─п╬п╩я▄ п╫п╦п╨п╬пЁп╢п╟ п╫п╣ п©п╣я─п╣п╢п╟п╣я┌я│я▐ п╡ п╬я┌п╨я─я▀я┌я┐я▌ п©п╬ я│п╣я┌п╦.

п╒п╟п╨п╤п╣ п╡п╬п╥п╪п╬п╤п╫п╬, я┤я┌п╬ п╨п╩п╦п╣п╫я┌ я┐п╤п╣ п╠я▀п╩ п╦п╢п╣п╫я┌п╦я└п╦я├п╦я─п╬п╡п╟п╫ я┤п╣я─п╣п╥ п╡п╫п╣я┬п╫п╣пЁп╬ я┌я┐п╫п╫п╣п╩я▄п╫п╬пЁп╬ п╟пЁп╣п╫я┌п╟, я┌п╟п╨п╬пЁп╬ п╨п╟п╨ SSH. п▓ я┌п╟п╨п╬п╪ я│п╩я┐я┤п╟п╣, я│п╣я─п╡п╣я─ п©я─п╬я│я┌п╬ п©я─п╬п╡п╣я─я▐п╣я┌ п╥п╟п©я┐я│я┌п╦п╡я┬п╣пЁп╬ п╣пЁп╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╦ п╡ п╢п╟п╩я▄п╫п╣п╧я┬п╣п╪ п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╦п╢п╣п╫я┌п╦я└п╦я├п╦я─п╬п╡п╟п╫п╫п╬п╣ п╦п╪я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐. п▒п╬п╩п╣п╣ п©п╬п╢я─п╬п╠п╫п╬ п╬п╠ я█я┌п╬п╪ я│п╪п╬я┌я─п╦ п╡ б╚SSH п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▐ п╦ п╟п╡я┌п╬я─п╦п╥п╟я├п╦я▐б╩.

п п╟п╨ п╡я▀ я┐п╤п╣ п╢п╬пЁп╟п╢п╟п╩п╦я│я▄, я└п╟п╧п╩ я┘я─п╟п╫п╦п╩п╦я┴п╟ svnserve.conf Б─■ я├п╣п╫я┌я─п╟п╩я▄п╫я▀п╧ п╪п╣я┘п╟п╫п╦п╥п╪ п╨п╬п╫я┌я─п╬п╩я▐ п©я─п╟п╡п╦п╩ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦ п╦ п╟п╡я┌п╬я─п╦п╥п╟я├п╦п╦. п╜я┌п╬я┌ я└п╟п╧п╩ п╦п╪п╣п╣я┌ я┌п╟п╨п╬п╧ п╤п╣ я└п╬я─п╪п╟я┌, п╨п╟п╨ п╦ п╢я─я┐пЁп╦п╣ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╬п╫п╫я▀п╣ я└п╟п╧п╩я▀ (я│п╪. б╚п÷п╟я─п╟п╪п╣я┌я─я▀ п╡я─п╣п╪п╣п╫п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐б╩): п╦п╪п╣п╫п╟ я│п╣п╨я├п╦п╧ п©п╬п╪п╣я┤п╣п╫я▀ п╨п╡п╟п╢я─п╟я┌п╫я▀п╪п╦ я│п╨п╬п╠п╨п╟п╪п╦ (([ п╦ ]), п╨п╬п╪п╪п╣п╫я┌п╟я─п╦п╦ п╫п╟я┤п╦п╫п╟я▌я┌я│я▐ я│ #, п╟ п╨п╟п╤п╢п╟я▐ я│п╣п╨я├п╦я▐ я│п╬п╢п╣я─п╤п╦я┌ п╬п©я─п╣п╢п╣п╩п╣п╫п╫я▀п╣ п©п╣я─п╣п╪п╣п╫п╫я▀п╣, п╨п╬я┌п╬я─я▀п╣ п╪п╬пЁя┐я┌ п╠я▀я┌я▄ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫я▀ п╢п╩я▐ п╨п╬п╫я└п╦пЁя┐я─п╦я─п╬п╡п╟п╫п╦я▐ (п©п╣я─п╣п╪п╣п╫п╫п╟я▐ = п╥п╫п╟я┤п╣п╫п╦п╣). п■п╟п╡п╟п╧я┌п╣ п©п╬я│п╪п╬я┌я─п╦п╪ п╫п╟ я█я┌п╬я┌ я└п╟п╧п╩ п╦ п╦п╥я┐я┤п╦п╪ п╨п╟п╨ п╦п╪ п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐.

п║п╬п╥п╢п╟п╫п╦п╣ я└п╟п╧п╩п╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п╦ п╬п╠п╩п╟я│я┌я▄ я┘я─п╟п╫п╦п╩п╦я┴п╟

п║п╣п╧я┤п╟я│, я│п╣п╨я├п╦я▐ [general] п╡svnserve.conf п╦п╪п╣п╣я┌ п╡я│п╣ п╫п╣п╬п╠я┘п╬п╢п╦п╪я▀п╣ п╡п╟п╪ п©п╣я─п╣п╪п╣п╫п╫я▀п╣. п²п╟я┤п╫п╣п╪ я│ п╬п©я─п╣п╢п╣п╩п╣п╫п╦я▐ я└п╟п╧п╩п╟, я│п╬п╢п╣я─п╤п╟я┴п╣пЁп╬ п╦п╪п╣п╫п╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п╦ п©п╟я─п╬п╩п╦, п╟ я┌п╟п╨п╤п╣ я│ п╬п╠п╩п╟я│я┌п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟:

[general]
password-db = userfile
realm = example realm

realm Б─■ я█я┌п╬ п╬п©я─п╣п╢п╣п╩я▐п╣п╪п╬п╣ п╡п╟п╪п╦ п╦п╪я▐. п·п╫п╬ я│п╬п╬п╠я┴п╟п╣я┌ п╨п╩п╦п╣п╫я┌п╟п╪, п╨ п╨п╟п╨п╬п╧ б╚п╬п╠п╩п╟я│я┌п╦ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦б╩ п╬п╫п╦ п©п╬п╢я│п╬п╣п╢п╦п╫я▐я▌я┌я│я▐; п╨п╩п╦п╣п╫я┌я┐ Subversion п╬п╫п╟ п╡я▀п╡п╬п╢п╦я┌я│я▐ п╡ п©я─п╦пЁп╩п╟я┬п╣п╫п╦п╦ п╨ п╟я┐я┌п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦, п╦ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╨п╟п╨ п╨п╩я▌я┤ (п╡п╪п╣я│я┌п╣ я│ п╦п╪п╣п╫п╣п╪ я│п╣я─п╡п╣я─п╟ п╦ п©п╬я─я┌п╬п╪) п╢п╩я▐ п╨я█я┬п╦я─п╬п╡п╟п╫п╦я▐ п╨п╩п╦п╣п╫я┌я│п╨п╬п╧ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╫п╟ п╢п╦я│п╨ (я│п╪. б╚п я█я┬п╦я─п╬п╡п╟п╫п╦п╣ п╨п╩п╦п╣п╫я┌я│п╨п╬п╧ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦б╩). п÷п╣я─п╣п╪п╣п╫п╫п╟я▐ password-db я┐п╨п╟п╥я▀п╡п╟п╣я┌ п╫п╟ п╬я┌п╢п╣п╩я▄п╫я▀п╧ я└п╟п╧п╩, п╨п╬я┌п╬я─я▀п╧ я│п╬п╢п╣я─п╤п╦я┌ я│п©п╦я│п╬п╨ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п╦ п©п╟я─п╬п╩п╦ п╡ я┌п╟п╨п╬п╪ п╤п╣ п©я─п╬я│я┌п╬п╪ я└п╬я─п╪п╟я┌п╣. п²п╟п©я─п╦п╪п╣я─:

[users]
harry = foopassword
sally = barpassword

п≈п╫п╟я┤п╣п╫п╦п╣ password-db п╪п╬п╤п╣я┌ п╠я▀я┌я▄ п╟п╠я│п╬п╩я▌я┌п╫я▀п╪ п╦п╩п╦ п╬я┌п╫п╬я│п╦я┌п╣п╩я▄п╫я▀п╪ п©я┐я┌п╣п╪ п╨ я└п╟п╧п╩я┐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧. п■п╩я▐ п╠п╬п╩я▄я┬п╦п╫я│я┌п╡п╟ п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╬я─п╬п╡, п╣пЁп╬ п╩п╣пЁя┤п╣ п╢п╣я─п╤п╟я┌я▄ п╡ conf/ п╬п╠п╩п╟я│я┌п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟, я─я▐п╢п╬п╪ я│ svnserve.conf. п║ п╢я─я┐пЁп╬п╧ я│я┌п╬я─п╬п╫я▀, п╡п╬п╥п╪п╬п╤п╫п╬, п╡я▀ п╥п╟я┘п╬я┌п╦я┌п╣ я─п╟п╥п╢п╣п╩я▐я┌я▄ п╬п╢п╦п╫ п╦ я┌п╬я┌ п╤п╣ я└п╟п╧п╩ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п╢п╩я▐ п╢п╡я┐я┘ п╦п╩п╦ п╠п╬п╩п╣п╣ я┘я─п╟п╫п╦п╩п╦я┴, п╡ я█я┌п╬п╪ я│п╩я┐я┤п╟п╣ я█я┌п╬я┌ я└п╟п╧п╩ я│я┌п╬п╦я┌ п©п╬п╪п╣я│я┌п╦я┌я▄ п╡ п╠п╬п╩п╣п╣ п╢п╬я│я┌я┐п©п╫п╬п╣ п╪п╣я│я┌п╬. п╔я─п╟п╫п╦п╩п╦я┴п╟ я─п╟п╥п╢п╣п╩я▐я▌я┴п╦п╣ я└п╟п╧п╩ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧, п╢п╬п╩п╤п╫я▀ п╠я▀я┌я▄ я┌п╟п╨п╤п╣ я│п╨п╬п╫я└п╦пЁя┐я─п╦я─п╬п╡п╟п╫я▀ я│ п╬п╢п╦п╫п╟п╨п╬п╡я▀п╪п╦ п╬п╠п╩п╟я│я┌я▐п╪п╦, я┌п╟п╨ п╨п╟п╨ я│п©п╦я│п╬п╨ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п©п╬ я│я┐я┴п╣я│я┌п╡я┐ п╬п©я─п╣п╢п╣п╩я▐п╣я┌ п╬п╠п╩п╟я│я┌я▄ п╟я┐я┌п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦. п⌠п╢п╣ п╠я▀ п╡ п╦я┌п╬пЁп╣ я└п╟п╧п╩ п╫п╣ п╫п╟я┘п╬п╢п╦п╩я│я▐, я┐п╠п╣п╢п╦я┌п╣я│я▄, я┤я┌п╬ я┐ п╫п╣пЁп╬ п╡я▀я│я┌п╟п╡п╩п╣п╫я▀ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╣ п©я─п╟п╡п╟ п╫п╟ я┤я┌п╣п╫п╦п╣/п╥п╟п©п╦я│я▄. п∙я│п╩п╦ п╡я▀ п╥п╫п╟п╣я┌п╣ п╬я┌ п╦п╪п╣п╫п╦ п╨п╟п╨п╬пЁп╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐(-п╣п╧) п╠я┐п╢п╣я┌ п╥п╟п©я┐я│п╨п╟я┌я▄я│я▐ svnserve, я┌п╬ п╬пЁя─п╟п╫п╦я┤я▄я┌п╣ п╢п╬я│я┌я┐п© п╫п╟ я┤я┌п╣п╫п╦п╣ я┌п╬п╩я▄п╨п╬ я┌п╣п╪ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪, п╨п╬я┌п╬я─я▀п╪ я█я┌п╬ п╫я┐п╤п╫п╬.

пёя│я┌п╟п╫п╬п╡п╨п╟ п╨п╬п╫я┌я─п╬п╩я▐ п╢п╬я│я┌я┐п©п╟

п∙я│я┌я▄ п╣я┴п╣ п╢п╡п╣ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я▀я┘ п©п╣я─п╣п╪п╣п╫п╫я▀п╣ п╡ svnserve.conf: п╬п╫п╦ п╬п©я─п╣п╢п╣п╩я▐я▌я┌, я┤я┌п╬ п╠я┐п╢я┐я┌ п╢п╬п©я┐я┴п╣п╫я▀ п╢п╣п╩п╟я┌я▄ п╫п╣ п╦п╢п╣п╫я┌п╦я└п╦я├п╦я─п╬п╡п╟п╫п╫я▀п╣ (п╟п╫п╬п╫п╦п╪п╫я▀п╣) п╦ п╦п╢п╣п╫я┌п╦я└п╦я├п╦я─п╬п╡п╟п╫п╫я▀п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦. п÷п╣я─п╣п╪п╣п╫п╫я▀п╣ anon-access п╦ auth-access п╪п╬пЁя┐я┌ п╦п╪п╣я┌я▄ п╥п╫п╟я┤п╣п╫п╦я▐: none, read, п╦п╩п╦ write. пёя│я┌п╟п╫п╬п╡п╨п╟ п╥п╫п╟я┤п╣п╫п╦я▐ п╡ none п╥п╟п©я─п╣я┴п╟п╣я┌ п╢п╬я│я┌я┐п© п╩я▌п╠п╬пЁп╬ я─п╬п╢п╟; read Б─■ п╢п╬я│я┌я┐п© п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐ я┌п╬п╩я▄п╨п╬ п╫п╟ я┤я┌п╣п╫п╦п╣, п╟ write Б─■ п©п╬п╥п╡п╬п╩я▐п╣я┌ п©п╬п╩п╫я▀п╧ п╢п╬я│я┌я┐п© п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐ п╫п╟ я┤я┌п╣п╫п╦п╣/п╥п╟п©п╦я│я▄. п²п╟п©я─п╦п╪п╣я─:

[general]
password-db = userfile
realm = example realm

# anonymous users can only read the repository
anon-access = read

# authenticated users can both read and write
auth-access = write

п≈п╫п╟я┤п╣п╫п╦я▐ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╫я▀п╣ п╡ п©я─п╦п╪п╣я─п╣ Б─■ я└п╟п╨я┌п╦я┤п╣я│п╨п╦ п╥п╫п╟я┤п╣п╫п╦я▐ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌, п╬п╫п╦ п╠я┐п╢я┐я┌ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫я▀ п╣я│п╩п╦ п╡я▀ п╫п╣ п╥п╟я┘п╬я┌п╦я┌п╣ п╬п©я─п╣п╢п╣п╩п╦я┌я▄ п╦я┘. п∙я│п╩п╦ п╡я▀ я┘п╬я┌п╦я┌п╣ п╠я▀я┌я▄ п╠п╬п╩п╣п╣ п╨п╬п╫я│п╣я─п╡п╟я┌п╦п╡п╫я▀п╪, я┌п╬ п╪п╬п╤п╣я┌п╣ п╥п╟п╠п╩п╬п╨п╦я─п╬п╡п╟я┌я▄ п©п╬п╩п╫п╬я│я┌я▄я▌ п╟п╫п╬п╫п╦п╪п╫я▀п╧ п╢п╬я│я┌я┐п©:

[general]
password-db = userfile
realm = example realm

# anonymous users aren't allowed
anon-access = none

# authenticated users can both read and write
auth-access = write

п║п╣я─п╡п╣я─ п©п╬п╫п╦п╪п╟п╣я┌ п╫п╣ я┌п╬п╩я▄п╨п╬ я┌п╟п╨п╦п╣ б╚п©п╬п╡п╣я─я┘п╫п╬я│я┌п╫я▀п╣б╩ п╬пЁя─п╟п╫п╦я┤п╣п╫п╦я▐ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐, п╫п╬ я┌п╟п╨п╤п╣ п╦ п╠п╬п╩п╣п╣ п╢п╣я┌п╟п╩я▄п╫я▀п╣, я│п╡я▐п╥п╟п╫п╫я▀п╣ я│ п╨п╬п╫п╨я─п╣я┌п╫я▀п╪п╦ я└п╟п╧п╩п╟п╪п╦ п╦ п╨п╟я┌п╟п╩п╬пЁп╟п╪п╦ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п╖я┌п╬п╠я▀ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я█я┌я┐ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄, п╡п╟п╪ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ я│п╬п╥п╢п╟я┌я▄ я└п╟п╧п╩, я│п╬п╢п╣я─п╤п╟я┴п╦п╧ я█я┌п╦ я│п©п╣я├п╦п╟п╩я▄п╫я▀п╣ п©я─п╟п╡п╦п╩п╟ п╦ я┐п╨п╟п╥п╟я┌я▄ п╨ п╫п╣п╪я┐ п©я┐я┌я▄ я│ п©п╬п╪п╬я┴я▄я▌ п©п╣я─п╣п╪п╣п╫п╫п╬п╧ authz-db:

[general]
password-db = userfile
realm = example realm

# Specific access rules for specific locations
authz-db = authzfile

п╓п╬я─п╪п╟я┌ я└п╟п╧п╩п╟ authzfile п╢п╣я┌п╟п╩я▄п╫п╬ п╬п©п╦я│п╟п╫ п╡ б╚Path-Based Authorizationб╩. п≈п╟п╪п╣я┌я▄я┌п╣, я┤я┌п╬ п©п╣я─п╣п╪п╣п╫п╫п╟я▐ authz-db п╦ п©п╟я─п╟ anon-access, auth-access п╢п╬п©я┐я│п╨п╟я▌я┌ я│п╬п╡п╪п╣я│я┌п╫п╬п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣; п╣я│п╩п╦ п╡я│п╣ п©п╣я─п╣п╪п╣п╫п╫я▀п╣ п╬п©я─п╣п╢п╣п╩п╣п╫я▀ п╬п╢п╫п╬п╡я─п╣п╪п╣п╫п╫п╬, я┌п╬ п╢п╩я▐ п©п╬п╩я┐я┤п╣п╫п╦я▐ п╢п╬я│я┌я┐п©п╟ п╢п╬п╩п╤п╫я▀ п╠я▀я┌я▄ я┐п╢п╬п╡п╩п╣я┌п╡п╬я─п╣п╫я▀ п╡я│п╣ п©я─п╟п╡п╦п╩п╟.

SSH п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▐ п╦ п╟п╡я┌п╬я─п╦п╥п╟я├п╦я▐

п▓я│я┌я─п╬п╣п╫п╫п╟я▐ п╡ svnserve п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▐ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ п╠п╬п╩п╣п╣ я┐п╢п╬п╠п╫п╬п╧, я┌п╟п╨ п╨п╟п╨ п╦п╥п╠п╣пЁп╟п╣я┌ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦ я│п╬п╥п╢п╟п╡п╟я┌я▄ я─п╣п╟п╩я▄п╫я▀п╣ я│п╦я│я┌п╣п╪п╫я▀п╣ я┐я┤п╣я┌п╫я▀п╣ п╥п╟п©п╦я│п╦. п║ п╢я─я┐пЁп╬п╧ я│я┌п╬я─п╬п╫я▀, п╫п╣п╨п╬я┌п╬я─я▀п╣ п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╬я─я▀ я┐п╤п╣ п╦п╪п╣я▌я┌ я┘п╬я─п╬я┬п╬ п╫п╟я│я┌я─п╬п╣п╫п╫я▀п╣ SSH п╬п╠п╬п╩п╬я┤п╨п╦ п╡ я│п╡п╬п╦я┘ я│п╦я│я┌п╣п╪п╟я┘. п▓ я█я┌п╬п╧ я│п╦я┌я┐п╟я├п╦п╦ п╡я│п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п©я─п╬п╣п╨я┌п╬п╡ я┐п╤п╣ п╦п╪п╣я▌я┌ я│п╦я│я┌п╣п╪п╫я▀п╣ я┐я┤п╣я┌п╫я▀п╣ п╥п╟п©п╦я│п╦ п╦ я│п©п╬я│п╬п╠п╫п╬я│я┌я▄ п╨ б╚SSH intoб╩ п╫п╟ я│п╣я─п╡п╣я─п╫я┐я▌ п╪п╟я┬п╦п╫я┐.

п÷я─п╬я┴п╣ п╡я│п╣пЁп╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ SSH п╡ я│п╡я▐п╥п╨п╣ я│ svnserve. п п╩п╦п╣п╫я┌я▀ п©я─п╬я│я┌п╬ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ п╢п╩я▐ п╨п╬п╫п╫п╣п╨я┌п╟ я│я┘п╣п╪я┐ svn+ssh://:

$ whoami
harry

$ svn list svn+ssh://host.example.com/repos/project
harry@host.example.com's password:  *****

foo
bar
baz
Б─╕

п▓ я█я┌п╬п╪ п©я─п╦п╪п╣я─п╣ п╨п╩п╦п╣п╫я┌ Subversion п╡п╬п╡п╩п╣п╨п╟п╣я┌ п╩п╬п╨п╟п╩я▄п╫я▀п╧ п©я─п╬я├п╣я│я│ ssh, я│п╬п╣п╢п╦п╫я▐п╣я┌я│я▐ я│ host.example.com, п╦п╢п╣п╫я┌п╦я└п╦я├п╦я─я┐п╣я┌я│я▐ п╨п╟п╨ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ harry, п╥п╟я┌п╣п╪ п©п╬я─п╬п╤п╢п╟п╣я┌ п╩п╦я┤п╫я▀п╧ п©я─п╬я├п╣я│я│ svnserve п╫п╟ я┐п╢п╟п╩п╣п╫п╫п╬п╧ п╪п╟я┬п╦п╫п╣ п╥п╟п©я┐я│п╨п╟п╣п╪я▀п╧ п╬я┌ п╦п╪п╣п╫п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ harry. п п╬п╪п╟п╫п╢п╟ svnserve п╠я▀п╩п╟ п╡п╬п╡п╩п╣я┤п╣п╫п╟ п╡ я─п╣п╤п╦п╪ я┌я┐п╫п╣п╩п╦я─п╬п╡п╟п╫п╦я▐ (-t) п╦ п╣п╣ я│п╣я┌п╣п╡п╬п╧ п©я─п╬я┌п╬п╨п╬п╩ п╠я▀п╩ б╚я┌я┐п╫п╣п╩п╦я─п╬п╡п╟п╫б╩ я┤п╣я─п╣п╥ п╥п╟я┬п╦я└я─п╬п╡п╟п╫п╫п╬п╣ я│п╬п╣п╢п╦п╫п╣п╫п╦п╣ я┤п╣я─п╣п╥ я┌я┐п╫п╣п╩я▄п╫п╬пЁп╬-п╟пЁп╣п╫я┌п╟ ssh. svnserve п╥п╫п╟п╣я┌ я┤я┌п╬ п╬п╫ п╥п╟п©я┐я┴п╣п╫ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪ harry, п╦ п╣я│п╩п╦ п╨п╩п╦п╣п╫я┌ п╡я▀п©п╬п╩п╫я▐п╣я┌ я└п╦п╨я│п╟я├п╦я▌, п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╣ п╦п╪я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╠я┐п╢п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╬ п╨п╟п╨ п╦п╪я▐ п╟п╡я┌п╬я─п╟ п╫п╬п╡п╬п╧ я─п╣п╡п╦п╥п╦п╦.

п▓п╟п╤п╫п╟я▐ п╡п╣я┴я▄ п╢п╩я▐ п©п╬п╫п╦п╪п╟п╫п╦я▐ п╥п╢п╣я│я▄, я█я┌п╬ я┌п╬ я┤я┌п╬ п╨п╩п╦п╣п╫я┌ Subversion п╫п╣ я│п╬п╣п╢п╦п╫я▐п╣я┌я│я▐ я│ п╥п╟п©я┐я┴п╣п╫п╫я▀п╪ п╢п╣п╪п╬п╫п╬п╪ svnserve. п╜я┌п╬я┌ п╪п╣я┌п╬п╢ п╢п╬я│я┌я┐п©п╟ п╫п╣ я┌я─п╣п╠я┐п╣я┌ п╢п╣п╪п╬п╫п╟, п╫п╦ п╢п╣п╩п╟п╣я┌ я┐п╡п╣п╢п╬п╪п╩п╣п╫п╦я▐ п╢п╟п╤п╣ п╣я│п╩п╦ п╬п╫ п©я─п╦я│я┐я┌я│я┌п╡я┐п╣я┌. п·п╫ п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╡ я├п╣п╩п╬п╪ я│п©п╬я│п╬п╠п╫п╬я│я┌я▄ ssh п╥п╟п©я┐я│п╨п╟я┌я▄ п╡я─п╣п╪п╣п╫п╫я▀п╧ п©я─п╬я├п╣я│я│ svnserve, п╨п╬я┌п╬я─я▀п╣ п╥п╟п╡п╣я─я┬п╟п╣я┌я│я▐ п╨п╬пЁп╢п╟ я│п╣я┌п╣п╡п╬п╣ я│п╬п╣п╢п╦п╫п╣п╫п╦п╣ п╥п╟п╨я─п╬п╣я┌я│я▐.

п п╬пЁп╢п╟ п╢п╩я▐ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ URL п╡п╦п╢п╟ svn+ssh://, п©п╬п╪п╫п╦я┌п╣ я┤я┌п╬ я█я┌п╬ п©я─п╬пЁя─п╟п╪п╪п╟ ssh п╥п╟п©я─п╟я┬п╦п╡п╟п╣я┌ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▌, п╟ п╫п╣ п╨п╩п╦п╣п╫я┌я│п╨п╟я▐ п©я─п╬пЁя─п╟п╪п╪п╟ svn. п╜я┌п╬ п╬п╥п╫п╟я┤п╟п╣я┌ я┤я┌п╬ п╫п╣я┌ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╬пЁп╬ п╨п╣я┬п╦я─п╬п╡п╟п╫п╦я▐ п©п╟я─п╬п╩п╣п╧ (я│п╪. б╚п я█я┬п╦я─п╬п╡п╟п╫п╦п╣ п╨п╩п╦п╣п╫я┌я│п╨п╬п╧ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦б╩). п п╩п╦п╣п╫я┌я▀ Subversion я┤п╟я│я┌п╬ п╢п╣п╩п╟я▌я┌ п╫п╣я│п╨п╬п╩я▄п╨п╬ я│п╬п╣п╢п╦п╫п╣п╫п╦п╧ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐, я┘п╬я┌я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╬п╠я▀я┤п╫п╬ п╫п╣ п╥п╫п╟я▌я┌ п╬п╠ я█я┌п╬п╪ п╦п╥-п╥п╟ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ п╨п╣я┬п╦я─п╬п╡п╟п╫п╦я▐ п©п╟я─п╬п╩п╣п╧. п·п╢п╫п╟п╨п╬ п╨п╬пЁп╢п╟ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ URL п╡п╦п╢п╟ svn+ssh:// URLs, п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╪п╬пЁя┐я┌ п╠я▀я┌я▄ я─п╟п╥п╢я─п╟п╤п╣п╫я▀ ssh п╦п╥-п╥п╟ п©п╬п╡я┌п╬я─я▐я▌я┴п╦я┘я│я▐ п╥п╟п©я─п╬я│п╬п╡ п©п╟я─п╬п╩я▐ п╢п╩я▐ п╨п╟п╤п╢п╬пЁп╬ п╦я│я┘п╬п╢я▐я┴п╣пЁп╬ я│п╬п╣п╢п╦п╫п╣п╫п╦я▐. п═п╣я┬п╣п╫п╦п╣ я█я┌п╬п╧ п©я─п╬п╠п╩п╣п╪я▀ п╥п╟п╨п╩я▌я┤п╟п╣я┌я│я▐ п╡ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦ п╬я┌п╢п╣п╩я▄п╫п╬пЁп╬ п╦п╫я│я┌я─я┐п╪п╣п╫я┌п╟ п╢п╩я▐ п╨п╣я┬п╦я─п╬п╡п╟п╫п╦я▐ п©п╟я─п╬п╩п╣п╧ SSH, п©п╬п╢п╬п╠п╫я▀я┘ ssh-agent п╫п╟ Unix-п©п╬п╢п╬п╠п╫я▀я┘ я│п╦я│я┌п╣п╪п╟я┘, п╦п╩п╦ pageant п╡ Windows.

п п╬пЁп╢п╟ п╡я▀п©п╬п╩п╫я▐п╣я┌я│я▐ я┤п╣я─п╣п╥ я┌я┐п╫п╣п╩п╦я─п╬п╡п╟п╫п╦п╣, п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▐ п©п╣я─п╡п╬п╫п╟я┤п╟п╩я▄п╫п╬ я┐п©я─п╟п╡п╩я▐п╣я┌я│я▐ п©я─п╟п╡п╟п╪п╦ п╬п©п╣я─п╟я├п╦п╬п╫п╫п╬п╧ я│п╦я│я┌п╣п╪я▀ п╫п╟ я└п╟п╧п╩я▀ п╠п╟п╥я▀ п╢п╟п╫п╫я▀я┘ я┘я─п╟п╫п╦п╩п╦я┴п╟; я█я┌п╬ п╬я┤п╣п╫я▄ п©п╬я┘п╬п╤п╣ п╫п╟ я┌п╬ п╨п╟п╨ п╣я│п╩п╦ п╠я▀ Harry п©п╬п╩я┐я┤п╟п╩п╟ п╢п╬я│я┌я┐п© п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐ п╫п╟п©я─я▐п╪я┐я▌ я┤п╣я─п╣п╥ URL file:///. п∙я│п╩п╦ п╫п╣я│п╨п╬п╩я▄п╨п╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ я│п╦я│я┌п╣п╪я▀ п©п╬п╩я┐я┤п╟я▌я┌ п╢п╬я│я┌я┐п© п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐ п╫п╟п©я─я▐п╪я┐я▌, п╡я▀ п╪п╬п╤п╣я┌п╣ п╥п╟я┘п╬я┌п╣я┌я▄ п©п╬п╪п╣я│я┌п╦я┌я▄ п╦я┘ п╡ п╬п╠я┴я┐я▌ пЁя─я┐п©п©я┐, п╦ п╡я▀ п╢п╬п╩п╤п╫я▀ п╠я┐п╢п╣я┌п╣ п╠я▀я┌я▄ п╬я┤п╣п╫я▄ п╬я│я┌п╬я─п╬п╤п╫я▀п╪ п©я─п╦ я─п╟п╥я─п╣я┬п╣п╫п╦п╦ (umasks). (п÷я─п╬я┤п╦я┌п╟п╧я┌п╣ б╚Supporting Multiple Repository Access Methodsб╩.) п²п╬ п╡ п╨п╟п╤п╢п╬п╪ я│п╩я┐я┤п╟п╣ я┌я┐п╫п╣п╩п╦я─п╬п╡п╟п╫п╦я▐ я└п╟п╧п╩ svnserve.conf п╪п╬п╤п╣я┌ п©я─п╬п╢п╬п╩п╤п╟я┌я▄ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╢п╩я▐ п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦я▐ п╢п╬я│я┌я┐п©п╟, п©я─п╬я│я┌п╬п╧ я┐я│я┌п╟п╫п╬п╡п╨п╬п╧ auth-access = read п╦п╩п╦ auth-access = none. [42]

п▓я▀ п╫п╣ п╢п╬п╩п╤п╫я▀ п╢я┐п╪п╟я┌я▄ я┤я┌п╬ я─п╟я│я│п╨п╟п╥ п╬ SSH я┌я┐п╫п╣п╩п╦я─п╬п╡п╟п╫п╦п╣ п╠я┐п╢п╣я┌ п╥п╟п╨п╬п╫я┤п╣п╫ п╥п╢п╣я│я▄. Subversion п©п╬п╥п╡п╬п╩я▐п╣я┌ п╡п╟п╪ я│п╬п╥п╢п╟п╡п╟я┌я▄ п╥п╟п╨п╟п╥п╫п╬п╣ п©п╬п╡п╣п╢п╣п╫п╦п╣ я┌я┐п╫п╣п╩я▐ п╡ я└п╟п╧п╩п╣ config (я│п╪п╬я┌я─п╦ б╚п÷п╟я─п╟п╪п╣я┌я─я▀ п╡я─п╣п╪п╣п╫п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐б╩). п²п╟п©я─п╦п╪п╣я─, п©я─п╣п╢п©п╬п╩п╬п╤п╦п╪ я┤я┌п╬ п╡я▀ я┘п╬я┌п╦я┌п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ RSH п╡п╪п╣я│я┌п╬ SSH. п▓ я─п╟п╥п╢п╣п╩п╣ [tunnels] я└п╟п╧п╩п╟ [tunnels] п©я─п╬я│я┌п╬ я┐п╨п╟п╤п╦я┌п╣ п©п╬п╢п╬п╠п╫п╬ я█я┌п╬п╪я┐:

[tunnels]
rsh = rsh

п≤ я│п╣п╧я┤п╟я│ п╡я▀ п╪п╬п╤п╣я┌п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╫п╬п╡п╬п╣ п╬п©я─п╣п╢п╣п╩п╣п╫п╦п╣ я┌я┐п╫п╫п╣п╩я▐ п╦я│п©п╬п╩я▄п╥я┐я▐ я│я┘п╣п╪я┐ URL п╨п╬я┌п╬я─п╟я▐ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐п╣я┌ п╦п╪п╣п╫п╦ п╡п╟я┬п╣п╧ п╫п╬п╡п╬п╧ п©п╣я─п╣п╪п╣п╫п╫п╬п╧: svn+rsh://host/path. п≈п╟я┌п╣п╪ п╦я│п©п╬п╩я▄п╥я┐я▐ п╫п╬п╡я┐я▌ я│я┘п╣п╪я┐ URL, п╨п╩п╦п╣п╫я┌ Subversion п╠я┐п╢п╣я┌ п╡я▀п©п╬п╩п╫я▐я┌я▄ п╨п╬п╪п╟п╫п╢я┐ rsh host svnserve -t п╥п╟ п╨я┐п╩п╦я│п╟п╪п╦. п∙я│п╩п╦ п╡я▀ п╡п╨п╩я▌я┤п╦я┌п╣ п╦п╪я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╡ URL (п╫п╟п©я─п╦п╪п╣я─, svn+rsh://username@host/path) п╨п╩п╦п╣п╫я┌ я┌п╟п╨п╤п╣ п╠я┐п╢п╣я┌ п╡п╨п╩я▌я┤п╟я┌я▄ п╣пЁп╬ п╡ я█я┌я┐ п╨п╬п╪п╟п╫п╢я┐ (rsh username@host svnserve -t). п²п╬ п╡я▀ п╪п╬п╤п╣я┌ п╬п©я─п╣п╢п╣п╩п╦я┌я▄ п╫п╬п╡я┐я▌ я│я┘п╣п╪я┐ я┌я┐п╫п╫п╣п╩п╦я─п╬п╡п╟п╫п╦я▐ п╨п╬я┌п╬я─п╟я▐ п╠я┐п╢п╣я┌ п╠п╬п╩п╣п╣ я┐п╪п╫п╟я▐ я┤п╣п╪ я█я┌п╟:

[tunnels]
joessh = $JOESSH /opt/alternate/ssh -p 29934

п╜я┌п╬я┌ п©я─п╦п╪п╣я─ п╢п╣п╪п╬п╫я│я┌я─п╦я─я┐п╣я┌ я│п╡я▐п╥п╟п╫п╫я▀п╣ п╡п╣я┴п╦. п║ п╫п╟я┤п╟п╩п╟ п╬п╫ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌ п╨п╟п╨ п╪п╬п╤п╫п╬ я│п╢п╣п╩п╟я┌я▄ я┤я┌п╬п╠я▀ п╨п╩п╦п╣п╫я┌ Subversion п╥п╟п©я┐я│п╨п╟п╩ п╬я┤п╣п╫я▄ я│п©п╣я├п╦я└п╦я┤п╣я│п╨я┐я▌ п©я─п╬пЁя─п╟п╪п╪я┐ я┌я┐п╫п╣п╩п╦я─п╬п╡п╟п╫п╦я▐ (п╬п╫п╟ я─п╟я│п©п╬п╩п╬п╤п╣п╫п╟ п╡ /opt/alternate/ssh) я│ п╫п╣п╨п╬я┌п╬я─я▀п╪ п©п╟я─п╟п╪п╣я┌я─п╬п╪. п▓ п╢п╟п╫п╫п╬п╪ я│п╩я┐я┤п╟п╣, п╢п╬я│я┌я┐п© п╨ svn+joessh:// п╠я┐п╢п╣я┌ п╡п╬п╡п╩п╣п╨п╟я┌я▄ п╬я│п╬п╠я┐я▌ п©я─п╬пЁя─п╟п╪п╪я┐ SSH я│ п╟я─пЁя┐п╪п╣п╫я┌п╟п╪п╦ -p 29934 Б─■ п©п╬п╩п╣п╥п╫п╬ п╣я│п╩п╦ п╡я▀ я┘п╬я┌п╦я┌п╣ я│п╬п╣п╢п╦п╫п╦я┌я▄ п©я─п╬пЁя─п╟п╪п╪я┐ я┌я┐п╫п╣п╩п╦я─п╬п╡п╟п╫п╦я▐ п╫п╟ п╫п╣я│я┌п╟п╫п╢п╟я─я┌п╫я▀п╧ п©п╬я─я┌.

п≈п╟я┌п╣п╪ п╬п╫ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌ п╨п╟п╨ п╬п©я─п╣п╢п╣п╩п╦я┌я▄ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨я┐я▌ п©п╣я─п╣п╪п╣п╫п╫я┐я▌ п╬п╨я─я┐п╤п╣п╫п╦я▐, п╨п╬я┌п╬я─п╟я▐ п╪п╬п╤п╣я┌ п©п╣я─п╣п╨я─я▀я┌я▄ п╦п╪я▐ п©я─п╬пЁя─п╟п╪п╪я▀ я┌я┐п╫п╣п╩п╦я─п╬п╡п╟п╫п╦я▐. пёя│я┌п╟п╫п╬п╡п╨п╟ п©п╣я─п╣п╪п╣п╫п╫п╬п╧ п╬п╨я─я┐п╤п╣п╫п╦я▐ SVN_SSH я█я┌п╬ я┐п╢п╬п╠п╫я▀п╧ п©я┐я┌я▄ п╢п╩я▐ п©п╣я─п╣п╨я─я▀я┌п╦я▐ п╟пЁп╣п╫я┌п╟ я┌я┐п╫п╣п╩п╦я─п╬п╡п╟п╫п╦я▐ SSH п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌. п²п╬ п╣я│п╩п╦ п╡я▀ п╫я┐п╤п╢п╟п╣я┌п╣я│я▄ п╡ п╫п╣я│п╨п╬п╩я▄п╨п╦я┘ я─п╟п╥п╩п╦я┤п╫я▀я┘ п©п╣я─п╣п╨я─я▀я┌п╦я▐я┘, п╢п╩я▐ я─п╟п╥п╫я▀я┘ я│п╣я─п╡п╣я─п╬п╡, п╨п╟п╤п╢я▀п╧ п╡п╬п╥п╪п╬п╤п╫п╬ п╡п╥п╟п╦п╪п╬п╢п╣п╧я│я┌п╡я┐п╣я┌ я│ я─п╟п╥п╫я▀п╪п╦ п©п╬я─я┌п╟п╪п╦ п╦п╩п╦ п©п╣я─п╣п╢п╟я┤п╟ я─п╟п╥п╩п╦я┤п╫я▀я┘ п╫п╟п╠п╬я─п╬п╡ п©п╟я─п╟п╪п╣я┌я─п╬п╡ п╡ SSH, п╡я▀ п╪п╬п╤п╣я┌п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╪п╣я┘п╟п╫п╦п╥п╪ п©п╬п╨п╟п╥п╟п╫п╫я▀п╧ п╡ я█я┌п╬п╪ п©я─п╦п╪п╣я─п╣. п║п╣п╧я┤п╟я│, п╣я│п╩п╦ п╡я▀ я┐я│я┌п╟п╫п╬п╡п╦я┌п╣ п©п╣я─п╣п╪п╣п╫п╫я┐я▌ п╬п╨я─я┐п╤п╣п╫п╦я▐ JOESSH, п╣п╣ п╥п╫п╟я┤п╣п╫п╦п╣ п╠я┐п╢п╣я┌ п©п╣я─п╣п╨я─я▀п╡п╟я┌я▄ я│п╬п╢п╣я─п╤п╦п╪п╬п╣ п©п╣я─п╣п╪п╣п╫п╫п╬п╧ я┌я┐п╫п╣п╩п╦я─п╬п╡п╟п╫п╦я▐ Б─■$JOESSH п╠я┐п╢п╣я┌ п╡я▀п©п╬п╩п╫я▐я┌я▄я│я▐ п╡п╪п╣я│я┌п╬ /opt/alternate/ssh -p 29934.

п╒я─я▌п╨п╦ п╨п╬п╫я└п╦пЁя┐я─п╦я─п╬п╡п╟п╫п╦я▐ SSH

п▓п╬п╥п╪п╬п╤п╫п╬ п╫п╣ я┌п╬п╩я▄п╨п╬ я┐п©я─п╟п╡п╩я▐я┌я▄ п╨п╟п╨ п╨п╩п╦п╣п╫я┌ п╡я▀п©п╬п╩п╫я▐п╣я┌ ssh, п╫п╬ я┌п╟п╨п╤п╣ я┐п©я─п╟п╡п╩я▐я┌я▄ п©п╬п╡п╣п╢п╣п╫п╦п╣п╪ sshd п╫п╟ п╪п╟я┬п╦п╫п╣ п╡п╟я┬п╣пЁп╬ я│п╣я─п╡п╣я─п╟. п▓ я█я┌п╬п╪ я─п╟п╥п╢п╣п╩п╣, п╪я▀ п©п╬п╨п╟п╤п╣п╪ п╨п╟п╨ я┐п©я─п╟п╡п╩я▐я┌я▄ я┌п╣п╪, п╨п╟п╨п╦п╣ п╦п╪п╣п╫п╫п╬ п╨п╬п╪п╟п╫п╢я▀ svnserve п╡я▀п╥я▀п╡п╟я▌я┌я│я▐ sshd, п╟ я┌п╟п╨п╤п╣ п╬ я┌п╬п╪, п╨п╟п╨ п╫п╣я│п╨п╬п╩я▄п╨п╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п╪п╬пЁя┐я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╬п╢п╫я┐ я│п╦я│я┌п╣п╪п╫я┐я▌ я┐я┤п╣я┌п╫я┐я▌ п╥п╟п©п╦я│я▄.

п²п╟я┤п╟п╩я▄п╫п╟я▐ п╫п╟я│я┌я─п╬п╧п╨п╟

п■п╩я▐ п╫п╟я┤п╟п╩п╟, п©п╣я─п╣п╧п╢п╦я┌п╣ п╡ п╢п╬п╪п╟я┬п╫я▌я▌ п©п╟п©п╨я┐ я┐я┤п╣я┌п╫п╬п╧ п╥п╟п©п╦я│п╦ п╨п╬я┌п╬я─я┐я▌ п╡я▀ п╦я│п©п╬п╩я▄п╥я┐п╣я┌п╣ п╢п╩я▐ п╥п╟п©я┐я│п╨п╟ svnserve. пёп╠п╣п╢п╦я┌п╣я│я▄ я┤я┌п╬ я┐я┤п╣я┌п╫п╟я▐ п╥п╟п©п╦я│я▄ п╦п╪п╣п╣я┌ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╫я┐я▌ п©п╟я─я┐ п╨п╩я▌я┤п╣п╧ SSH (п©я┐п╠п╩п╦я┤п╫я┐я▌/п©я─п╦п╡п╟я┌п╫я┐я▌), п╦ я┤я┌п╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╪п╬п╤п╣я┌ п╥п╟п╧я┌п╦ я┤п╣я─п╣п╥ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▌ я│ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣п╪ п©я┐п╠п╩п╦я┤п╫п╬пЁп╬ п╨п╩я▌я┤п╟. п÷п╟я─п╬п╩я▄п╫п╟я▐ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▐ п╫п╣ я─п╟п╠п╬я┌п╟п╣я┌, я┌п╟п╨ п╨п╟п╨ п╡я│п╣ я│п╩п╣п╢я┐я▌я┴п╦п╣ SSH я┌я─я▌п╨п╦ п╡я─п╟я┴п╟я▌я┌я│я▐ п╡п╬п╨я─я┐пЁ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ я└п╟п╧п╩п╟ SSH authorized_keys.

п∙я│п╩п╦ п╬п╫ п╫п╣ я│я┐я┴п╣я│я┌п╡я┐п╣я┌, я│п╬п╥п╢п╟п╧я┌п╣ я└п╟п╧п╩ authorized_keys (п╫п╟ Unix, п╬п╠я▀я┤п╫п╬ ~/.ssh/authorized_keys). п п╟п╤п╢п╟я▐ я│я┌я─п╬п╨п╟ я█я┌п╬пЁп╬ я└п╟п╧п╩п╟ п╬п©п╦я│я▀п╡п╟п╣я┌ п©я┐п╠п╩п╦я┤п╫я▀п╧ п╨п╩я▌я┤, п╨п╬я┌п╬я─я▀п╧ я─п╟п╥я─п╣я┬п╣п╫ п╢п╩я▐ я│п╬п╣п╢п╦п╫п╣п╫п╦я▐. п║я┌я─п╬п╨п╦ п╬п╠я▀я┤п╫п╬ п╡ я│п╩п╣п╢я┐я▌я┴п╣п╧ я└п╬я─п╪п╣:

  ssh-dsa AAAABtce9euchБ─╕ user@example.com

п÷п╣я─п╡п╬п╣ п©п╬п╩п╣ п╬п©п╦я│я▀п╡п╟п╣я┌ я┌п╦п© п╨п╩я▌я┤п╟, п╡я┌п╬я─п╬п╣ п©п╬п╩п╣ uu-п╨п╬п╢п╦я─п╬п╡п╟п╫п╫я▀п╧ (uuencoded) п╨п╩я▌я┤ п╦ я┌я─п╣я┌я▄п╣ п©п╬п╩п╣ я█я┌п╬ п╨п╬п╪п╪п╣п╫я┌п╟я─п╦п╧. п·п╢п╫п╟п╨п╬, п╪п╣п╫п╣п╣ п╦п╥п╡п╣я│я┌п╫я▀п╧ я└п╟п╨я┌ я┤я┌п╬ п╡я│п╣п╧ я│я┌я─п╬п╨п╣ п╪п╬п╤п╣я┌ п©я─п╣п╢я┬п╣я│я┌п╡п╬п╡п╟я┌я▄ п©п╬п╩п╣ command:

  command="program" ssh-dsa AAAABtce9euchБ─╕ user@example.com

п п╬пЁп╢п╟ п©п╬п╩п╣ command я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╬, п╢п╣п╪п╬п╫ SSH п╠я┐п╢п╣я┌ п╡я▀п©п╬п╩п╫я▐я┌я▄ я┐п╨п╟п╥п╟п╫п╫я┐я▌ п©я─п╬пЁя─п╟п╪п╪я┐, п╡п╪п╣я│я┌п╬ п╬п╠я▀я┤п╫п╬п╧ svnserve -t п╪п╬п╩я▐ я┤я┌п╬ п╨п╩п╦п╣п╫я┌ п╥п╫п╟п╣я┌ п╬п╠ я█я┌п╬п╪. п╜я┌п╬ п╬я┌п╨я─я▀п╡п╟п╣я┌ п╢п╡п╣я─п╦ п╢п╩я▐ п╪п╫п╬пЁп╦я┘ я┌я─я▌п╨п╬п╡ п╫п╟ я│я┌п╬я─п╬п╫п╣ я│п╣я─п╡п╣я─п╟. п▓ я│п╩п╣п╢я┐я▌я┴п╣п╪ п©я─п╦п╪п╣я─п╟я┘ п╪я▀ я│п╬п╨я─п╟я┴п╟п╣п╪ я│я┌я─п╬п╨п╦ п╡ я└п╟п╧п╩п╣ я┌п╟п╨ :

  command="program" TYPE KEY COMMENT

Controlling the invoked command

п╒п╟п╨ п╨п╟п╨ п╪я▀ п╪п╬п╤п╣п╪ я┐п╨п╟п╥п╟я┌я▄ п╡я▀п©п╬п╩п╫я▐п╣п╪я┐я▌ п╫п╟ я│п╣я─п╡п╣я─п╣ п╨п╬п╪п╟п╫п╢я┐, п©я─п╬я┴п╣ п╫п╟п╥п╡п╟я┌я▄ я│п©п╣я├п╦я└п╦я┤п╣я│п╨я┐я▌ п©я─п╬пЁя─п╟п╪п╪я┐ svnserve п╦ п©п╣я─п╣п╢п╟я┌я▄ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я▀п╣ п©п╟я─п╟п╪п╣я┌я─я▀:

  command="/path/to/svnserve -t -r /virtual/root" TYPE KEY COMMENT

п▓ я█я┌п╬п╪ п©я─п╦п╪п╣я─п╣, /path/to/svnserve п╪п╬п╤п╣я┌ п╠я▀я┌я▄ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╦п╪ я│п╨я─п╦п©я┌п╬п╪, п╬п╠п╣я─я┌п╨п╬п╧ п╡п╬п╨я─я┐пЁ svnserve п╨п╬я┌п╬я─п╟я▐ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣я┌ umask (я│п╪п╬я┌я─п╦ б╚Supporting Multiple Repository Access Methodsб╩). п╒п╟п╨п╤п╣ п©п╬п╨п╟п╥п╟п╫п╬ п╨п╟п╨ п©я─п╦п╡я▐п╥п╟я┌я▄ svnserve п╨ п╡п╦я─я┌я┐п╟п╩я▄п╫п╬п╪я┐ п╨п╬я─п╫п╣п╡п╬п╪я┐ п╨п╟я┌п╟п╩п╬пЁя┐, п╨п╬я┌п╬я─я▀п╧ я┤п╟я│я┌п╬ п╢п╣п╩п╟п╣я┌я│я▐ п╨п╬пЁп╢п╟ п╥п╟п©я┐я│п╨п╟п╣я┌я│я▐ svnserve п╨п╟п╨ п©я─п╬я├п╣я│я│-п╢п╣п╪п╬п╫. п╜я┌п╬ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ я│п╢п╣п╩п╟п╫п╬ п╩п╦п╠п╬ п╬пЁя─п╟п╫п╦я┤п╣п╫п╦п╣п╪ п╢п╬я│я┌я┐п©п╟ п╨ я┤п╟я│я┌п╦ я│п╦я│я┌п╣п╪я▀, п╦п╩п╦ п©я─п╬я│я┌п╬ п╥п╟я│я┌п╟п╡п╩я▐я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ я┐п╨п╟п╥я▀п╡п╟я┌я▄ п╟п╠я│п╬п╩я▌я┌п╫я▀п╧ п©я┐я┌я▄ п╡ svn+ssh:// URL.

п╒п╟п╨ п╤п╣ п╡п╬п╥п╪п╬п╤п╫п╬ п╦п╪п╣я┌я▄ п╫п╣я│п╨п╬п╩я▄п╨п╦я┘ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╦я┘ я─п╟п╥п╢п╣п╩я▐п╣п╪я▀я┘ я─п╣я│я┐я─я│п╬п╡ п©п╬п╢ п╬п╢п╫п╬п╧ я┐я┤п╣я┌п╫п╬п╧ п╥п╟п©п╦я│я▄я▌. п▓п╪п╣я│я┌п╬ я│п╬п╥п╢п╟п╫п╦я▐ я─п╟п╥п╩п╦я┤п╫я▀я┘ я┐я┤п╣я┌п╫я▀я┘ п╥п╟п©п╦я│п╣п╧ п╢п╩я▐ п╨п╟п╤п╢п╬пЁп╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐, я│пЁп╣п╫п╣я─п╦я─я┐п╧я┌п╣ п©п╟я─я┐ п©я┐п╠п╩п╦я┤п╫я▀п╧/я┤п╟я│я┌п╫я▀п╧ п╨п╩я▌я┤ п╢п╩я▐ п╨п╟п╤п╢п╬пЁп╬ я┤п╣п╩п╬п╡п╣п╨п╟. п≈п╟я┌п╣п╪ п©п╬п╪п╣я│я┌п╦я┌п╣ п╨п╟п╤п╢я▀п╧ п©я┐п╠п╩п╦я┤п╫я▀п╧ п╨п╩я▌я┤ п╡ я└п╟п╧п╩ authorized_users, п©п╬ п╬п╢п╫п╬п╪я┐ п╨п╩я▌я┤я┐ п╡ я│я┌я─п╬п╨п╣, п╦ п╦я│п©п╬п╩я▄п╥я┐п╧я┌п╣ п©п╟я─п╟п╪п╣я┌я─ --tunnel-user:

  command="svnserve -t --tunnel-user=harry" TYPE1 KEY1 harry@example.com
  command="svnserve -t --tunnel-user=sally" TYPE2 KEY2 sally@example.com

п╜я┌п╬я┌ п©я─п╦п╪п╣я─ п©п╬п╥п╡п╬п╩я▐п╣я┌ п╬п╠п╬п╦п╪, п⌠п╟я─п╦п╦ п╦ п║п╟п╩п╩п╦ п©п╬п╢п╨п╩я▌я┤п╟я┌я▄я│я▐ п╨ п╬п╢п╫п╬п╧ я┐я┤п╣я┌п╫п╬п╧ п╥п╟п©п╦я│п╦ я┤п╣я─п╣п╥ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▌ я┤п╣я─п╣п╥ п©я┐п╠п╩п╦я┤п╫я▀п╧ п╨п╩я▌я┤. п п╟п╤п╢я▀п╧ п╦п╥ п╫п╦я┘ п╦п╪п╣п╣я┌ я│п╬п╠я│я┌п╡п╣п╫п╫я┐я▌ п╨п╬п╪п╟п╫п╢я┐, п╨п╬я┌п╬я─п╟я▐ п╠я┐п╢п╣я┌ п╡я▀п©п╬п╩п╫я▐я┌я▄я│я▐, п©п╟я─п╟п╪п╣я┌я─ --tunnel-user пЁп╬п╡п╬я─п╦я┌ svnserve -t п╨п╟п╨п╬п╧ п╦п╥ п╫п╟п╥п╡п╟п╫п╫я▀я┘ п╟я─пЁя┐п╪п╣п╫я┌п╬п╡ п╦п╢п╣п╫я┌п╦я└п╦я├п╦я─я┐п╣я┌ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐. п▒п╣п╥ --tunnel-user п╬п╫п╦ п╠я┐п╢я┐я┌ п©п╬я▐п╡п╩я▐я┌я▄я│я▐ п╫п╣ я│п╪п╬я┌я─я▐ п╫п╟ п╡я│п╣ я└п╦п╨я│п╟я├п╦п╦ п╨п╬я┌п╬я─я▀п╣ я│п╢п╣п╩п╟п╫я▀ п╦п╥ п╬п╢п╫п╬п╧ я─п╟п╥п╢п╣п╩я▐п╣п╪п╬п╧ я┐я┤п╣я┌п╫п╬п╧ п╥п╟п©п╦я│п╦.

п▓ п╥п╟п╨п╩я▌я┤п╣п╫п╦п╣ п©я─п╣п╢п╬я│я┌п╣я─п╣п╤п╣п╫п╦п╣: п©я─п╣п╢п╬я│я┌п╟п╡п╩п╣п╫п╦п╣ п╢п╬я│я┌я┐п©п╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪ п╨ я│п╣я─п╡п╣я─я┐ я┤п╣я─п╣п╥ п©я┐п╠п╩п╦я┤п╫я▀п╣ п╨п╩я▌я┤п╦ п╡ я─п╟п╥п╢п╣п╩я▐п╣п╪п╬п╧ я┐я┤п╣я┌п╫п╬п╧ п╥п╟п©п╦я│п╦ п╪п╬п╤п╣я┌ п╬я│я┌п╟п╡п╩я▐я┌я▄ п╢п╬я│я┌я┐п©п╫я▀п╪ п╢я─я┐пЁп╦п╣ я└п╬я─п╪я▀ п╢п╬я│я┌я┐п©п╟ я┤п╣я─п╣п╥ SSH, п╢п╟п╤п╣ п╣я│п╩п╦ п╡я▀ я┐я│я┌п╟п╫п╬п╡п╦п╩п╦ п╥п╫п╟я┤п╣п╫п╦п╣ command п╡ authorized_keys. п²п╟п©я─п╦п╪п╣я─, п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╪п╬пЁя┐я┌ п©п╬п╩я┐я┤п╦я┌я▄ п╢п╬я│я┌я┐п© я┤п╣я─п╣п╥ SSH, п╦п╩п╦ п╦п╪п╣я┌я▄ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п╡я▀п©п╬п╩п╫я▐я┌я▄ X11 п╦п╩п╦ п╬п╠я┴п╦п╧ я└п╬я─п╡п╟я─п╢п╦п╫пЁ п©п╬я─я┌п╬п╡ я┤п╣я─п╣п╥ п╡п╟я┬ я│п╣я─п╡п╣я─. п■п╩я▐ п©я─п╣п╢п╬я│я┌п╟п╡п╩п╣п╫п╦я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪ п╨п╟п╨ п╪п╬п╤п╫п╬ п╪п╣п╫я▄я┬п╣ п©я─п╦п╡п╦п╩п╣пЁп╦п╧, п╪п╬п╤п╫п╬ я┐п╨п╟п╥п╟я┌я▄ п╫п╣я│п╨п╬п╩я▄п╨п╬ п╬пЁя─п╟п╫п╦я┤п╦п╡п╟я▌я┴п╦я┘ п╬п©я├п╦п╧ я│я─п╟п╥я┐ п╤п╣ п©п╬я│п╩п╣ command:

  command="svnserve -t --tunnel-user=harry",no-port-forwarding,\
           no-agent-forwarding,no-X11-forwarding,no-pty \
           TYPE1 KEY1 harry@example.com

httpd, the Apache HTTP server

The Apache HTTP Server is a б╚heavy dutyб╩ network server that Subversion can leverage. Via a custom module, httpd makes Subversion repositories available to clients via the WebDAV/DeltaV protocol, which is an extension to HTTP 1.1 (see http://www.webdav.org/ for more information). This protocol takes the ubiquitous HTTP protocol that is the core of the World Wide Web, and adds writingБ─■specifically, versioned writingБ─■capabilities. The result is a standardized, robust system that is conveniently packaged as part of the Apache 2.0 software, is supported by numerous operating systems and third-party products, and doesn't require network administrators to open up yet another custom port. [43] While an Apache-Subversion server has more features than svnserve, it's also a bit more difficult to set up. With flexibility often comes more complexity.

Much of the following discussion includes references to Apache configuration directives. While some examples are given of the use of these directives, describing them in full is outside the scope of this chapter. The Apache team maintains excellent documentation, publicly available on their website at http://httpd.apache.org. For example, a general reference for the configuration directives is located at http://httpd.apache.org/docs-2.0/mod/directives.html.

Also, as you make changes to your Apache setup, it is likely that somewhere along the way a mistake will be made. If you are not already familiar with Apache's logging subsystem, you should become aware of it. In your httpd.conf file are directives that specify the on-disk locations of the access and error logs generated by Apache (the CustomLog and ErrorLog directives, respectively). Subversion's mod_dav_svn uses Apache's error logging interface as well. You can always browse the contents of those files for information that might reveal the source of a problem that is not clearly noticeable otherwise.

Prerequisites

To network your repository over HTTP, you basically need four components, available in two packages. You'll need Apache httpd 2.0, the mod_dav DAV module that comes with it, Subversion, and the mod_dav_svn filesystem provider module distributed with Subversion. Once you have all of those components, the process of networking your repository is as simple as:

  • getting httpd 2.0 up and running with the mod_dav module,

  • installing the mod_dav_svn plugin to mod_dav, which uses Subversion's libraries to access the repository, and

  • configuring your httpd.conf file to export (or expose) the repository.

You can accomplish the first two items either by compiling httpd and Subversion from source code, or by installing pre-built binary packages of them on your system. For the most up-to-date information on how to compile Subversion for use with the Apache HTTP Server, as well as how to compile and configure Apache itself for this purpose, see the INSTALL file in the top level of the Subversion source code tree.

Basic Apache Configuration

Once you have all the necessary components installed on your system, all that remains is the configuration of Apache via its httpd.conf file. Instruct Apache to load the mod_dav_svn module using the LoadModule directive. This directive must precede any other Subversion-related configuration items. If your Apache was installed using the default layout, your mod_dav_svn module should have been installed in the modules subdirectory of the Apache install location (often /usr/local/apache2). The LoadModule directive has a simple syntax, mapping a named module to the location of a shared library on disk:

LoadModule dav_svn_module     modules/mod_dav_svn.so

Note that if mod_dav was compiled as a shared object (instead of statically linked directly to the httpd binary), you'll need a similar LoadModule statement for it, too. Be sure that it comes before the mod_dav_svn line:

LoadModule dav_module         modules/mod_dav.so
LoadModule dav_svn_module     modules/mod_dav_svn.so

At a later location in your configuration file, you now need to tell Apache where you keep your Subversion repository (or repositories). The Location directive has an XML-like notation, starting with an opening tag, and ending with a closing tag, with various other configuration directives in the middle. The purpose of the Location directive is to instruct Apache to do something special when handling requests that are directed at a given URL or one of its children. In the case of Subversion, you want Apache to simply hand off support for URLs that point at versioned resources to the DAV layer. You can instruct Apache to delegate the handling of all URLs whose path portions (the part of the URL that follows the server's name and the optional port number) begin with /repos/ to a DAV provider whose repository is located at /absolute/path/to/repository using the following httpd.conf syntax:

<Location /repos>
  DAV svn
  SVNPath /absolute/path/to/repository
</Location>

If you plan to support multiple Subversion repositories that will reside in the same parent directory on your local disk, you can use an alternative directive, the SVNParentPath directive, to indicate that common parent directory. For example, if you know you will be creating multiple Subversion repositories in a directory /usr/local/svn that would be accessed via URLs like http://my.server.com/svn/repos1, http://my.server.com/svn/repos2, and so on, you could use the httpd.conf configuration syntax in the following example:

<Location /svn>
  DAV svn

  # any "/svn/foo" URL will map to a repository /usr/local/svn/foo
  SVNParentPath /usr/local/svn
</Location>

Using the previous syntax, Apache will delegate the handling of all URLs whose path portions begin with /svn/ to the Subversion DAV provider, which will then assume that any items in the directory specified by the SVNParentPath directive are actually Subversion repositories. This is a particularly convenient syntax in that, unlike the use of the SVNPath directive, you don't have to restart Apache in order to create and network new repositories.

Be sure that when you define your new Location, it doesn't overlap with other exported Locations. For example, if your main DocumentRoot is exported to /www, do not export a Subversion repository in <Location /www/repos>. If a request comes in for the URI /www/repos/foo.c, Apache won't know whether to look for a file repos/foo.c in the DocumentRoot, or whether to delegate mod_dav_svn to return foo.c from the Subversion repository.

At this stage, you should strongly consider the question of permissions. If you've been running Apache for some time now as your regular web server, you probably already have a collection of contentБ─■web pages, scripts and such. These items have already been configured with a set of permissions that allows them to work with Apache, or more appropriately, that allows Apache to work with those files. Apache, when used as a Subversion server, will also need the correct permissions to read and write to your Subversion repository.

You will need to determine a permission system setup that satisfies Subversion's requirements without messing up any previously existing web page or script installations. This might mean changing the permissions on your Subversion repository to match those in use by other things that Apache serves for you, or it could mean using the User and Group directives in httpd.conf to specify that Apache should run as the user and group that owns your Subversion repository. There is no single correct way to set up your permissions, and each administrator will have different reasons for doing things a certain way. Just be aware that permission-related problems are perhaps the most common oversight when configuring a Subversion repository for use with Apache.

Authentication Options

At this point, if you configured httpd.conf to contain something like

<Location /svn>
  DAV svn
  SVNParentPath /usr/local/svn
</Location>

Б─╕then your repository is б╚anonymouslyб╩ accessible to the world. Until you configure some authentication and authorization policies, the Subversion repositories you make available via the Location directive will be generally accessible to everyone. In other words,

  • anyone can use their Subversion client to checkout a working copy of a repository URL (or any of its subdirectories),

  • anyone can interactively browse the repository's latest revision simply by pointing their web browser to the repository URL, and

  • anyone can commit to the repository.

Basic HTTP Authentication

The easiest way to authenticate a client is via the HTTP Basic authentication mechanism, which simply uses a username and password to verify that a user is who she says she is. Apache provides an htpasswd utility for managing the list of acceptable usernames and passwords, those to whom you wish to grant special access to your Subversion repository. Let's grant commit access to Sally and Harry. First, we need to add them to the password file.

$ ### First time: use -c to create the file
$ ### Use -m to use MD5 encryption of the password, which is more secure
$ htpasswd -cm /etc/svn-auth-file harry
New password: *****
Re-type new password: *****
Adding password for user harry
$ htpasswd -m /etc/svn-auth-file sally
New password: *******
Re-type new password: *******
Adding password for user sally
$

Next, you need to add some more httpd.conf directives inside your Location block to tell Apache what to do with your new password file. The AuthType directive specifies the type of authentication system to use. In this case, we want to specify the Basic authentication system. AuthName is an arbitrary name that you give for the authentication domain. Most browsers will display this name in the pop-up dialog box when the browser is querying the user for his name and password. Finally, use the AuthUserFile directive to specify the location of the password file you created using htpasswd.

After adding these three directives, your <Location> block should look something like this:

<Location /svn>
  DAV svn
  SVNParentPath /usr/local/svn
  AuthType Basic
  AuthName "Subversion repository"
  AuthUserFile /etc/svn-auth-file
</Location>

This <Location> block is not yet complete, and will not do anything useful. It's merely telling Apache that whenever authorization is required, Apache should harvest a username and password from the Subversion client. What's missing here, however, are directives that tell Apache which sorts of client requests require authorization. Wherever authorization is required, Apache will demand authentication as well. The simplest thing to do is protect all requests. Adding Require valid-user tells Apache that all requests require an authenticated user:

<Location /svn>
  DAV svn
  SVNParentPath /usr/local/svn
  AuthType Basic
  AuthName "Subversion repository"
  AuthUserFile /etc/svn-auth-file
  Require valid-user
</Location>

Be sure to read the next section (б╚Authorization Optionsб╩) for more detail on the Require directive and other ways to set authorization policies.

One word of warning: HTTP Basic Auth passwords pass in very nearly plain-text over the network, and thus are extremely insecure. If you're worried about password snooping, it may be best to use some sort of SSL encryption, so that clients authenticate via https:// instead of http://; at a bare minimum, you can configure Apache to use a self-signed server certificate. [44] Consult Apache's documentation (and OpenSSL documentation) about how to do that.

SSL Certificate Management

Businesses that need to expose their repositories for access outside the company firewall should be conscious of the possibility that unauthorized parties could be б╚sniffingб╩ their network traffic. SSL makes that kind of unwanted attention less likely to result in sensitive data leaks.

If a Subversion client is compiled to use OpenSSL, then it gains the ability to speak to an Apache server via https:// URLs. The Neon library used by the Subversion client is not only able to verify server certificates, but can also supply client certificates when challenged. When the client and server have exchanged SSL certificates and successfully authenticated one another, all further communication is encrypted via a session key.

It's beyond the scope of this book to describe how to generate client and server certificates, and how to configure Apache to use them. Many other books, including Apache's own documentation, describe this task. But what can be covered here is how to manage server and client certificates from an ordinary Subversion client.

When speaking to Apache via https://, a Subversion client can receive two different types of information:

  • a server certificate

  • a demand for a client certificate

If the client receives a server certificate, it needs to verify that it trusts the certificate: is the server really who it claims to be? The OpenSSL library does this by examining the signer of the server certificate, or certifying authority (CA). If OpenSSL is unable to automatically trust the CA, or if some other problem occurs (such as an expired certificate or hostname mismatch), the Subversion command-line client will ask you whether you want to trust the server certificate anyway:

$ svn list https://host.example.com/repos/project

Error validating server certificate for 'https://host.example.com:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: host.example.com
 - Valid: from Jan 30 19:23:56 2004 GMT until Jan 30 19:23:56 2006 GMT
 - Issuer: CA, example.com, Sometown, California, US
 - Fingerprint: 7d:e1:a9:34:33:39:ba:6a:e9:a5:c4:22:98:7b:76:5c:92:a0:9c:7b

(R)eject, accept (t)emporarily or accept (p)ermanently?

This dialogue should look familiar; it's essentially the same question you've probably seen coming from your web browser (which is just another HTTP client like Subversion!). If you choose the (p)ermanent option, the server certificate will be cached in your private run-time auth/ area in just the same way your username and password are cached (see б╚п я█я┬п╦я─п╬п╡п╟п╫п╦п╣ п╨п╩п╦п╣п╫я┌я│п╨п╬п╧ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦б╩). If cached, Subversion will automatically remember to trust this certificate in future negotiations.

Your run-time servers file also gives you the ability to make your Subversion client automatically trust specific CAs, either globally or on a per-host basis. Simply set the ssl-authority-files variable to a semicolon-separated list of PEM-encoded CA certificates:

[global]
ssl-authority-files = /path/to/CAcert1.pem;/path/to/CAcert2.pem

Many OpenSSL installations also have a pre-defined set of б╚defaultб╩ CAs that are nearly universally trusted. To make the Subversion client automatically trust these standard authorities, set the ssl-trust-default-ca variable to true.

When talking to Apache, a Subversion client might also receive a challenge for a client certificate. Apache is asking the client to identify itself: is the client really who it says it is? If all goes correctly, the Subversion client sends back a private certificate signed by a CA that Apache trusts. A client certificate is usually stored on disk in encrypted format, protected by a local password. When Subversion receives this challenge, it will ask you for both a path to the certificate and the password which protects it:

$ svn list https://host.example.com/repos/project

Authentication realm: https://host.example.com:443
Client certificate filename: /path/to/my/cert.p12
Passphrase for '/path/to/my/cert.p12':  ********
Б─╕

Notice that the client certificate is a б╚p12б╩ file. To use a client certificate with Subversion, it must be in PKCS#12 format, which is a portable standard. Most web browsers are already able to import and export certificates in that format. Another option is to use the OpenSSL command-line tools to convert existing certificates into PKCS#12.

Again, the runtime servers file allows you to automate this challenge on a per-host basis. Either or both pieces of information can be described in runtime variables:

[groups]
examplehost = host.example.com

[examplehost]
ssl-client-cert-file = /path/to/my/cert.p12
ssl-client-cert-password = somepassword

Once you've set the ssl-client-cert-file and ssl-client-cert-password variables, the Subversion client can automatically respond to a client certificate challenge without prompting you. [45]

Authorization Options

At this point, you've configured authentication, but not authorization. Apache is able to challenge clients and confirm identities, but it has not been told how to allow or restrict access to the clients bearing those identities. This section describes two strategies for controlling access to your repositories.

Blanket Access Control

The simplest form of access control is to authorize certain users for either read-only access to a repository, or read/write access to a repository.

You can restrict access on all repository operations by adding the Require valid-user directive to your <Location> block. Using our previous example, this would mean that only clients that claimed to be either harry or sally, and provided the correct password for their respective username, would be allowed to do anything with the Subversion repository:

<Location /svn>
  DAV svn
  SVNParentPath /usr/local/svn

  # how to authenticate a user
  AuthType Basic
  AuthName "Subversion repository"
  AuthUserFile /path/to/users/file

  # only authenticated users may access the repository
  Require valid-user
</Location>

Sometimes you don't need to run such a tight ship. For example, Subversion's own source code repository at http://svn.collab.net/repos/svn allows anyone in the world to perform read-only repository tasks (like checking out working copies and browsing the repository with a web browser), but restricts all write operations to authenticated users. To do this type of selective restriction, you can use the Limit and LimitExcept configuration directives. Like the Location directive, these blocks have starting and ending tags, and you would nest them inside your <Location> block.

The parameters present on the Limit and LimitExcept directives are HTTP request types that are affected by that block. For example, if you wanted to disallow all access to your repository except the currently supported read-only operations, you would use the LimitExcept directive, passing the GET, PROPFIND, OPTIONS, and REPORT request type parameters. Then the previously mentioned Require valid-user directive would be placed inside the <LimitExcept> block instead of just inside the <Location> block.

<Location /svn>
  DAV svn
  SVNParentPath /usr/local/svn

  # how to authenticate a user
  AuthType Basic
  AuthName "Subversion repository"
  AuthUserFile /path/to/users/file

  # For any operations other than these, require an authenticated user.
  <LimitExcept GET PROPFIND OPTIONS REPORT>
    Require valid-user
  </LimitExcept>
</Location>

These are only a few simple examples. For more in-depth information about Apache access control and the Require directive, take a look at the Security section of the Apache documentation's tutorials collection at http://httpd.apache.org/docs-2.0/misc/tutorials.html.

Per-Directory Access Control

It's possible to set up finer-grained permissions using a second Apache httpd module, mod_authz_svn. This module grabs the various opaque URLs passing from client to server, asks mod_dav_svn to decode them, and then possibly vetoes requests based on access policies defined in a configuration file.

If you've built Subversion from source code, mod_authz_svn is automatically built and installed alongside mod_dav_svn. Many binary distributions install it automatically as well. To verify that it's installed correctly, make sure it comes right after mod_dav_svn's LoadModule directive in httpd.conf:

LoadModule dav_module         modules/mod_dav.so
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so

To activate this module, you need to configure your Location block to use the AuthzSVNAccessFile directive, which specifies a file containing the permissions policy for paths within your repositories. (In a moment, we'll discuss the format of that file.)

Apache is flexible, so you have the option to configure your block in one of three general patterns. To begin, choose one of these basic configuration patterns. (The examples below are very simple; look at Apache's own documentation for much more detail on Apache authentication and authorization options.)

The simplest block is to allow open access to everyone. In this scenario, Apache never sends authentication challenges, so all users are treated as б╚anonymousб╩.

п÷я─п╦п╪п╣я─ 6.1. A sample configuration for anonymous access.

<Location /repos>
  DAV svn
  SVNParentPath /usr/local/svn

  # our access control policy
  AuthzSVNAccessFile /path/to/access/file
</Location>
          


On the opposite end of the paranoia scale, you can configure your block to demand authentication from everyone. All clients must supply credentials to identify themselves. Your block unconditionally requires authentication via the Require valid-user directive, and defines a means to authenticate.

п÷я─п╦п╪п╣я─ 6.2. A sample configuration for authenticated access.

<Location /repos>
  DAV svn
  SVNParentPath /usr/local/svn

  # our access control policy
  AuthzSVNAccessFile /path/to/access/file

  # only authenticated users may access the repository
  Require valid-user

  # how to authenticate a user
  AuthType Basic
  AuthName "Subversion repository"
  AuthUserFile /path/to/users/file
</Location>
          


A third very popular pattern is to allow a combination of authenticated and anonymous access. For example, many administrators want to allow anonymous users to read certain repository directories, but want only authenticated users to read (or write) more sensitive areas. In this setup, all users start out accessing the repository anonymously. If your access control policy demands a real username at any point, Apache will demand authentication from the client. To do this, you use both the Satisfy Any and Require valid-user directives together.

п÷я─п╦п╪п╣я─ 6.3. A sample configuration for mixed authenticated/anonymous access.

<Location /repos>
  DAV svn
  SVNParentPath /usr/local/svn

  # our access control policy
  AuthzSVNAccessFile /path/to/access/file

  # try anonymous access first, resort to real
  # authentication if necessary.
  Satisfy Any
  Require valid-user

  # how to authenticate a user
  AuthType Basic
  AuthName "Subversion repository"
  AuthUserFile /path/to/users/file
</Location>
          


Once you've settled on one of these three basic httpd.conf templates, you need to create your file containing access rules for particular paths within the repository. This is described in б╚Path-Based Authorizationб╩.

Disabling Path-based Checks

The mod_dav_svn module goes through a lot of work to make sure that data you've marked б╚unreadableб╩ doesn't get accidentally leaked. This means that it needs to closely monitor all of the paths and file-contents returned by commands like svn checkout or svn update commands. If these commands encounter a path that isn't readable according to some authorization policy, then the path is typically omitted altogether. In the case of history or rename tracingБ─■e.g. running a command like svn cat -r OLD foo.c on a file that was renamed long agoБ─■the rename tracking will simply halt if one of the object's former names is determined to be read-restricted.

All of this path-checking can sometimes be quite expensive, especially in the case of svn log. When retrieving a list of revisions, the server looks at every changed path in each revision and checks it for readability. If an unreadable path is discovered, then it's omitted from the list of the revision's changed paths (normally seen with the --verbose option), and the whole log message is suppressed. Needless to say, this can be time-consuming on revisions that affect a large number of files. This is the cost of security: even if you haven't configured a module like mod_authz_svn at all, the mod_dav_svn module is still asking Apache httpd to run authorization checks on every path. The mod_dav_svn module has no idea what authorization modules have been installed, so all it can do is ask Apache to invoke whatever might be present.

On the other hand, there's also an escape-hatch of sorts, one which allows you to trade security features for speed. If you're not enforcing any sort of per-directory authorization (i.e. not using mod_authz_svn or similar module), then you can disable all of this path-checking. In your httpd.conf file, use the SVNPathAuthz directive:

п÷я─п╦п╪п╣я─ 6.4. Disabling path checks altogether

<Location /repos>
  DAV svn
  SVNParentPath /usr/local/svn

  SVNPathAuthz off
</Location>
          


The SVNPathAuthz directive is б╚onб╩ by default. When set б╚offб╩, all path-based authorization checking is disabled; mod_dav_svn stops invoking authorization checks on every path it discovers.

Extra Goodies

We've covered most of the authentication and authorization options for Apache and mod_dav_svn. But there are a few other nice features that Apache provides.

Repository Browsing

One of the most useful benefits of an Apache/WebDAV configuration for your Subversion repository is that the youngest revisions of your versioned files and directories are immediately available for viewing via a regular web browser. Since Subversion uses URLs to identify versioned resources, those URLs used for HTTP-based repository access can be typed directly into a Web browser. Your browser will issue a GET request for that URL, and based on whether that URL represents a versioned directory or file, mod_dav_svn will respond with a directory listing or with file contents.

Since the URLs do not contain any information about which version of the resource you wish to see, mod_dav_svn will always answer with the youngest version. This functionality has the wonderful side-effect that you can pass around Subversion URLs to your peers as references to documents, and those URLs will always point at the latest manifestation of that document. Of course, you can even use the URLs as hyperlinks from other web sites, too.

You generally will get more use out of URLs to versioned filesБ─■after all, that's where the interesting content tends to lie. But you might have occasion to browse a Subversion directory listing, where you'll quickly note that the generated HTML used to display that listing is very basic, and certainly not intended to be aesthetically pleasing (or even interesting). To enable customization of these directory displays, Subversion provides an XML index feature. A single SVNIndexXSLT directive in your repository's Location block of httpd.conf will instruct mod_dav_svn to generate XML output when displaying a directory listing, and to reference the XSLT stylesheet of your choice:

<Location /svn>
  DAV svn
  SVNParentPath /usr/local/svn
  SVNIndexXSLT "/svnindex.xsl"
  Б─╕
</Location>

Using the SVNIndexXSLT directive and a creative XSLT stylesheet, you can make your directory listings match the color schemes and imagery used in other parts of your website. Or, if you'd prefer, you can use the sample stylesheets provided in the Subversion source distribution's tools/xslt/ directory. Keep in mind that the path provided to the SVNIndexXSLT directory is actually a URL pathБ─■browsers need to be able to read your stylesheets in order to make use of them!

Other Features

Several of the features already provided by Apache in its role as a robust Web server can be leveraged for increased functionality or security in Subversion as well. Subversion communicates with Apache using Neon, which is a generic HTTP/WebDAV library with support for such mechanisms as SSL (the Secure Socket Layer, discussed earlier) and Deflate compression (the same algorithm used by the gzip and PKZIP programs to б╚shrinkб╩ files into smaller chunks of data). You need only to compile support for the features you desire into Subversion and Apache, and properly configure the programs to use those features.

Deflate compression places a small burden on the client and server to compress and decompress network transmissions as a way to minimize the size of the actual transmission. In cases where network bandwidth is in short supply, this kind of compression can greatly increase the speed at which communications between server and client can be sent. In extreme cases, this minimized network transmission could be the difference between an operation timing out or completing successfully.

Less interesting, but equally useful, are other features of the Apache and Subversion relationship, such as the ability to specify a custom port (instead of the default HTTP port 80) or a virtual domain name by which the Subversion repository should be accessed, or the ability to access the repository through a proxy. These things are all supported by Neon, so Subversion gets that support for free.

Finally, because mod_dav_svn is speaking a semi-complete dialect of WebDAV/DeltaV, it's possible to access the repository via third-party DAV clients. Most modern operating systems (Win32, OS X, and Linux) have the built-in ability to mount a DAV server as a standard network б╚shareб╩. This is a complicated topic; for details, read п÷я─п╦п╩п╬п╤п╣п╫п╦п╣б═C, WebDAV п╦ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╬п╣ я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦.

Path-Based Authorization

Both Apache and svnserve are capable of granting (or denying) permissions to users. Typically this is done over the entire repository: a user can read the repository (or not), and she can write to the repository (or not). It's also possible, however, to define finer-grained access rules. One set of users may have permssion to write to a certain directory in the repository, but not others; another directory might not even be readable by all but a few special people.

Both servers use a common file format to describe these path-based access rules. In the case of Apache, one needs to load the mod_authz_svn module and then add the AuthzSVNAccessFile directive (within the httpd.conf file) pointing to your own rules-file. (For a full explanation, see б╚Per-Directory Access Controlб╩.) If you're using svnserve, then you need to make the authz-db variable (within svnserve.conf) point to your rules-file.

Once your server knows where to find your rules-file, it's time to define the rules.

The syntax of the file is the same familiar one used by svnserve.conf and the runtime configuration files. Lines that start with a hash (#) are ignored. In its simplest form, each section names a repository and path within it, and the authenticated usernames are the option names within each section. The value of each option describes the user's level of access to the repository path: either r (read-only) or rw (read-write). If the user is not mentioned at all, no access is allowed.

To be more specific: the value of the section-names are either of the form [repos-name:path] or the form [path]. If you're using the SVNParentPath directive, then it's important to specify the repository names in your sections. If you omit them, then a section like [/some/dir] will match the path /some/dir in every repository. If you're using the SVNPath directive, however, then it's fine to only define paths in your sectionsБ─■after all, there's only one repository.

[calc:/branches/calc/bug-142]
harry = rw
sally = r

In this first example, the user harry has full read and write access on the /branches/calc/bug-142 directory in the calc repository, but the user sally has read-only access. Any other users are blocked from accessing this directory.

Of course, permissions are inherited from parent to child directory. That means that we can specify a subdirectory with a different access policy for Sally:

[calc:/branches/calc/bug-142]
harry = rw
sally = r

# give sally write access only to the 'testing' subdir
[calc:/branches/calc/bug-142/testing]
sally = rw

Now Sally can write to the testing subdirectory of the branch, but can still only read other parts. Harry, meanwhile, continues to have complete read-write access to the whole branch.

It's also possible to explicitly deny permission to someone via inheritance rules, by setting the username variable to nothing:

[calc:/branches/calc/bug-142]
harry = rw
sally = r

[calc:/branches/calc/bug-142/secret]
harry =

In this example, Harry has read-write access to the entire bug-142 tree, but has absolutely no access at all to the secret subdirectory within it.

The thing to remember is that the most specific path always matches first. The mod_authz_svn module tries to match the path itself, and then the parent of the path, then the parent of that, and so on. The net effect is that mentioning a specific path in the accessfile will always override any permissions inherited from parent directories.

By default, nobody has any access to the repository at all. That means that if you're starting with an empty file, you'll probably want to give at least read permission to all users at the root of the repository. You can do this by using the asterisk variable (*), which means б╚all usersб╩:

[/]
* = r

This is a common setup; notice that there's no repository name mentioned in the section name. This makes all repositories world readable to all users, whether you're using SVNPath or SVNParentPath. Once all users have read-access to the repositories, you can give explicit rw permission to certain users on specific subdirectories within specific repositories.

The asterisk variable (*) is also worth special mention here: it's the only pattern which matches an anonymous user. If you've configured your Location block to allow a mixture of anonymous and authenticated access, all users start out accessing Apache anonymously. mod_authz_svn looks for a * value defined for the path being accessed; if it can't find one, then Apache demands real authentication from the client.

The access file also allows you to define whole groups of users, much like the Unix /etc/group file:

[groups]
calc-developers = harry, sally, joe
paint-developers = frank, sally, jane
everyone = harry, sally, joe, frank, sally, jane

Groups can be granted access control just like users. Distinguish them with an б╚atб╩ (@) prefix:

[calc:/projects/calc]
@calc-developers = rw

[paint:/projects/paint]
@paint-developers = rw
jane = r

Groups can also be defined to contain other groups:

[groups]
calc-developers = harry, sally, joe
paint-developers = frank, sally, jane
everyone = @calc-developers, @paint-developers

Б─╕and that's pretty much all there is to it.

Supporting Multiple Repository Access Methods

You've seen how a repository can be accessed in many different ways. But is it possibleБ─■or safeБ─■for your repository to be accessed by multiple methods simultaneously? The answer is yes, provided you use a bit of foresight.

At any given time, these processes may require read and write access to your repository:

  • regular system users using a Subversion client (as themselves) to access the repository directly via file:/// URLs;

  • regular system users connecting to SSH-spawned private svnserve processes (running as themselves) which access the repository;

  • an svnserve processБ─■either a daemon or one launched by inetdБ─■running as a particular fixed user;

  • an Apache httpd process, running as a particular fixed user.

The most common problem administrators run into is repository ownership and permissions. Does every process (or user) in the previous list have the rights to read and write the Berkeley DB files? Assuming you have a Unix-like operating system, a straightforward approach might be to place every potential repository user into a new svn group, and make the repository wholly owned by that group. But even that's not enough, because a process may write to the database files using an unfriendly umaskБ─■one that prevents access by other users.

So the next step beyond setting up a common group for repository users is to force every repository-accessing process to use a sane umask. For users accessing the repository directly, you can make the svn program into a wrapper script that first sets umask 002 and then runs the real svn client program. You can write a similar wrapper script for the svnserve program, and add a umask 002 command to Apache's own startup script, apachectl. For example:

$ cat /usr/bin/svn

#!/bin/sh

umask 002
/usr/bin/svn-real "$@"

Another common problem is often encountered on Unix-like systems. As a repository is used, Berkeley DB occasionally creates new log files to journal its actions. Even if the repository is wholly owned by the svn group, these newly created files won't necessarily be owned by that same group, which then creates more permissions problems for your users. A good workaround is to set the group SUID bit on the repository's db directory. This causes all newly-created log files to have the same group owner as the parent directory.

Once you've jumped through these hoops, your repository should be accessible by all the necessary processes. It may seem a bit messy and complicated, but the problems of having multiple users sharing write-access to common files are classic ones that are not often elegantly solved.

Fortunately, most repository administrators will never need to have such a complex configuration. Users who wish to access repositories that live on the same machine are not limited to using file:// access URLsБ─■they can typically contact the Apache HTTP server or svnserve using localhost for the server name in their http:// or svn:// URLs. And to maintain multiple server processes for your Subversion repositories is likely to be more of a headache than necessary. We recommend you choose the server that best meets your needs and stick with it!




[39] п╜я┌п╟ п©я─п╬п╠п╩п╣п╪п╟ п╬п©п╦я│п╟п╫п╟ п╡ FAQ, п╬п╫п╟ я▐п╡п╩я▐п╣я┌я│я▐ я─п╣п╥я┐п╩я▄я┌п╟я┌п╬п╪ п©п╩п╬я┘п╬п╧ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ я│п╣я─п╡п╣я─п╟.

[40] п≤ п╬п©я▐я┌я▄-я┌п╟п╨п╦, я┤п╟я│я┌п╬п╧ п╬я┬п╦п╠п╨п╬п╧ я▐п╡п╩я▐п╣я┌я│я▐ п╫п╣п©я─п╟п╡п╦п╩я▄п╫п╟я▐ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦я▐ я│п╣я─п╡п╣я─п╟, п©я─п╦ п╨п╬я┌п╬я─п╬п╧ я│п╣я─п╡п╣я─ п╫п╦п╨п╬пЁп╢п╟ п╫п╣ п©п╬я│я▀п╩п╟п╣я┌ п╥п╟п©я─п╬я│ п╬п╠ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╦п╦ п╩п╦я┤п╫п╬я│я┌п╦. п п╬пЁп╢п╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╦я│п©п╬п╩я▄п╥я┐я▌я┌ п╨п╩я▌я┤п╦ --username п╦ --password, п╬п╫п╦ п╪п╬пЁя┐я┌ п╠я▀я┌я▄ п╫п╣п©я─п╦я▐я┌п╫п╬ я┐п╢п╦п╡п╩п╣п╫я▀, я┐п╡п╦п╢п╣п╡, я┤я┌п╬ п╨п╩я▌я┤п╦ п╫п╣ п╦я│п©п╬п╩я▄п╥я┐я▌я┌я│я▐, я┤я┌п╬ п╫п╬п╡я▀п╣ п©я─п╟п╡п╨п╦ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟п╫я▀ п╟п╫п╬п╫п╦п╪п╫я▀п╪п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪п╦.

[41] п║п╪п╬я┌я─п╦ RFC 2195.

[42] Note that using any sort of svnserve-enforced access control at all is a bit pointless; the user already has direct access to the repository database.

[43] They really hate doing that.

[44] While self-signed server certificates are still vulnerable to a б╚man in the middleб╩ attack, such an attack is still much more difficult for a casual observer to pull off, compared to sniffing unprotected passwords.

[45] More security-conscious folk might not want to store the client certificate password in the runtime servers file.

[46] Back then, it was called б╚ViewCVSб╩.

[47] A common theme in this book!

п⌠п╩п╟п╡п╟ 7. п÷я─п╬я└п╣я│я│п╦п╬п╫п╟п╩я▄п╫п╟я▐ п╫п╟я│я┌я─п╬п╧п╨п╟ Subversion

### TODO: Chapter opening ###

### TODO: Gut the runtime config stuff like I did the property stuff, making larger topical sections to which the runtime config stuff generally refers. Like already exists for external diff/diff3, add, for example, a section on external editors. ###

п÷п╟я─п╟п╪п╣я┌я─я▀ п╡я─п╣п╪п╣п╫п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐

Subversion п╦п╪п╣п╣я┌ п╪п╫п╬п╤п╣я│я┌п╡п╬ п╨п╬п╫я┌я─п╬п╩п╦я─я┐п╣п╪я▀я┘ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪ п╬п©я├п╦п╬п╫п╟п╩я▄п╫я▀я┘ п©п╟я─п╟п╪п╣я┌я─п╬п╡ п©п╬п╡п╣п╢п╣п╫п╦я▐. п▓п╬п╥п╪п╬п╤п╫п╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ я┘п╬я┌п╣п╩ п╠я▀ п©я─п╦п╪п╣п╫я▐я┌я▄ п╫п╣п╨п╬я┌п╬я─я▀п╣ п╦п╥ я█я┌п╦я┘ п©п╟я─п╟п╪п╣я┌я─п╬п╡ п╡п╬ п╡я│п╣я┘ п╬п©п╣я─п╟я├п╦я▐я┘ Subversion. п÷п╬я█я┌п╬п╪я┐ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬ п╠я▀ п╫п╣ п╥п╟я│я┌п╟п╡п╩я▐я┌я▄ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п©п╬п╪п╫п╦я┌я▄ п╨п╩я▌я┤п╦ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╣ п╢п╩я▐ я┐п╨п╟п╥п╟п╫п╦я▐ я█я┌п╦я┘ п©п╟я─п╟п╪п╣я┌я─п╬п╡ п╦ п╫п╣ я┐п╨п╟п╥я▀п╡п╟я┌я▄ п╦я┘ п©я─п╦ п╡я│п╣я┘ п╡я▀п©п╬п╩п╫я▐п╣п╪я▀я┘ п╬п©п╣я─п╟я├п╦я▐я┘, Subversion п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╬п╫п╫я▀п╣ я└п╟п╧п╩я▀, п╡я▀п╢п╣п╩п╣п╫п╫я▀п╣ п╡ п╬п╠п╩п╟я│я┌я▄ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ Subversion.

п·п╠п╩п╟я│я┌я▄ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ Subversion п╦п╪п╣п╣я┌ п╢п╡я┐я┘я┐я─п╬п╡п╫п╣п╡я┐я▌ п╦п╣я─п╟я─я┘п╦я▌ п╦п╪п╣п╫ п©п╟я─п╟п╪п╣я┌я─п╬п╡ п╦ п╦я┘ п╥п╫п╟я┤п╣п╫п╦п╧. п п╟п╨ п©я─п╟п╡п╦п╩п╬, п╬п╫п╟ я│п╡п╬п╢п╦я┌я│я▐ п╨ п╬я┌п╢п╣п╩я▄п╫п╬п╧ п╢п╦я─п╣п╨я┌п╬я─п╦п╦, я│п╬п╢п╣я─п╤п╟я┴п╣п╧ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╬п╫п╫я▀п╣ я└п╟п╧п╩я▀ (п©п╣я─п╡я▀п╧ я┐я─п╬п╡п╣п╫я▄) я▐п╡п╩я▐я▌я┴п╦п╣я│я▐ п©я─п╬я│я┌я▀п╪п╦ я┌п╣п╨я│я┌п╬п╡я▀п╪п╦ я└п╟п╧п╩п╟п╪п╦ п╡ я│я┌п╟п╫п╢п╟я─я┌п╫п╬п╪ INI я└п╬я─п╪п╟я┌п╣ (я│ б╚я─п╟п╥п╢п╣п╩п╟п╪п╦б╩, п╬п╠п╣я│п©п╣я┤п╦п╡п╟я▌я┴п╦п╪п╦ п╡я┌п╬я─п╬п╧ я┐я─п╬п╡п╣п╫я▄). п╜я┌п╦ я└п╟п╧п╩я▀ я│п╬п╢п╣я─п╤п╟я┌ п╢п╦я─п╣п╨я┌п╦п╡я▀ п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╣ п╨п╩п╦п╣п╫я┌п╬п╪ п╢п╩я▐ п╬п©я─п╣п╢п╣п╩п╣п╫п╦я▐ п©п╬п╡п╣п╢п╣п╫п╦я▐ п╨п╩п╦п╣п╫я┌п╟ п©я─п╣п╢п©п╬я┤п╦я┌п╟п╣п╪п╬пЁп╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪, п╦ п╪п╬пЁя┐я┌ п╠я▀я┌я▄ п╩п╣пЁп╨п╬ п╬я┌я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫я▀ п╦я│п©п╬п╩я▄п╥я┐я▐ п╡п╟я┬ п╩я▌п╠п╦п╪я▀п╧ я─п╣п╢п╟п╨я┌п╬я─ (п╫п╟п©я─п╦п╪п╣я─, Emacs п╦п╩п╦ vi).

п║я┌я─я┐п╨я┌я┐я─п╟ п╬п╠п╩п╟я│я┌п╦ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦

п▓п╬ п╡я─п╣п╪я▐ п©п╣я─п╡п╬пЁп╬ п╥п╟п©я┐я│п╨п╟ п╨п╩п╦п╣п╫я┌ п╢п╩я▐ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ svn я│п╬п╥п╢п╟п╣я┌ п╬я┌п╢п╣п╩я▄п╫я┐я▌ п╢п╩я▐ п╨п╟п╤п╢п╬пЁп╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╬п╠п╩п╟я│я┌я▄ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦. п²п╟ Unix-п©п╬п╢п╬п╠п╫я▀я┘ я│п╦я│я┌п╣п╪п╟я┘ я█я┌п╟ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ п╫п╟п╥я▀п╡п╟п╣я┌я│я▐ .subversion п╦ п╫п╟я┘п╬п╢п╦я┌я▄я│я▐ п╡ п╢п╬п╪п╟я┬п╫п╣п╧ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐. п²п╟ Win32 я│п╦я│я┌п╣п╪п╟я┘ Subversion я│п╬п╥п╢п╟п╣я┌ п©п╟п©п╨я┐ я│ п╦п╪п╣п╫п╣п╪ Subversion п╡ п╬п╠п╩п╟я│я┌п╦ Application Data п╢п╦я─п╣п╨я┌п╬я─п╦п╦ я│ п©я─п╬я└п╦п╩п╣п╪ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ (п╨п╬я┌п╬я─п╟я▐, п╨я│я┌п╟я┌п╦ пЁп╬п╡п╬я─я▐, п╬п╠я▀я┤п╫п╬ я▐п╡п╩я▐п╣я┌я│я▐ я│п╨я─я▀я┌п╬п╧ п╢п╦я─п╣п╨я┌п╬я─п╦п╣п╧). п·п╢п╫п╟п╨п╬ п╫п╟ я█я┌п╬п╧ п©п╩п╟я┌я└п╬я─п╪п╣ я┌п╬я┤п╫п╬п╣ п╪п╣я│я┌п╬п©п╬п╩п╬п╤п╣п╫п╦п╣ п╬я┌п╩п╦я┤п╟п╣я┌я│я▐ п╬я┌ я│п╦я│я┌п╣п╪я▀ п╨ я│п╦я│я┌п╣п╪п╣ п╦ я┐п╨п╟п╥я▀п╡п╟п╣я┌я│я▐ п╡ я─п╣п╣я│я┌я─п╣ Windows. [48] п÷я─п╦ п╬п╠я─п╟я┴п╣п╫п╦п╦ п╨ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╬п╧ п╬п╠п╩п╟я│я┌п╦ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ п╪я▀ п╠я┐п╢п╣п╪ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╣п╣ Unix-п╫п╟п╥п╡п╟п╫п╦п╣.

п▓ п╢п╬п©п╬п╩п╫п╣п╫п╦п╣ п╨ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╬п╧ п╬п╠п╩п╟я│я┌п╦ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦, Subversion п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╬п╠я┴п╣я│п╦я│я┌п╣п╪п╫я┐я▌ п╬п╠п╩п╟я│я┌я▄ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦. п╜я┌п╬ п╢п╟п╣я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ я│п╦я│я┌п╣п╪п╫я▀п╪ п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╬я─п╟п╪ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟я┌я▄ п©п╟я─п╟п╪п╣я┌я─я▀ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╢п╩я▐ п╡я│п╣я┘ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п╬я┌п╢п╣п╩я▄п╫п╬ п╡п╥я▐я┌п╬п╧ п╪п╟я┬п╦п╫я▀. п÷п╬п╪п╫п╦я┌п╣, я┤я┌п╬ я│п╦я│я┌п╣п╪п╫п╟я▐ п╬п╠п╩п╟я│я┌я▄ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ п╫п╣ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣я┌ п╠п╣п╥п╬пЁп╬п╡п╬я─п╬я┤п╫я▀п╣ п©я─п╟п╡п╦п╩п╟ Б─■ п©п╟я─п╟п╪п╣я┌я─я▀, п╥п╟п╢п╟п╫п╫я▀п╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╬п╧ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╣п╧ п©п╣я─п╣п╬п©я─п╣п╢п╣п╩я▐я▌я┌ я│п╦я│я┌п╣п╪п╫я▀п╣ п©п╟я─п╟п╪п╣я┌я─я▀, п╟ п╟я─пЁя┐п╪п╣п╫я┌я▀ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦, п©п╣я─п╣п╢п╟п╡п╟п╣п╪я▀п╣ п©я─п╬пЁя─п╟п╪п╪п╣ svn, п╦п╪п╣я▌я┌ п©п╬я│п╩п╣п╢п╫п╣п╣ я│п╩п╬п╡п╬. п²п╟ Unix-п©п╬п╢п╬п╠п╫я▀я┘ п©п╩п╟я┌я└п╬я─п╪п╟я┘ п╬п╤п╦п╢п╟п╣п╪я▀п╪ п╪п╣я│я┌п╬п©п╬п╩п╬п╤п╣п╫п╦п╣п╪ я│п╦я│я┌п╣п╪п╫п╬п╧ п╬п╠п╩п╟я│я┌п╦ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ я▐п╡п╩я▐п╣я┌я│я▐ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ /etc/subversion; п╫п╟ Windows п╪п╟я┬п╦п╫п╟я┘ п╦я┴п╣я┌я│я▐ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ Subversion п╡п╫я┐я┌я─п╦ п╬п╠я┴п╣я│п╦я│я┌п╣п╪п╫п╬п╧ п╬п╠п╩п╟я│я┌п╦ Application Data (я┌п╟п╨п╤п╣ п╬п©я─п╣п╢п╣п╩я▐п╣п╪п╬п╧ я─п╣п╣я│я┌я─п╬п╪). п▓ п╬я┌п╩п╦я┤п╦п╣ п╬я┌ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╬п╧, я│п╦я│я┌п╣п╪п╫я┐я▌ п╬п╠п╩п╟я│я┌я▄ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ svn п╫п╣ я│п╬п╥п╢п╟п╣я┌.

п²п╟ я│п╣пЁп╬п╢п╫я▐я┬п╫п╦п╧ п╪п╬п╪п╣п╫я┌ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╟я▐ п╬п╠п╩п╟я│я┌я▄ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ я│п╬п╢п╣я─п╤п╦я┌ я┌я─п╦ я└п╟п╧п╩п╟ Б─■ п╢п╡п╟ я└п╟п╧п╩п╟ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ (config п╦ servers) п╦ README.txt, п╨п╬я┌п╬я─я▀п╧ я│п╬п╢п╣я─п╤п╦я┌ п╬п©п╦я│п╟п╫п╦п╣ INI я└п╬я─п╪п╟я┌п╟. п÷п╬я│п╩п╣ п╦я┘ я│п╬п╥п╢п╟п╫п╦я▐, я█я┌п╦ я└п╟п╧п╩я▀ я│п╬п╢п╣я─п╤п╟я┌ п╥п╫п╟я┤п╣п╫п╦я▐ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╢п╩я▐ п╡я│п╣я┘, п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣п╪я▀я┘ Subversion п©п╟я─п╟п╪п╣я┌я─п╬п╡, п╬п╠я▀я┤п╫п╬ п╥п╟п╨п╬п╪п╪п╣п╫я┌п╦я─п╬п╡п╟п╫п╫я▀я┘ п╦ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╫я▀я┘ я│ я┌п╣п╨я│я┌п╬п╡я▀п╪ п╬п©п╦я│п╟п╫п╦п╣п╪ п╥п╫п╟я┤п╣п╫п╦п╧ п╨п╩я▌я┤п╣п╧, п╡п╩п╦я▐я▌я┴п╦я┘ п╫п╟ п©п╬п╡п╣п╢п╣п╫п╦п╣ Subversion. п■п╩я▐ я┌п╬пЁп╬, я┤я┌п╬ п╠я▀ п╦п╥п╪п╣п╫п╦я┌я▄ п╬я┌п╢п╣п╩я▄п╫я▀п╧ п©п╟я─п╟п╪п╣я┌я─ п╡я│п╣, я┤я┌п╬ п╫я┐п╤п╫п╬, п©я─п╬я│я┌п╬ п╥п╟пЁя─я┐п╥п╦я┌я▄ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╧ я└п╟п╧п╩ п╡ я┌п╣п╨я│я┌п╬п╡я▀п╧ я─п╣п╢п╟п╨я┌п╬я─ п╦ п╦п╥п╪п╣п╫п╦я┌я▄ п╥п╫п╟я┤п╣п╫п╦п╣ п╫я┐п╤п╫п╬пЁп╬ п©п╟я─п╟п╪п╣я┌я─п╟. п∙я│п╩п╦ п╡ п╨п╟п╨п╬п╧-я┌п╬ п╪п╬п╪п╣п╫я┌ п╡я▀ п╥п╟я┘п╬я┌п╦я┌п╣ п╡п╬я│я│я┌п╟п╫п╬п╡п╦я┌я▄ п©п╟я─п╟п╪п╣я┌я─я▀ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌, п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п©я─п╬я│я┌п╬ я┐п╢п╟п╩п╦я┌я▄ (п╦п╩п╦ п©п╣я─п╣п╦п╪п╣п╫п╬п╡п╟я┌я▄) п╢п╦я─п╣п╨я┌п╬я─п╦я▌ я│ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╣п╧, п©п╬я│п╩п╣ я┤п╣пЁп╬ п╡я▀п©п╬п╩п╫п╦я┌я▄ п╨п╟п╨я┐я▌-я┌п╬ п╠п╣п╥п╬п╠п╦п╢п╫я┐я▌ п╨п╬п╪п╟п╫п╢я┐ svn, п╫п╟п©я─п╦п╪п╣я─, svn --version. п▓ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ п╠я┐п╢п╣я┌ я│п╬п╥п╢п╟п╫п╟ п╫п╬п╡п╟я▐ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ я│ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╣п╧ п╦ я│п╬п╢п╣я─п╤п╦п╪я▀п╪ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌.

п я─п╬п╪п╣ я┌п╬пЁп╬, п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╟я▐ п╬п╠п╩п╟я│я┌я▄ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ я│п╬п╢п╣я─п╤п╦я┌ п╨п╣я┬ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦. п■п╦я─п╣п╨я┌п╬я─п╦я▐ auth п╬п╠я┼п╣п╢п╦п╫я▐п╣я┌ п╫п╟п╠п╬я─ п©п╬п╢п╢п╦я─п╣п╨я┌п╬я─п╦п╧, я│п╬п╢п╣я─п╤п╟я┴п╦я┘ п╨п╣я┬п╦я─п╬п╡п╟п╫п╫я┐ п╦п╫я└п╬я─п╪п╟я├п╦я▌, п╦я│п©п╬п╩я▄п╥я┐п╣п╪я┐я▌ п╡ я─п╟п╥п╩п╦я┤п╫я▀я┘, п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣п╪я▀я┘ Subversion п╪п╣я┌п╬п╢п╟я┘ п╟п╡я┌п╬я─п╦п╥п╟я├п╦п╦. п╜я┌п╟ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ я│п╬п╥п╢п╟п╣я┌я│я▐ я┌п╟п╨, я┤я┌п╬ п╠я▀ я┌п╬п╩я▄п╨п╬ я│п╟п╪ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╦п╪п╣п╩ п©я─п╟п╡п╬ п©я─п╬я│п╪п╟я┌я─п╦п╡п╟я┌я▄ п╣п╣ я│п╬п╢п╣я─п╤п╦п╪п╬п╣.

п п╬п╫я└п╦пЁя┐я─п╟я├п╦я▐ п╦ я─п╣п╣я│я┌я─ Windows

п▓ п╢п╬п©п╬п╩п╫п╣п╫п╦п╣ п╨ п╬п╠я▀я┤п╫я▀п╪ INI-п╫п╟я│я┌я─п╬п╧п╨п╟п╪, Subversion-п╨п╩п╦п╣п╫я┌, я─п╟п╠п╬я┌п╟я▌я┴п╦п╧ п╫п╟ п©п╩п╟я┌я└п╬я─п╪п╣ Windows, п╪п╬п╤п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╢п╩я▐ я┘я─п╟п╫п╣п╫п╦я▐ п╫п╟я│я┌я─п╬п╣п╨ Windows-я─п╣п╣я│я┌я─. п≤п╪п╣п╫п╟ п©п╟я─п╟п╪п╣я┌я─п╬п╡ п╦ п╦я┘ п╥п╫п╟я┤п╣п╫п╦я▐ я┌п╬я┤п╫п╬ я┌п╟п╨п╦п╣ п╤п╣, п╨п╟п╨ п╦ п╡ INI-я└п╟п╧п╩п╟я┘. п≤п╣я─п╟я─я┘п╦я▐ б╚я└п╟п╧п╩п╬п╡б╩ я│п╬я┘я─п╟п╫я▐п╣я┌я│я▐, я┌п╬п╩я▄п╨п╬ п╫п╣п╪п╫п╬пЁп╬ п╪п╣п╫я▐п╣я┌я│я▐ я│п©п╬я│п╬п╠ п╟п╢я─п╣я│п╟я├п╦п╦ Б─■ я└п╟п╧п╩я▀ п╦ я─п╟п╥п╢п╣п╩я▀ п©я─п╬я│я┌п╬ п╥п╟п╪п╣п╫я▐я▌я┌я│я▐ я┐я─п╬п╡п╫я▐п╪п╦ п╡ п╢п╣я─п╣п╡п╣ п╨п╩я▌я┤п╣п╧ я─п╣п╣я│я┌я─п╟.

п≈п╟ п╬п╠я┴п╣я│п╦я│я┌п╣п╪п╫я▀п╪п╦ п╫п╟я│я┌я─п╬п╧п╨п╟п╪п╦ Subversion п╬п╠я─п╟я┴п╟п╣я┌я│я▐ п╨ п╨п╩я▌я┤я┐ HKEY_LOCAL_MACHINE\Software\Tigris.org\Subversion п²п╟п©я─п╦п╪п╣я─, п©п╟я─п╟п╪п╣я┌я─ global-ignores, п╫п╟я┘п╬п╢я▐я┴п╦п╧я│я▐ п╡ я─п╟п╥п╢п╣п╩п╣ miscellany я└п╟п╧п╩п╟ config п╠я┐п╢п╣я┌ п╫п╟я┘п╬п╢п╦я┌я▄я│я▐ п╡ HKEY_LOCAL_MACHINE\Software\Tigris.org\Subversion\Config\Miscellany\global-ignores. п÷п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╦п╣ п╫п╟я│я┌я─п╬п╧п╨п╦ я┘я─п╟п╫я▐я┌я│я▐ п╡ п╨п╩я▌я┤п╣ HKEY_CURRENT_USER\Software\Tigris.org\Subversion.

п÷п╟я─п╟п╪п╣я┌я─я▀ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦, я┐п╨п╟п╥п╟п╫п╫я▀п╣ п╡ я─п╣п╣я│я┌я─п╣ п╬п╠я─п╟п╠п╟я┌я▀п╡п╟я▌я┌я│я▐ п╢п╬ я█п╨п╡п╦п╡п╟п╩п╣п╫я┌п╫я▀я┘ п©п╟я─п╟п╪п╣я┌я─п╬п╡ п╡ я└п╟п╧п╩п╟я┘ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦, п©п╬я█я┌п╬п╪я┐ п╬п╫п╦ п╥п╟п╪п╣п╫я▐я▌я┌я│я▐ п╥п╫п╟я┤п╣п╫п╦я▐п╪п╦, п╫п╟п╧п╢п╣п╫п╫я▀п╪п╦, п╡ я└п╟п╧п╩п╟я┘ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦. п■я─я┐пЁп╦п╪п╦ я│п╩п╬п╡п╟п╪п╦, п╫п╟ Windows-я│п╦я│я┌п╣п╪п╣ п©я─п╦п╬я─п╦я┌п╣я┌я▀ я─п╟я│п©п╬п╩п╬п╤п╣п╫я▀ п╡ я│п╩п╣п╢я┐я▌я┴п╣п╪ п©п╬я─я▐п╢п╨п╣:

  1. п÷п╟я─п╟п╪п╣я┌я─я▀ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦

  2. п÷п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╦п╣ INI-я└п╟п╧п╩я▀

  3. п÷п╟я─п╟п╪п╣я┌я─я▀ п╡ я─п╣п╣я│я┌я─п╣

  4. п║п╦я│я┌п╣п╪п╫я▀п╣ INI-я└п╟п╧п╩я▀

  5. п·п╠я┴п╣я│п╦я│я┌п╣п╪п╫я▀п╣ п©п╟я─п╟п╪п╣я┌я─я▀ п╡ я─п╣п╣я│я┌я─п╣

п я─п╬п╪п╣ я┌п╬пЁп╬, я─п╣п╣я│я┌я─ Windows п╫п╣ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌ п╪п╣я┘п╟п╫п╦п╥п╪п╟ б╚п╨п╬п╪п╪п╣п╫я┌п╦я─п╬п╡п╟п╫п╦я▐б╩. п╒п╣п╪ п╫п╣ п╪п╣п╫п╣п╣, Subversion п╦пЁп╫п╬я─п╦я─я┐п╣я┌ п©п╟я─п╟п╪п╣я┌я─я▀, я┐ п╨п╬я┌п╬я─я▀я┘ п╦п╪п╣п╫п╟ п╫п╟я┤п╦п╫п╟я▌я┌я│я▐ я│ я│п╦п╪п╡п╬п╩п╟ б╚я─п╣я┬п╣я┌п╨п╟б╩ (#). п╜я┌п╬ п©п╬п╥п╡п╬п╩я▐п╣я┌ п╥п╟п╨п╬п╪п╪п╣п╫я┌п╦я─п╬п╡п╟я┌я▄ п©п╟я─п╟п╪п╣я┌я─, п╫п╣ я┐п╢п╟п╩я▐я▐ п╨п╩я▌я┤ п╦п╥ я─п╣п╣я│я┌я─п╟, я┤я┌п╬ п╥п╫п╟я┤п╦я┌п╣п╩я▄п╫п╬ я┐п©я─п╬я┴п╟п╣я┌ п©я─п╬я├п╣я│я│ п╡п╬я│я│я┌п╟п╫п╬п╡п╩п╣п╫п╦я▐ я█я┌п╬пЁп╬ п©п╟я─п╟п╪п╣я┌я─п╟.

п п╩п╦п╣п╫я┌ п╢п╩я▐ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ svn п╫п╦п╨п╬пЁп╢п╟ п╫п╦я┤п╣пЁп╬ п╫п╣ п╥п╟п©п╦я│я▀п╡п╟п╣я┌ п╦ п╫п╣ я│п╬п╥п╢п╟п╣я┌ п©п╣я─п╡п╬п╫п╟я┤п╟п╩я▄п╫я▀п╣ б╚я┐п╪п╬п╩я┤п╟я┌п╣п╩я▄п╫я▀п╣б╩ п©п╟я─п╟п╪п╣я┌я─я▀ п╡ я─п╣п╣я│я┌я─п╣ Windows. п²я┐п╤п╫я▀п╣ п╡п╟п╪ п╨п╩я▌я┤п╦ п╡я▀ п╪п╬п╤п╣я┌п╣ я│п╬п╥п╢п╟я┌я▄ п╦я│п©п╬п╩я▄п╥я┐я▐ п©я─п╬пЁя─п╟п╪п╪я┐ REGEDIT. п⌡п╦п╠п╬, п╪п╬п╤п╫п╬ я│п╬п╥п╢п╟я┌я▄ .reg-я└п╟п╧п╩ п╦ п╢п╡п╬п╧п╫я▀п╪ я┴п╣п╩я┤п╨п╬п╪ п╫п╟ я█я┌п╬п╪ я└п╟п╧п╩п╣ п╡ Explorer п╢п╬п╠п╟п╡п╦я┌я▄ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╡ я─п╣п╣я│я┌я─.

п÷я─п╦п╪п╣я─ 7.1. п÷я─п╦п╪п╣я─ я┐п╨п╟п╥п╟п╫п╦я▐ п©п╟я─п╟п╪п╣я┌я─п╬п╡ п╡ (.reg) я└п╟п╧п╩п╣ я─п╣п╣я│я┌я─п╟.

REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Tigris.org\Subversion\Servers\groups]

[HKEY_LOCAL_MACHINE\Software\Tigris.org\Subversion\Servers\global]
"#http-proxy-host"=""
"#http-proxy-port"=""
"#http-proxy-username"=""
"#http-proxy-password"=""
"#http-proxy-exceptions"=""
"#http-timeout"="0"
"#http-compression"="yes"
"#neon-debug-mask"=""
"#ssl-authority-files"=""
"#ssl-trust-default-ca"=""
"#ssl-client-cert-file"=""
"#ssl-client-cert-password"=""

[HKEY_CURRENT_USER\Software\Tigris.org\Subversion\Config\auth]
"#store-auth-creds"="no"

[HKEY_CURRENT_USER\Software\Tigris.org\Subversion\Config\helpers]
"#editor-cmd"="notepad"
"#diff-cmd"=""
"#diff3-cmd"=""
"#diff3-has-program-arg"=""

[HKEY_CURRENT_USER\Software\Tigris.org\Subversion\Config\miscellany]
"#global-ignores"="*.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store"
"#log-encoding"=""
"#use-commit-times"=""
"#template-root"=""
"#enable-auto-props"=""

[HKEY_CURRENT_USER\Software\Tigris.org\Subversion\Config\tunnels]

[HKEY_CURRENT_USER\Software\Tigris.org\Subversion\Config\auto-props]


п▓ п©я─п╣п╢я▀п╢я┐я┴п╣п╪ п©я─п╦п╪п╣я─п╣ п©п╬п╨п╟п╥п╟п╫п╬ я│п╬п╢п╣я─п╤п╦п╪п╬п╣ .reg-я└п╟п╧п╩п╟, я│п╬п╢п╣я─п╤п╟я┴п╣пЁп╬ я┤п╟я│я┌п╬ п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╣ п©п╟я─п╟п╪п╣я┌я─я▀ п╦ п╦я┘ п╥п╫п╟я┤п╣п╫п╦я▐ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌. п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣, я┤я┌п╬ п©я─п╦п╡п╣п╢п╣п╫я▀ п╨п╟п╨ п╬п╠я┴п╣я│п╦я│я┌п╣п╪п╫я▀п╣ (я│п╣я┌п╣п╡я▀п╣ п╫п╟я│я┌я─п╬п╧п╨п╦, п╬я┌п╫п╬я│я▐я┴п╦п╣я│я▐ п╨ п©я─п╬п╨я│п╦-я│п╣я─п╡п╣я─я┐) п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╦п╣ п©п╟я─п╟п╪п╣я┌я─я▀ (п©я─п╬пЁя─п╟п╪п╪я▀-я─п╣п╢п╟п╨я┌п╬я─я▀ п╦ я│п╬я┘я─п╟п╫п╣п╫п╦п╣ п©п╟я─п╬п╩п╣п╧, я│я─п╣п╢п╦ п©я─п╬я┤п╣пЁп╬). п╒п╟п╨ п╤п╣ п╬п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣, я┤я┌п╬ п╡я│п╣ п©п╟я─п╟п╪п╣я┌я─я▀ п╥п╟п╨п╬п╪п╪п╣п╫я┌п╦я─п╬п╡п╟п╫я▀. п²п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╠я┐п╢п╣я┌ п©я─п╬я│я┌п╬ я┐п╢п╟п╩п╦я┌я▄ я│п╦п╪п╡п╬п╩ б╚я─п╣я┬п╣я┌п╨п╟б╩ (#) п╦ я┐я│я┌п╟п╫п╬п╡п╦я┌я▄ п╫я┐п╤п╫п╬п╣ п╥п╫п╟я┤п╣п╫п╦п╣.

п÷п╟я─п╟п╪п╣я┌я─я▀ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦

п▓ я█я┌п╬п╪ я─п╟п╥п╢п╣п╩п╣ я─п╟я│я│п╪п╟я┌я─п╦п╡п╟я▌я┌я│я▐ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣п╪я▀п╣ Subversion п©п╟я─п╟п╪п╣я┌я─я▀ п╡я─п╣п╪п╣п╫п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐.

Servers

п▓ я└п╟п╧п╩п╣ servers п╫п╟я┘п╬п╢я▐я┌я│я▐ п╫п╟я│я┌я─п╬п╧п╨п╦, п╬я┌п╫п╬я│я▐я┴п╦п╣я│я▐ п╨ я─п╟п╠п╬я┌п╣ Subversion я┤п╣я─п╣п╥ я│п╣я┌я▄. п·п╫ я│п╬п╢п╣я─п╤п╦я┌ п╢п╡п╟ я│п©п╣я├п╦п╟п╩я▄п╫я▀я┘ я─п╟п╥п╢п╣п╩п╟ Б─■ groups п╦ global. п═п╟п╥п╢п╣п╩ groups п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ п©я─п╬я│я┌п╬ п©п╣я─п╣п╨я─п╣я│я┌п╫я┐я▌ я┌п╟п╠п╩п╦я├я┐. п п╩я▌я┤п╦ я█я┌п╬пЁп╬ я─п╟п╥п╢п╣п╩п╟ я▐п╡п╩я▐я▌я┌я│я▐ п╦п╪п╣п╫п╟п╪п╦ п©п╬я│п╩п╣п╢я┐я▌я┴п╦я┘ я─п╟п╥п╢п╣п╩п╬п╡ я└п╟п╧п╩п╟; п╥п╫п╟я┤п╣п╫п╦я▐ п╨п╩я▌я┤п╣п╧ п©я─п╣п╢я│я┌п╟п╡п╩я▐я▌я┌ я│п╬п╠п╬п╧ п╬п╠п╬п╠я┴п╣п╫п╦я▐ Б─■ я┌п╣п╨я│я┌п╬п╡я▀п╣ п╠п╩п╬п╨п╦, п╨п╬я┌п╬я─я▀п╣ п╪п╬пЁя┐я┌ я│п╬п╢п╣я─п╤п╟я┌я▄ п©п╬п╢я│я┌п╟п╫п╬п╡п╬я┤п╫я▀п╣ я│п╦п╪п╡п╬п╩я▀ Б─■ я│я─п╟п╡п╫п╦п╡п╟п╣п╪я▀п╣ я│ п╦п╪п╣п╫п╟п╪п╦ п╪п╟я┬п╦п╫, п╨ п╨п╬я┌п╬я─я▀п╪ Subversion п╫п╟п©я─п╟п╡п╩я▐п╣я┌ п╥п╟п©я─п╬я│я▀.

[groups]
beanie-babies = *.red-bean.com
collabnet = svn.collab.net

[beanie-babies]
Б─╕

[collabnet]
Б─╕

п÷я─п╦ я─п╟п╠п╬я┌п╣ я┤п╣я─п╣п╥ я│п╣я┌я▄, Subversion п╦я┴п╣я┌ я│п╬п╡п©п╟п╢п╣п╫п╦я▐ п╪п╣п╤п╢я┐ п╦п╪п╣п╫п╣п╪ я│п╣я─п╡п╣я─п╟, я│ п╨п╬я┌п╬я─я▀п╪ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣я┌я│я▐ я│п╡я▐п╥я▄ п╦ п╦п╪п╣п╫п╣п╪ пЁя─я┐п©п©я▀ п╡ я─п╟п╥п╢п╣п╩п╣ groups. п∙я│п╩п╦ п╫п╟п╧п╢п╣п╫п╬ я│п╬п╡п©п╟п╢п╣п╫п╦п╣, Subversion п╬п╠я─п╟я┴п╟п╣я┌я│я▐ п╨ я└п╟п╧п╩я┐ servers, п╨ я─п╟п╥п╢п╣п╩я┐ я│ п╦п╪п╣п╫п╣п╪, я│п╬п╡п©п╟п╢п╟я▌я┴п╦п╪ я│ п╦п╪п╣п╫п╣п╪ пЁя─я┐п©п©я▀. п≤п╥ я█я┌п╬пЁп╬ я─п╟п╥п╢п╣п╩п╟ п╠п╣я─я┐я┌я│я▐ п╫п╣п╬п╠я┘п╬п╢п╦п╪я▀п╣ я│п╣я┌п╣п╡я▀п╣ п╫п╟я│я┌я─п╬п╧п╨п╦.

п═п╟п╥п╢п╣п╩ global я│п╬п╢п╣я─п╤п╦я┌ п╫п╟я│я┌я─п╬п╧п╨п╦, п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╣ п╢п╩я▐ п╡я│п╣я┘ я│п╣я─п╡п╣я─п╬п╡, п╫п╣ п©п╬п╢п©п╟п╢п╟я▌я┴п╦я┘ п╫п╦ п©п╬п╢ п╬п╢п╫п╬ п╬п╠п╬п╠я┴п╣п╫п╦п╣ я─п╟п╥п╢п╣п╩п╟ groups. п≈п╢п╣я│я▄ я┐п╨п╟п╥я▀п╡п╟я▌я┌я│я▐ я┌п╣-п╤п╣, я┤я┌п╬ п╦ п╢п╩я▐ п╬я│я┌п╟п╩я▄п╫я▀я┘ я│п╣я─п╡п╣я─п╫я▀я┘ я─п╟п╥п╢п╣п╩п╬п╡ я└п╟п╧п╩п╟ п©п╟я─п╟п╪п╣я┌я─я▀ (п╨п╬п╫п╣я┤п╫п╬, п╥п╟ п╦я│п╨п╩я▌я┤п╣п╫п╦п╣п╪ я│п©п╣я├п╦п╟п╩я▄п╫п╬пЁп╬ я─п╟п╥п╢п╣п╩п╟ groups), п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╣ п©п╟я─п╟п╪п╣я┌я─я▀ п©я─п╦п╡п╣п╢п╣п╫я▀ п╫п╦п╤п╣:

http-proxy-host

пёп╨п╟п╥я▀п╡п╟п╣я┌ п╦п╪я▐ п╨п╬п╪п©я▄я▌я┌п╣я─п╟-п©п╬я│я─п╣п╢п╫п╦п╨п╟, я┤п╣я─п╣п╥ п╨п╬я┌п╬я─я▀п╧ Subversion п╢п╬п╩п╤п╫п╟ п╬я┌п©я─п╟п╡п╩я▐я┌я▄ HTTP-п╥п╟п©я─п╬я│я▀. п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌, я█я┌п╬я┌ п©п╟я─п╟п╪п╣я┌я─ п╦п╪п╣п╣я┌ п©я┐я│я┌п╬п╣ п╥п╫п╟я┤п╣п╫п╦п╣, п╨п╬я┌п╬я─п╬п╣ пЁп╬п╡п╬я─п╦я┌ Subversion п╬ я┌п╬п╪, я┤я┌п╬ п╬п╫п╟ п╢п╬п╩п╤п╫п╟ п╫п╟п©я─п╟п╡п╩я▐я┌я▄ HTTP-п╥п╟п©я─п╬я│я▀ п╫п╣ я┤п╣я─п╣п╥ п╨п╬п╪п©я▄я▌я┌п╣я─-п©п╬я│я─п╣п╢п╫п╦п╨, п╟ я│п╡я▐п╥я▀п╡п╟я┌я▄я│я▐ я│ я├п╣п╩п╣п╡п╬п╧ п╪п╟я┬п╦п╫п╬п╧ п╫п╟п©я─я▐п╪я┐я▌.

http-proxy-port

пёп╨п╟п╥я▀п╡п╟п╣я┌ п╫п╬п╪п╣я─ п╦я│п©п╬п╩я▄п╥я┐п╣п╪п╬пЁп╬ п©п╬я─я┌п╟ п╫п╟ п©я─п╬п╪п╣п╤я┐я┌п╬я┤п╫п╬п╪ п╨п╬п╪п©я▄я▌я┌п╣я─п╣. п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╦п╪п╣п╣я┌ п©я┐я│я┌п╬п╣ п╥п╫п╟я┤п╣п╫п╦п╣.

http-proxy-username

пёп╨п╟п╥я▀п╡п╟п╣я┌ п╦п╪я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐, п©п╣я─п╣п╢п╟п╡п╟п╣п╪п╬пЁп╬ п╨п╬п╪п©я▄я▌я┌п╣я─я┐-п©п╬я│я─п╣п╢п╫п╦п╨я┐. п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╦п╪п╣п╣я┌ п©я┐я│я┌п╬п╣ п╥п╫п╟я┤п╣п╫п╦п╣.

http-proxy-password

пёп╨п╟п╥я▀п╡п╟п╣я┌ п©п╟я─п╬п╩я▄, п©п╣я─п╣п╢п╟п╡п╟п╣п╪я▀п╧ п╨п╬п╪п©я▄я▌я┌п╣я─я┐-п©п╬я│я─п╣п╢п╫п╦п╨я┐. п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╦п╪п╣п╣я┌ п©я┐я│я┌п╬п╣ п╥п╫п╟я┤п╣п╫п╦п╣.

http-timeout

пёп╨п╟п╥я▀п╡п╟п╣я┌, п╡ я│п╣п╨я┐п╫п╢п╟я┘, п©я─п╬п╪п╣п╤я┐я┌п╬п╨ п╡я─п╣п╪п╣п╫п╦ п╬п╤п╦п╢п╟п╫п╦я▐ п╬я┌п╡п╣я┌п╟ я│п╣я─п╡п╣я─п╟. п∙я│п╩п╦ п©я─п╦ п╫п╦п╥п╨п╬я│п╨п╬я─п╬я│я┌п╫п╬п╪ я│п╣я┌п╣п╡п╬п╪ я│п╬п╣п╢п╦п╫п╣п╫п╦п╦ я┐ п╡п╟я│ п╡п╬п╥п╫п╦п╨п╟п╣я┌ п©я─п╬п╠п╩п╣п╪п╟ п©я─п╣п╡я▀я┬п╣п╫п╦я▐ п╡я─п╣п╪п╣п╫п╦ п╬п╤п╦п╢п╟п╫п╦я▐, я│п╩п╣п╢я┐п╣я┌ я┐п╡п╣п╩п╦я┤п╦я┌я▄ я█я┌п╬ п╥п╫п╟я┤п╣п╫п╦п╣. п≈п╫п╟я┤п╣п╫п╦п╣ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ 0 п╬п╥п╫п╟я┤п╟п╣я┌ п╢п╩я▐ п╫п╦п╥п╩п╣п╤п╟я┴п╣п╧ HTTP п╠п╦п╠п╩п╦п╬я┌п╣п╨п╦, Neon, п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я│п╡п╬п╣ я│п╬п╠я│я┌п╡п╣п╫п╫п╬п╣ п╥п╫п╟я┤п╣п╫п╦п╣ п╡я─п╣п╪п╣п╫п╦ п╬п╤п╦п╢п╟п╫п╦я▐.

http-compression

пёп╨п╟п╥я▀п╡п╟п╣я┌, п╢п╬п╩п╤п╫п╟ п╦п╩п╦ п╫п╣я┌ Subversion п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я│п╤п╟я┌п╦п╣ я│п╣я┌п╣п╡я▀я┘ п╥п╟п©я─п╬я│п╬п╡, п╡я▀п©п╬п╩п╫я▐я▌я┴п╦я┘я│я▐ п╨ DAV-я│п╣я─п╡п╣я─п╟п╪. п≈п╫п╟я┤п╣п╫п╦п╣п╪ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ я▐п╡п╩я▐п╣я┌я│я▐ yes (п╬п╢п╫п╟п╨п╬ п╡я▀п©п╬п╩п╫я▐я┌я▄я│я▐ я│п╤п╟я┌п╦п╣ п╠я┐п╢п╣я┌ я┌п╬п╩я▄п╨п╬ п╣я│п╩п╦ я┌п╟п╨п╟я▐ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌я│я▐ я│п╣я┌п╣п╡я▀п╪ я│п╩п╬п╣п╪). пёя│я┌п╟п╫п╬п╡п╦я┌п╣ я█я┌п╬я┌ п©п╟я─п╟п╪п╣я┌я─ п╡ no, п╢п╩я▐ п╬я┌п╨п╩я▌я┤п╣п╫п╦я▐ я│п╤п╟я┌п╦я▐, п╫п╟п©я─п╦п╪п╣я─ п©я─п╦ п╬я┌п╩п╟п╢п╨п╣ я│п╣я┌п╣п╡я▀я┘ я┌я─п╟п╫п╥п╟п╨я├п╦п╧.

neon-debug-mask

п╕п╣п╩п╬я┤п╦я│п╩п╣п╫п╫п╟я▐ п╪п╟я│п╨п╟, п╨п╬я┌п╬я─п╟я▐ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╫п╦п╥п╩п╣п╤п╟я┴п╣п╧ HTTP-п╠п╦п╠п╩п╦п╬я┌п╣п╨п╬п╧, Neon, п╢п╩я▐ п╬п©я─п╣п╢п╣п╩п╣п╫п╦я▐ я┌п╦п©п╟ п╡я▀п╡п╬п╢п╦п╪п╬п╧ п╬я┌п╩п╟п╢п╬я┤п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦. п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╬ п╥п╫п╟я┤п╣п╫п╦п╣ 0, я│п╨я─я▀п╡п╟я▌я┴п╦п╣ п╡п╣я│я▄ п╬я┌п╩п╟п╢п╬я┤п╫я▀п╧ п╡я▀п╡п╬п╢. п÷п╬п╢я─п╬п╠п╫п╣п╣ п╬ я┌п╬п╪ п╨п╟п╨ Subversion п╦я│п©п╬п╩я▄п╥я┐п╣я┌ Neon я┤п╦я┌п╟п╧я┌п╣ п╡ я─п╟п╥п╢п╣п╩п╣ п⌠п╩п╟п╡п╟б═8, п≤п╫я└п╬я─п╪п╟я├п╦я▐ п╢п╩я▐ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡.

ssl-authority-files

п═п╟п╥п╢п╣п╩п╣п╫п╫я▀п╧ я┌п╬я┤п╨п╬п╧ я│ п╥п╟п©я▐я┌п╬п╧ п©п╣я─п╣я┤п╣п╫я▄ п©я┐я┌п╣п╧ п╨ я└п╟п╧п╩п╟п╪, я│п╬п╢п╣я─п╤п╟я┴п╦п╪ я│п╣я─я┌п╦я└п╦п╨п╟я┌я▀ п╟п╡я┌п╬я─п╦п╥п╟я├п╦п╦ (п╦п╩п╦ CAs), п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╣ Subversion-п╨п╩п╦п╣п╫я┌п╬п╪ п©я─п╦ п╬п╠я─п╟я┴п╣п╫п╦п╦ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐ я┤п╣я─п╣п╥ HTTPS.

ssl-trust-default-ca

пёя│я┌п╟п╫п╬п╡п╦я┌п╣ п╥п╫п╟я┤п╣п╫п╦п╣ я█я┌п╬п╧ п©п╣я─п╣п╪п╣п╫п╫п╬п╧ п╡ yes, п╣я│п╩п╦ я┘п╬я┌п╦я┌п╣ я┤я┌п╬п╠я▀ Subversion п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ п╢п╬п╡п╣я─я▐п╩п╟ п╫п╟п╠п╬я─я┐ п©п╬я│я┌п╟п╡п╩я▐п╣п╪я▀я┘ п╡п╪п╣я│я┌п╣ я│ OpenSSL я│п╣я─я┌п╦я└п╦п╨п╟я┌п╬п╡ (CAs).

ssl-client-cert-file

п∙я│п╩п╦ я┘п╬я│я┌ (п╦п╩п╦ я┘п╬я│я┌я▀) я┌я─п╣п╠я┐я▌я┌ SSL я│п╣я─я┌п╦я└п╦п╨п╟я┌ п╨п╩п╦п╣п╫я┌п╟, я┐ п╡п╟я│ п╠я┐п╢п╣я┌ п╥п╟п©я─п╬я┬п╣п╫ п©я┐я┌я▄ п╨ п╡п╟я┬п╣п╪я┐ я│п╣я─я┌п╦я└п╦п╨п╟я┌я┐. пёя│я┌п╟п╫п╬п╡п╦я┌п╣ п╥п╫п╟я┤п╣п╫п╦п╣ я█я┌п╬п╧ п©п╣я─п╣п╪п╣п╫п╫п╬п╧ п╦ Subversion я│п╪п╬п╤п╣я┌ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ п╫п╟я┘п╬п╢п╦я┌я▄ п╡п╟я┬ я│п╣я─я┌п╦я└п╦п╨п╟я┌, п╠п╣п╥ п╥п╟п©я─п╬я│п╟. п²п╣я┌ я│я┌п╟п╫п╢п╟я─я┌п╫п╬пЁп╬ п╪п╣я│я┌п╟ п╢п╩я▐ я┘я─п╟п╫п╣п╫п╦я▐ я│п╣я─я┌п╦я└п╦п╨п╟я┌п╟ п╫п╟ п╢п╦я│п╨п╣; Subversion п╠я┐п╢п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я┌п╬я┌, п╨п╬я┌п╬я─я▀п╧ я─п╟я│п©п╬п╩п╟пЁп╟п╣я┌я│я▐ п©п╬ я┐п╨п╟п╥п╟п╫п╫п╬п╪я┐ п╡п╟п╪п╦ п©я┐я┌п╦.

ssl-client-cert-password

п∙я│п╩п╦ п╡п╟я┬ п╨п╩п╦п╣п╫я┌я│п╨п╦п╧ SSL я│п╣я─я┌п╦я└п╦п╨п╟я┌ п╥п╟я┴п╦я┴п╣п╫ п©п╟я─п╬п╩п╣п╪, п©я─п╦ п╬п╠я─п╟я┴п╣п╫п╦п╦ п╨ п╫п╣п╪я┐ Subversion п╥п╟п©я─п╬я│п╦я┌ я┐ п╡п╟я│ п©п╟я─п╬п╩я▄. п∙я│п╩п╦ я█я┌п╬ п╡п╟п╪ п╫п╟п╢п╬п╣п╢п╟п╣я┌ (п╦ п╡п╟я│ п╫п╣ п©я┐пЁп╟п╣я┌ я┘я─п╟п╫п╦я┌я▄ п©п╟я─п╬п╩я▄ п╡ я└п╟п╧п╩п╣ servers), п╪п╬п╤п╫п╬ п©я─п╦я│п╡п╬п╦я┌я▄ п╥п╫п╟я┤п╣п╫п╦я▌ я█я┌п╬п╧ п©п╣я─п╣п╪п╣п╫п╫п╬п╧ п©п╟я─п╬п╩я▄ я│п╣я─я┌п╦я└п╦п╨п╟я┌п╟. п÷п╬я│п╩п╣ я█я┌п╬пЁп╬ п©п╟я─п╬п╩я▄ п╠п╬п╩я▄я┬п╣ п╥п╟п©я─п╟я┬п╦п╡п╟я┌я▄я│я▐ п╫п╣ п╠я┐п╢п╣я┌.

Config

п·я│я┌п╟п╩я▄п╫я▀п╣ п╢п╬я│я┌я┐п©п╫я▀п╣ п©п╟я─п╟п╪п╣я┌я─я▀ п╡я─п╣п╪п╣п╫п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ Subversion, п╫п╣ п╬я┌п╫п╬я│я▐я┴п╦п╣я│я▐ п╨ я│п╣я┌п╣п╡п╬п╧ я─п╟п╠п╬я┌п╣, п╫п╟я┘п╬п╢я▐я┌я│я▐ п╡ я└п╟п╧п╩п╣ config. п▓ п╢п╟п╫п╫я▀п╧ п╪п╬п╪п╣п╫я┌ я│я┐я┴п╣я│я┌п╡я┐п╣я┌ п╡я│п╣пЁп╬ п╫п╣я│п╨п╬п╩я▄п╨п╬ п©п╟я─п╟п╪п╣я┌я─п╬п╡, п╫п╬ п╬п╫п╦ я┌п╬п╤п╣ я│пЁя─я┐п©п©п╦я─п╬п╡п╟п╫я▀ п╡ я─п╟п╥п╢п╣п╩я▀, п╡ я─п╟я│я┤п╣я┌п╣ п╫п╟ п╦я┘ я┐п╡п╣п╩п╦я┤п╣п╫п╦п╣ п╡ п╠я┐п╢я┐я┴п╣п╪.

п═п╟п╥п╢п╣п╩ auth я│п╬п╢п╣я─п╤п╦я┌ п©п╟я─п╟п╪п╣я┌я─я▀, п╬я┌п╫п╬я│я▐я┴п╦п╣я│я▐ п╨ п╟я┐я┌п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦ п╦ п╟п╡я┌п╬я─п╦п╥п╟я├п╦п╦ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п·п╫ я│п╬п╢п╣я─п╤п╦я┌:

store-passwords

пёя│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣я┌, п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╦п╩п╦ п╫п╣ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╨п╣я┬п╦я─п╬п╡п╟п╫п╦п╣ п©п╟я─п╬п╩п╣п╧, п╡п╡п╣п╢п╣п╫п╫я▀я┘ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪ п╡ п╬я┌п╡п╣я┌ п╫п╟ п╥п╟п©я─п╬я│ п©я─п╦ п╟я┐я┌п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦ п╫п╟ я│п╣я─п╡п╣я─п╣. п≈п╫п╟я┤п╣п╫п╦п╣п╪ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ я▐п╡п╩я▐п╣я┌я│я▐ п╢п╟. п■п╩я▐ п╥п╟п©я─п╣я┌п╟ п╨п╣я┬п╦я─п╬п╡п╟п╫п╦я▐ п©п╟я─п╬п╩п╣п╧ п╫п╟ п╢п╦я│п╨ я┐я│я┌п╟п╫п╬п╡п╦я┌п╣ я█я┌п╬я┌ п©п╟я─п╟п╪п╣я┌я─ п╡ п╫п╣я┌. п■п╩я▐ п╬я┌п╢п╣п╩я▄п╫п╬пЁп╬ п╥п╟п©я┐я│п╨п╟ svn я█я┌п╬я┌ п©п╟я─п╟п╪п╣я┌я─ п╪п╬п╤п╫п╬ п©п╣я─п╣п╬п©я─п╣п╢п╣п╩п╦я┌я▄, п╦я│п©п╬п╩я▄п╥я┐я▐ п©п╟я─п╟п╪п╣я┌я─ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ --no-auth-cache (п╢п╩я▐ я┌п╣я┘ п╨п╬п╪п╟п╫п╢, п╨п╬я┌п╬я─я▀п╣ п╣пЁп╬ п©п╬п╢п╢п╣я─п╤п╦п╡п╟я▌я┌). п≈п╟ п╠п╬п╩п╣п╣ п©п╬п╢я─п╬п╠п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╣п╧ п╬п╠я─п╟я┌п╦я┌п╣я│я▄ п╨ я─п╟п╥п╢п╣п╩я┐ б╚п я█я┬п╦я─п╬п╡п╟п╫п╦п╣ п╨п╩п╦п╣п╫я┌я│п╨п╬п╧ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦б╩.

store-auth-creds

п╜я┌п╬я┌ п©п╟я─п╟п╪п╣я┌я─ я┌п╟п╨п╬п╧ п╤п╣ п╨п╟п╨ п╦ store-passwords, п╥п╟ п╦я│п╨п╩я▌я┤п╣п╫п╦п╣п╪ я┌п╬пЁп╬, я┤я┌п╬ п╬п╫ я─п╟п╥я─п╣я┬п╟п╣я┌ п╦п╩п╦ п╥п╟п©я─п╣я┴п╟п╣я┌ п╢п╦я│п╨п╬п╡п╬п╣ п╨п╣я┬п╦я─п╬п╡п╟п╫п╦п╣ п╡я│п╣п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╢п╩я▐ п╟я┐я┌п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦: п╦п╪п╣п╫ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧, п©п╟я─п╬п╩п╣п╧, я│п╣я─п╡п╣я─п╫я▀я┘ я│п╣я─я┌п╦я└п╦п╨п╟я┌п╬п╡ п╦ п╡я│п╣п╧ п╢я─я┐пЁп╬п╧ п╨п╣я┬п╦я─я┐п╣п╪п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦.

п═п╟п╥п╢п╣п╩ helpers п╬п©я─п╣п╢п╣п╩я▐п╣я┌, п╨п╟п╨п╦п╣ п╡п╫п╣я┬п╫п╦п╣ п©я─п╦п╩п╬п╤п╣п╫п╦я▐, п©я─п╦ п╡я▀п©п╬п╩п╫п╣п╫п╦п╦ я│п╡п╬п╦я┘ п╥п╟п╢п╟я┤, п╠я┐п╢п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ Subversion. п■п╬я│я┌я┐п©п╫я▀п╣ п©п╟я─п╟п╪п╣я┌я─я▀:

editor-cmd

п·п©я─п╣п╢п╣п╩я▐п╣я┌ п©я─п╬пЁя─п╟п╪п╪я┐, п╨п╬я┌п╬я─я┐я▌ п╠я┐п╢п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ Subversion п╢п╩я▐ п╡п╡п╬п╢п╟ п╩п╬пЁ я│п╬п╬п╠я┴п╣п╫п╦п╧, п╡ я┌п╣я┘ я│п╩я┐я┤п╟я▐я┘, п╨п╬пЁп╢п╟ svn commit п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╠п╣п╥ п©п╟я─п╟п╪п╣я┌я─п╬п╡ --message (-m) п╦п╩п╦ --file (-F). п╜я┌п╟ п╤п╣ п©я─п╬пЁя─п╟п╪п╪п╟ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ я│ п╨п╬п╪п╟п╫п╢п╬п╧ svn propedit Б─■ п╡я▀п╥я▀п╡п╟п╣я┌я│я▐ п╡я─п╣п╪п╣п╫п╫я▀п╧ я└п╟п╧п╩, я│п╬п╢п╣я─п╤п╟я┴п╦п╧ я┌п╣п╨я┐я┴п╣п╣ п╥п╫п╟я┤п╣п╫п╦п╣ я─п╣п╢п╟п╨я┌п╦я─я┐п╣п╪п╬пЁп╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪ я│п╡п╬п╧я│я┌п╡п╟ п╦ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦п╣ п╡я▀п©п╬п╩п╫я▐п╣я┌я│я▐ п©я─я▐п╪п╬ п╡ п©я─п╬пЁя─п╟п╪п╪п╣-я─п╣п╢п╟п╨я┌п╬я─п╣ (я│п╪. б╚п║п╡п╬п╧я│я┌п╡п╟б╩). п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╥п╫п╟я┤п╣п╫п╦п╣ я█я┌п╬пЁп╬ я│п╡п╬п╧я│я┌п╡п╟ п╫п╣ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╬. п÷п╬я─я▐п╢п╬п╨ п╬п©я─п╣п╢п╣п╩п╣п╫п╦я▐ п╦я│п©п╬п╩я▄п╥я┐п╣п╪п╬пЁп╬ я─п╣п╢п╟п╨я┌п╬я─п╟ я│п╩п╣п╢я┐я▌я┴п╦п╧:

  1. Command-line option --editor-cmd

  2. Environment variable SVN_EDITOR

  3. Configuration option editor-cmd

  4. Environment variable VISUAL

  5. Environment variable EDITOR

  6. Possibly, a default value built in to Subversion (not present in the official builds)

The value of any of these options or variables is (unlike diff-cmd) the beginning of a command line to be executed by the shell. Subversion appends a space and the pathname of the temporary file to be edited. The editor should modify the temporary file and return a zero exit code to indicate success.

diff-cmd

п≈п╢п╣я│я▄ я┐п╨п╟п╥я▀п╡п╟п╣я┌я│я▐ п╟п╠я│п╬п╩я▌я┌п╫я▀п╧ п©я┐я┌я▄ п╨ п©я─п╬пЁя─п╟п╪п╪п╣ п╬п©я─п╣п╢п╣п╩п╣п╫п╦я▐ п╬я┌п╩п╦я┤п╦п╧, п╦я│п©п╬п╩я▄п╥я┐п╣п╪п╬п╧, Subversion п╢п╩я▐ б╚diffб╩-п╡я▀п╡п╬п╢п╟ (я┌п╟п╨п╬пЁп╬ п╨п╟п╨ п©я─п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦ п╨п╬п╪п╟п╫п╢я▀ svn diff). п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╢п╩я▐ п╬п©я─п╣п╢п╣п╩п╣п╫п╦я▐ п╬я┌п╩п╦я┤п╦п╧ Subversion п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╡п╫я┐я┌я─п╣п╫п╫я▌я▌ п╠п╦п╠п╩п╦п╬я┌п╣п╨я┐ Б─■ я┐я│я┌п╟п╫п╬п╡п╨п╟ я█я┌п╬пЁп╬ п©п╟я─п╟п╪п╣я┌я─п╟ п╥п╟я│я┌п╟п╡п╦я┌ п╣п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╡п╫п╣я┬п╫я▌я▌ п©я─п╬пЁя─п╟п╪п╪я┐. п÷п╬п╢я─п╬п╠п╫п╣п╣ п╬п╠ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦ я┌п╟п╨п╦я┘ п©я─п╬пЁя─п╟п╪п╪ я┤п╦я┌п╟п╧я┌п╣ п╡ я─п╟п╥п╢п╣п╩п╣ б╚Using External Differencing Toolsб╩.

diff3-cmd

п≈п╢п╣я│я▄ я┐п╨п╟п╥я▀п╡п╟п╣я┌я│я▐ п╟п╠я│п╬п╩я▌я┌п╫я▀п╧ п©я┐я┌я▄ п╨ п©я─п╬пЁя─п╟п╪п╪п╣ я┌я─п╣я┘я│я┌п╬я─п╬п╫п╫п╣пЁп╬ я│я─п╟п╡п╫п╣п╫п╦я▐. Subversion п╦я│п©п╬п╩я▄п╥я┐п╣я┌ я█я┌я┐ п©я─п╬пЁя─п╟п╪п╪я┐ п©я─п╦ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧, я│п╢п╣п╩п╟п╫п╫я▀я┘ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╪, я│ я┌п╣п╪п╦, п╨п╬я┌п╬я─я▀п╣ п╠я▀п╩п╦ п©п╬п╩я┐я┤п╣п╫я▀ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟. п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╢п╩я▐ п╬п©я─п╣п╢п╣п╩п╣п╫п╦я▐ п╬я┌п╩п╦я┤п╦п╧ Subversion п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╡п╫я┐я┌я─п╣п╫п╫я▌я▌ п╠п╦п╠п╩п╦п╬я┌п╣п╨я┐ Б─■ я┐я│я┌п╟п╫п╬п╡п╨п╟ я█я┌п╬пЁп╬ п©п╟я─п╟п╪п╣я┌я─п╟ п╥п╟я│я┌п╟п╡п╦я┌ п╣п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╡п╫п╣я┬п╫я▌я▌ п©я─п╬пЁя─п╟п╪п╪я┐. п÷п╬п╢я─п╬п╠п╫п╣п╣ п╬п╠ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦ я┌п╟п╨п╦я┘ п©я─п╬пЁя─п╟п╪п╪ я┤п╦я┌п╟п╧я┌п╣ п╡ я─п╟п╥п╢п╣п╩п╣ б╚Using External Differencing Toolsб╩.

diff3-has-program-arg

п╜я┌п╬я┌ я└п╩п╟пЁ п╢п╬п╩п╤п╣п╫ п╠я▀я┌я▄ я┐я│я┌п╟п╫п╬п╡п╩п╣п╫ п╡ true п╣я│п╩п╦ п©я─п╬пЁя─п╟п╪п╪п╟, я┐п╨п╟п╥п╟п╫п╫п╟я▐ п╡ п©п╟я─п╟п╪п╣я┌я─п╣ diff3-cmd п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п©п╟я─п╟п╪п╣я┌я─ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ --diff-program.

п═п╟п╥п╢п╣п╩ tunnels п©п╬п╥п╡п╬п╩я▐п╣я┌ п╬п©я─п╣п╢п╣п╩п╦я┌я▄ п╫п╬п╡я▀п╣ я│я┘п╣п╪я▀ я┌я┐п╫п╫п╣п╩п╦я─п╬п╡п╟п╫п╦я▐ п©я─п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦ svnserve п╦ п╨п╩п╦п╣п╫я┌я│п╨п╦я┘ п©п╬п╢п╨п╩я▌я┤п╣п╫п╦п╧ я┤п╣я─п╣п╥ svn://. п≈п╟ п╠п╬п╩п╣п╣ п©п╬п╢я─п╬п╠п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╣п╧ п╬п╠я─п╟я┴п╟п╧я┌п╣я│я▄ п╡ я─п╟п╥п╢п╣п╩ б╚SSH п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦я▐ п╦ п╟п╡я┌п╬я─п╦п╥п╟я├п╦я▐б╩.

п▓я│п╣ я┤я┌п╬ п╫п╣ п©п╬п©п╟п╩п╬ п╡ п╢я─я┐пЁп╦п╣ я─п╟п╥п╢п╣п╩я▀ я│п╬п╠п╦я─п╟п╣я┌я│я▐ п╡ я─п╟п╥п╢п╣п╩п╣ miscellany[49]. п▓ я█я┌п╬п╪ я─п╟п╥п╢п╣п╩п╣ п╪п╬п╤п╫п╬ п╫п╟п╧я┌п╦:

global-ignores

п÷я─п╬ п╡я▀п©п╬п╩п╫п╣п╫п╦п╦ п╨п╬п╪п╟п╫п╢я▀ svn status, Subversion п©п╣я─п╣я┤п╦я│п╩я▐п╣я┌ п╫п╣ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╣ я└п╟п╧п╩я▀ п╦ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ п╡п╪п╣я│я┌п╣ я│ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╪п╦, п╬я┌п╪п╣я┤п╟я▐ п╦я┘ я│п╦п╪п╡п╬п╩п╬п╪ ? (я│п╪. б╚svn statusб╩). п÷я─п╬я│п╪п╬я┌я─ п╫п╣ п╦п╫я┌п╣я─п╣я│п╫я▀я┘, п╫п╣ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡ п©я─п╦ п©я─п╬я│п╪п╬я┌я─п╣ п╪п╬п╤п╣я┌ я─п╟п╥п╢я─п╟п╤п╟я┌я▄ Б─■ п╫п╟п©я─п╦п╪п╣я─ п╬п╠я┼п╣п╨я┌п╫я▀п╣ я└п╟п╧п╩я▀, п©п╬п╩я┐я┤п╣п╫п╫я▀п╣ п╡ я─п╣п╥я┐п╩я▄я┌п╟я┌п╣ п╨п╬п╪п©п╦п╩я▐я├п╦п╦ п©я─п╬пЁя─п╟п╪п╪я▀. п÷п╟я─п╟п╪п╣я┌я─ global-ignores я▐п╡п╩я▐п╣я┌я│я▐ п©п╣я─п╣я┤п╦я│п╩п╣п╫п╦п╣п╪ я─п╟п╥п╢п╣п╩п╫п╫п╫я▀я┘ п©я─п╬п╠п╣п╩п╬п╪ п╬п╠п╬п╠я┴п╣п╫п╦п╧, п©я─п╣п╢я│я┌п╟п╡п╩я▐я▌я┴п╦я┘ п╦п╪п╣п╫п╟ я└п╟п╧п╩п╬п╡ п╦ п╢п╦я─п╣п╨я┌п╬я─п╦п╧ п╨п╬я┌п╬я─я▀п╣ Subversion п╫п╣ п╢п╬п╩п╤п╫п╟ п©п╬п╨п╟п╥я▀п╡п╟я┌я▄, п╣я│п╩п╦ п╬п╫п╦ п╫п╣ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀. п≈п╫п╟я┤п╣п╫п╦п╣п╪, п©я─п╦я│п╡п╬п╣п╫п╫я▀п╪ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌, я▐п╡п╩я▐п╣я┌я│я▐ *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store.

п╒п╟п╨п╤п╣ п╨п╟п╨ п╦ svn status, п╨п╬п╪п╟п╫п╢я▀ svn add п╦ svn import п©я─п╦ п©я─п╬я│п╪п╬я┌я─п╣ п╢п╦я─п╣п╨я┌п╬я─п╦п╧ я┌п╬п╤п╣ п╦пЁп╫п╬я─п╦я─я┐я▌я┌ я└п╟п╧п╩я▀, п©п╬п╢я┘п╬п╢я▐я┴п╦п╣ п╨ я█я┌п╬п╪я┐ я│п©п╦я│п╨я┐. п°п╬п╤п╫п╬ п©п╣я─п╣п╬п©я─п╣п╢п╣п╩п╦я┌я▄ я█я┌п╬я┌ п©п╟я─п╟п╪п╣я┌я─, п╦я│п©п╬п╩я▄п╥я┐я▐ я└п╩п╟пЁ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ --no-ignore. п▒п╬п╩п╣п╣ п©п╬п╢я─п╬п╠п╫п╣п╣ п╬ п╨п╬п╫я┌я─п╬п╩п╣ п╦пЁп╫п╬я─п╦я─п╬п╡п╟п╫п╦я▐ я│п╪. б╚п÷я─п╬п©я┐я│п╨ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡б╩.

enable-auto-props

п·п©я─п╣п╢п╣п╩я▐п╣я┌ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨я┐я▌ я┐я│я┌п╟п╫п╬п╡п╨я┐ я│п╡п╬п╧я│я┌п╡ п╢п╩я▐ п╡п╫п╬п╡я▄ п╢п╬п╠п╟п╡п╩я▐п╣п╪я▀я┘ п╦п╩п╦ п╦п╪п©п╬я─я┌п╦я─п╬п╡п╟п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡. п≈п╫п╟я┤п╣п╫п╦п╣п╪ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ я▐п╡п╩я▐п╣я┌я│я▐ no, п©п╬я█я┌п╬п╪я┐ п╢п╩я▐ я─п╟п╥я─п╣я┬п╣п╫п╦я▐ п╟п╡я┌п╬-я│п╡п╬п╧я│я┌п╡ я┐я│я┌п╟п╫п╬п╡п╦я┌п╣ yes. п═п╟п╥п╢п╣п╩ auto-props я█я┌п╬пЁп╬ я└п╟п╧п╩п╟ п╬п©я─п╣п╢п╣п╩я▐п╣я┌, п╨п╟п╨п╦п╣ я│п╡п╬п╧я│я┌п╡п╟ п╦ п╢п╩я▐ п╨п╟п╨п╦я┘ я└п╟п╧п╩п╬п╡ п╢п╬п╩п╤п╫я▀ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟я┌я▄я│я▐.

log-encoding

п╜я┌п╟ п©п╣я─п╣п╪п╣п╫п╫п╟я▐ п╥п╟п╢п╟п╣я┌ п╫п╟п╠п╬я─ я│п╦п╪п╡п╬п╩п╬п╡ п╨п╬п╢п╦я─п╬п╡п╨п╦ п╢п╩я▐ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╧ я└п╦п╨я│п╟я├п╦п╧. п╜я┌п╬ п©п╣я─п╪п╟п╫п╣п╫я┌п╫п╟я▐ я└п╬я─п╪п╟ п©п╟я─п╟п╪п╣я┌я─п╟ --encoding (я│п╪. б╚п÷п╟я─п╟п╪п╣я┌я─я▀ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦svnб╩). п╔я─п╟п╫п╦п╩п╦я┴п╣ Subversion я┘я─п╟п╫п╦я┌ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦я▐ п╡ UTF8, п╦ п©я─п╣п╢п©п╬п╩п╟пЁп╟п╣я┌, я┤я┌п╬ п╡п╟я┬п╣ п╩п╬пЁ-я│п╬п╬п╠я┴п╣п╫п╦п╣ п╫п╟п©п╦я│п╟п╫п╬ п╦я│п©п╬п╩я▄п╥я┐я▐ я─п╬п╢п╫я┐я▌ п╩п╬п╨п╟п╩я▄ п╬п©п╣я─п╟я├п╦п╬п╫п╫п╬п╧ я│п╦я┌п╣п╪я▀. п п╬п╢п╦я─п╬п╡п╨я┐ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ я┐п╨п╟п╥я▀п╡п╟я┌я▄, п╣я│п╩п╦ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╩я▌п╠п╟я▐ п╢я─я┐пЁп╟я▐ п╨п╬п╢п╦я─п╬п╡п╨п╟.

use-commit-times

п п╟п╨ п©я─п╟п╡п╦п╩п╬, я└п╟п╧п╩я▀ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╦п╪п╣я▌я┌ п╬я┌п╪п╣я┌п╨п╦ п╡я─п╣п╪п╣п╫п╦, п╬я┌я─п╟п╤п╟я▌я┴п╦п╣ п╡я─п╣п╪я▐ п©п╬я│п╩п╣п╢п╫п╣пЁп╬ п╬п╠я─п╟я┴п╣п╫п╦я▐ п╨ п╫п╦п╪ п╨п╟п╨п╬пЁп╬-п╩п╦п╠п╬ п©я─п╬я├п╣я│я│п╟, п╠я▀п╩ п╩п╦ я█я┌п╬ п╡п╟я┬ я─п╣п╢п╟п╨я┌п╬я─, п╦п╩п╦ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀ svn. п╜я┌п╬ п╢п╬п╩п╤п╫п╬ п╠я▀я┌я▄ п╠п╩п╦п╥п╨п╬ п╩я▌п╢я▐п╪, я─п╟п╥я─п╟п╠п╟я┌я▀п╡п╟я▌я┴п╦п╪ п©я─п╬пЁя─п╟п╪п╪п╫п╬п╣ п╬п╠п╣я│п©п╣я┤п╣п╫п╦п╣, п©п╬я┌п╬п╪я┐, я┤я┌п╬ п╨п╟п╨ п©я─п╟п╡п╦п╩п╬, я│п╦я│я┌п╣п╪я▀ я│п╠п╬я─п╨п╦ п╬п©я─п╣п╢п╣п╩я▐я▌я┌ п©п╬ п╪п╣я┌п╨п╣ п╡я─п╣п╪п╣п╫п╦ п╨п╟п╨п╦п╣ я└п╟п╧п╩я▀ я┌я─п╣п╠я┐я▌я┌ п©п╣я─п╣п╨п╬п╪п©п╦п╩я▐я├п╦п╦.

п║ п╢я─я┐пЁп╬п╧ я│я┌п╬я─п╬п╫я▀, п╦п╫п╬пЁп╢п╟ п╠я▀п╡п╟п╣я┌ п╡я▀пЁп╬п╢п╫п╬, я┤я┌п╬ п╠я▀ я─п╟п╠п╬я┤п╦п╣ я└п╟п╧п╩я▀ п╦п╪п╣п╩п╦ п╪п╣я┌п╨п╦ п╡я─п╣п╪п╣п╫п╦ п╬я┌я─п╟п╤п╟я▌я┴п╦п╣ п╡я─п╣п╪я▐ п╦я┘ п©п╬я│п╩п╣п╢п╫п╣пЁп╬ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п п╬п╪п╟п╫п╢п╟ svn export п╡я│п╣пЁп╢п╟ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟п╣я┌ б╚п╪п╣я┌п╨я┐ п╡я─п╣п╪п╣п╫п╦ п©п╬я│п╩п╣п╢п╫п╣п╧ я└п╦п╨я│п╟я├п╦п╦б╩ п╢п╩я▐ я│п╬п╥п╢п╟п╡п╟п╣п╪п╬пЁп╬ п╣я▌ п╢п╣я─п╣п╡п╟ я└п╟п╧п╩п╬п╡. п÷я─п╦ я┐я│я┌п╟п╫п╬п╡п╨п╣ п╥п╫п╟я┤п╣п╫п╦я▐ я█я┌п╬п╧ п©п╣я─п╣п╪п╣п╫п╫п╬п╧ п╡ yes п╨п╬п╪п╟п╫п╢я▀ svn checkout, svn update, svn switch п╦ svn revert п╢п╩я▐ п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀я┘ п╦п╪п╦ я└п╟п╧п╩п╬п╡, я┌п╟п╨ п╤п╣ п╠я┐п╢я┐я┌ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟я┌я▄ п╪п╣я┌п╨я┐ п╡я─п╣п╪п╣п╫п╦ п©п╬я│п╩п╣п╢п╫п╣п╧ я└п╦п╨я│п╟я├п╦п╦.

п═п╟п╥п╢п╣п╩ auto-props п╬п©я─п╣п╢п╣п╩я▐п╣я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ Subversion-п╨п╩п╦п╣п╫я┌п╟ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ я┐я│я┌п╟п╫п╟п╡п╩п╦п╡п╟я┌я▄ я│п╡п╬п╧я│я┌п╡п╟ я└п╟п╧п╩п╬п╡, п╨п╬пЁп╢п╟ п╬п╫п╦ п╢п╬п╠п╟п╡п╩я▐п╩п╦я│я▄ п╦п╩п╦ п╦п╪п©п╬я─я┌п╦я─п╬п╡п╟п╩п╦я│я▄. п·п╫ я│п╬п╢п╣я─п╤п╦я┌ п╩я▌п╠п╬п╣ п╨п╬п╩п╦я┤п╣я│я┌п╡п╬ п©п╟я─ п╨п╩я▌я┤-п╥п╫п╟я┤п╣п╫п╦п╣, п╡ я└п╬я─п╪п╟я┌п╣ PATTERN = PROPNAME=PROPVALUE, пЁп╢п╣ PATTERN я▐п╡п╩я▐п╣я┌я│я▐ я└п╟п╧п╩п╬п╡я▀п╪ я┬п╟п╠п╩п╬п╫п╬п╪, я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦я┘ п╫п╟п╠п╬я─я┐ п╦п╪п╣п╫ я└п╟п╧п╩п╬п╡, п╟ п╬я│я┌п╟п╩я▄п╫п╟я▐ я┤п╟я│я┌я▄ я│я┌я─п╬п╨п╦ я▐п╡п╩я▐п╣я┌я│я▐ я│п╡п╬п╧я│я┌п╡п╬п╪ п╦ п╣пЁп╬ п╥п╫п╟я┤п╣п╫п╦п╣п╪. п°п╫п╬п╤п╣я│я┌п╡п╣п╫п╫я▀п╣ я│п╬п╡п©п╟п╢п╣п╫п╦я▐ п╢п╩я▐ п╬п╢п╫п╬пЁп╬ я└п╟п╧п╩п╟ п©я─п╦п╡п╣п╢я┐я┌ п╨ п╪п╫п╬п╤п╣я│я┌п╡п╣п╫п╫п╬п╧ я┐я│я┌п╟п╫п╬п╡п╨п╣ я│п╡п╬п╧я│я┌п╡ п╢п╩я▐ я█я┌п╬пЁп╬ я└п╟п╧п╩п╟; п╬п╢п╫п╟п╨п╬ п╫п╣ пЁп╟я─п╟п╫я┌п╦я─я┐п╣я┌я│я▐, я┤я┌п╬ п©п╬я─я▐п╢п╬п╨ я┐я│я┌п╟п╫п╬п╡п╨п╦ п╟п╡я┌п╬-я│п╡п╬п╧я│я┌п╡ п╠я┐п╢п╣я┌ я┌п╟п╨п╦п╪ п╤п╣ п╡ п╨п╟п╨п╬п╪ п╬п╫п╦ я┐п╨п╟п╥п╟п╫я▀ п╡ я└п╟п╧п╩п╣ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦, п©п╬я█я┌п╬п╪я┐ п╫п╣п╩я▄п╥я▐ п╠я┐п╢п╣я┌ п╬п╢п╫п╦п╪ п©я─п╟п╡п╦п╩п╬п╪ б╚п©п╣я─п╣п╨я─я▀я┌я▄б╩ п╢я─я┐пЁп╬п╣. п²п╣я│п╨п╬п╩я▄п╨п╬ п©я─п╦п╪п╣я─п╬п╡ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╟п╡я┌п╬-я│п╡п╬п╧я│я┌п╡ п╪п╬п╤п╫п╬ п╫п╟п╧я┌п╦ п╡ я└п╟п╧п╩п╣ config. п²п╟п╨п╬п╫п╣я├, п╣я│п╩п╦ я┘п╬я┌п╦я┌п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╟п╡я┌п╬-я│п╡п╬п╧я│я┌п╡п╟, п╫п╣ п╥п╟п╠я┐п╢я▄я┌п╣ п╡ я─п╟п╥п╢п╣п╩п╣ miscellany я┐я│я┌п╟п╫п╬п╡п╦я┌я▄ enable-auto-props п╡ yes.

Localization

Localization is the act of making programs behave in a region-specific way. When a program formats numbers or dates in a way specific to your part of the world, or prints messages (or accepts input) in your native language, the program is said to be localized. This section describes steps Subversion has made towards localization.

Understanding locales

Most modern operating systems have a notion of the б╚current localeб╩Б─■that is, the region or country whose localization conventions are honored. These conventionsБ─■typically chosen by some runtime configuration mechanism on the computerБ─■affect the way in which programs present data to the user, as well as the way in which they accept user input.

On Unix-like systems, you can check the values of the locale-related runtime configuration options by running the locale command:

$ locale
LANG=
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL="C"

The output is a list of locale-related environment variables and their current values. In this example, the variables are all set to the default C locale, but users can set these variables to specific country/language code combinations. For example, if one were to set the LC_TIME variable to fr_CA, then programs would know to present time and date information formatted according a French-speaking Canadian's expectations. And if one were to set the LC_MESSAGES variable to zh_TW, then programs would know to present human-readable messages in Traditional Chinese. Setting the LC_ALL variable has the effect of changing every locale variable to the same value. The value of LANG is used as a default value for any locale variable that is unset. To see the list of available locales on a Unix system, run the command locale -a.

On Windows, locale configuration is done via the б╚Regional and Language Optionsб╩ control panel item. There you can view and select the values of individual settings from the available locales, and even customize (at a sickening level of detail) several of the display formatting conventions.

Subversion's use of locales

The Subversion client, svn, honors the current locale configuration in two ways. First, it notices the value of the LC_MESSAGES variable and attempts to print all messages in the specified language. For example:

$ export LC_MESSAGES=de_DE
$ svn help cat
cat: Gibt den Inhalt der angegebenen Dateien oder URLs aus.
Aufruf: cat ZIEL[@REV]...
Б─╕

This behavior works identically on both Unix and Windows systems. Note, though, that while your operating system might have support for a certain locale, the Subversion client still may not be able to speak the particular language. In order to produce localized messages, human volunteers must provide translations for each language. The translations are written using the GNU gettext package, which results in translation modules that end with the .mo filename extension. For example, the German translation file is named de.mo. These translation files are installed somewhere on your system. On Unix, they typically live in /usr/share/locale/, while on Windows they're often found in the \share\locale\ folder in Subversion's installation area. Once installed, a module is named after the program it provides translations for. For example, the de.mo file may ultimately end up installed as /usr/share/locale/de/LC_MESSAGES/subversion.mo. By browsing the installed .mo files, you can see which languages the Subversion client is able to speak.

The second way in which the locale is honored involves how svn interprets your input. The repository stores all paths, filenames, and log messages in Unicode, encoded as UTF-8. In that sense, the repository is internationalizedБ─■that is, the repository is ready to accept input in any human language. This means, however, that the Subversion client is responsible for sending only UTF-8 filenames and log messages into the repository. In order to do this, it must convert the data from the native locale into UTF-8.

For example, suppose you create a file named caffц╗.txt, and then when committing the file, you write the log message as б╚Adesso il caffц╗ ц╗ piц╧ forteб╩. Both the filename and log message contain non-ASCII characters, but because your locale is set to it_IT, the Subversion client knows to interpret them as Italian. It uses an Italian character set to convert the data to UTF-8 before sending them off to the repository.

Note that while the repository demands UTF-8 filenames and log messages, it does not pay attention to file contents. Subversion treats file contents as opaque strings of bytes, and neither client nor server makes an attempt to understand the character set or encoding of the contents.

Using External Differencing Tools

The presence of --diff-cmd and --diff3-cmd options, and similarly named runtime configuration parameters (see б╚Configб╩), can lead to a false notion of how easy it is to use external differencing (or б╚diffб╩) and merge tools with Subversion. While Subversion can use most of popular such tools available, the effort invested in setting this up often turns out to be non-trivial.

The interface between Subversion and external diff and merge tools harkens back to a time when Subversion's only contextual differencing capabilities were built around invocations of the GNU diffutils toolchain, specifically the diff and diff3 utilities. To get the kind of behavior Subversion needed, it called these utilities with more than a handful of options and parameters, most of which were quite specific to the utilities. Some time later, Subversion grew its own internal differencing library, and as a failover mechanism, [50] the --diff-cmd and --diff3-cmd options were added to the Subversion command-line client so users could more easily indicate that they preferred to use the GNU diff and diff3 utilities instead of the newfangled internal diff library. If those options were used, Subversion would simply ignore the internal diff library, and fall back to running those external programs, lengthy argument lists and all. And that's where things remain today.

It didn't take long for folks to realize that having such easy configuration mechanisms for specifying that Subversion should use the external GNU diff and diff3 utilities located at a particular place on the system could be applied toward the use of other diff and merge tools, too. After all, Subversion didn't actually verify that the things it was being told to run were members of the GNU diffutils toolchain. But the only configurable aspect of using those external tools is their location on the systemБ─■not the option set, parameter order, etc. Subversion continues throwing all those GNU utility options at your external diff tool regardless of whether or not that program can understand those options. And that's where things get unintuitive for most users.

The key to using external diff and merge tools (other than GNU diff and diff3, of course) with Subversion is to use wrapper scripts which convert the input from Subversion into something that your differencing tool can understand, and then to convert the output of your tool back into a format which Subversion expectsБ─■the format that the GNU tools would have used. The following sections cover the specifics of those expectations.

[п≈п╟п╪п╣я┤п╟п╫п╦п╣]п≈п╟п╪п╣я┤п╟п╫п╦п╣

The decision on when to fire off a contextual diff or merge as part of a larger Subversion operation is made entirely by Subversion, and is affected by, among other things, whether or not the files being operated on are human-readable as determined by their svn:mime-type property. This means, for example, that even if you had the niftiest Microsoft Word-aware differencing or merging tool in the Universe, it would never be invoked by Subversion so long as your versioned Word documents had a configured MIME type that denoted that they were not human-readable (such as application/msword). For more about MIME type settings, see б╚п╒п╦п© я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬ я└п╟п╧п╩п╟б╩

External diff

Subversion calls external diff programs with parameters suitable for the GNU diff utility, and expects only that the external program return with a successful error code. For most alternative diff program, only the sixth and seventh arguments, the paths of the files which represent the left and right sides of the diff, respectively, are of interest. Note that Subversion runs the diff program once per modified file covered by the Subversion operation, so if your program runs in an asynchronous fashion (or б╚backgroundedб╩), you might have several instances of it all running simultaneously. Finally, Subversion expects that your program return an errorcode of 1 if your program detected differences, or 0 if it did notБ─■any other errorcode is considered a fatal error. [51]

п÷я─п╦п╪п╣я─б═7.2, б╚diffwrap.shб╩ and п÷я─п╦п╪п╣я─б═7.3, б╚diffwrap.batб╩ are templates for external diff tool wrappers in the Bourne shell and Windows batch scripting languages, respectively.

п÷я─п╦п╪п╣я─ 7.2. diffwrap.sh

#!/bin/sh

# Configure your favorite diff program here.
DIFF="/usr/local/bin/my-diff-tool"

# Subversion provides the paths we need as the sixth and seventh
# parameters.
LEFT=${6}
RIGHT=${7}

# Call the diff command (change the following line to make sense for
# your merge program).
$DIFF --left $LEFT --right $RIGHT

# Return an errorcode of 0 if no differences were detected, 1 if some were.
# Any other errorcode will be treated as fatal.


п÷я─п╦п╪п╣я─ 7.3. diffwrap.bat

@ECHO OFF

REM Configure your favorite diff program here.
SET DIFF="C:\Program Files\Funky Stuff\My Diff Tool.exe"

REM Subversion provides the paths we need as the sixth and seventh
REM parameters.
SET LEFT=%6
SET RIGHT=%7

REM Call the diff command (change the following line to make sense for
REM your merge program).
%DIFF% --left %LEFT% --right %RIGHT%

REM Return an errorcode of 0 if no differences were detected, 1 if some were.
REM Any other errorcode will be treated as fatal.


External diff3

Subversion calls external merge programs with parameters suitable for the GNU diff3 utility, expecting that the external program return with a successful error code and that the full file contents which result from the completed merge operation are printed on the standard output stream (so that Subversion can redirect them into the appropriate version controlled file). For most alternative merge programs, only the ninth, tenth, and eleventh arguments, the paths of the files which represent the б╚mineб╩, б╚olderб╩, and б╚yoursб╩ inputs, respectively, are of interest. Note that because Subversion depends on the output of your merge program, you wrapper script must not exit before that output has been delivered to Subversion. When it finally does exit, it should return an errorcode of 0 if the merge was successful, or 1 if unresolved conflicts remain in the outputБ─■any other errorcode is considered a fatal error.

п÷я─п╦п╪п╣я─б═7.4, б╚diff3wrap.shб╩ and п÷я─п╦п╪п╣я─б═7.5, б╚diff3wrap.batб╩ are templates for external merge tool wrappers in the Bourne shell and Windows batch scripting languages, respectively.

п÷я─п╦п╪п╣я─ 7.4. diff3wrap.sh

#!/bin/sh

# Configure your favorite diff3/merge program here.
DIFF3="/usr/local/bin/my-merge-tool"

# Subversion provides the paths we need as the ninth, tenth, and eleventh
# parameters.
MINE=${9}
OLDER=${10}
YOURS=${11}

# Call the merge command (change the following line to make sense for
# your merge program).
$DIFF3 --older $OLDER --mine $MINE --yours $YOURS

# After performing the merge, this script needs to print the contents
# of the merged file to stdout.  Do that in whatever way you see fit.
# Return an errorcode of 0 on successful merge, 1 if unresolved conflicts
# remain in the result.  Any other errorcode will be treated as fatal.


п÷я─п╦п╪п╣я─ 7.5. diff3wrap.bat

@ECHO OFF

REM Configure your favorite diff3/merge program here.
SET DIFF3="C:\Program Files\Funky Stuff\My Merge Tool.exe"

REM Subversion provides the paths we need as the ninth, tenth, and eleventh
REM parameters.  But we only have access to nine parameters at a time, so we
REM shift our nine-parameter window twice to let us get to what we need.
SHIFT
SHIFT
SET MINE=%7
SET OLDER=%8
SET YOURS=%9

REM Call the merge command (change the following line to make sense for
REM your merge program).
%DIFF3% --older %OLDER% --mine %MINE% --yours %YOURS%

REM After performing the merge, this script needs to print the contents
REM of the merged file to stdout.  Do that in whatever way you see fit.
REM Return an errorcode of 0 on successful merge, 1 if unresolved conflicts
REM remain in the result.  Any other errorcode will be treated as fatal.





[48] п÷п╣я─п╣п╪п╣п╫п╫п╟я▐ я│я─п╣п╢я▀ п╬п╨я─я┐п╤п╣п╫п╦я▐ APPDATA я┐п╨п╟п╥я▀п╡п╟п╣я┌ п╫п╟ п©п╟п©п╨я┐ Application Data п©п╬я█я┌п╬п╪я┐ п╨ я█я┌п╬п╧ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ п╪п╬п╤п╫п╬ п╡я│п╣пЁп╢п╟ п╬п╠я─п╟я┴п╟я┌я▄я│я▐ п╨п╟п╨ п╨ %APPDATA%\Subversion.

[49] Anyone for potluck dinner?

[50] Subversion developers are good, but even the best make mistakes.

[51] The GNU diff manual page puts it this way: б╚An exit status of 0 means no differences were found, 1 means some differences were found, and 2 means trouble.б╩

п⌠п╩п╟п╡п╟ 8. п≤п╫я└п╬я─п╪п╟я├п╦я▐ п╢п╩я▐ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡

Subversion has a modular design, implemented as a collection of C libraries. Each library has a well-defined purpose and interface, and those interfaces are available not only for Subversion itself to use, but for any software that wishes to embed or otherwise programmatically control Subversion. Most of those interfaces are available not only in C, but also in higher-level languages such as Python or Java.

This chapter is for those who wish to interact with Subversion through its public Application Programming Interface (API) or various language bindings. If you wish to write robust wrapper scripts around Subversion functionality to simplify your own life, are trying to develop more complex integrations between Subversion and other pieces of software, or just have an interest in Subversion's various library modules and what they offer, this chapter is for you. If, however, you don't foresee yourself participating with Subversion at such a level, feel free to skip this chapter with the confidence that your experience as a Subversion user will not be affected.

Layered Library Design

Each of Subversion's core libraries can be said to exist in one of three main layersБ─■the Repository Layer, the Repository Access (RA) Layer, or the Client Layer. We will examine these layers shortly, but first, see our brief inventory of Subversion's libraries in п╒п╟п╠п╩п╦я├п╟б═8.1, б╚A Brief Inventory of the Subversion Librariesб╩. For the sake of consistency, we will refer to the libraries by their extensionless Unix library names (e.g.: libsvn_fs, libsvn_wc, mod_dav_svn).

п╒п╟п╠п╩п╦я├п╟ 8.1. A Brief Inventory of the Subversion Libraries

LibraryDescription
libsvn_clientPrimary interface for client programs
libsvn_deltaTree and byte-stream differencing routines
libsvn_diffContextual differencing and merging routines
libsvn_fsFilesystem commons and module loader
libsvn_fs_baseThe Berkeley DB filesystem back-end
libsvn_fs_fsThe native filesystem (FSFS) back-end
libsvn_raRepository Access commons and module loader
libsvn_ra_davThe WebDAV Repository Access module
libsvn_ra_localThe local Repository Access module
libsvn_ra_svnThe custom protocol Repository Access module
libsvn_reposRepository interface
libsvn_subrMiscellaneous helpful subroutines
libsvn_wcThe working copy management library
mod_authz_svnApache authorization module for Subversion repositories access via WebDAV
mod_dav_svnApache module for mapping WebDAV operations to Subversion ones


The fact that the word б╚miscellaneousб╩ only appears once in п╒п╟п╠п╩п╦я├п╟б═8.1, б╚A Brief Inventory of the Subversion Librariesб╩ is a good sign. The Subversion development team is serious about making sure that functionality lives in the right layer and libraries. Perhaps the greatest advantage of the modular design is its lack of complexity from a developer's point of view. As a developer, you can quickly formulate that kind of б╚big pictureб╩ that allows you to pinpoint the location of certain pieces of functionality with relative ease.

Another benefit of modularity is the ability to replace a given module with a whole new library that implements the same API without affecting the rest of the code base. In some sense, this happens within Subversion already. The libsvn_ra_dav, libsvn_ra_local, and libsvn_ra_svn all implement the same interface. And all three communicate with the Repository LayerБ─■libsvn_ra_dav and libsvn_ra_svn do so across a network, and libsvn_ra_local connects to it directly. The libsvn_fs_base and libsvn_fs_fs libraries are another example of this.

The client itself also highlights modularity in the Subversion design. While Subversion itself comes with only a command-line client program, there are several third party programs which provide various forms of client GUI. These GUIs use the same APIs that the stock command-line client does. Subversion's libsvn_client library is the one-stop shop for most of the functionality necessary for designing a working Subversion client (see б╚Client Layerб╩).

Repository Layer

When referring to Subversion's Repository Layer, we're generally talking about two librariesБ─■the repository library, and the filesystem library. These libraries provide the storage and reporting mechanisms for the various revisions of your version-controlled data. This layer is connected to the Client Layer via the Repository Access Layer, and is, from the perspective of the Subversion user, the stuff at the б╚other end of the line.б╩

The Subversion Filesystem is accessed via the libsvn_fs API, and is not a kernel-level filesystem that one would install in an operating system (like the Linux ext2 or NTFS), but a virtual filesystem. Rather than storing б╚filesб╩ and б╚directoriesб╩ as real files and directories (as in, the kind you can navigate through using your favorite shell program), it uses one of two available abstract storage backendsБ─■either a Berkeley DB database environment, or a flat-file representation. (To learn more about the two repository back-ends, see б╚Repository Data Storesб╩.) However, there has been considerable interest by the development community in giving future releases of Subversion the ability to use other back-end database systems, perhaps through a mechanism such as Open Database Connectivity (ODBC).

The filesystem API exported by libsvn_fs contains the kinds of functionality you would expect from any other filesystem API: you can create and remove files and directories, copy and move them around, modify file contents, and so on. It also has features that are not quite as common, such as the ability to add, modify, and remove metadata (б╚propertiesб╩) on each file or directory. Furthermore, the Subversion Filesystem is a versioning filesystem, which means that as you make changes to your directory tree, Subversion remembers what your tree looked like before those changes. And before the previous changes. And the previous ones. And so on, all the way back through versioning time to (and just beyond) the moment you first started adding things to the filesystem.

All the modifications you make to your tree are done within the context of a Subversion transaction. The following is a simplified general routine for modifying your filesystem:

  1. Begin a Subversion transaction.

  2. Make your changes (adds, deletes, property modifications, etc.).

  3. Commit your transaction.

Once you have committed your transaction, your filesystem modifications are permanently stored as historical artifacts. Each of these cycles generates a single new revision of your tree, and each revision is forever accessible as an immutable snapshot of б╚the way things were.б╩

Most of the functionality provided by the filesystem interface comes as an action that occurs on a filesystem path. That is, from outside of the filesystem, the primary mechanism for describing and accessing the individual revisions of files and directories comes through the use of path strings like /foo/bar, just as if you were addressing files and directories through your favorite shell program. You add new files and directories by passing their paths-to-be to the right API functions. You query for information about them by the same mechanism.

Unlike most filesystems, though, a path alone is not enough information to identify a file or directory in Subversion. Think of a directory tree as a two-dimensional system, where a node's siblings represent a sort of left-and-right motion, and descending into subdirectories a downward motion. п═п╦я│я┐п╫п╬п╨б═8.1, б╚Files and directories in two dimensionsб╩ shows a typical representation of a tree as exactly that.

п═п╦я│я┐п╫п╬п╨ 8.1. Files and directories in two dimensions

Files and directories in two dimensions


Of course, the Subversion filesystem has a nifty third dimension that most filesystems do not haveБ─■Time! [52] In the filesystem interface, nearly every function that has a path argument also expects a root argument. This svn_fs_root_t argument describes either a revision or a Subversion transaction (which is usually just a revision-to-be), and provides that third-dimensional context needed to understand the difference between /foo/bar in revision 32, and the same path as it exists in revision 98. п═п╦я│я┐п╫п╬п╨б═8.2, б╚Versioning timeБ─■the third dimension!б╩ shows revision history as an added dimension to the Subversion filesystem universe.

п═п╦я│я┐п╫п╬п╨ 8.2. Versioning timeБ─■the third dimension!

Versioning timeБ─■the third dimension!


As we mentioned earlier, the libsvn_fs API looks and feels like any other filesystem, except that it has this wonderful versioning capability. It was designed to be usable by any program interested in a versioning filesystem. Not coincidentally, Subversion itself is interested in that functionality. But while the filesystem API should be sufficient for basic file and directory versioning support, Subversion wants moreБ─■and that is where libsvn_repos comes in.

The Subversion repository library (libsvn_repos) is basically a wrapper library around the filesystem functionality. This library is responsible for creating the repository layout, making sure that the underlying filesystem is initialized, and so on. Libsvn_repos also implements a set of hooksБ─■scripts that are executed by the repository code when certain actions take place. These scripts are useful for notification, authorization, or whatever purposes the repository administrator desires. This type of functionality, and other utilities provided by the repository library, are not strictly related to implementing a versioning filesystem, which is why it was placed into its own library.

Developers who wish to use the libsvn_repos API will find that it is not a complete wrapper around the filesystem interface. That is, only certain major events in the general cycle of filesystem activity are wrapped by the repository interface. Some of these include the creation and commit of Subversion transactions, and the modification of revision properties. These particular events are wrapped by the repository layer because they have hooks associated with them. In the future, other events may be wrapped by the repository API. All of the remaining filesystem interaction will continue to occur directly via the libsvn_fs API, though.

For example, here is a code segment that illustrates the use of both the repository and filesystem interfaces to create a new revision of the filesystem in which a directory is added. Note that in this example, the SVN_ERR() macro simply checks for a non-successful error return from the function it wraps, and returns that error if it exists.

п÷я─п╦п╪п╣я─ 8.1. Using the Repository Layer

/* Create a new directory at the path NEW_DIRECTORY in the Subversion
   repository located at REPOS_PATH.  Perform all memory allocation in
   POOL.  This function will create a new revision for the addition of
   NEW_DIRECTORY.  */
static svn_error_t *
make_new_directory (const char *repos_path,
                    const char *new_directory,
                    apr_pool_t *pool)
{
  svn_error_t *err;
  svn_repos_t *repos;
  svn_fs_t *fs;
  svn_revnum_t youngest_rev;
  svn_fs_txn_t *txn;
  svn_fs_root_t *txn_root;
  const char *conflict_str;

  /* Open the repository located at REPOS_PATH.  */
  SVN_ERR (svn_repos_open (&repos, repos_path, pool));

  /* Get a pointer to the filesystem object that is stored in
     REPOS.  */
  fs = svn_repos_fs (repos);

  /* Ask the filesystem to tell us the youngest revision that
     currently exists.  */
  SVN_ERR (svn_fs_youngest_rev (&youngest_rev, fs, pool));

  /* Begin a new transaction that is based on YOUNGEST_REV.  We are
     less likely to have our later commit rejected as conflicting if we
     always try to make our changes against a copy of the latest snapshot
     of the filesystem tree.  */
  SVN_ERR (svn_fs_begin_txn (&txn, fs, youngest_rev, pool));

  /* Now that we have started a new Subversion transaction, get a root
     object that represents that transaction.  */
  SVN_ERR (svn_fs_txn_root (&txn_root, txn, pool));

  /* Create our new directory under the transaction root, at the path
     NEW_DIRECTORY.  */
  SVN_ERR (svn_fs_make_dir (txn_root, new_directory, pool));

  /* Commit the transaction, creating a new revision of the filesystem
     which includes our added directory path.  */
  err = svn_repos_fs_commit_txn (&conflict_str, repos,
                                 &youngest_rev, txn, pool);
  if (! err)
    {
      /* No error?  Excellent!  Print a brief report of our success.  */
      printf ("Directory '%s' was successfully added as new revision "
              "'%ld'.\n", new_directory, youngest_rev);
    }
  else if (err->apr_err == SVN_ERR_FS_CONFLICT)
    {
      /* Uh-oh.  Our commit failed as the result of a conflict
         (someone else seems to have made changes to the same area
         of the filesystem that we tried to modify).  Print an error
         message.  */
      printf ("A conflict occurred at path '%s' while attempting "
              "to add directory '%s' to the repository at '%s'.\n",
              conflict_str, new_directory, repos_path);
    }
  else
    {
      /* Some other error has occurred.  Print an error message.  */
      printf ("An error occurred while attempting to add directory '%s' "
              "to the repository at '%s'.\n",
              new_directory, repos_path);
    }

  /* Return the result of the attempted commit to our caller.  */
  return err;
}


In the previous code segment, calls were made to both the repository and filesystem interfaces. We could just as easily have committed the transaction using svn_fs_commit_txn(). But the filesystem API knows nothing about the repository library's hook mechanism. If you want your Subversion repository to automatically perform some set of non-Subversion tasks every time you commit a transaction (like, for example, sending an email that describes all the changes made in that transaction to your developer mailing list), you need to use the libsvn_repos-wrapped version of that functionБ─■svn_repos_fs_commit_txn(). This function will actually first run the pre-commit hook script if one exists, then commit the transaction, and finally will run a post-commit hook script. The hooks provide a special kind of reporting mechanism that does not really belong in the core filesystem library itself. (For more information regarding Subversion's repository hooks, see б╚Hook Scriptsб╩.)

The hook mechanism requirement is but one of the reasons for the abstraction of a separate repository library from the rest of the filesystem code. The libsvn_repos API provides several other important utilities to Subversion. These include the abilities to:

  1. create, open, destroy, and perform recovery steps on a Subversion repository and the filesystem included in that repository.

  2. describe the differences between two filesystem trees.

  3. query for the commit log messages associated with all (or some) of the revisions in which a set of files was modified in the filesystem.

  4. generate a human-readable б╚dumpб╩ of the filesystem, a complete representation of the revisions in the filesystem.

  5. parse that dump format, loading the dumped revisions into a different Subversion repository.

As Subversion continues to evolve, the repository library will grow with the filesystem library to offer increased functionality and configurable option support.

Repository Access Layer

If the Subversion Repository Layer is at б╚the other end of the lineб╩, the Repository Access Layer is the line itself. Charged with marshalling data between the client libraries and the repository, this layer includes the libsvn_ra module loader library, the RA modules themselves (which currently includes libsvn_ra_dav, libsvn_ra_local, and libsvn_ra_svn), and any additional libraries needed by one or more of those RA modules, such as the mod_dav_svn Apache module with which libsvn_ra_dav communicates or libsvn_ra_svn's server, svnserve.

Since Subversion uses URLs to identify its repository resources, the protocol portion of the URL schema (usually file:, http:, https:, or svn:) is used to determine which RA module will handle the communications. Each module registers a list of the protocols it knows how to б╚speakб╩ so that the RA loader can, at runtime, determine which module to use for the task at hand. You can determine which RA modules are available to the Subversion command-line client, and what protocols they claim to support, by running svn --version:

$ svn --version
svn, version 1.2.3 (r15833)
   compiled Sep 13 2005, 22:45:22

Copyright (C) 2000-2005 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

RA-DAV (Repository Access Using HTTP/DAV)

The libsvn_ra_dav library is designed for use by clients that are being run on different machines than the servers with which they communicating, specifically servers reached using URLs that contain the http: or https: protocol portions. To understand how this module works, we should first mention a couple of other key components in this particular configuration of the Repository Access LayerБ─■the powerful Apache HTTP Server, and the Neon HTTP/WebDAV client library.

Subversion's primary network server is the Apache HTTP Server. Apache is a time-tested, extensible open-source server process that is ready for serious use. It can sustain a high network load and runs on many platforms. The Apache server supports a number of different standard authentication protocols, and can be extended through the use of modules to support many others. It also supports optimizations like network pipelining and caching. By using Apache as a server, Subversion gets all of these features for free. And since most firewalls already allow HTTP traffic to pass through, system administrators typically don't even have to change their firewall configurations to allow Subversion to work.

Subversion uses HTTP and WebDAV (with DeltaV) to communicate with an Apache server. You can read more about this in the WebDAV section of this chapter, but in short, WebDAV and DeltaV are extensions to the standard HTTP 1.1 protocol that enable sharing and versioning of files over the web. Apache 2.0 and later versions come with mod_dav, an Apache module that understands the DAV extensions to HTTP. Subversion itself supplies mod_dav_svn, though, which is another Apache module that works in conjunction with (really, as a back-end to) mod_dav to provide Subversion's specific implementations of WebDAV and DeltaV.

When communicating with a repository over HTTP, the RA loader library chooses libsvn_ra_dav as the proper access module. The Subversion client makes calls into the generic RA interface, and libsvn_ra_dav maps those calls (which embody rather large-scale Subversion actions) to a set of HTTP/WebDAV requests. Using the Neon library, libsvn_ra_dav transmits those requests to the Apache server. Apache receives these requests (exactly as it does generic HTTP requests that your web browser might make), notices that the requests are directed at a URL that is configured as a DAV location (using the <Location> directive in httpd.conf), and hands the request off to its own mod_dav module. When properly configured, mod_dav knows to use Subversion's mod_dav_svn for any filesystem-related needs, as opposed to the generic mod_dav_fs that comes with Apache. So ultimately, the client is communicating with mod_dav_svn, which binds directly to the Subversion Repository Layer.

That was a simplified description of the actual exchanges taking place, though. For example, the Subversion repository might be protected by Apache's authorization directives. This could result in initial attempts to communicate with the repository being rejected by Apache on authorization grounds. At this point, libsvn_ra_dav gets back the notice from Apache that insufficient identification was supplied, and calls back into the Client Layer to get some updated authentication data. If the data is supplied correctly, and the user has the permissions that Apache seeks, libsvn_ra_dav's next automatic attempt at performing the original operation will be granted, and all will be well. If sufficient authentication information cannot be supplied, the request will ultimately fail, and the client will report the failure to the user.

By using Neon and Apache, Subversion gets free functionality in several other complex areas, too. For example, if Neon finds the OpenSSL libraries, it allows the Subversion client to attempt to use SSL-encrypted communications with the Apache server (whose own mod_ssl can б╚speak the languageб╩). Also, both Neon itself and Apache's mod_deflate can understand the б╚deflateб╩ algorithm (the same one used by the PKZIP and gzip programs), so requests can be sent in smaller, compressed chunks across the wire. Other complex features that Subversion hopes to support in the future include the ability to automatically handle server-specified redirects (for example, when a repository has been moved to a new canonical URL) and taking advantage of HTTP pipelining.

RA-SVN (Custom Protocol Repository Access)

In addition to the standard HTTP/WebDAV protocol, Subversion also provides an RA implementation that uses a custom protocol. The libsvn_ra_svn module implements its own network socket connectivity, and communicates with a stand-alone serverБ─■the svnserve programБ─■on the machine that hosts the repository. Clients access the repository using the svn:// schema.

This RA implementation lacks most of the advantages of Apache mentioned in the previous section; however, it may be appealing to some system administrators nonetheless. It is dramatically easier to configure and run; setting up an svnserve process is nearly instantaneous. It is also much smaller (in terms of lines of code) than Apache, making it much easier to audit, for security reasons or otherwise. Furthermore, some system administrators may already have an SSH security infrastructure in place, and want Subversion to use it. Clients using ra_svn can easily tunnel the protocol over SSH.

RA-Local (Direct Repository Access)

Not all communications with a Subversion repository require a powerhouse server process and a network layer. For users who simply wish to access the repositories on their local disk, they may do so using file: URLs and the functionality provided by libsvn_ra_local. This RA module binds directly with the repository and filesystem libraries, so no network communication is required at all.

Subversion requires that the server name included as part of the file: URL be either localhost or empty, and that there be no port specification. In other words, your URLs should look like either file://localhost/path/to/repos or file:///path/to/repos.

Also, be aware that Subversion's file: URLs cannot be used in a regular web browser the way typical file: URLs can. When you attempt to view a file: URL in a regular web browser, it reads and displays the contents of the file at that location by examining the filesystem directly. However, Subversion's resources exist in a virtual filesystem (see б╚Repository Layerб╩), and your browser will not understand how to read that filesystem.

Your RA Library Here

For those who wish to access a Subversion repository using still another protocol, that is precisely why the Repository Access Layer is modularized! Developers can simply write a new library that implements the RA interface on one side and communicates with the repository on the other. Your new library can use existing network protocols, or you can invent your own. You could use inter-process communication (IPC) calls, orБ─■let's get crazy, shall we?Б─■you could even implement an email-based protocol. Subversion supplies the APIs; you supply the creativity.

Client Layer

On the client side, the Subversion working copy is where all the action takes place. The bulk of functionality implemented by the client-side libraries exists for the sole purpose of managing working copiesБ─■directories full of files and other subdirectories which serve as a sort of local, editable б╚reflectionб╩ of one or more repository locationsБ─■and propagating changes to and from the Repository Access layer.

Subversion's working copy library, libsvn_wc, is directly responsible for managing the data in the working copies. To accomplish this, the library stores administrative information about each working copy directory within a special subdirectory. This subdirectory, named .svn, is present in each working copy directory and contains various other files and directories which record state and provide a private workspace for administrative action. For those familiar with CVS, this .svn subdirectory is similar in purpose to the CVS administrative directories found in CVS working copies. For more information about the .svn administrative area, see б╚Inside the Working Copy Administration Areaб╩in this chapter.

The Subversion client library, libsvn_client, has the broadest responsibility; its job is to mingle the functionality of the working copy library with that of the Repository Access Layer, and then to provide the highest-level API to any application that wishes to perform general revision control actions. For example, the function svn_client_checkout() takes a URL as an argument. It passes this URL to the RA layer and opens an authenticated session with a particular repository. It then asks the repository for a certain tree, and sends this tree into the working copy library, which then writes a full working copy to disk (.svn directories and all).

The client library is designed to be used by any application. While the Subversion source code includes a standard command-line client, it should be very easy to write any number of GUI clients on top of the client library. New GUIs (or any new client, really) for Subversion need not be clunky wrappers around the included command-line clientБ─■they have full access via the libsvn_client API to same functionality, data, and callback mechanisms that the command-line client uses.

Using the APIs

Developing applications against the Subversion library APIs is fairly straightforward. All of the public header files live in the subversion/include directory of the source tree. These headers are copied into your system locations when you build and install Subversion itself from source. These headers represent the entirety of the functions and types meant to be accessible by users of the Subversion libraries.

The first thing you might notice is that Subversion's datatypes and functions are namespace protected. Every public Subversion symbol name begins with svn_, followed by a short code for the library in which the symbol is defined (such as wc, client, fs, etc.), followed by a single underscore (_) and then the rest of the symbol name. Semi-public functions (used among source files of a given library but not by code outside that library, and found inside the library directories themselves) differ from this naming scheme in that instead of a single underscore after the library code, they use a double underscore (__). Functions that are private to a given source file have no special prefixing, and are declared static. Of course, a compiler isn't interested in these naming conventions, but they help to clarify the scope of a given function or datatype.

The Apache Portable Runtime Library

Along with Subversion's own datatypes, you will see many references to datatypes that begin with apr_Б─■symbols from the Apache Portable Runtime (APR) library. APR is Apache's portability library, originally carved out of its server code as an attempt to separate the OS-specific bits from the OS-independent portions of the code. The result was a library that provides a generic API for performing operations that differ mildlyБ─■or wildlyБ─■from OS to OS. While the Apache HTTP Server was obviously the first user of the APR library, the Subversion developers immediately recognized the value of using APR as well. This means that there are practically no OS-specific code portions in Subversion itself. Also, it means that the Subversion client compiles and runs anywhere that the server does. Currently this list includes all flavors of Unix, Win32, BeOS, OS/2, and Mac OS X.

In addition to providing consistent implementations of system calls that differ across operating systems, [53] APR gives Subversion immediate access to many custom datatypes, such as dynamic arrays and hash tables. Subversion uses these types extensively throughout the codebase. But perhaps the most pervasive APR datatype, found in nearly every Subversion API prototype, is the apr_pool_tБ─■the APR memory pool. Subversion uses pools internally for all its memory allocation needs (unless an external library requires a different memory management schema for data passed through its API), [54] and while a person coding against the Subversion APIs is not required to do the same, they are required to provide pools to the API functions that need them. This means that users of the Subversion API must also link against APR, must call apr_initialize() to initialize the APR subsystem, and then must create and manage pools for use with Subversion API calls, typically by using svn_pool_create(), svn_pool_clear(), and svn_pool_destroy().

URL and Path Requirements

With remote version control operation as the whole point of Subversion's existence, it makes sense that some attention has been paid to internationalization (i18n) support. After all, while б╚remoteб╩ might mean б╚across the officeб╩, it could just as well mean б╚across the globe.б╩ To facilitate this, all of Subversion's public interfaces that accept path arguments expect those paths to be canonicalized, and encoded in UTF-8. This means, for example, that any new client binary that drives the libsvn_client interface needs to first convert paths from the locale-specific encoding to UTF-8 before passing those paths to the Subversion libraries, and then re-convert any resultant output paths from Subversion back into the locale's encoding before using those paths for non-Subversion purposes. Fortunately, Subversion provides a suite of functions (see subversion/include/svn_utf.h) that can be used by any program to do these conversions.

Also, Subversion APIs require all URL parameters to be properly URI-encoded. So, instead of passing file:///home/username/My File.txt as the URL of a file named My File.txt, you need to pass file:///home/username/My%20File.txt. Again, Subversion supplies helper functions that your application can useБ─■svn_path_uri_encode() and svn_path_uri_decode(), for URI encoding and decoding, respectively.

Using Languages Other than C and C++

If you are interested in using the Subversion libraries in conjunction with something other than a C programБ─■say a Python or Perl scriptБ─■Subversion has some support for this via the Simplified Wrapper and Interface Generator (SWIG). The SWIG bindings for Subversion are located in subversion/bindings/swig and whilst still maturing, they are in a usable state. These bindings allow you to call Subversion API functions indirectly, using wrappers that translate the datatypes native to your scripting language into the datatypes needed by Subversion's C libraries.

There is an obvious benefit to accessing the Subversion APIs via a language bindingБ─■simplicity. Generally speaking, languages such as Python and Perl are much more flexible and easy to use than C or C++. The sort of high-level datatypes and context-driven type checking provided by these languages are often better at handling information that comes from users. As you know, humans are proficient at botching up input to a program, and scripting languages tend to handle that misinformation more gracefully. Of course, often that flexibility comes at the cost of performance. That is why using a tightly-optimized, C-based interface and library suite, combined with a powerful, flexible binding language, is so appealing.

Let's look at a sample program that uses Subversion's Python SWIG bindings to recursively crawl the youngest repository revision, and print the various paths reached during the crawl.

п÷я─п╦п╪п╣я─ 8.2. Using the Repository Layer with Python

#!/usr/bin/python

"""Crawl a repository, printing versioned object path names."""

import sys
import os.path
import svn.fs, svn.core, svn.repos

def crawl_filesystem_dir(root, directory, pool):
    """Recursively crawl DIRECTORY under ROOT in the filesystem, and return
    a list of all the paths at or below DIRECTORY.  Use POOL for all
    allocations."""

    # Print the name of this path.
    print directory + "/"

    # Get the directory entries for DIRECTORY.
    entries = svn.fs.svn_fs_dir_entries(root, directory, pool)

    # Use an iteration subpool.
    subpool = svn.core.svn_pool_create(pool)

    # Loop over the entries.
    names = entries.keys()
    for name in names:
        # Clear the iteration subpool.
        svn.core.svn_pool_clear(subpool)

        # Calculate the entry's full path.
        full_path = directory + '/' + name

        # If the entry is a directory, recurse.  The recursion will return
        # a list with the entry and all its children, which we will add to
        # our running list of paths.
        if svn.fs.svn_fs_is_dir(root, full_path, subpool):
            crawl_filesystem_dir(root, full_path, subpool)
        else:
            # Else it's a file, so print its path here.
            print full_path

    # Destroy the iteration subpool.
    svn.core.svn_pool_destroy(subpool)

def crawl_youngest(pool, repos_path):
    """Open the repository at REPOS_PATH, and recursively crawl its
    youngest revision."""

    # Open the repository at REPOS_PATH, and get a reference to its
    # versioning filesystem.
    repos_obj = svn.repos.svn_repos_open(repos_path, pool)
    fs_obj = svn.repos.svn_repos_fs(repos_obj)

    # Query the current youngest revision.
    youngest_rev = svn.fs.svn_fs_youngest_rev(fs_obj, pool)

    # Open a root object representing the youngest (HEAD) revision.
    root_obj = svn.fs.svn_fs_revision_root(fs_obj, youngest_rev, pool)

    # Do the recursive crawl.
    crawl_filesystem_dir(root_obj, "", pool)

if __name__ == "__main__":
    # Check for sane usage.
    if len(sys.argv) != 2:
        sys.stderr.write("Usage: %s REPOS_PATH\n"
                         % (os.path.basename(sys.argv[0])))
        sys.exit(1)

    # Canonicalize (enough for Subversion, at least) the repository path.
    repos_path = os.path.normpath(sys.argv[1])
    if repos_path == '.': 
        repos_path = ''

    # Call the app-wrapper, which takes care of APR initialization/shutdown
    # and the creation and cleanup of our top-level memory pool.
    svn.core.run_app(crawl_youngest, repos_path)


This same program in C would need to deal with custom datatypes (such as those provided by the APR library) for representing the hash of entries and the list of paths, but Python has hashes (called б╚dictionariesб╩) and lists as built-in datatypes, and provides a rich collection of functions for operating on those types. So SWIG (with the help of some customizations in Subversion's language bindings layer) takes care of mapping those custom datatypes into the native datatypes of the target language. This provides a more intuitive interface for users of that language.

The Subversion Python bindings can be used for working copy operations, too. In the previous section of this chapter, we mentioned the libsvn_client interface, and how it exists for the sole purpose of simplifying the process of writing a Subversion client. The following is a brief example of how that library can be accessed via the SWIG bindings to recreate a scaled-down version of the svn status command.

п÷я─п╦п╪п╣я─ 8.3. A Python Status Crawler

#!/usr/bin/env python

"""Crawl a working copy directory, printing status information."""

import sys
import os.path
import getopt
import svn.core, svn.client, svn.wc

def generate_status_code(status):
    """Translate a status value into a single-character status code,
    using the same logic as the Subversion command-line client."""

    if status == svn.wc.svn_wc_status_none:
        return ' '
    if status == svn.wc.svn_wc_status_normal:
        return ' '
    if status == svn.wc.svn_wc_status_added:
        return 'A'
    if status == svn.wc.svn_wc_status_missing:
        return '!'
    if status == svn.wc.svn_wc_status_incomplete:
        return '!'
    if status == svn.wc.svn_wc_status_deleted:
        return 'D'
    if status == svn.wc.svn_wc_status_replaced:
        return 'R'
    if status == svn.wc.svn_wc_status_modified:
        return 'M'
    if status == svn.wc.svn_wc_status_merged:
        return 'G'
    if status == svn.wc.svn_wc_status_conflicted:
        return 'C'
    if status == svn.wc.svn_wc_status_obstructed:
        return '~'
    if status == svn.wc.svn_wc_status_ignored:
        return 'I'
    if status == svn.wc.svn_wc_status_external:
        return 'X'
    if status == svn.wc.svn_wc_status_unversioned:
        return '?'
    return '?'

def do_status(pool, wc_path, verbose):
    # Calculate the length of the input working copy path.
    wc_path_len = len(wc_path)

    # Build a client context baton.
    ctx = svn.client.svn_client_ctx_t()

    def _status_callback(path, status, root_path_len=wc_path_len):
        """A callback function for svn_client_status."""

        # Print the path, minus the bit that overlaps with the root of
        # the status crawl
        text_status = generate_status_code(status.text_status)
        prop_status = generate_status_code(status.prop_status)
        print '%s%s  %s' % (text_status, prop_status, path[wc_path_len + 1:])

    # Do the status crawl, using _status_callback() as our callback function.
    svn.client.svn_client_status(wc_path, None, _status_callback,
                                 1, verbose, 0, 0, ctx, pool)

def usage_and_exit(errorcode):
    """Print usage message, and exit with ERRORCODE."""
    stream = errorcode and sys.stderr or sys.stdout
    stream.write("""Usage: %s OPTIONS WC-PATH
Options:
  --help, -h    : Show this usage message
  --verbose, -v : Show all statuses, even uninteresting ones
""" % (os.path.basename(sys.argv[0])))
    sys.exit(errorcode)

if __name__ == '__main__':
    # Parse command-line options.
    try:
        opts, args = getopt.getopt(sys.argv[1:], "hv", ["help", "verbose"])
    except getopt.GetoptError:
        usage_and_exit(1)
    verbose = 0
    for opt, arg in opts:
        if opt in ("-h", "--help"):
            usage_and_exit(0)
        if opt in ("-v", "--verbose"):
            verbose = 1
    if len(args) != 1:
        usage_and_exit(2)

    # Canonicalize (enough for Subversion, at least) the working copy path.
    wc_path = os.path.normpath(args[0])
    if wc_path == '.': 
        wc_path = ''

    # Call the app-wrapper, which takes care of APR initialization/shutdown
    # and the creation and cleanup of our top-level memory pool.
    svn.core.run_app(do_status, wc_path, verbose)


Subversion's language bindings unfortunately tend to lack the level of attention given to the core Subversion modules. However, there have been significant efforts towards creating functional bindings for Python, Perl, and Ruby. To some extent, the work done preparing the SWIG interface files for these languages is reusable in efforts to generate bindings for other languages supported by SWIG (which includes versions of C#, Guile, Java, MzScheme, OCaml, PHP, Tcl, and others). However, some extra programming is required to compensate for complex APIs that SWIG needs some help interfacing with. For more information on SWIG itself, see the project's website at http://www.swig.org/.

Inside the Working Copy Administration Area

As we mentioned earlier, each directory of a Subversion working copy contains a special subdirectory called .svn which houses administrative data about that working copy directory. Subversion uses the information in .svn to keep track of things like:

  • Which repository location(s) are represented by the files and subdirectories in the working copy directory.

  • What revision of each of those files and directories are currently present in the working copy.

  • Any user-defined properties that might be attached to those files and directories.

  • Pristine (un-edited) copies of the working copy files.

While there are several other bits of data stored in the .svn directory, we will examine only a couple of the most important items.

The Entries File

Perhaps the single most important file in the .svn directory is the entries file. The entries file is an XML document which contains the bulk of the administrative information about a versioned resource in a working copy directory. It is this one file which tracks the repository URLs, pristine revision, file checksums, pristine text and property timestamps, scheduling and conflict state information, last-known commit information (author, revision, timestamp), local copy historyБ─■practically everything that a Subversion client is interested in knowing about a versioned (or to-be-versioned) resource!

The following is an example of an actual entries file:

п÷я─п╦п╪п╣я─ 8.4. Contents of a Typical .svn/entries File

<?xml version="1.0" encoding="utf-8"?>
<wc-entries
   xmlns="svn:">
<entry
   committed-rev="1"
   name=""
   committed-date="2005-04-04T13:32:28.526873Z"
   url="http://svn.red-bean.com/repos/greek-tree/A/D"
   last-author="jrandom"
   kind="dir"
   uuid="4e820d15-a807-0410-81d5-aa59edf69161"
   revision="1"/>
<entry
   name="lambda"
   copied="true"
   kind="file"
   copyfrom-rev="1"
   schedule="add"
   copyfrom-url="http://svn.red-bean.com/repos/greek-tree/A/B/lambda"/>
<entry
   committed-rev="1"
   name="gamma"
   text-time="2005-12-11T16:32:46.000000Z"
   committed-date="2005-04-04T13:32:28.526873Z"
   checksum="ada10d942b1964d359e048dbacff3460"
   last-author="jrandom"
   kind="file"
   prop-time="2005-12-11T16:32:45.000000Z"/>
<entry
   name="zeta"
   kind="file"
   schedule="add"
   revision="0"/>
<entry
   name="G"
   kind="dir"/>
<entry
   name="H"
   kind="dir"
   schedule="delete"/>
</wc-entries>


As you can see, the entries file is essentially a list of entries. Each entry tag represents one of three things: the working copy directory itself (called the б╚this directoryб╩ entry, and noted as having an empty value for its name attribute), a file in that working copy directory (noted by having its kind attribute set to "file"), or a subdirectory in that working copy (kind here is set to "dir"). The files and subdirectories whose entries are stored in this file are either already under version control, or (as in the case of the file named zeta above) are scheduled to be added to version control when the user next commits this working copy directory's changes. Each entry has a unique name, and each entry has a node kind.

Developers should be aware of some special rules that Subversion uses when reading and writing its entries files. While each entry has a revision and URL associated with it, note that not every entry tag in the sample file has explicit revision or url attributes attached to it. Subversion allows entries to not explicitly store those two attributes when their values are the same as (in the revision case) or trivially calculable from [55] (in the url case) the data stored in the б╚this directoryб╩ entry. Note also that for subdirectory entries, Subversion stores only the crucial attributesБ─■name, kind, url, revision, and schedule. In an effort to reduce duplicated information, Subversion dictates that the method for determining the full set of information about a subdirectory is to traverse down into that subdirectory, and read the б╚this directoryб╩ entry from its own .svn/entries file. However, a reference to the subdirectory is kept in its parent's entries file, with enough information to permit basic versioning operations in the event that the subdirectory itself is actually missing from disk.

Pristine Copies and Property Files

As mentioned before, the .svn directory also holds the pristine б╚text-baseб╩ versions of files. Those can be found in .svn/text-base. The benefits of these pristine copies are multipleБ─■network-free checks for local modifications and difference reporting, network-free reversion of modified or missing files, smaller transmission of changes to the serverБ─■but comes at the cost of having each versioned file stored at least twice on disk. These days, this seems to be a negligible penalty for most files. However, the situation gets uglier as the size of your versioned files grows. Some attention is being given to making the presence of the б╚text-baseб╩ an option. Ironically though, it is as your versioned files' sizes get larger that the existence of the б╚text-baseб╩ becomes more crucialБ─■who wants to transmit a huge file across a network just because they want to commit a tiny change to it?

Similar in purpose to the б╚text-baseб╩ files are the property files and their pristine б╚prop-baseб╩ copies, located in .svn/props and .svn/prop-base respectively. Since directories can have properties, too, there are also .svn/dir-props and .svn/dir-prop-base files. Each of these property files (б╚workingб╩ and б╚baseб╩ versions) uses a simple б╚hash-on-diskб╩ file format for storing the property names and values.

WebDAV

WebDAV (shorthand for б╚Web-based Distributed Authoring and Versioningб╩) is an extension of the standard HTTP protocol designed to make the web into a read/write medium, instead of the basically read-only medium that exists today. The theory is that directories and files can be sharedБ─■as both readable and writable objectsБ─■over the web. RFCs 2518 and 3253 describe the WebDAV/DeltaV extensions to HTTP, and are available (along with a lot of other useful information) at http://www.webdav.org/.

A number of operating system file browsers are already able to mount networked directories using WebDAV. On Win32, the Windows Explorer can browse what it calls Web Folders (which are just WebDAV-ready network locations) as if they were regular shared folders. Mac OS X also has this capability, as do the Nautilus and Konqueror browsers (under GNOME and KDE, respectively).

How does all of this apply to Subversion? The mod_dav_svn Apache module uses HTTP, extended by WebDAV and DeltaV, as one of its network protocols. Subversion uses mod_dav_svn to map between Subversion's versioning concepts and those of RFCs 2518 and 3253.

For a more thorough discussion of WebDAV, how it works, and how Subversion uses it, see п÷я─п╦п╩п╬п╤п╣п╫п╦п╣б═C, WebDAV п╦ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╬п╣ я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦. Among other things, that appendix discusses the degree to which Subversion adheres to the generic WebDAV specification, and how that affects interoperability with generic WebDAV clients.




[52] We understand that this may come as a shock to sci-fi fans who have long been under the impression that Time was actually the fourth dimension, and we apologize for any emotional trauma induced by our assertion of a different theory.

[53] Subversion uses ANSI system calls and datatypes as much as possible.

[54] Neon and Berkeley DB are examples of such libraries.

[55] That is, the URL for the entry is the same as the concatenation of the parent directory's URL and the entry's name.

п⌠п╩п╟п╡п╟ 9. п÷п╬п╩п╫п╬п╣ я│п©я─п╟п╡п╬я┤п╫п╬п╣ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬ п©п╬ Subversion

п╜я┌п╟ пЁп╩п╟п╡п╟ я▐п╡п╩я▐п╣я┌я│я▐ п╦я│я┤п╣я─п©я▀п╡п╟я▌я┴п╦п╪ я│п©я─п╟п╡п╬я┤п╫я▀п╪ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬п╪ п©п╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▌ Subversion. п·п╫п╟ п╬п©п╦я│я▀п╡п╟п╣я┌ я─п╟п╠п╬я┌я┐ п©я─п╬пЁя─п╟п╪п╪я▀-п╨п╩п╦п╣п╫я┌п╟ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ (svn) п╦ п╡я│п╣я┘ п╣пЁп╬ п©п╬п╢п╨п╬п╪п╟п╫п╢, п╟ я┌п╟п╨ п╤п╣ п©я─п╬пЁя─п╟п╪п╪я▀ п╟п╢п╪п╦п╫п╦я│я┌я─п╦я─п╬п╡п╟п╫п╦я▐ я┘я─п╟п╫п╦п╩п╦я┴п╟ (svnadmin п╦ svnlook) п╦ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╣ п╦п╪ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀.

п п╩п╦п╣п╫я┌ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ Subversion: svn

п■п╩я▐ я┌п╬пЁп╬ я┤я┌п╬ п╠я▀ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╨п╩п╦п╣п╫я┌п╬п╪ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦, п╡п╡п╣п╢п╦я┌п╣ svn, п╦ п╤п╣п╩п╟п╣п╪я┐я▌ п©п╬п╢п╨п╬п╪п╟п╫п╢я┐ [56], п╟ я┌п╟п╨ п╤п╣ п╩я▌п╠я▀п╣ п╢я─я┐пЁп╦п╣ п©п╟я─п╟п╪п╣я┌я─я▀ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦, п╨п╬я┌п╬я─я▀п╣ я┘п╬я┌п╦я┌п╣ п╥п╟п╢п╣п╧я│я┌п╡п╬п╡п╟я┌я▄. п÷п╬я─я▐п╢п╬п╨, п╡ п╨п╬я┌п╬я─п╬п╪ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀ п╦ п©п╟я─п╟п╪п╣я┌я─я▀ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ п╢п╬п╩п╤п╫я▀ п╠я▀я┌я▄ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫я▀, п╫п╣ п╦пЁя─п╟п╣я┌ я│я┐я┴п╣я│я┌п╡п╣п╫п╫п╬п╧ я─п╬п╩п╦. п²п╟п©я─п╦п╪п╣я─, п╡я│я▒ п╫п╦п╤п╣п©я─п╦п╡п╣п╢я▒п╫п╫п╬п╣ п╣я│я┌я▄ п©я─п╟п╡п╦п╩я▄п╫п╬п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ svn status:

$ svn -v status
$ svn status -v
$ svn status -v myfile

п°п╫п╬п╤п╣я│я┌п╡п╬ п©я─п╦п╪п╣я─п╬п╡ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п╠п╬п╩я▄я┬п╦п╫я│я┌п╡п╟ п╨п╩п╦п╣п╫я┌я│п╨п╦я┘ п╨п╬п╪п╟п╫п╢ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ п╫п╟п╧п╢п╣п╫п╬ п╡ пЁп╩п╟п╡п╣ п⌠п╩п╟п╡п╟б═2, п╜п╨я│п╨я┐я─я│п╦я▐ п©п╬ Subversion. п п╬п╪п╟п╫п╢я▀ п╢п╩я▐ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ я│п╡п╬п╧я│я┌п╡п╟п╪п╦ п╬п©п╦я│п╟п╫я▀ п╡ пЁп╩п╟п╡п╣ б╚п║п╡п╬п╧я│я┌п╡п╟б╩.

п÷п╟я─п╟п╪п╣я┌я─я▀ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦svn

п╔п╬я┌я▐ Subversion п╦п╪п╣п╣я┌ п╪п╫п╬п╤п╣я│я┌п╡п╬ п©п╟я─п╟п╪п╣я┌я─п╬п╡ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ п╢п╩я▐ я│п╡п╬п╦я┘ п©п╬п╢п╨п╬п╪п╟п╫п╢, п╡ п╨п╟п╤п╢я▀п╧ п╦п╥ п╫п╦я┘ п╡п╨п╩п╟п╢я▀п╡п╟п╣я┌я│я▐ п╬п╢п╦п╫ п╦ я┌п╬я┌ п╤п╣ я│п╪я▀я│п╩ п╡ п╫п╣п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╬я┌ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀ я│ п╨п╬я┌п╬я─п╬п╧ п╬п╫ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐. п²п╟п©я─п╦п╪п╣я─, --verbose (-v) п╡я│п╣пЁп╢п╟ п╬п╥п╫п╟я┤п╟п╣я┌ б╚п╢п╣я┌п╟п╩я▄п╫я▀п╧ п╡я▀п╡п╬п╢б╩, п╡ п╫п╣п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦ п╬я┌ я┌п╬пЁп╬, я│ п╨п╟п╨п╬п╧ п©п╬п╢п╨п╬п╪п╟п╫п╢п╬п╧ п╡я▀ п╣пЁп╬ п╦я│п©п╬п╩я▄п╥я┐п╣я┌п╣.

--auto-props

п▓п╨п╩я▌я┤п╟п╣я┌ auto-props, п©п╣я─п╣п╬п©я─п╣п╢п╣п╩я▐я▐ п╥п╫п╟я┤п╣п╫п╦п╣ п╢п╦я─п╣п╨я┌п╦п╡я▀ enable-auto-props п╦п╥ я└п╟п╧п╩п╟ config.

--config-dir DIR

п≈п╟я│я┌п╟п╡п╩я▐п╣я┌ Subversion п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╫п╟я│я┌я─п╬п╧п╨п╦ п╦п╥ я┐п╨п╟п╥п╟п╫п╫п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ п╡п╪п╣я│я┌п╬ п╦я│п©п╬п╩я▄п╥я┐п╣п╪п╬пЁп╬ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ (.subversion п╡ п╢п╬п╪п╟я┬п╫п╣п╪ п╨п╟я┌п╟п╩п╬пЁп╣ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐).

--diff-cmd CMD

п÷п╬п╥п╡п╬п╩я▐п╣я┌ я┐п╨п╟п╥п╟я┌я▄ п╡п╫п╣я┬п╫я▌я▌ п©я─п╬пЁя─п╟п╪п╪я┐ п©п╬я│я┌я─п╬п╣п╫п╦я▐ я─п╟п╥п╩п╦я┤п╦п╧ п╪п╣п╤п╢я┐ я└п╟п╧п╩п╟п╪п╦. п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌, п©п╬п╢п╨п╬п╪п╟п╫п╢п╟ svn diff п╦я│п©п╬п╩я▄п╥я┐п╣я┌ п╡п╫я┐я┌я─п╣п╫п╫п╦п╧ п╪п╣я┘п╟п╫п╦п╥п╪ я│я─п╟п╡п╫п╣п╫п╦я▐ Subversion, п╡я▀п╢п╟я▌я┴п╦п╧ я─п╣п╥я┐п╩я▄я┌п╟я┌ п╡ п╣п╢п╦п╫п╬п╪ я└п╬я─п╪п╟я┌п╣ п╥п╟п©п╦я│п╦ я─п╟п╥п╩п╦я┤п╦п╧ (unified diffs). п▓п╬я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╡п╫п╣я┬п╫п╣п╧ п©я─п╬пЁя─п╟п╪п╪п╬п╧ diff п╪п╬п╤п╫п╬ я┐п╨п╟п╥п╟п╡ п╣п╣ п╦п╪я▐ п╡ п╨п╟я┤п╣я│я┌п╡п╣ п╟я─пЁя┐п╪п╣п╫я┌п╟ --diff-cmd. п²п╣п╬п╠я┘п╬п╢п╦п╪я▀п╣ п╟я─пЁя┐п╪п╣п╫я┌я▀ п╪п╬пЁя┐я┌ п╠я▀я┌я▄ п©п╣я─п╣п╢п╟п╫я▀ п©я─п╬пЁя─п╟п╪п╪п╣ diff я┤п╣я─п╣п╥ п©п╟я─п╟п╪п╣я┌я─ --extensions (п╠я┐п╢п╣я┌ п╬п©п╦я│п╟п╫ п╫п╦п╤п╣ п╡ я█я┌п╬п╧ пЁп╩п╟п╡п╣).

--diff3-cmd CMD

п÷п╬п╥п╡п╬п╩я▐п╣я┌ я┐п╨п╟п╥п╟я┌я▄ п╡п╫п╣я┬п╫я▌я▌ п©я─п╬пЁя─п╟п╪п╪я┐ п╢п╩я▐ я│п╩п╦я▐п╫п╦я▐ я└п╟п╧п╩п╬п╡.

--dry-run

п▓я▀п©п╬п╩п╫я▐п╣я┌ п╡я│п╣ п╢п╣п╧я│я┌п╡п╦я▐ п╨п╬п╪п╟п╫п╢я▀ п╠п╣п╥ п╡п╫п╣я│п╣п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╫п╟ п╢п╦я│п╨ п╦п╩п╦ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣.

--editor-cmd CMD

п·п©я─п╣п╢п╣п╩я▐п╣я┌ п╡п╫п╣я┬п╫я▌я▌ п©я─п╬пЁя─п╟п╪п╪я┐ п╢п╩я▐ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦я▐ п╨п╬п╪п╪п╣п╫я┌п╟я─п╦я▐ п╦п╩п╦ я│п╡п╬п╧я│я┌п╡п╟. п÷п╬п╢я─п╬п╠п╫п╣п╣ п╬ я┌п╬п╪, п╨п╟п╨ я┐п╨п╟п╥п╟я┌я▄ п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╧ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ я─п╣п╢п╟п╨я┌п╬я─, я│п╪п╬я┌я─п╦я┌п╣ я─п╟п╥п╢п╣п╩, п©п╬я│п╡я▐я┴п╣п╫п╫я▀п╧ editor-cmd п╡ б╚Configб╩.

--encoding ENC

пёп╨п╟п╥я▀п╡п╟п╣я┌ Subversion п╨п╬п╢п╦я─п╬п╡п╨я┐ п╨п╬п╪п╪п╣п╫я┌п╟я─п╦п╣п╡. п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╨п╬п╢п╦я─п╬п╡п╨п╟, я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╫п╟я▐ п╡п╟я┬п╣п╧ п╬п©п╣я─п╟я├п╦п╬п╫п╫п╬п╧ я│п╦я│я┌п╣п╪п╣. п∙я│п╩п╦ п╡п╟я┬ п╨п╬п╪п╪п╣п╫я┌п╟я─п╦п╧ п╡ п╢я─я┐пЁп╬п╧ п╨п╬п╢п╦я─п╬п╡п╨п╣ - я┐п╨п╟п╤п╦я┌п╣ п╣п╣ я▐п╡п╫п╬.

--extensions (-x) ARGS

п·п©я─п╣п╢п╣п╩я▐п╣я┌ п©п╟я─п╟п╪п╣я┌я─ п╨п╬я┌п╬я─я▀п╧ Subversion п╢п╬п╩п╤п╫п╟ п©п╣я─п╣п╢п╟я┌я▄ п╡п╫п╣я┬п╫п╣п╧ п©я─п╬пЁя─п╟п╪п╪п╣ diff, п╨п╬пЁп╢п╟ п╡я▀я▐я│п╫я▐п╣я┌я│я▐ я─п╟п╥п╩п╦я┤п╦п╣ п╪п╣п╤п╢я┐ я└п╟п╧п╩п╟п╪п╦. п■п╩я▐ п©п╣я─п╣п╢п╟я┤п╦ п╫п╣я│п╨п╬п╩я▄п╨п╦я┘ п©п╟я─п╟п╪п╣я┌я─п╬п╡, п╦я┘ п╫я┐п╤п╫п╬ п╥п╟п╨п╩я▌я┤п╦я┌я▄ п╦я┘ п╡ п╨п╟п╡я▀я┤п╨п╦ (п╫п╟п©я─п╦п╪п╣я─, svn diff --diff-cmd /usr/bin/diff -x "-b -E"). п╜я┌п╬я┌ п©п╟я─п╟п╪п╣я┌я─ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ п╪п╬п╤п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ я┌п╬п╩я▄п╨п╬ я│п╬п╡п╪п╣я│я┌п╫п╬ я│ п©п╟я─п╟п╪п╣я┌я─п╬п╪ --diff-cmd.

--file (-F) FILENAME

пёп╨п╟п╥я▀п╡п╟п╣я┌ я┤я┌п╬ я│п╩п╣п╢я┐п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я│п╬п╢п╣я─п╤п╦п╪п╬п╣ я┐п╨п╟п╥п╟п╫п╫п╬пЁп╬ я└п╟п╧п╩п╟ п╡ п╨п╟я┤п╣я│я┌п╡п╣ п╡я┘п╬п╢п╫я▀я┘ п╢п╟п╫п╫я▀я┘, п╥п╟п©я─п╟я┬п╦п╡п╟п╣п╪я▀я┘ п╡я▀п╥я▀п╡п╟п╣п╪п╬п╧ п©п╬п╢п╨п╬п╪п╟п╫п╢п╬п╧.

--force

п÷я─п╦п╫я┐п╤п╢п╟п╣я┌ п╡я▀п©п╬п╩п╫п╦я┌я▄ п╫п╣п╨п╬я┌п╬я─я▀п╣ п╨п╬п╪п╟п╫п╢я▀ п╦п╩п╦ п╬п©п╣я─п╟я├п╦п╦. п∙я│я┌я▄ я─п╟п╢ п╬п©п╣я─п╟я├п╦п╧, п╨п╬я┌п╬я─я▀п╣ Subversion п╬я┌п╨п╟п╤п╣я┌я│я▐ п╡я▀п©п╬п╩п╫п╦я┌я▄ п╡ п╬п©я─п╣п╢п╣п╩п╣п╫п╫я▀я┘ я┐я│п╩п╬п╡п╦я▐я┘. п≈п╟п╢п╟п╡п╟я▐ я█я┌п╬я┌ п©п╟я─п╟п╪п╣я┌я─ п╡я▀ я▐п╡п╫п╬ пЁп╬п╡п╬я─п╦я┌п╣ Subversion б╚п╞ п╬я│п╬п╥п╫п╟я▌ п╡я│п╣ п╡п╬п╥п╪п╬п╤п╫я▀п╣ п©п╬я│п╩п╣п╢я│я┌п╡п╦я▐ п╪п╬п╦я┘ п╢п╣п╧я│я┌п╡п╦п╧, я┌п╟п╨ я┤я┌п╬ п╢п╣п╩п╟п╧ я┤я┌п╬ я┌п╣п╠п╣ п╡п╣п╩я▐я┌ б╩. п╜я┌п╬я┌ п©п╟я─п╟п╪п╣я┌я─ я█п╨п╡п╦п╡п╟п╩п╣п╫я┌п╣п╫ п╡я▀п©п╬п╩п╫п╣п╫п╦я▌ я█п╩п╣п╨я┌я─п╬п╪п╬п╫я┌п╟п╤п╫я▀я┘ я─п╟п╠п╬я┌ "п©п╬п╢ п╫п╟п©я─я▐п╤п╣п╫п╦п╣п╪"Б─■п╫п╣ п╥п╫п╟я▐ я┤я┌п╬ п╢п╣п╩п╟п╣я┬я▄, я─п╦я│п╨я┐п╣я┬я▄ "п©п╬п©п╟я│я┌я▄ п©п╬п╢ я└п╟п╥я┐".

--force-log

п÷я─п╦п╫я┐п╤п╢п╟п╣я┌ п©п╟я─п╟п╪п╣я┌я─я▀ --message (-m) п╦п╩п╦ --file (-F) п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я│п╩п╣п╢я┐я▌я┴п╦п╧ п╟я─пЁя┐п╪п╣п╫я┌, п╨п╟п╨п╦п╪ п╠я▀ п©п╬п╢п╬п╥я─п╦я┌п╣п╩я▄п╫я▀п╪ п╬п╫ п╫п╣ п╠я▀п╩. п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌, Subversion п╠я┐п╢п╣я┌ п╡я▀п╢п╟п╡п╟я┌я▄ п╬я┬п╦п╠п╨я┐, п╣я│п╩п╦ п╥п╫п╟я┤п╣п╫п╦я▐ я█я┌п╦я┘ п©п╟я─п╟п╪п╣я┌я─п╬п╡ п╡я▀пЁп╩я▐п╢я▐я┌ я┌п╟п╨, п╨п╟п╨ п╣я│п╩п╦ п╠я▀ п╬п╫п╦ п╠я▀п╩п╦ п╬п╠я┼п╣п╨я┌п╟п╪п╦, п╬п╠я─п╟п╠п╟я┌я▀п╡п╟п╣п╪я▀п╪п╦ п©п╬п╢п╨п╬п╪п╟п╫п╢п╬п╧. п²п╟п©я─п╦п╪п╣я─, п╨п╬пЁп╢п╟ п╡ п╨п╟я┤п╣я│я┌п╡п╣ п╥п╫п╟я┤п╣п╫п╦я▐ п©п╟я─п╟п╪п╣я┌я─п╟ --file (-F) п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╦п╪я▐ я└п╟п╧п╩п╟ п╫п╟я┘п╬п╢я▐я┴п╣пЁп╬я│я▐ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩п╣п╪ п╡п╣я─я│п╦п╧, Subversion п©я─п╣п╢п©п╬п╩п╟пЁп╟п╣я┌ я┤я┌п╬ п╠я▀п╩п╟ п╢п╬п©я┐я┴п╣п╫п╟ п╬я┬п╦п╠п╨п╟. п∙п╧ п╨п╟п╤п╣я┌я│я▐, я┤я┌п╬ п╡п╪п╣я│я┌п╬ п©п╬п╩п╬п╤п╣п╫п╫п╬пЁп╬ п╡ я┌п╟п╨п╬п╪ я│п╩я┐я┤п╟п╣ п╬п╠я▀я┤п╫п╬пЁп╬ я└п╟п╧п╩п╟, п╫п╣ п╫п╟я┘п╬п╢я▐я┴п╣пЁп╬я│я▐ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩п╣п╪ п╡п╣я─я│п╦п╧, п©п╬ п╬я┬п╦п╠п╨п╣ п╠я▀п╩ я┐п╨п╟п╥п╟п╫ я├п╣п╩п╣п╡п╬п╧ я└п╟п╧п╩ п╡я▀п╥я▀п╡п╟п╣п╪п╬п╧ п╬п©п╣я─п╟я├п╦п╦. п╖я┌п╬п╠я▀ п©п╬п╢я┌п╡п╣я─п╢п╦я┌я▄ я│п╡п╬п╦ п╫п╟п╪п╣я─п╣п╫п╦я▐ п╦ п╬п╠я┘п╬п╢п╦я┌я▄ п╬я┬п╦п╠п╨п╦ п©п╬п╢п╬п╠п╫п╬пЁп╬ я─п╬п╢п╟, п╫я┐п╤п╫п╬ я▐п╡п╫п╬ я┐п╨п╟п╥я▀п╡п╟я┌я▄ п©п╟я─п╟п╪п╣я┌я─ --force-log п╢п╩я▐ п©п╬п╢п╨п╬п╪п╟п╫п╢, п©я─п╣п╢п©п╬п╩п╟пЁп╟я▌я┴п╦я┘ п╡п╡п╬п╢ я│п╬п╬п╠я┴п╣п╫п╦п╧ п╦я│я┌п╬я─п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧.

--help (-h or -?)

п∙я│п╩п╦ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ я│ п╬п╢п╫п╬п╧ п╦п╩п╦ п╠п╬п╩п╣п╣ п©п╬п╢п╨п╬п╪п╟п╫п╢Б─■п╡я▀п╡п╬п╢п╦я┌ п╡п╫я┐я┌я─п╣п╫п╫я▌я▌ п©п╬п╢я│п╨п╟п╥п╨я┐ п╨п╟п╤п╢п╬п╧ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀. п∙я│п╩п╦ п╠п╣п╥ п©п╬п╢п╨п╬п╪п╟п╫п╢, я┌п╬ п╬я┌п╬п╠я─п╟п╤п╟п╣я┌ п╬п╠я┴я┐я▌ п©п╬п╢я│п╨п╟п╥п╨я┐.

--ignore-ancestry

п║п╬п╬п╠я┴п╟п╣я┌ Subversion п╬ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦ п╦пЁп╫п╬я─п╦я─п╬п╡п╟я┌я▄ п╦я│я┌п╬я─п╦я▌ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п©я─п╦ п╡я▀я┤п╦я│п╩п╣п╫п╦п╦ я─п╟п╥п╩п╦я┤п╦п╧. п╒п╬ п╣я│я┌я▄, п©п╬п╩п╟пЁп╟я┌я▄я│я▐ я┌п╬п╩я▄п╨п╬ п╫п╟ я┌п╣п╨я┐я┴п╣п╣ я│п╬п╢п╣я─п╤п╦п╪п╬п╣.

--ignore-externals

п║п╬п╬п╠я┴п╟п╣я┌ Subversion п╬ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦ п╦пЁп╫п╬я─п╦я─п╬п╡п╟я┌я▄ п╡п╫п╣я┬п╫п╦п╣ п╬п©я─п╣п╢п╣п╩п╣п╫п╦я▐ п╦ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╣ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦.

--incremental

п▓я▀п╡п╬п╢п╦я┌ я─п╣п╥я┐п╩я▄я┌п╟я┌я▀ п╡ я┐п╢п╬п╠п╫п╬п╪ п╢п╩я▐ п╨п╬п╫п╨п╟я┌п╣п╫п╟я├п╦п╦ п╡п╦п╢п╣.

--limit NUM

п▓я▀п╡п╬п╢п╦я┌ я┌п╬п╩я▄п╨п╬ п©п╣я─п╡я▀п╣ NUM я│п╬п╬п╠я┴п╣п╫п╦п╧ п╦я│я┌п╬я─п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧.

--message (-m) MESSAGE

пёп╨п╟п╥я▀п╡п╟п╣я┌ п╫п╟ я┌п╬, я┤я┌п╬ я│п╩п╣п╢я┐я▌я┴п╦п╪ п©п╟я─п╟п╪п╣я┌я─п╬п╪ я▐п╡п╩я▐п╣я┌я│я▐ п©п╬я▐я│п╫п╣п╫п╦п╣ я└п╦п╨я│п╦я─я┐п╣п╪я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п²п╟п©я─п╦п╪п╣я─:

$ svn commit -m "They don't make Sunday."
--new ARG

п·п©я─п╣п╢п╣п╩я▐п╣я┌ ARG п╨п╟п╨ п╠п╬п╩п╣п╣ п╫п╬п╡я▀п╧ я├п╣п╩п╣п╡п╬п╧ п╬п╠я┼п╣п╨я┌.

--no-auth-cache

п÷я─п╣п©я▐я┌я│я┌п╡я┐п╣я┌ я┘п╣я┬п╦я─п╬п╡п╟п╫п╦я▌ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╬п╫п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ (п╫п╟п©я─п╦п╪п╣я─ п╦п╪я▐ п╦ п©п╟я─п╬п╩я▄) п╡ п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╦п╡п╫п╬п╪ п╨п╟я┌п╟п╩п╬пЁп╣ Subversion.

--no-auto-props

п·я┌п╨п╩я▌я┤п╟п╣я┌ auto-props, п©п╣я─п╣п╬п©я─п╣п╢п╣п╩я▐я▐ п©п╟я─п╟п╪п╣я┌я─ enable-auto-props п╦п╥ я└п╟п╧п╩п╟ config.

--no-diff-added

п÷я─п╣п©я▐я┌я│я┌п╡я┐п╣я┌ п╬я┌п╬п╠я─п╟п╤п╣п╫п╦я▌ Subversion я─п╟п╥п╩п╦я┤п╦п╧ п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╫я▀я┘ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩я▄ п╡п╣я─я│п╦п╧ я└п╟п╧п╩п╬п╡. п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌, п╢п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╫п╬пЁп╬ я└п╟п╧п╩п╟ svn diff п╡я▀п╡п╬п╢п╦я┌ я─п╟п╥п╩п╦я┤п╦я▐ я┌п╟п╨, п╨п╟п╨ п╣я│п╩п╦ п╠я▀ п╡я▀ п╢п╬п╠п╟п╡п╦п╩п╦ я│п╬п╢п╣я─п╤п╦п╪п╬п╣ п╢п╩я▐ я┐п╤п╣ я│я┐я┴п╣я│я┌п╡я┐я▌я┴п╣пЁп╬, п╫п╬ п©я┐я│я┌п╬пЁп╬ я└п╟п╧п╩п╟.

--no-diff-deleted

п÷я─п╣п©я▐я┌я│я┌п╡я┐п╣я┌ п╬я┌п╬п╠я─п╟п╤п╣п╫п╦я▌ Subversion я─п╟п╥п╩п╦я┤п╦п╧ п╢п╩я▐ я┐п╢п╟п╩п╣п╫п╫я▀я┘ п╦п╥ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩я▐ п╡п╣я─я│п╦п╧ я└п╟п╧п╩п╬п╡. п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌, п╢п╩я▐ я┐п╢п╟п╩п╣п╫п╫п╬пЁп╬ я└п╟п╧п╩п╟ svn diff п╡я▀п╡п╬п╢п╦я┌ я─п╟п╥п╩п╦я┤п╦я▐ я┌п╟п╨, п╨п╟п╨ п╣я│п╩п╦ я└п╟п╧п╩ я│я┐я┴п╣я│я┌п╡я┐п╣я┌, п╫п╬ я│ п©я┐я│я┌я▀п╪ я│п╬п╢п╣я─п╤п╦п╪я▀п╪.

--no-ignore

п÷п╬п╨п╟п╥я▀п╡п╟п╣я┌ п╡я│п╣ я└п╟п╧п╩я▀ п╡ я│п©п╦я│п╨п╣ я│п╬я│я┌п╬я▐п╫п╦я▐ я└п╟п╧п╩п╬п╡, п╨п╬я┌п╬я─я▀п╣ п╠я▀п╩п╦ п╠я▀ п©я─п╬п©я┐я┴п╣п╫я▀ п╨п╟п╨ п©п╬п╢п©п╟п╢п╟я▌я┴п╦п╣ п©п╬п╢ я┬п╟п╠п╩п╬п╫ п╫п╟я│я┌я─п╬п╧п╨п╦ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ global-ignores п╦п╩п╦ я│п╡п╬п╧я│я┌п╡п╟ svn:ignore. п║п╪п╬я┌я─п╦ б╚Configб╩ п╦ б╚п÷я─п╬п©я┐я│п╨ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡б╩ п╢п╩я▐ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦.

--no-unlock

п²п╣ я│п╫п╦п╪п╟п╣я┌ п╠п╩п╬п╨п╦я─п╬п╡п╨я┐ я│ я└п╟п╧п╩п╬п╡ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦. п÷п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ п╠п╩п╬п╨п╦я─п╬п╡п╨п╟ я│п╫п╦п╪п╟п╣я┌я│я▐ п╢п╩я▐ п╡я│п╣я┘ я└п╟п╩п╬п╡, я┐я┤п╟я│я┌п╡я┐я▌я┴п╦я┘ п╡ я└п╦п╨я│п╟я├п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п║п╪п╬я┌я─п╦ б╚Lockingб╩ п╢п╩я▐ п╢п╩я▐ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦.

--non-interactive

п▓ я│п╩я┐я┤п╟п╣ п╬я┬п╦п╠п╨п╦ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦ п╦п╩п╦ п╫п╣п©п╬п╩п╫п╬я┌я▀ п©п╟я─п╟п╪п╣я┌я─п╬п╡ п╦п╢п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦, п©я─п╣п©я▐я┌я│я┌п╡я┐п╣я┌ п╦я┘ п╥п╟п©я─п╟я┬п╦п╡п╟п╫п╦я▌ (п╫п╟п©я─п╦п╪п╣я─, п╥п╟п©я─п╬я│я┐ п╦п╪п╣п╫п╦ п╦п╩п╦ п©п╟я─п╬п╩я▐). п╜я┌п╬ п©п╬п╩п╣п╥п╫п╬ п©я─п╦ п╡я▀п╥п╬п╡п╣ Subversion п╦п╥ п╟п╡я┌п╬п╪п╟я┌п╦п╥п╦я─п╬п╡п╟п╫п╫я▀я┘ я│п╨я─п╦п©я┌п╬п╡, п╡ я█я┌п╬п╪ я│п╩я┐я┤п╟п╣ п╬я┬п╦п╠п╨п╟ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ я│п╨я─п╦п©я┌п╟ п╩я┐я┤я┬п╣, я┤п╣п╪ п╣пЁп╬ п╬я│я┌п╟п╫п╬п╡ п╦п╫я┌п╣я─п╟п╨я┌п╦п╡п╫я▀п╪п╦ п╥п╟п©я─п╬я│п╟п╪п╦ Subversion п╬ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦.

--non-recursive (-N)

п≈п╟п©я─п╣я┴п╟п╣я┌ я─п╣п╨я┐я─я│п╦п╡п╫п╬п╣ п╡я▀п©п╬п╩п╫п╣п╫п╦п╣ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀ п╢п╩я▐ п╡п╩п╬п╤п╣п╫п╫я▀я┘ п╨п╟я┌п╟п╩п╬пЁп╬п╡. п▒п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ п©п╬п╢п╨п╬п╪п╟п╫п╢ п╡я▀п©п╬п╩п╫я▐я▌я┌я│я▐ я─п╣п╨я┐я─я│п╦п╡п╫п╬ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌, п╫п╬ п╫п╣п╨п╬я┌п╬я─я▀п╣Б─■п╬п╠я▀я┤п╫п╬ я┌п╣, я┤я┌п╬ п╪п╬пЁя┐я┌ я┐п╢п╟п╩я▐я┌я▄ п╦п╩п╦ п╬я┌п╪п╣п╫я▐я┌я▄ п╡п╟я┬п╦ п╩п╬п╨п╟п╩я▄п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐Б─■я┌п╟п╨п╬п╡я▀п╪п╦ п╫п╣ я▐п╡п╩я▐я▌я┌я│я▐.

--notice-ancestry

п÷я─п╣п╢п╩п╟пЁп╟п╣я┌ я┐я┤п╦я┌я▀п╡п╟я┌я▄ п╦я│я┌п╬я─п╦я▌ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п©я─п╦ п╡я▀я┤п╦я│п╩п╣п╫п╦п╦ я─п╟п╥п╩п╦я┤п╦п╧.

--old ARG

п·п©я─п╣п╢п╣п╩я▐п╣я┌ ARG п╨п╟п╨ п╠п╬п╩п╣п╣ п©п╬п╥п╢п╫п╦п╧ я├п╣п╩п╣п╡п╬п╧ п╬п╠я┼п╣п╨я┌.

--password PASS

пёп╨п╟п╥я▀п╡п╟п╣я┌ п╫п╟ п╡п╟я┬п╣ п╤п╣п╩п╟п╫п╦п╣ я▐п╡п╫п╬ п╥п╟п╢п╟я┌я▄ п©п╟я─п╬п╩я▄ п╢п╩я▐ п╟я┐я┌п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦Б─■п╨п╟п╨ п╠я▀ я┌п╬ п╫п╦ п╠я▀п╩п╬, п╣я│п╩п╦ п©п╟я─п╬п╩я▄ п©п╬я┌я─п╣п╠я┐п╣я┌я│я▐, Subversion п╣пЁп╬ я┐ п╡п╟я│ я│п©я─п╬я│п╦я┌.

--quiet (-q)

п╒я─п╣п╠я┐п╣я┌ я│п╬п╬п╠я┴п╟я┌я▄ я┌п╬п╩я▄п╨п╬ я│я┐я┴п╣я│я┌п╡п╣п╫п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌.

--recursive (-R)

п▓я▀п©п╬п╩п╫я▐п╣я┌ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀ я─п╣п╨я┐я─я│п╦п╡п╫п╬ п╢п╩я▐ п╡я│п╣я┘ п╡п╩п╬п╤п╣п╫п╫я▀я┘ п╨п╟я┌п╟п╩п╬пЁп╬п╡. п▒п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ п©п╬п╢п╨п╬п╪п╟п╫п╢ п╡я▀п©п╬п╩п╫я▐я▌я┌я│я▐ я─п╣п╨я┐я─я│п╦п╡п╫п╬ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌.

--relocate FROM TO [PATH...]

п≤я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ я│п╬п╡п╪п╣я│я┌п╫п╬ я│ п©п╬п╢п╨п╬п╪п╟п╫п╢п╬п╧ svn switch, п©я─п╣п╢п©п╦я│я▀п╡п╟я▐ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ я│я│я▀п╩п╟я┌я▄я│я▐ п╫п╟ п╢я─я┐пЁп╬п╣ я┘я─п╟п╫п╦п╩п╦я┴п╣. п╜я┌п╬ п©п╬п╩п╣п╥п╫п╬ п©я─п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╦ п╟п╢я─п╣я│п╟ п╡п╟я┬п╣пЁп╬ я┘я─п╟п╫п╦п╩п╦я┴п╟, п╨п╬пЁп╢п╟ п╡я▀ я┐п╤п╣ п╦п╪п╣п╣я┌п╣ я│я┐я┴п╣я│я┌п╡я┐я▌я┴я┐я▌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, п╨п╬я┌п╬я─я┐я▌ п╠я▀ п╤п╣п╩п╟п╩п╦ п©я─п╬п╢п╬п╩п╤п╟я┌я▄ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄. п·п╠я─п╟я┌п╦я┌п╣я│я▄ п╨ я─я┐п╨п╬п╡п╬п╢я│я┌п╡я┐ svn switch п╢п╩я▐ п©п╬п╩я┐я┤п╣п╫п╦я▐ п©я─п╦п╪п╣я─п╟ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐.

--revision (-r) REV

п·я┌я─п╟п╤п╟п╣я┌ п╡п╟я┬п╣ п╫п╟п╪п╣я─п╣п╫п╦п╣ п╡я▀п©п╬п╩п╫п╦я┌я▄ п╬п©п╣я─п╟я├п╦я▌ п╢п╩я▐ я┐п╨п╟п╥п╟п╫п╫п╬п╧ п╡п╣я─я│п╦п╦ (п╦п╩п╦ п╢п╦п╟п©п╟п╥п╬п╫п╟ п╡п╣я─я│п╦п╧). п▓ п╨п╟я┤п╣я│я┌п╡п╣ п╥п╫п╟я┤п╣п╫п╦п╧ п©п╟я─п╟п╪п╣я┌я─п╟ п╡я▀ п╪п╬п╤п╣я┌п╣ я┐п╨п╟п╥я▀п╡п╟я┌я▄ п╫п╬п╪п╣я─ п╡п╣я─я│п╦п╦, п╦я┘ п╨п╩я▌я┤п╣п╡я▀п╣ я│п╩п╬п╡п╟ п╦п╩п╦ п╢п╟я┌я┐ (п╡ я└п╦пЁя┐я─п╫я▀я┘ я│п╨п╬п╠п╨п╟я┘). п∙я│п╩п╦ п╡я▀ п╤п╣п╩п╟п╣я┌п╣ я┐п╨п╟п╥п╟я┌я▄ п╢п╦п╟п©п╟п╥п╬п╫ п╡п╣я─я│п╦п╧, п╡я▀ п╢п╬п╩п╤п╫я▀ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╢п╡п╬п╣я┌п╬я┤п╦п╣ п╡ п╨п╟я┤п╣я│я┌п╡п╣ я─п╟п╥п╢п╣п╩п╦я┌п╣п╩я▐. п²п╟п©я─п╦п╪п╣я─:

$ svn log -r 1729
$ svn log -r 1729:HEAD
$ svn log -r 1729:1744
$ svn log -r {2001-12-04}:{2002-02-17}
$ svn log -r 1729:{2002-02-17}

п≤я│п©п╬п╩я▄п╥я┐п╧я┌п╣ б╚п п╩я▌я┤п╣п╡я▀п╣ я│п╩п╬п╡п╟ п©я─п╟п╡п╬п╨б╩ п╢п╩я▐ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦.

--revprop

п·п©п╣я─п╦я─я┐п╣я┌ я│п╬ я│п╡п╬п╧я│я┌п╡п╟п╪п╦ п©я─п╟п╡п╨п╦, a п╫п╣ я│п╡п╬п╧я│я┌п╡п╟п╪п╦ я└п╟п╧п╩п╟ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁп╟. п╜я┌п╬я┌ п©п╟я─п╟п╪п╣я┌я─ я┌я─п╣п╠я┐п╣я┌ я┐п╨п╟п╥п╟п╫п╦я▐ п╡п╣я─я│п╦п╦ п©п╬я│я─п╣п╢я│я┌п╡п╬п╪ --revision (-r). п·п╠я─п╟я┌п╦я┌п╣я│я▄ п╨ б╚Unversioned Propertiesб╩ п╢п╩я▐ п╠п╬п╩п╣п╣ пЁп╩я┐п╠п╬п╨п╬пЁп╬ п©п╬п╫п╦п╪п╟п╫п╦я▐ п╫п╣п╡п╣я─я│п╦п╬п╫п╫я▀я┘ я│п╡п╬п╧я│я┌п╡.

--show-updates (-u)

п÷я─п╦п╫я┐п╤п╢п╟п╣я┌ п©я─п╬пЁя─п╟п╪п╪я┐-п╨п╩п╦п╣п╫я┌п╟ п╡я▀п╡п╣я│я┌п╦ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬ п╫я┐п╤п╢п╟я▌я┴п╦я┘я│я▐ п╡ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╦ я└п╟п╧п╩п╟я┘ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п÷я─п╦ я█я┌п╬п╪ я│п╟п╪п╬пЁп╬ п╬п╠п╫п╬п╡п╩п╣п╫п╦я▐ п╫п╣ п©я─п╬п╦я│я┘п╬п╢п╦я┌Б─■п╡я▀ я┌п╬п╩я▄п╨п╬ п╡п╦п╢п╦я┌п╣ я│п©п╦я│п╬п╨ я└п╟п╧п╩п╬п╡, п╨п╬я┌п╬я─я▀п╣ п╠я┐п╢я┐я┌ п╬п╠п╫п╬п╡п╩п╣п╫я▀ п╣я│п╩п╦ п╡я▀ п╥п╟п©я┐я│я┌п╦я┌п╣ svn update.

--stop-on-copy

п⌠п╬п╡п╬я─п╦я┌ Subversion п©я─п╣п╨я─п╟я┌п╦я┌я▄ п╬п╠я─п╟п╠п╬я┌п╨я┐ п╦я│я┌п╬я─п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╬п╠я┼п╣п╨я┌п╟, я┘я─п╟п╫п╦п╪п╬пЁп╬ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩п╣п╪ п╡п╣я─я│п╦п╧, п╨п╟п╨ я┌п╬п╩я▄п╨п╬ п╡я│я┌я─п╣я┌п╦я┌я│я▐ я┐п©п╬п╪п╦п╫п╟п╫п╦п╣ п╡ п╦я│я┌п╬я─п╦п╦ п╬ я┌п╬п╪ я┤я┌п╬ п╬п╠я┼п╣п╨я┌ п╠я▀п╩ я│п╨п╬п©п╦я─п╬п╡п╟п╫ п╦п╥ п╢я─я┐пЁп╬пЁп╬ п╪п╣я│я┌п╟ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣.

--strict

п╒я─п╣п╠я┐п╣я┌ п╬я┌ Subversion п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я│я┌я─п╬пЁя┐я▌ я│п╣п╪п╟п╫я┌п╦п╨я┐. п·п©п╦я│п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦п╣ п©п╬п╡п╣п╢п╣п╫п╦я▐ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀ п╢п╬п╡п╬п╩я▄п╫п╬ я┌я─я┐п╢п╫п╬ п╠п╣п╥ я┐я┤п╣я┌п╟ я│п©п╣я├п╦я└п╦п╨п╦ я│п╟п╪п╬п╧ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀.

--targets FILENAME

п≤я│п©п╬п╩я▄п╥я┐я▐ я█я┌п╬я┌ п©п╟я─п╟п╪п╣я┌я─ п╡я▀ п╪п╬п╤п╣я┌п╣ я┐п╨п╟п╥п╟я┌я▄ Subversion п╫п╟ я└п╟п╧п╩, я│п╬п╢п╣я─п╤п╟я┴п╦п╧ я│п©п╦я│п╬п╨ я└п╟п╧п╩п╬п╡, п╨п╬я┌п╬я─я▀п╪п╦ п╡я▀ я┘п╬я┌п╦я┌п╣ п╬п©п╣я─п╦я─п╬п╡п╟я┌я▄, п╡п╪п╣я│я┌п╬ я┌п╬пЁп╬ я┤я┌п╬п╠я▀ п©п╣я─п╣я┤п╦я│п╩я▐я┌я▄ п╦я┘ п╡ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╣.

--username NAME

пёп╨п╟п╥я▀п╡п╟п╣я┌ п╫п╟ п╦п╪я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п╢п╩я▐ п╟я┐я┌п╣п╫я┌п╦я└п╦п╨п╟я├п╦п╦. п п╟п╨ п╠я▀ я┌п╬ п╫п╦ п╠я▀п╩п╬, п╣я│п╩п╦ п╦п╪я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐ п©п╬я┌я─п╣п╠я┐п╣я┌я│я▐, Subversion п╣пЁп╬ я┐ п╡п╟я│ я│п©я─п╬я│п╦я┌.

--verbose (-v)

п▓я▀я─п╟п╤п╟п╣я┌ п©я─п╬я│я▄п╠я┐ п╨п╬п╪п╪п╣п╫я┌п╦я─п╬п╡п╟я┌я▄ п©я─п╬я├п╣я│я│ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ п╬п©п╣я─п╟я├п╦п╦ п╨п╟п╨ п╪п╬п╤п╫п╬ п╠п╬п╩п╣п╣ п╢п╣я┌п╟п╩я▄п╫п╬. п╜я┌п╬ п╪п╬п╤п╣я┌ п©я─п╦п╡п╣я│я┌п╦ п╨ п╡я▀п╡п╬п╢я┐ п╢п╬п©п╬п╩п╫п╦я┌п╣п╩я▄п╫я▀я┘ п©п╬п╩п╣п╧, п©п╬п╢я─п╬п╠п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п©п╬ п╨п╟п╤п╢п╬п╪я┐ я└п╟п╧п╩я┐ п╦п╩п╦ п╠п╬п╩п╣п╣ п©п╬п╩п╫п╬п╧ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╬ п╡я▀п©п╬п╩п╫я▐п╣п╪п╬п╧ п╬п©п╣я─п╟я├п╦п╦.

--version

п▓я▀п╡п╬п╢п╦я┌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬ п╡п╣я─я│п╦п╦ п©я─п╬пЁя─п╟п╪п╪я▀-п╨п╩п╦п╣п╫я┌п╟. п▓ п╢п╬п©п╬п╩п╫п╣п╫п╦п╣ п╨ п╫п╬п╪п╣я─я┐ п╡п╣я─я│п╦п╦ п╡я▀п╡п╬п╢п╦я┌я│я▐ я│п©п╦я│п╬п╨ п╡я│п╣я┘ я│п©п╬я│п╬п╠п╬п╡ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐, п╨п╬я┌п╬я─я▀п╪п╦ п╪п╬п╤п╣я┌ п╬п©п╣я─п╦я─п╬п╡п╟я┌я▄ я█я┌п╬я┌ п╨п╩п╦п╣п╫я┌. п║ п©п╟я─п╟п╪п╣я┌я─п╬п╪ --quiet (-q) п╡ п╨п╬п╪п©п╟п╨я┌п╫п╬п╧ я└п╬я─п╪п╣ п╡я▀п╡п╬п╢п╦я┌я│я▐ я┌п╬п╩я▄п╨п╬ п╦п╫я└п╬я─п╪п╟я├п╦я▐ п╬ п╡п╣я─я│п╦п╦ п╨п╩п╦п╣п╫я┌п╟.

--xml

п÷п╣я┤п╟я┌п╟п╣я┌ п╡я▀п╡п╬п╢ п╡ XML-я└п╬я─п╪п╟я┌п╣.

п÷п╬п╢п╨п╬п╪п╟п╫п╢я▀ svn

п²п╟п╥п╡п╟п╫п╦п╣

svn add Б─■ п■п╬п╠п╟п╡п╩я▐п╣я┌ я└п╟п╧п╩я▀, п╢п╦я─п╣п╨я┌п╬я─п╦п╦ п╦ я│п╦п╪п╡п╬п╩п╦я┤п╣я│п╨п╦п╣ я│п╡я▐п╥п╦.

п╓п╬я─п╪п╟я┌

svn add PATH...

п·п©п╦я│п╟п╫п╦п╣

п■п╬п╠п╟п╡п╩я▐п╣я┌ я└п╟п╧п╩я▀, п╢п╦я─п╣п╨я┌п╬я─п╦п╦ п╦ я│п╦п╪п╡п╬п╩п╦я┤п╣я│п╨п╦п╣ я│п╡я▐п╥п╦ п╡ п╡п╟я┬я┐ я─п╟п╠п╬я┤п╣я▌ п╨п╬п©п╦я▌, п©п╬п╪п╣я┤п╟я▐ п╦я┘ п╢п╩я▐ п©п╬я│п╩п╣п╢я┐я▌я┴п╣пЁп╬ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п÷я─п╦ я└п╦п╨я│п╟я├п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╬п╫п╦ п╢п╬п╠п╟п╡п╩я▐я▌я┌я│я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ . п∙я│п╩п╦ п╡я▀ я┤я┌п╬-я┌п╬ п╢п╬п╠п╟п╡п╦п╩п╦, п╫п╬ п©п╬я┌п╬п╪ п©п╣я─п╣п╢я┐п╪п╟п╩п╦ я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧, я┌п╬ я│п╫я▐я┌я▄ п╪п╣я┌п╨я┐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ п╪п╬п╤п╫п╬ п©п╬п╢п╨п╬п╪п╟п╫п╢п╬п╧ svn revert.

п░п╩я▄я┌п╣я─п╫п╟я┌п╦п╡п╫я▀п╣ п╦п╪п╣п╫п╟

None

п≤п╥п╪п╣п╫я▐п╣я┌

п═п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌

п╒я─п╣п╠я┐п╣я┌ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐

п²п╣я┌

п÷п╟я─п╟п╪п╣я┌я─я▀

--targets FILENAME
--non-recursive (-N)
--quiet (-q)
--config-dir DIR
--auto-props
--no-auto-props
--force

п÷я─п╦п╪п╣я─

п■п╩я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ я└п╟п╧п╩п╟ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩я▄ п╡п╣я─я│п╦п╧ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦:

$ svn add foo.c
A         foo.c

п∙я│п╩п╦ п╢п╬п╠п╟п╡п╩я▐п╣я┌я│я▐ п╨п╟я┌п╟п╩п╬пЁ, я┌п╬ п©п╬ я┐п╪п╬п╩я┤п╟п╫п╦я▌ svn add п╢п╣п╧я│я┌п╡я┐п╣я┌ я─п╣п╨я┐я─я│п╦п╡п╫п╬:

$ svn add testdir
A         testdir
A         testdir/a
A         testdir/b
A         testdir/c
A         testdir/d

п▓я▀ п╪п╬п╤п╣я┌п╣ п╢п╬п╠п╟п╡п╦я┌я▄ п╨п╟я┌п╟п╩п╬пЁ п╠п╣п╥ п╢п╬п╠п╟п╡п╩п╣п╫п╦я▐ п╣пЁп╬ я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬:

$ svn add --non-recursive otherdir
A         otherdir

п·п╠я▀я┤п╫п╬ п╨п╬п╪п╟п╫п╢п╟ svn add * п╦пЁп╫п╬я─п╦я─я┐п╣я┌ п╨п╟я┌п╟п╩п╬пЁп╦, я┐п╤п╣ п╫п╟я┘п╬п╢я▐я┴п╦п╣я│я▐ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩п╣п╪ п╡п╣я─я│п╦п╧. п≤п╫п╬пЁп╢п╟ п╠я▀п╡п╟п╣я┌ п╫я┐п╤п╫п╬ п╢п╬п╠п╟п╡п╦я┌я▄ п╡я│п╣ п╫п╣п╡п╣я─я│п╦п╬п╫п╫я▀п╣ п╬п╠я┼п╣п╨я┌я▀ п╦п╥ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╡п╨п╩я▌я┤п╟я▐ я┌п╣, я┤я┌п╬ п╫п╟я┘п╬п╢я▐я┌я│я▐ п╡п╫я┐я┌я─п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡. пёп╨п╟п╥п╟п╡ п©п╟я─п╟п╪п╣я┌я─ --force, п╡я▀ п©я─п╦п╫я┐п╢п╦я┌п╣ svn add я─п╣п╨я┐я─я│п╦п╡п╫п╬ п©я─п╬п╧я┌п╦ п©п╬ п╨п╟я┌п╟п╩п╬пЁп╟п╪ я┐п╤п╣ п╫п╟я┘п╬п╢я▐я┴п╦п╪я│я▐ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩п╣п╪ п╡п╣я─я│п╦п╧:

$ svn add * --force
A         foo.c
A         somedir/bar.c
A         otherdir/docs/baz.doc
Б─╕

п²п╟п╥п╡п╟п╫п╦п╣

svn blame Б─■ п÷п╬я│я┌я─п╬я┤п╫п╬ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌ п╟п╡я┌п╬я─п╟ п╦ п╡п╣я─я│п╦я▌ п╢п╩я▐ я┐п╨п╟п╥п╟п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡ п╦п╩п╦ URL-п╬п╡.

п╓п╬я─п╪п╟я┌

svn blame TARGET[@REV]...

п·п©п╦я│п╟п╫п╦п╣

п÷п╬я│я┌я─п╬я┤п╫п╬ п©п╬п╨п╟п╥я▀п╡п╟п╣я┌ п╟п╡я┌п╬я─п╟ п╦ п╡п╣я─я│п╦я▌ п╢п╩я▐ я┐п╨п╟п╥п╟п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡ п╦п╩п╦ URL-п╬п╡. п п╟п╤п╢п╟я▐ я│я┌я─п╬п╨п╟ я┌п╣п╨я│я┌п╟ п╫п╟я┤п╦п╫п╟п╣я┌я│я▐ я│ п╦п╪п╣п╫п╦ п╟п╡я┌п╬я─п╟ (п╦п╪п╣п╫п╦ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐) п╦ п╫п╬п╪п╣я─п╟ п©я─п╟п╡п╨п╦. п╒п╟п╨п╦п╪ п╬п╠я─п╟п╥п╬п╪ я┐п╨п╟п╥я▀п╡п╟п╣я┌я│я▐ п╨я┌п╬ п╦ п╨п╬пЁп╢п╟ п╦п╥п╪п╣п╫я▐п╩ я█я┌я┐ я│я┌я─п╬п╨я┐ п©п╬я│п╩п╣п╢п╫п╦п╧ я─п╟п╥.

п░п╩я▄я┌п╣я─п╫п╟я┌п╦п╡п╫я▀п╣ п╦п╪п╣п╫п╟

praise, annotate, ann

п≤п╥п╪п╣п╫я▐п╣я┌

п²п╦я┤п╣пЁп╬ п╫п╣ п╪п╣п╫я▐п╣я┌

п╒я─п╣п╠я┐п╣я┌ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐

п■п╟

п÷п╟я─п╟п╪п╣я┌я─я▀

--revision (-r) REV
--username USER
--password PASS
--no-auth-cache
--non-interactive
--config-dir DIR
--verbose (-v)

п÷я─п╦п╪п╣я─я▀

п∙я│п╩п╦ п╡я▀ я┘п╬я┌п╦я┌п╣ п©я─п╬я│п╪п╬я┌я─п╣я┌я▄ п╟п╫п╫п╬я┌п╟я├п╦я▌ п╢п╩я▐ я└п╟п╧п╩п╟ readme.txt п╡ я┌п╣я│я┌п╬п╡п╬п╪ я┘я─п╟п╫п╦п╩п╦я┴п╣:

$ svn blame http://svn.red-bean.com/repos/test/readme.txt
     3      sally This is a README file.
     5      harry You should read this.

п²п╟п╥п╡п╟п╫п╦п╣

svn cat Б─■ п▓я▀п╡п╬п╢п╦я┌ я│п╬п╢п╣я─п╤п╦п╪п╬п╣ я┐п╨п╟п╥п╟п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡ п╦п╩п╦ URL-п╬п╡.

п╓п╬я─п╪п╟я┌

svn cat TARGET[@REV]...

п·п©п╦я│п╟п╫п╦п╣

п▓я▀п╡п╬п╢п╦я┌ я│п╬п╢п╣я─п╤п╦п╪п╬п╣ я┐п╨п╟п╥п╟п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡ п╦п╩п╦ URL-п╬п╡. п■п╩я▐ п©п╣я─п╣я┤п╦я│п╩п╣п╫п╦я▐ я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╬п╡ п╦я│п©п╬п╩я▄п╥я┐п╧я┌п╣ svn list.

п░п╩я▄я┌п╣я─п╫п╟я┌п╦п╡п╫я▀п╣ п╦п╪п╣п╫п╟

п²п╣я┌

п≤п╥п╪п╣п╫я▐п╣я┌

п²п╦я┤п╣пЁп╬ п╫п╣ п╪п╣п╫я▐п╣я┌

п╒я─п╣п╠я┐п╣я┌ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐

п■п╟

п÷п╟я─п╟п╪п╣я┌я─я▀

--revision (-r) REV
--username USER
--password PASS
--no-auth-cache
--non-interactive
--config-dir DIR

п÷я─п╦п╪п╣я─я▀

п∙я│п╩п╦ п╡я▀ я┘п╬я┌п╦я┌п╣ п©я─п╬я│п╪п╬я┌я─п╣я┌я▄ я│п╬п╢п╣я─п╤п╦п╪п╬п╣ readme.txt п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╫п╣ я│п╬п╥п╢п╟п╡п╟я▐ п╣пЁп╬ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п╡я▀п©п╬п╩п╫п╦я┌п╣:

$ svn cat http://svn.red-bean.com/repos/test/readme.txt
This is a README file.
You should read this.
[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

п∙я│п╩п╦ п╡п╟я┬п╟ я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ я┐я│я┌п╟я─п╣п╩п╟ (п╦п╩п╦ п╡я▀ я┤я┌п╬-я┌п╬ п╡ п╫п╣п╧ п╩п╬п╨п╟п╩я▄п╫п╬ п╦п╥п╪п╣п╫п╦п╩п╦), п╫п╬ я┘п╬я┌п╦я┌п╣ п©п╬я│п╪п╬я┌я─п╣я┌я▄ HEAD п╡п╣я─я│п╦я▌ я└п╟п╧п╩п╟, п╦п╪п╣я▌я┴п╣пЁп╬я│я▐ п╡ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, п©п╬п╢п╨п╬п╪п╟п╫п╢п╟ svn cat п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╦ п╦п╥п╡п╩п╣я┤п╣я┌ HEAD п╡п╣я─я│п╦я▌, п╣п╧ п╫я┐п╤п╫п╬ я┌п╬п╩я▄п╨п╬ я┐п╨п╟п╥п╟я┌я▄ п©я┐я┌я▄ п╨ я█я┌п╬п╪я┐ я└п╟п╧п╩я┐:

$ cat foo.c
This file is in my local working copy
and has changes that I've made.

$ svn cat foo.c
Latest revision fresh from the repository!

п²п╟п╥п╡п╟п╫п╦п╣

svn checkout Б─■ п║п╬п╥п╢п╟п╣я┌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╫п╟ п╬я│п╫п╬п╡п╣ п╢п╟п╫п╫я▀я┘ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟.

п╓п╬я─п╪п╟я┌

svn checkout URL[@REV]... [PATH]

п·п©п╦я│п╟п╫п╦п╣

п║п╬п╥п╢п╟п╣я┌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╫п╟ п╬я│п╫п╬п╡п╣ п╢п╟п╫п╫я▀я┘ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟. п∙я│п╩п╦ PATH п©я─п╬п©я┐я┴п╣п╫, п╠п╟п╥п╬п╡п╬п╣ п╦п╪я▐ URL п╠я┐п╢п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄я│я▐ п╡ п╨п╟я┤п╣я│я┌п╡п╣ п╦п╪п╣п╫п╦ п╢п╩я▐ п╨п╟я┌п╟п╩п╬пЁп╟ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п∙я│п╩п╦ п╥п╟п╢п╟п╫п╬ п╫п╣я│п╨п╬п╩я▄п╨п╬ URL, я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╣ п╨п╬п©п╦п╦ п╠я┐п╢я┐я┌ я│п╬п╥п╢п╟п╡п╟я┌я▄я│я▐ п╡ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╣ PATH, п╨п╟п╤п╢п╟я▐ п╡ я│п╡п╬п╣п╪ п╨п╟я┌п╟п╩п╬пЁп╣ п╬п╠я─п╟п╥п╬п╡п╟п╫п╫п╬п╪ п╦п╥ п╠п╟п╥п╬п╡п╬пЁп╬ п╦п╪п╣п╫п╦ URL.

п░п╩я▄я┌п╣я─п╫п╟я┌п╦п╡п╫я▀п╣ п╦п╪п╣п╫п╟

co

п≤п╥п╪п╣п╫я▐п╣я┌

п║п╬п╥п╢п╟п╣я┌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌.

п╒я─п╣п╠я┐п╣я┌ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐

п■п╟

п÷п╟я─п╟п╪п╣я┌я─я▀

--revision (-r) REV
--quiet (-q)
--non-recursive (-N)
--username USER
--password PASS
--no-auth-cache
--non-interactive
--ignore-externals
--config-dir DIR

п÷я─п╦п╪п╣я─я▀

п║п╬п╥п╢п╟я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╡ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ я│ п╦п╪п╣п╫п╣п╪ mine:

$ svn checkout file:///tmp/repos/test mine
A  mine/a
A  mine/b
Checked out revision 2.
$ ls
mine

п║п╬п╥п╢п╟я┌я▄ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦ п╢п╡я┐я┘ я─п╟п╥п╫я▀я┘ п╨п╟я┌п╟п╩п╬пЁп╬п╡:

$ svn checkout file:///tmp/repos/test  file:///tmp/repos/quiz
A  test/a
A  test/b
Checked out revision 2.
A  quiz/l
A  quiz/m
Checked out revision 2.
$ ls
quiz  test

п║п╬п╥п╢п╟я┌я▄ я─п╟п╠п╬я┤п╦п╣ п╨п╬п©п╦п╦ п╢п╡я┐я┘ я─п╟п╥п╫я▀я┘ п╨п╟я┌п╟п╩п╬пЁп╬п╡ п╡ п╨п╟я┌п╟п╩п╬пЁп╣ я│ п╦п╪п╣п╫п╣п╪ working-copies:

$ svn checkout file:///tmp/repos/test  file:///tmp/repos/quiz working-copies
A  working-copies/test/a
A  working-copies/test/b
Checked out revision 2.
A  working-copies/quiz/l
A  working-copies/quiz/m
Checked out revision 2.
$ ls
working-copies

п∙я│п╩п╦ п╡я▀ п©я─п╣я─п╡п╣я┌п╣ я│п╬п╥п╢п╟п╫п╦п╣ п╨п╬п©п╦п╦ (п╦п╩п╦ я┤я┌п╬-я┌п╬ п╢я─я┐пЁп╬п╣ п©я─п╣я─п╡п╣я┌, п╫п╟п©я─п╦п╪п╣я─, я─п╟п╥я─я▀п╡ я│п╡я▐п╥п╦ п╦ я┌.п©.), п╡я▀ п╪п╬п╤п╣я┌п╣ п©п╬п╡я┌п╬я─п╦я┌я▄ п©я─п╬я├п╣я│я│ п╥п╟п╢п╟п╡ п╨п╬п╪п╟п╫п╢я┐ п©п╬п╡я┌п╬я─п╫п╬ п╦п╩п╦ п╥п╟п©я─п╬я│п╦п╡ п╬п╠п╫п╬п╡п╦я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌:

$ svn checkout file:///tmp/repos/test test
A  test/a
A  test/b
^C
svn: The operation was interrupted
svn: caught SIGINT

$ svn checkout file:///tmp/repos/test test
A  test/c
A  test/d
^C
svn: The operation was interrupted
svn: caught SIGINT

$ cd test
$ svn update
A  test/e
A  test/f
Updated to revision 3.

п²п╟п╥п╡п╟п╫п╦п╣

svn cleanup Б─■ п═п╣п╨я┐я─я│п╦п╡п╫п╬ я┤п╦я│я┌п╦я┌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌.

п╓п╬я─п╪п╟я┌

svn cleanup [PATH...]

п·п©п╦я│п╟п╫п╦п╣

п═п╣п╨я┐я─я│п╦п╡п╫п╬ я┤п╦я│я┌п╦я┌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, я┐п╢п╟п╩я▐я▐ п╠п╩п╬п╨п╦я─п╬п╡п╨п╦ п╦ п╡я▀п©п╬п╩п╫я▐п╣я┌ п╫п╣п╥п╟п╡п╣я─я┬п╣п╫п╫я▀п╣ п╬п©п╣я─п╟я├п╦п╦. п п╟п╨ я┌п╬п╩я▄п╨п╬ я│я┌п╬п╩п╨п╫п╣я┌п╣я│я▄ я│ п╬я┬п╦п╠п╨п╬п╧ б╚я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐ п╥п╟п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╟б╩, п╥п╟п©я┐я│я┌п╦я┌п╣ я█я┌я┐ п©п╬п╢п╨п╬п╪п╟п╫п╢я┐ п╢п╩я▐ я┐п╢п╟п╩п╣п╫п╦я▐ я│я┌п╟я─я▀я┘ п╠п╩п╬п╨п╦я─п╬п╡п╬п╨ п╦ п©я─п╦п╡п╣п╢п╣п╫п╦я▐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡ я─п╟п╠п╬я┌п╬я│п©п╬я│п╬п╠п╫п╬п╣ я│п╬я│я┌п╬я▐п╫п╦п╣.

п∙я│п╩п╦ п©п╬ п╫п╣п╨п╬я┌п╬я─я▀п╪ п©я─п╦я┤п╦п╫п╟п╪ п╨п╬п╪п╟п╫п╢п╟ svn update п╥п╟п╡п╣я─я┬п╦п╩п╟я│я▄ я│ п╬я┬п╦п╠п╨п╬п╧ п╦п╥-п╥п╟ п©я─п╬п╠п╩п╣п╪ я│ п╥п╟п©я┐я┴п╣п╫п╫я▀п╪ п╡п╫п╣я┬п╫п╣п╧ п©я─п╬пЁя─п╟п╪п╪п╬п╧ я─п╟п╥п╩п╦я┤п╦п╧ (п╫п╟п©я─п╦п╪п╣я─, п╦п╥-п╥п╟ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄я│п╨п╬пЁп╬ п╡п╡п╬п╢п╟ п╦п╩п╦ я│п╠п╬я▐ п╡ я│п╣я┌п╦), п╫я┐п╤п╫п╬ п╥п╟п╢п╟я┌я▄ п©п╟я─п╟п╪п╣я┌я─ --diff3-cmd я┤я┌п╬п╠я▀ п╢п╟я┌я▄ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▄ п©я─п╦ я┤п╦я│я┌п╨п╣ п╨п╬п©п╦п╦ п╥п╟п╡п╣я─я┬п╦я┌я▄ я│п╩п╦я▐п╫п╦п╣ п╦я│п©п╬п╩я▄п╥я┐я▐ п╡п╫п╣я┬п╫я▌я▌ п©я─п╬пЁя─п╟п╪п╪я┐ diff. п▓я▀ я┌п╟п╨п╤п╣ п╪п╬п╤п╣я┌п╣ я┐п╨п╟п╥п╟я┌я▄ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╬п╫п╫я▀п╧ п╨п╟я┌п╟п╩п╬пЁ п©п╬я│я─п╣п╢я│я┌п╡п╬п╪ п©п╟я─п╟п╪п╣я┌я─п╟ --config-dir, п╫п╬ п©п╬я│я┌п╟я─п╟п╧я┌п╣я│я▄ п╫п╣ п╥п╩п╬я┐п©п╬я┌я─п╣п╠п╩я▐я┌я▄ я█я┌п╦п╪п╦ п©п╟я─п╟п╪п╣я┌я─п╟п╪п╦.

п░п╩я▄я┌п╣я─п╫п╟я┌п╦п╡п╫я▀п╣ п╦п╪п╣п╫п╟

п²п╣я┌

п≤п╥п╪п╣п╫я▐п╣я┌

п═п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌.

п╒я─п╣п╠я┐п╣я┌ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐

п²п╣я┌

п÷п╟я─п╟п╪п╣я┌я─я▀

--diff3-cmd CMD
--config-dir DIR

п÷я─п╦п╪п╣я─я▀

п²п╣ п╪п╫п╬пЁп╬ п©я─п╦п╪п╣я─п╬п╡ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ п©п╬п╢п╨п╬п╪п╟п╫п╢я▀ svn cleanup п╪п╬п╤п╫п╬ п©я─п╦п╡п╣я│я┌п╦, я┌п╟п╨ п╨п╟п╨ п╬п╫п╟ я─п╟п╠п╬я┌п╟п╣я┌ п╪п╬п╩я┤п╟. п∙я│п╩п╦ п╡я▀ п╫п╣ я┐п╨п╟п╥п╟п╩п╦ PATH, п╠я┐п╢п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╬ б╚.б╩ .

$ svn cleanup

$ svn cleanup /path/to/working-copy

п²п╟п╥п╡п╟п╫п╦п╣

svn commit Б─■ п╓п╦п╨я│п╦я─я┐п╣я┌ я│п╢п╣п╩п╟п╫п╫я▀п╣ п╡п╟п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣.

п╓п╬я─п╪п╟я┌

svn commit [PATH...]

п·п©п╦я│п╟п╫п╦п╣

п╓п╦п╨я│п╦я─я┐п╣я┌ я│п╢п╣п╩п╟п╫п╫я▀п╣ п╡п╟п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п∙я│п╩п╦ п╡я▀ п╫п╣ п╡п╬я│п©п╬п╩я▄п╥п╬п╡п╟п╩п╦я│я▄ п╫п╦ --file, п╫п╦ --message п©п╟я─п╟п╪п╣я┌я─п╬п╪, svn п╥п╟п©я┐я│я┌п╦я┌ п╡п╫п╣я┬п╫п╦п╧ я─п╣п╢п╟п╨я┌п╬я─ п╢п╩я▐ я│п╬я│я┌п╟п╡п╩п╣п╫п╦я▐ п╨п╬п╪п╪п╣п╫я┌п╟я─п╦я▐. п·п╠я─п╟я┴п╟п╧я┌п╣я│я▄ п╥п╟ п©п╬п╢я─п╬п╠п╫п╬я│я┌я▐п╪п╦ п╨ п╬п©п╦я│п╟п╫п╦я▌ п©п╟я─п╟п╪п╣я┌я─п╟ editor-cmd п╡ б╚Configб╩.

svn commit п╬я┌п©я─п╟п╡п╦я┌ я┘я─п╟п╫п╦п╩п╦я┴я┐ п╡я│п╣ я─п╣п╨я┐я─я│п╦п╡п╫п╬ п╫п╟п╧п╢п╣п╫п╫я▀п╣ п╪п╣я┌п╨п╦ п╠п╩п╬п╨п╦я─п╬п╡п╬п╨ п╦ я─п╟п╥п╠п╩п╬п╨п╦я─я┐п╣я┌ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╣ я█я┌п╦п╪ п╪п╣я┌п╨п╟п╪ я─п╣я│я┐я─я│я▀, п╣я│п╩п╦ п╫п╣ п╠я▀п╩ я┐п╨п╟п╥п╟п╫ п©п╟я─п╟п╪п╣я┌я─ --no-unlock. п°п╣я│я┌п╬ п©п╬п╦я│п╨п╟ п╥п╟п╢п╟п╣я┌я│я▐ я┐п╨п╟п╥п╟п╫п╦п╣п╪ PATH.

[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

п∙я│п╩п╦ п╡я▀ п╫п╟я┤п╟п╩п╦ я└п╦п╨я│п╟я├п╦я▌ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╦ Subversion п╥п╟п©я┐я│я┌п╦п╩п╟ п╡п╟я┬ п╡п╫п╣я┬п╫п╦п╧ я─п╣п╢п╟п╨я┌п╬я─ п╢п╩я▐ я│п╬я│я┌п╟п╡п╩п╣п╫п╦я▐ п╨п╬п╪п╪п╣п╫я┌п╟я─п╦я▐, п╡я▀ п╡я│п╣ п╣я┴п╣ п╪п╬п╤п╣я┌п╣ п©я─п╣я─п╡п╟я┌я▄ п╬п©п╣я─п╟я├п╦я▌ я└п╦п╨я│п╟я├п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п∙я│п╩п╦ п╡я▀ я┘п╬я┌п╦я┌п╣ п╬я┌п╪п╣п╫п╦я┌я▄ я└п╦п╨я│п╟я├п╦п╦, п©я─п╬я│я┌п╬ п╡я▀п╧п╢п╣я┌п╣ п╦п╥ я─п╣п╢п╟п╨я┌п╬я─п╟ п╠п╣п╥ я│п╬я┘я─п╟п╫п╣п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧. Subversion п╥п╟п╦п╫я┌п╣я─п╣я│я┐п╣я┌я│я▐ - я┘п╬я┌п╦я┌п╣ п╩п╦ п╡я▀ п©я─п╣я─п╡п╟я┌я▄ п╬п©п╣я─п╟я├п╦я▌, п©я─п╬п╢п╬п╩п╤п╦я┌я▄ п╠п╣п╥ п╬п©п╦я│п╟п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╦п╩п╦ п╤п╣ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟я┌я▄ п╬п©п╦я│п╟п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧ я│п╫п╬п╡п╟.

п░п╩я▄я┌п╣я─п╫п╟я┌п╦п╡п╫я▀п╣ п╦п╪п╣п╫п╟

ci (я│п╬п╨я─п╟я┴п╣п╫п╦п╣ п╬я┌ б╚check inб╩; a п╫п╣ б╚coб╩, я┤я┌п╬ п╣я│я┌я▄ я│п╬п╨я─п╟я┴п╣п╫п╦п╣ п╢п╩я▐ б╚checkoutб╩)

п≤п╥п╪п╣п╫я▐п╣я┌

п п╟п╨ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌, я┌п╟п╨ п╦ я┘я─п╟п╫п╦п╩п╦я┴п╣

п╒я─п╣п╠я┐п╣я┌ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐

п■п╟

п÷п╟я─п╟п╪п╣я┌я─я▀

--message (-m) TEXT
--file (-F) FILE
--quiet (-q)
--no-unlock
--non-recursive (-N)
--targets FILENAME
--force-log
--username USER
--password PASS
--no-auth-cache
--non-interactive
--encoding ENC
--config-dir DIR

п÷я─п╦п╪п╣я─я▀

п≈п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я└п╟п╧п╩п╬п╡ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╦п╥ я┌п╣п╨я┐я┴п╣пЁп╬ п╨п╟я┌п╟п╩п╬пЁп╟ (б╚.б╩) п╦ п╣пЁп╬ п©п╬п╢п╨п╟я┌п╟п╩п╬пЁп╬п╡, п╥п╟п╢п╟п╡ п©п╬я▐я│п╫п╣п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧ п╡ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╣:

$ svn commit -m "added howto section."
Sending        a
Transmitting file data .
Committed revision 3.

п≈п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ п╦п╥п╪п╣п╫п╣п╫п╦я▐ я└п╟п╧п╩п╟ foo.c (я▐п╡п╫п╬ п╥п╟п╢п╟п╫п╫п╬пЁп╬ п╡ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╣)п╥п╟п╢п╟п╡ п©п╬я▐я│п╫п╣п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧ я│п╬п╢п╣я─п╤п╦п╪я▀п╪ я└п╟п╧п╩п╟ msg:

$ svn commit -F msg foo.c
Sending        foo.c
Transmitting file data .
Committed revision 5.

п∙я│п╩п╦ п╡я▀ я┘п╬я┌п╦я┌п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ я│п╬п╢п╣я─п╤п╦п╪п╬п╣ я└п╟п╧п╩п╟ п╫п╟я┘п╬п╢я▐я┴п╣пЁп╬я│я▐ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩п╣п╪ п╡п╣я─я│п╦п╧ п╡ п╨п╟я┤п╣я│я┌п╡п╣ п╨п╬п╪п╪п╣п╫я┌п╟я─п╦я▐ (п╦я│п©п╬п╩я▄п╥я┐я▐ п©п╟я─п╟п╪п╣я┌я─ --file), п╡я▀ п╢п╬п╩п╤п╫я▀ п╥п╟п╢п╟я┌я▄ п©п╟я─п╟п╪п╣я┌я─ --force-log п╢п╩я▐ я▐п╡п╫п╬пЁп╬ п╡я▀я─п╟п╤п╣п╫п╦я▐ я│п╡п╬п╦я┘ п╫п╟п╪п╣я─п╣п╫п╦п╧:

$ svn commit --file file_under_vc.txt foo.c
svn: The log message file is under version control
svn: Log message file is a versioned file; use '--force-log' to override

$ svn commit --force-log --file file_under_vc.txt foo.c
Sending        foo.c
Transmitting file data .
Committed revision 6.

п≈п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ я└п╟п╨я┌ я┐п╢п╟п╩п╣п╫п╦я▐ я└п╟п╧п╩п╟:

$ svn commit -m "removed file 'c'."
Deleting       c

Committed revision 7.

п²п╟п╥п╡п╟п╫п╦п╣

svn copy Б─■ п п╬п©п╦я─я┐п╣я┌ я└п╟п╧п╩ п╦п╩п╦ п╨п╟я┌п╟п╩п╬пЁ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╦п╩п╦ я┘я─п╟п╫п╦п╩п╦я┴п╣.

п╓п╬я─п╪п╟я┌

svn copy SRC DST

п·п©п╦я│п╟п╫п╦п╣

п п╬п©п╦я─я┐п╣я┌ я└п╟п╧п╩ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╦п╩п╦ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. SRC п╦ DST п╪п╬пЁя┐я┌ п╠я▀я┌я▄ п©я┐я┌я▐п╪п╦ п╨п╟п╨ п╡п╫я┐я┌я─п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦, я┌п╟п╨ п╦ URL п╡п╫я┐я┌я─п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟:

WC -> WC

п÷п╩п╟п╫п╦я─я┐п╣я┌ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣ п╬п╠я┼п╣п╨я┌п╟ (п╡п╪п╣я│я┌п╣ я│ п╦я│я┌п╬я─п╦п╣п╧).

WC -> URL

п║п╬п╥п╢п╟п╣я┌ п╨п╬п©п╦я▌ п╬п╠я┼п╣п╨я┌п╟ п╦п╥ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╫п╣п©п╬я│я─п╣п╢я│я┌п╡п╣п╫п╫п╬ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣.

URL -> WC

п▓я▀пЁя─я┐п╤п╟п╣я┌ п╨п╬п©п╦я▌ п╬п╠я┼п╣п╨я┌п╟ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╦ п©п╩п╟п╫п╦я─я┐п╣я┌ п╣п╣ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╣.

URL -> URL

п▓я▀п©п╬п╩п╫я▐п╣я┌ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣ п╬п╠я┼п╣п╨я┌п╬п╡ п╫п╣п©п╬я│я─п╣п╢я│я┌п╡п╣п╫п╫п╬ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣. п·п╠я▀я┤п╫п╬ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╢п╩я▐ я│п╬п╥п╢п╟п╫п╦я▐ п╡п╣я┌п╨п╦.

[п≈п╟п╪п╣я┤п╟п╫п╦п╣]п≈п╟п╪п╣я┤п╟п╫п╦п╣

п▓я▀ п╪п╬п╤п╣я┌п╣ п╨п╬п©п╦я─п╬п╡п╟я┌я▄ я└п╟п╧п╩я▀ я┌п╬п╩я▄п╨п╬ п╡п╫я┐я┌я─п╦ п╬п╢п╫п╬пЁп╬ я┘я─п╟п╫п╦п╩п╦я┴п╟. Subversion п╫п╣ п©п╬п╢п╢п╣я─п╤п╦п╡п╟п╣я┌ п╪п╣п╤я┘я─п╟п╫п╦п╩п╦я┴п╫п╬пЁп╬ п╨п╬п©п╦я─п╬п╡п╟п╫п╦я▐.

п░п╩я▄я┌п╣я─п╫п╟я┌п╦п╡п╫я▀п╣ п╦п╪п╣п╫п╟

cp

п≤п╥п╪п╣п╫я▐п╣я┌

п╔я─п╟п╫п╦п╩п╦я┴п╣, п╣я│п╩п╦ п╨п╬п©п╦я▐ п╥п╟п╢п╟п╣я┌я│я▐ я┤п╣я─п╣п╥ URL

п═п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐, п╣я│п╩п╦ п╨п╬п©п╦я▐ я│п╬п╥п╢п╟п╣я┌я│я▐ п╡п╫я┐я┌я─п╦ п╫п╣я▒.

п╒я─п╣п╠я┐п╣я┌ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐

п■п╟, п╣я│п╩п╦ п╨п╬п©п╦я─я┐п╣п╪я▀п╧ п╬п╠я┼п╣п╨я┌ п╦п╩п╦ п╪п╣я│я┌п╬ п╫п╟п╥п╫п╟я┤п╣п╫п╦я▐ я─п╟я│п©п╬п╩п╬п╤п╣п╫я▀ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣, п╟ я┌п╟п╨ п╤п╣ п╣я│п╩п╦ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╫п╟п╧я┌п╦ п╫п╬п╪п╣я─ п©я─п╟п╡п╨п╦.

п÷п╟я─п╟п╪п╣я┌я─я▀

--message (-m) TEXT
--file (-F) FILE
--revision (-r) REV
--quiet (-q)
--username USER
--password PASS
--no-auth-cache
--non-interactive
--force-log
--editor-cmd EDITOR
--encoding ENC
--config-dir DIR

п÷я─п╦п╪п╣я─я▀

п║п╬п╥п╢п╟п╫п╦п╣ п╨п╬п©п╦п╦ п╬п╠я┼п╣п╨я┌п╟ п╡п╫я┐я┌я─п╦ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ (я└п╦п╥п╦я┤п╣я│п╨п╬п╣ п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣ п©я─п╬п╦я│я┘п╬п╢п╦я┌ п©п╬я│п╩п╣ п╡я▀п©п╬п╩п╫п╣п╫п╦я▐ п╨п╬п╪п╟п╫п╢я▀ я└п╦п╨я│п╟я├п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧):

$ svn copy foo.txt bar.txt
A         bar.txt
$ svn status
A  +   bar.txt

п║п╬п╥п╢п╟п╫п╦п╣ п╨п╬п©п╦п╦ п╬п╠я┼п╣п╨я┌п╟ п╦п╥ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п©п╬ п╥п╟п╢п╟п╫п╫п╬п╪я┐ URL (п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╡п╫п╬я│я▐я┌я│я▐ п╫п╣п╥п╟п╪п╣п╢п╩п╦я┌п╣п╩я▄п╫п╬, я┌п╟п╨ я┤я┌п╬ я┌я─п╣п╠я┐п╣я┌я│я▐ п╥п╟п╢п╟я┌я▄ п©п╬я▐я│п╫п╣п╫п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧):

$ svn copy near.txt file:///tmp/repos/test/far-away.txt -m "Remote copy."

Committed revision 8.

п║п╬п╥п╢п╟п╫п╦п╣ п╨п╬п©п╦п╦ п╬п╠я┼п╣п╨я┌п╟ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ (п©п╬п╩я┐я┤п╣п╫п╫п╟я▐ п╨п╬п©п╦я▐ п©п╩п╟п╫п╦я─я┐п╣я┌я│я▐ п╫п╟ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╣ п╦ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п©п╬я▐п╡п╦я┌я│я▐ я┌п╬п╩я▄п╨п╬ п©п╬я│п╩п╣ п╨п╬п╪п╟п╫п╢я▀ я└п╦п╨я│п╟я├п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧:

[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

п╜я┌п╬ я─п╣п╨п╬п╪п╣п╫п╢п╬п╡п╟п╫п╫я▀п╧ я│п©п╬я│п╬п╠ п╡п╬я│п╨я─п╣я┬п╟я┌я▄ я│п╩я┐я┤п╟п╧п╫п╬ я┐п╢п╟п╩п╣п╫п╫я▀п╣ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟ я└п╟п╧п╩я▀!

$ svn copy file:///tmp/repos/test/far-away near-here
A         near-here

п≤ п╫п╟п╨п╬п╫п╣я├, п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣ п╡п╫я┐я┌я─п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟:

$ svn copy file:///tmp/repos/test/far-away file:///tmp/repos/test/over-there -m "remote copy."

Committed revision 9.
[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

п╜я┌п╬ п©я─п╬я│я┌п╣п╧я┬п╦п╧ я│п©п╬я│п╬п╠ б╚я┐я│я┌п╟п╫п╬п╡п╦я┌я▄ п╪п╣я┌п╨я┐б╩ п╫п╟ п╡п╣я─я│п╦я▌ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣Б─■п©я─п╬я│я┌п╬ п╡я▀п©п╬п╩п╫п╦я┌п╣ svn copy п╤п╣п╩п╟п╣п╪п╬п╧ п╡п╣я─я│п╦п╦ (я┘п╬я┌я▐ п╬п╠я▀я┤п╫п╬ я█я┌п╬ HEAD) п╡ п╤п╣п╩п╟п╣п╪я▀п╧ п╨п╟я┌п╟п╩п╬пЁ.

$ svn copy file:///tmp/repos/test/trunk file:///tmp/repos/test/tags/0.6.32-prerelease -m "tag tree"

Committed revision 12.

п■п╟, п╦ п╫п╣ п╡п╬п╩п╫я┐п╧я┌п╣я│я▄, п╣я│п╩п╦ п╥п╟п╠я▀п╩п╦ п╡п╬п╡я─п╣п╪я▐ п©п╬п╪п╣я┌п╦я┌я▄ п╡п╣я─я│п╦я▌Б─■п╡я▀ п╡я│п╣пЁп╢п╟ п╪п╬п╤п╣я┌п╣ я│п╢п╣п╩п╟я┌я▄ я█я┌п╬ я│п╬я│п╩п╟п╡я┬п╦я│я▄ п╫п╟ я│я┌п╟я─я┐я▌ п╡п╣я─я│п╦я▌:

$ svn copy -r 11 file:///tmp/repos/test/trunk file:///tmp/repos/test/tags/0.6.32-prerelease -m "Forgot to tag at rev 11"

Committed revision 13.

п²п╟п╥п╡п╟п╫п╦п╣

svn delete Б─■ пёп╢п╟п╩я▐п╣я┌ п╬п╠я┼п╣п╨я┌ п╦п╥ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╦п╩п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟.

п╓п╬я─п╪п╟я┌

svn delete PATH...
svn delete URL...

п·п©п╦я│п╟п╫п╦п╣

п·п╠я┼п╣п╨я┌я▀ п╬п©я─п╣п╢п╣п╩п╣п╫п╫я▀п╣ я┤п╣я─п╣п╥ PATH п╡п╫п╬я│я▐я┌я│я▐ п╡ п©п╩п╟п╫ я┐п╢п╟п╩п╣п╫п╦я▐ я│п╩п╣п╢я┐я▌я┴п╣п╧ я└п╦п╨я│п╟я├п╦п╣п╧ п╦п╥п╪п╣п╫п╣п╫п╦п╧. п÷я─п╦ я█я┌п╬п╪ я└п╟п╧п╩я▀ п©п╬п╢ п╨п╬п╫я┌я─п╬п╩п╣п╪ п╡п╣я─я│п╦п╧ я┐п╢п╟п╩я▐я▌я┌я│я▐ п╦п╥ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╫п╣п╪п╣п╢п╩п╣п╫п╫п╬. п п╬п╪п╟п╫п╢п╟ п╫п╣ я┐п╢п╟п╩я▐п╣я┌ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╣ п╦п╩п╦ п╪п╬п╢п╦я└п╦я├п╦я─п╬п╡п╟п╫п╫я▀п╣ п╬п╠я┼п╣п╨я┌я▀. п∙я│п╩п╦ п╡я▀ я█я┌п╬пЁп╬ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬Б─■п╦я│п©п╬п╩я▄п╥я┐п╧я┌п╣ п©п╟я─п╟п╪п╣я┌я─ --force.

п·п╠я┼п╣п╨я┌я▀ п╬п©я─п╣п╢п╣п╩п╣п╫п╫я▀п╣ я┤п╣я─п╣п╥ URL я│я─п╟п╥я┐ п╤п╣ я└п╦п╨я│п╦я─я┐я▌я┌я│я▐ п╨п╟п╨ я┐п╢п╟п╩п╣п╫п╫я▀п╣. п÷я─п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦ п╡ п╨п╬п╪п╟п╫п╢п╣ п╫п╣я│п╨п╬п╩я▄п╨п╦я┘ URL - я┐п╢п╟п╩п╣п╫п╦п╣ я└п╦п╨я│п╦я─я┐п╣я┌я│я▐ п╟я┌п╬п╪п╟я─п╫п╬.

п░п╩я▄я┌п╣я─п╫п╟я┌п╦п╡п╫я▀п╣ п╦п╪п╣п╫п╟

del, remove, rm

п≤п╥п╪п╣п╫я▐п╣я┌

п═п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╡ я│п╩я┐я┤п╟п╣ я─п╟п╠п╬я┌я▀ я│ я└п╟п╧п╩п╟п╪п╦ п╦ я┘я─п╟п╫п╦п╩п╦я┴п╣ п©я─п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╦ URL

п╒я─п╣п╠я┐п╣я┌ п╢п╬я│я┌я┐п©п╟ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐

п╒п╬п╩я▄п╨п╬ п╡ я│п╩я┐я┤п╟п╣ я─п╟п╠п╬я┌я▀ я│ URL

п÷п╟я─п╟п╪п╣я┌я─я▀

--force
--force-log
--message (-m) TEXT
--file (-F) FILE
--quiet (-q)
--targets FILENAME
--username USER
--password PASS
--no-auth-cache
--non-interactive
--editor-cmd EDITOR
--encoding ENC
--config-dir DIR

п÷я─п╦п╪п╣я─я▀

п≤я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ svn п╢п╩я▐ я┐п╢п╟п╩п╣п╫п╦я▐ я└п╟п╧п╩п╟ п╦п╥ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╫п╟ я│п╟п╪п╬п╪ п╢п╣п╩п╣ я┌п╬п╩я▄п╨п╬ п©п╩п╟п╫п╦я─я┐п╣я┌ п╣пЁп╬ п╫п╟ я┐п╢п╟п╩п╣п╫п╦п╣. п╒п╬п╩я▄п╨п╬ я└п╦п╨я│п╦я─я┐я▐ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡я▀ я┐п╢п╟п╩я▐п╣я┌п╣ я└п╟п╧п╩ п╦п╥ я┘я─п╟п╫п╦п╩п╦я┴п╟.

$ svn delete myfile
D         myfile

$ svn commit -m "Deleted file 'myfile'."
Deleting       myfile
Transmitting file data .
Committed revision 14.

п╒п╟п╨ п╨п╟п╨ я┐п╢п╟п╩п╣п╫п╦п╣ п©п╬ URL п╬я┌я─п╟п╤п╟п╣я┌я│я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ я│я─п╟п╥я┐, п╡п╟п╪ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╥п╟п╢п╟я┌я▄ п╨п╬п╪п╪п╣п╫я┌п╟я─п╦п╧:

$ svn delete -m "Deleting file 'yourfile'" file:///tmp/repos/test/yourfile

Committed revision 15.

п╜я┌п╬ п©я─п╦п╪п╣я─ п©я─п╦п╫я┐п╢п╦я┌п╣п╩я▄п╫п╬пЁп╬ я┐п╢п╟п╩п╣п╫п╦я▐ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬пЁп╬ я└п╟п╧п╩п╟ п╨п╬я┌п╬я─я▀п╧ п╠я▀п╩ п╩п╬п╨п╟п╩я▄п╫п╬ п╦п╥п╪п╣п╫п╣п╫:

$ svn delete over-there
svn: Attempting restricted operation for modified resource
svn: Use --force to override this restriction
svn: 'over-there' has local modifications

$ svn delete --force over-there
D         over-there

п²п╟п╥п╡п╟п╫п╦п╣

svn diff Б─■ Display the differences between two paths.

Synopsis

diff [-r N[:M]] [TARGET[@REV]...]
diff [-r N[:M]] --old OLD-TGT[@OLDREV] [--new NEW-TGT[@NEWREV]] [PATH...]
diff OLD-URL[@OLDREV] NEW-URL[@NEWREV]

Description

Display the differences between two paths. The three different ways you can use svn diff are:

svn diff [-r N[:M]] [--old OLD-TGT] [--new NEW-TGT] [PATH...] displays the differences between OLD-TGT and NEW-TGT. If PATHs are given, they are treated as relative to OLD-TGT and NEW-TGT and the output is restricted to differences in only those paths. OLD-TGT and NEW-TGT may be working copy paths or URL[@REV]. OLD-TGT defaults to the current working directory and NEW-TGT defaults to OLD-TGT. N defaults to BASE or, if OLD-TGT is a URL, to HEAD. M defaults to the current working version or, if NEW-TGT is a URL, to HEAD. svn diff -r N sets the revision of OLD-TGT to N, svn diff -r N:M also sets the revision of NEW-TGT to M.

svn diff -r N:M URL is shorthand for svn diff -r N:M --old=URL --new=URL.

svn diff [-r N[:M]] URL1[@N] URL2[@M] is shorthand for svn diff [-r N[:M]] --old=URL1 --new=URL2.

If TARGET is a URL, then revs N and M can be given either via the --revision or by using б╚@б╩ notation as described earlier.

If TARGET is a working copy path, then the --revision switch means:

--revision N:M

The server compares TARGET@N and TARGET@M.

--revision N

The client compares TARGET@N against working copy.

(no --revision)

The client compares base and working copies of TARGET.

If the alternate syntax is used, the server compares URL1 and URL2 at revisions N and M respectively. If either N or M are omitted, a value of HEAD is assumed.

By default, svn diff ignores the ancestry of files and merely compares the contents of the two files being compared. If you use --notice-ancestry, the ancestry of the paths in question will be taken into consideration when comparing revisions (that is, if you run svn diff on two files with identical contents but different ancestry you will see the entire contents of the file as having been removed and added again).

Alternate Names

di

Changes

Nothing

Accesses Repository

For obtaining differences against anything but BASE revision in your working copy

Switches

--revision (-r) REV
--old OLD-TARGET
--new NEW-TARGET
--extensions (-x) "ARGS"
--non-recursive (-N)
--diff-cmd CMD
--notice-ancestry
--username USER
--password PASS
--no-auth-cache
--non-interactive
--no-diff-deleted
--config-dir DIR

Examples

Compare BASE and your working copy (one of the most popular uses of svn diff):

$ svn diff COMMITTERS
Index: COMMITTERS
===================================================================
--- COMMITTERS  (revision 4404)
+++ COMMITTERS  (working copy)

See how your working copy's modifications compare against an older revision:

$ svn diff -r 3900 COMMITTERS
Index: COMMITTERS
===================================================================
--- COMMITTERS  (revision 3900)
+++ COMMITTERS  (working copy)

Compare revision 3000 to revision 3500 using б╚@б╩ syntax:

$ svn diff http://svn.collab.net/repos/svn/trunk/COMMITTERS@3000 http://svn.collab.net/repos/svn/trunk/COMMITTERS@3500
Index: COMMITTERS
===================================================================
--- COMMITTERS  (revision 3000)
+++ COMMITTERS  (revision 3500)
Б─╕

Compare revision 3000 to revision 3500 using range notation (you only pass the one URL in this case):

$ svn diff -r 3000:3500 http://svn.collab.net/repos/svn/trunk/COMMITTERS
Index: COMMITTERS
===================================================================
--- COMMITTERS  (revision 3000)
+++ COMMITTERS  (revision 3500)

Compare revision 3000 to revision 3500 of all files in trunk using range notation:

$ svn diff -r 3000:3500 http://svn.collab.net/repos/svn/trunk
          

Compare revision 3000 to revision 3500 of only three files in trunk using range notation:

$ svn diff -r 3000:3500 --old http://svn.collab.net/repos/svn/trunk COMMITTERS README HACKING
          

If you have a working copy, you can obtain the differences without typing in the long URLs:

$ svn diff -r 3000:3500 COMMITTERS
Index: COMMITTERS
===================================================================
--- COMMITTERS  (revision 3000)
+++ COMMITTERS  (revision 3500)

Use --diff-cmd CMD -x to pass arguments directly to the external diff program

$ svn diff --diff-cmd /usr/bin/diff -x "-i -b" COMMITTERS
Index: COMMITTERS
===================================================================
0a1,2
> This is a test
>

п²п╟п╥п╡п╟п╫п╦п╣

svn export Б─■ Export a clean directory tree.

Synopsis

svn export [-r REV] URL[@PEGREV] [PATH]
svn export [-r REV] PATH1[@PEGREV] [PATH2]

Description

The first form exports a clean directory tree from the repository specified by URL, at revision REV if it is given, otherwise at HEAD, into PATH. If PATH is omitted, the last component of the URL is used for the local directory name.

The second form exports a clean directory tree from the working copy specified by PATH1 into PATH2. All local changes will be preserved, but files not under version control will not be copied.

Alternate Names

None

Changes

Local disk

Accesses Repository

Only if exporting from a URL

Switches

--revision (-r) REV
--quiet (-q)
--force
--username USER
--password PASS
--no-auth-cache
--non-interactive
--non-recursive (-N)
--config-dir DIR
--native-eol EOL
--ignore-externals

Examples

Export from your working copy (doesn't print every file and directory):

$ svn export a-wc my-export
Export complete.

Export directly from the repository (prints every file and directory):

$ svn export file:///tmp/repos my-export
A  my-export/test
A  my-export/quiz
Б─╕
Exported revision 15.

When rolling operating-system-specific release packages, it can be useful to export a tree which uses a specific EOL character for line endings. The --native-eol option will do this, but it only affects files that have svn:eol-style = native properties attached to them. For example, to export a tree with all CRLF line endings (possibly for a Windows .zip file distribution):

$ svn export file://tmp/repos my-export --native-eol CRLF
A  my-export/test
A  my-export/quiz
Б─╕
Exported revision 15.

п²п╟п╥п╡п╟п╫п╦п╣

svn help Б─■ Help!

Synopsis

svn help [SUBCOMMAND...]

Description

This is your best friend when you're using Subversion and this book isn't within reach!

Alternate Names

?, h

The options -?, -h and --help have the same effect as using the help subcommand.

Changes

Nothing

Accesses Repository

No

Switches

--version
--quiet (-q)
--config-dir DIR

п²п╟п╥п╡п╟п╫п╦п╣

svn import Б─■ Commit an unversioned file or tree into the repository.

Synopsis

svn import [PATH] URL

Description

Recursively commit a copy of PATH to URL. If PATH is omitted б╚.б╩ is assumed. Parent directories are created in the repository as necessary.

Alternate Names

None

Changes

Repository

Accesses Repository

Yes

Switches

--message (-m) TEXT
--file (-F) FILE
--quiet (-q)
--non-recursive (-N)
--username USER
--password PASS
--no-auth-cache
--non-interactive
--force-log
--editor-cmd EDITOR
--encoding ENC
--config-dir DIR
--auto-props
--no-auto-props
--ignore-externals

Examples

This imports the local directory myproj into the root of your repository:

$ svn import -m "New import" myproj http://svn.red-bean.com/repos/test
Adding         myproj/sample.txt
Б─╕
Transmitting file data .........
Committed revision 16.

This imports the local directory myproj into trunk/misc in your repository. The directory trunk/misc need not exist before you import into itБ─■svn import will recursively create directories for you:

$ svn import -m "New import" myproj \
    http://svn.red-bean.com/repos/test/trunk/misc/myproj
Adding         myproj/sample.txt
Б─╕
Transmitting file data .........
Committed revision 19.

After importing data, note that the original tree is not under version control. To start working, you still need to svn checkout a fresh working copy of the tree.


п²п╟п╥п╡п╟п╫п╦п╣

svn info Б─■ Display information about a local or remote item.

Synopsis

svn info [TARGET...]

Description

Print information about the working copy paths or URLs specified. The information shown for both may include:

  • Path

  • Name

  • URL

  • Repository Root

  • Repository UUID

  • Revision

  • Node Kind

  • Last Changed Author

  • Last Changed Revision

  • Last Changed Date

  • Lock Token

  • Lock Owner

  • Lock Created (date)

  • Lock Expires (date)

Additional kinds of information available only for working copy paths are:

  • Schedule

  • Copied From URL

  • Copied From Rev

  • Text Last Updated

  • Properties Last Updated

  • Checksum

  • Conflict Previous Base File

  • Conflict Previous Working File

  • Conflict Current Base File

  • Conflict Properties File

Alternate Names

None

Changes

Nothing

Accesses Repository

Only if operating on URLs

Switches

--revision (-r) REV
--recursive (-R)
--targets FILENAME
--incremental
--xml
--username USER
--password PASS
--no-auth-cache
--non-interactive
--config-dir DIR

Examples

svn info will show you all the useful information that it has for items in your working copy. It will show information for files:

$ svn info foo.c
Path: foo.c
Name: foo.c
URL: http://svn.red-bean.com/repos/test/foo.c
Repository Root: http://svn.red-bean.com/repos/test
Repository UUID: 5e7d134a-54fb-0310-bd04-b611643e5c25
Revision: 4417
Node Kind: file
Schedule: normal
Last Changed Author: sally
Last Changed Rev: 20
Last Changed Date: 2003-01-13 16:43:13 -0600 (Mon, 13 Jan 2003)
Text Last Updated: 2003-01-16 21:18:16 -0600 (Thu, 16 Jan 2003)
Properties Last Updated: 2003-01-13 21:50:19 -0600 (Mon, 13 Jan 2003)
Checksum: d6aeb60b0662ccceb6bce4bac344cb66

It will also show information for directories:

$ svn info vendors
Path: vendors
URL: http://svn.red-bean.com/repos/test/vendors
Repository Root: http://svn.red-bean.com/repos/test
Repository UUID: 5e7d134a-54fb-0310-bd04-b611643e5c25
Revision: 19
Node Kind: directory
Schedule: normal
Last Changed Author: harry
Last Changed Rev: 19
Last Changed Date: 2003-01-16 23:21:19 -0600 (Thu, 16 Jan 2003)
Properties Last Updated: 2003-01-16 23:39:02 -0600 (Thu, 16 Jan 2003)

svn info also acts on URLs (also note that the file readme.doc in this example is locked, so lock information is also provided):

$ svn info http://svn.red-bean.com/repos/test/readme.doc
Path: readme.doc
Name: readme.doc
URL: http://svn.red-bean.com/repos/test/readme.doc
Repository Root: http://svn.red-bean.com/repos/test
Repository UUID: 5e7d134a-54fb-0310-bd04-b611643e5c25
Revision: 1
Node Kind: file
Schedule: normal
Last Changed Author: sally
Last Changed Rev: 42
Last Changed Date: 2003-01-14 23:21:19 -0600 (Tue, 14 Jan 2003)
Lock Token: opaquelocktoken:14011d4b-54fb-0310-8541-dbd16bd471b2
Lock Owner: harry
Lock Created: 2003-01-15 17:35:12 -0600 (Wed, 15 Jan 2003)
Lock Comment (1 line):
My test lock comment

п²п╟п╥п╡п╟п╫п╦п╣

svn list Б─■ List directory entries in the repository.

Synopsis

svn list [TARGET[@REV]...]

Description

List each TARGET file and the contents of each TARGET directory as they exist in the repository. If TARGET is a working copy path, the corresponding repository URL will be used.

The default TARGET is б╚.б╩, meaning the repository URL of the current working copy directory.

With --verbose, the following fields show the status of the item:

  • Revision number of the last commit

  • Author of the last commit

  • Size (in bytes)

  • Date and time of the last commit

With --xml, output is in XML format (with a header and an enclosing document element unless --incremental is also specified). All of the information is present; the --verbose option is not accepted.

Alternate Names

ls

Changes

Nothing

Accesses Repository

Yes

Switches

--revision (-r) REV
--verbose (-v)
--recursive (-R)
--incremental
--xml
--username USER
--password PASS
--no-auth-cache
--non-interactive
--config-dir DIR

Examples

svn list is most useful if you want to see what files a repository has without downloading a working copy:

$ svn list http://svn.red-bean.com/repos/test/support
README.txt
INSTALL
examples/
Б─╕

You can pass the --verbose switch for additional information, rather like the UNIX command ls -l:

$ svn list --verbose file:///tmp/repos
     16 sally         28361 Jan 16 23:18 README.txt
     27 sally             0 Jan 18 15:27 INSTALL
     24 harry               Jan 18 11:27 examples/

For further details, see б╚svn listб╩.


п²п╟п╥п╡п╟п╫п╦п╣

svn lock Б─■ Lock working copy paths or URLs in the repository, so that no other user can commit changes to them.

Synopsis

svn lock TARGET...

Description

Lock each TARGET. If any TARGET is already locked by another user, print a warning and continue locking the rest of the TARGETs. Use --force to steal a lock from another user or working copy.

Alternate Names

None

Changes

Working Copy, Repository

Accesses Repository

Yes

Switches

--targets FILENAME
--message (-m) TEXT
--file (-F) FILE
--force-log
--encoding ENC
--username USER
--password PASS
--no-auth-cache
--non-interactive
--config-dir DIR
--force

Examples

Lock two files in your working copy:

$ svn lock tree.jpg house.jpg
'tree.jpg' locked by user 'harry'.
'house.jpg' locked by user 'harry'.

Lock a file in your working copy that is currently locked by another user:

$ svn lock tree.jpg
svn: warning: Path '/tree.jpg is already locked by user 'harry in \
     filesystem '/svn/repos/db'

$ svn lock --force foo
'tree.jpg' locked by user 'sally'.

Lock a file without a working copy:

$ svn lock http://svn.red-bean.com/repos/test/tree.jpg
'tree.jpg' locked by user 'sally'.

For further details, see б╚Lockingб╩.


п²п╟п╥п╡п╟п╫п╦п╣

svn log Б─■ Display commit log messages.

Synopsis

svn log [PATH]
svn log URL [PATH...]

Description

The default target is the path of your current directory. If no arguments are supplied, svn log shows the log messages for all files and directories inside of (and including) the current working directory of your working copy. You can refine the results by specifying a path, one or more revisions, or any combination of the two. The default revision range for a local path is BASE:1.

If you specify a URL alone, then it prints log messages for everything that the URL contains. If you add paths past the URL, only messages for those paths under that URL will be printed. The default revision range for a URL is HEAD:1.

With --verbose, svn log will also print all affected paths with each log message. With --quiet, svn log will not print the log message body itself (this is compatible with --verbose).

Each log message is printed just once, even if more than one of the affected paths for that revision were explicitly requested. Logs follow copy history by default. Use --stop-on-copy to disable this behavior, which can be useful for determining branch points.

Alternate Names

None

Changes

Nothing

Accesses Repository

Yes

Switches

--revision (-r) REV
--quiet (-q)
--verbose (-v)
--targets FILENAME
--stop-on-copy
--incremental
--limit NUM
--xml
--username USER
--password PASS
--no-auth-cache
--non-interactive
--config-dir DIR

Examples

You can see the log messages for all the paths that changed in your working copy by running svn log from the top:

$ svn log
------------------------------------------------------------------------
r20 | harry | 2003-01-17 22:56:19 -0600 (Fri, 17 Jan 2003) | 1 line

Tweak.
------------------------------------------------------------------------
r17 | sally | 2003-01-16 23:21:19 -0600 (Thu, 16 Jan 2003) | 2 lines
Б─╕

Examine all log messages for a particular file in your working copy:

$ svn log foo.c
------------------------------------------------------------------------
r32 | sally | 2003-01-13 00:43:13 -0600 (Mon, 13 Jan 2003) | 1 line

Added defines.
------------------------------------------------------------------------
r28 | sally | 2003-01-07 21:48:33 -0600 (Tue, 07 Jan 2003) | 3 lines
Б─╕

If you don't have a working copy handy, you can log a URL:

$ svn log http://svn.red-bean.com/repos/test/foo.c
------------------------------------------------------------------------
r32 | sally | 2003-01-13 00:43:13 -0600 (Mon, 13 Jan 2003) | 1 line

Added defines.
------------------------------------------------------------------------
r28 | sally | 2003-01-07 21:48:33 -0600 (Tue, 07 Jan 2003) | 3 lines
Б─╕

If you want several distinct paths underneath the same URL, you can use the URL [PATH...] syntax.

$ svn log http://svn.red-bean.com/repos/test/ foo.c bar.c
------------------------------------------------------------------------
r32 | sally | 2003-01-13 00:43:13 -0600 (Mon, 13 Jan 2003) | 1 line

Added defines.
------------------------------------------------------------------------
r31 | harry | 2003-01-10 12:25:08 -0600 (Fri, 10 Jan 2003) | 1 line

Added new file bar.c
------------------------------------------------------------------------
r28 | sally | 2003-01-07 21:48:33 -0600 (Tue, 07 Jan 2003) | 3 lines
Б─╕

When you're concatenating the results of multiple calls to the log command, you may want to use the --incremental switch. svn log normally prints out a dashed line at the beginning of a log message, after each subsequent log message, and following the final log message. If you ran svn log on a range of two revisions, you would get this:

$ svn log -r 14:15
------------------------------------------------------------------------
r14 | Б─╕

------------------------------------------------------------------------
r15 | Б─╕

------------------------------------------------------------------------

However, if you wanted to gather 2 non-sequential log messages into a file, you might do something like this:

$ svn log -r 14 > mylog
$ svn log -r 19 >> mylog
$ svn log -r 27 >> mylog
$ cat mylog
------------------------------------------------------------------------
r14 | Б─╕

------------------------------------------------------------------------
------------------------------------------------------------------------
r19 | Б─╕

------------------------------------------------------------------------
------------------------------------------------------------------------
r27 | Б─╕

------------------------------------------------------------------------

You can avoid the clutter of the double dashed lines in your output by using the incremental switch:

$ svn log --incremental -r 14 > mylog
$ svn log --incremental -r 19 >> mylog
$ svn log --incremental -r 27 >> mylog
$ cat mylog
------------------------------------------------------------------------
r14 | Б─╕

------------------------------------------------------------------------
r19 | Б─╕

------------------------------------------------------------------------
r27 | Б─╕

The --incremental switch provides similar output control when using the --xml switch.

[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

If you run svn log on a specific path and provide a specific revision and get no output at all

$ svn log -r 20 http://svn.red-bean.com/untouched.txt
------------------------------------------------------------------------

That just means that the path was not modified in that revision. If you log from the top of the repository, or know the file that changed in that revision, you can specify it explicitly:

$ svn log -r 20 touched.txt
------------------------------------------------------------------------
r20 | sally | 2003-01-17 22:56:19 -0600 (Fri, 17 Jan 2003) | 1 line

Made a change.
------------------------------------------------------------------------

п²п╟п╥п╡п╟п╫п╦п╣

svn merge Б─■ Apply the differences between two sources to a working copy path.

Synopsis

svn merge sourceURL1[@N] sourceURL2[@M] [WCPATH]
svn merge sourceWCPATH1@N sourceWCPATH2@M [WCPATH]
svn merge -r N:M SOURCE[@REV] [WCPATH]

Description

In the first and second forms, the source paths (URLs in the first form, working copy paths in the second) are specified at revisions N and M. These are the two sources to be compared. The revisions default to HEAD if omitted.

In the third form, SOURCE can be a URL or working copy item, in which case the corresponding URL is used. This URL, at revisions N and M, defines the two sources to be compared.

WCPATH is the working copy path that will receive the changes. If WCPATH is omitted, a default value of б╚.б╩ is assumed, unless the sources have identical basenames that match a file within б╚.б╩: in which case, the differences will be applied to that file.

Unlike svn diff, the merge command takes the ancestry of a file into consideration when performing a merge operation. This is very important when you're merging changes from one branch into another and you've renamed a file on one branch but not the other.

Alternate Names

None

Changes

Working copy

Accesses Repository

Only if working with URLs

Switches

--revision (-r) REV
--non-recursive (-N)
--quiet (-q)
--force
--dry-run
--diff3-cmd CMD
--ignore-ancestry
--username USER
--password PASS
--no-auth-cache
--non-interactive
--config-dir DIR

Examples

Merge a branch back into the trunk (assuming that you have a working copy of the trunk, and that the branch was created in revision 250):

$ svn merge -r 250:HEAD http://svn.red-bean.com/repos/branches/my-branch
U  myproj/tiny.txt
U  myproj/thhgttg.txt
U  myproj/win.txt
U  myproj/flo.txt

If you branched at revision 23, and you want to merge changes on trunk into your branch, you could do this from inside the working copy of your branch:

$ svn merge -r 23:30 file:///tmp/repos/trunk/vendors
U  myproj/thhgttg.txt
Б─╕

To merge changes to a single file:

$ cd myproj
$ svn merge -r 30:31 thhgttg.txt
U  thhgttg.txt

п²п╟п╥п╡п╟п╫п╦п╣

svn mkdir Б─■ Create a new directory under version control.

Synopsis

svn mkdir PATH...
svn mkdir URL...

Description

Create a directory with a name given by the final component of the PATH or URL. A directory specified by a working copy PATH is scheduled for addition in the working copy. A directory specified by a URL is created in the repository via an immediate commit. Multiple directory URLs are committed atomically. In both cases all the intermediate directories must already exist.

Alternate Names

None

Changes

Working copy, repository if operating on a URL

Accesses Repository

Only if operating on a URL

Switches

--message (-m) TEXT
--file (-F) FILE
--quiet (-q)
--username USER
--password PASS
--no-auth-cache
--non-interactive
--editor-cmd EDITOR
--encoding ENC
--force-log
--config-dir DIR

Examples

Create a directory in your working copy:

$ svn mkdir newdir
A         newdir

Create one in the repository (instant commit, so a log message is required):

$ svn mkdir -m "Making a new dir." http://svn.red-bean.com/repos/newdir

Committed revision 26.

п²п╟п╥п╡п╟п╫п╦п╣

svn move Б─■ Move a file or directory.

Synopsis

svn move SRC DST

Description

This command moves a file or directory in your working copy or in the repository.

[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

This command is equivalent to an svn copy followed by svn delete.

[п≈п╟п╪п╣я┤п╟п╫п╦п╣]п≈п╟п╪п╣я┤п╟п╫п╦п╣

Subversion does not support moving between working copies and URLs. In addition, you can only move files within a single repositoryБ─■Subversion does not support cross-repository moving.

WC -> WC

Move and schedule a file or directory for addition (with history).

URL -> URL

Complete server-side rename.

Alternate Names

mv, rename, ren

Changes

Working copy, repository if operating on a URL

Accesses Repository

Only if operating on a URL

Switches

--message (-m) TEXT
--file (-F) FILE
--revision (-r) REV
--quiet (-q)
--force
--username USER
--password PASS
--no-auth-cache
--non-interactive
--editor-cmd EDITOR
--encoding ENC
--force-log
--config-dir DIR

Examples

Move a file in your working copy:

$ svn move foo.c bar.c
A         bar.c
D         foo.c

Move a file in the repository (an immediate commit, so it requires a commit message):

$ svn move -m "Move a file" http://svn.red-bean.com/repos/foo.c \
                            http://svn.red-bean.com/repos/bar.c

Committed revision 27.

п²п╟п╥п╡п╟п╫п╦п╣

svn propdel Б─■ Remove a property from an item.

Synopsis

svn propdel PROPNAME [PATH...]
svn propdel PROPNAME --revprop -r REV [URL]

Description

This removes properties from files, directories, or revisions. The first form removes versioned properties in your working copy, while the second removes unversioned remote properties on a repository revision.

Alternate Names

pdel, pd

Changes

Working copy, repository only if operating on a URL

Accesses Repository

Only if operating on a URL

Switches

--quiet (-q)
--recursive (-R)
--revision (-r) REV
--revprop
--username USER
--password PASS
--no-auth-cache
--non-interactive
--config-dir DIR

Examples

Delete a property from a file in your working copy

$ svn propdel svn:mime-type  some-script
property 'svn:mime-type' deleted from 'some-script'.

Delete a revision property:

$ svn propdel --revprop -r 26 release-date
property 'release-date' deleted from repository revision '26'

п²п╟п╥п╡п╟п╫п╦п╣

svn propedit Б─■ Edit the property of one or more items under version control.

Synopsis

svn propedit PROPNAME PATH...
svn propedit PROPNAME --revprop -r REV [URL]

Description

Edit one or more properties using your favorite editor. The first form edits versioned properties in your working copy, while the second edits unversioned remote properties on a repository revision.

Alternate Names

pedit, pe

Changes

Working copy, repository only if operating on a URL

Accesses Repository

Only if operating on a URL

Switches

--revision (-r) REV
--revprop
--username USER
--password PASS
--no-auth-cache
--non-interactive
--encoding ENC
--editor-cmd EDITOR
--config-dir DIR

Examples

svn propedit makes it easy to modify properties that have multiple values:

$ svn propedit svn:keywords  foo.c
    <svn will launch your favorite editor here, with a buffer open
    containing the current contents of the svn:keywords property.  You
    can add multiple values to a property easily here by entering one
    value per line.>
Set new value for property 'svn:keywords' on 'foo.c'

п²п╟п╥п╡п╟п╫п╦п╣

svn propget Б─■ Print the value of a property.

Synopsis

svn propget PROPNAME [TARGET[@REV]...]
svn propget PROPNAME --revprop -r REV [URL]

Description

Print the value of a property on files, directories, or revisions. The first form prints the versioned property of an item or items in your working copy, while the second prints unversioned remote property on a repository revision. See б╚п║п╡п╬п╧я│я┌п╡п╟б╩ for more information on properties.

Alternate Names

pget, pg

Changes

Working copy, repository only if operating on a URL

Accesses Repository

Only if operating on a URL

Switches

--recursive (-R)
--revision (-r) REV
--revprop
--strict
--username USER
--password PASS
--no-auth-cache
--non-interactive
--config-dir DIR

Examples

Examine a property of a file in your working copy:

$ svn propget svn:keywords foo.c
Author
Date
Rev

The same goes for a revision property:

$ svn propget svn:log --revprop -r 20
Began journal.

п²п╟п╥п╡п╟п╫п╦п╣

svn proplist Б─■ List all properties.

Synopsis

svn proplist [TARGET[@REV]...]
svn proplist --revprop -r REV [URL]

Description

List all properties on files, directories, or revisions. The first form lists versioned properties in your working copy, while the second lists unversioned remote properties on a repository revision.

Alternate Names

plist, pl

Changes

Working copy, repository only if operating on a URL

Accesses Repository

Only if operating on a URL

Switches

--verbose (-v)
--recursive (-R)
--revision (-r) REV
--quiet (-q)
--revprop
--username USER
--password PASS
--no-auth-cache
--non-interactive
--config-dir DIR

Examples

You can use proplist to see the properties on an item in your working copy:

$ svn proplist foo.c
Properties on 'foo.c':
  svn:mime-type
  svn:keywords
  owner

But with the --verbose flag, svn proplist is extremely handy as it also shows you the values for the properties:

$ svn proplist --verbose foo.c
Properties on 'foo.c':
  svn:mime-type : text/plain
  svn:keywords : Author Date Rev
  owner : sally

п²п╟п╥п╡п╟п╫п╦п╣

svn propset Б─■ Set PROPNAME to PROPVAL on files, directories, or revisions.

Synopsis

svn propset PROPNAME [PROPVAL | -F VALFILE] PATH...
svn propset PROPNAME --revprop -r REV [PROPVAL | -F VALFILE] [URL]

Description

Set PROPNAME to PROPVAL on files, directories, or revisions. The first example creates a versioned, local property change in the working copy, and the second creates an unversioned, remote property change on a repository revision.

[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

Subversion has a number of б╚specialб╩ properties that affect its behavior. See б╚п║п╡п╬п╧я│я┌п╡п╟ Subversionб╩ for more on these properties.

Alternate Names

pset, ps

Changes

Working copy, repository only if operating on a URL

Accesses Repository

Only if operating on a URL

Switches

--file (-F) FILE
--quiet (-q)
--revision (-r) REV
--targets FILENAME
--recursive (-R)
--revprop
--username USER
--password PASS
--no-auth-cache
--non-interactive
--encoding ENC
--force
--config-dir DIR

Examples

Set the mimetype on a file:

$ svn propset svn:mime-type image/jpeg foo.jpg
property 'svn:mime-type' set on 'foo.jpg'

On a UNIX system, if you want a file to have the executable permission set:

$ svn propset svn:executable ON somescript
property 'svn:executable' set on 'somescript'

Perhaps you have an internal policy to set certain properties for the benefit of your coworkers:

$ svn propset owner sally foo.c
property 'owner' set on 'foo.c'

If you made a mistake in a log message for a particular revision and want to change it, use --revprop and set svn:log to the new log message:

$ svn propset --revprop -r 25 svn:log "Journaled about trip to New York."
property 'svn:log' set on repository revision '25'

Or, if you don't have a working copy, you can provide a URL.

$ svn propset --revprop -r 26 svn:log "Document nap." http://svn.red-bean.com/repos
property 'svn:log' set on repository revision '25'

Lastly, you can tell propset to take its input from a file. You could even use this to set the contents of a property to something binary:

$ svn propset owner-pic -F sally.jpg moo.c
property 'owner-pic' set on 'moo.c'
[п≈п╟п╪п╣я┤п╟п╫п╦п╣]п≈п╟п╪п╣я┤п╟п╫п╦п╣

By default, you cannot modify revision properties in a Subversion repository. Your repository administrator must explicitly enable revision property modifications by creating a hook named pre-revprop-change. See б╚Hook Scriptsб╩ for more information on hook scripts.


п²п╟п╥п╡п╟п╫п╦п╣

svn resolved Б─■ Remove б╚conflictedб╩ state on working copy files or directories.

Synopsis

svn resolved PATH...

Description

Remove б╚conflictedб╩ state on working copy files or directories. This routine does not semantically resolve conflict markers; it merely removes conflict-related artifact files and allows PATH to be committed again; that is, it tells Subversion that the conflicts have been б╚resolvedб╩. See б╚п═п╟п╥я─п╣я┬п╣п╫п╦п╣ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡ (п©я─п╦ я│п╩п╦я▐п╫п╦п╦ я│ я┤я┐п╤п╦п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦)б╩ for an in-depth look at resolving conflicts.

Alternate Names

None

Changes

Working copy

Accesses Repository

No

Switches

--targets FILENAME
--recursive (-R)
--quiet (-q)
--config-dir DIR

Examples

If you get a conflict on an update, your working copy will sprout three new files:

$ svn update
C  foo.c
Updated to revision 31.
$ ls
foo.c
foo.c.mine
foo.c.r30
foo.c.r31

Once you've resolved the conflict and foo.c is ready to be committed, run svn resolved to let your working copy know you've taken care of everything.

[п▓п╫п╦п╪п╟п╫п╦п╣]п▓п╫п╦п╪п╟п╫п╦п╣

You can just remove the conflict files and commit, but svn resolved fixes up some bookkeeping data in the working copy administrative area in addition to removing the conflict files, so we recommend that you use this command.


п²п╟п╥п╡п╟п╫п╦п╣

svn revert Б─■ Undo all local edits.

Synopsis

svn revert PATH...

Description

Reverts any local changes to a file or directory and resolves any conflicted states. svn revert will not only revert the contents of an item in your working copy, but also any property changes. Finally, you can use it to undo any scheduling operations that you may have done (e.g. files scheduled for addition or deletion can be б╚unscheduledб╩).

Alternate Names

None

Changes

Working copy

Accesses Repository

No

Switches

--targets FILENAME
--recursive (-R)
--quiet (-q)
--config-dir DIR

Examples

Discard changes to a file:

$ svn revert foo.c
Reverted foo.c

If you want to revert a whole directory of files, use the --recursive flag:

$ svn revert --recursive .
Reverted newdir/afile
Reverted foo.c
Reverted bar.txt

Lastly, you can undo any scheduling operations:

$ svn add mistake.txt whoops
A         mistake.txt
A         whoops
A         whoops/oopsie.c

$ svn revert mistake.txt whoops
Reverted mistake.txt
Reverted whoops

$ svn status
?      mistake.txt
?      whoops
[п≈п╟п╪п╣я┤п╟п╫п╦п╣]п≈п╟п╪п╣я┤п╟п╫п╦п╣

If you provide no targets to svn revert, it will do nothingБ─■to protect you from accidentally losing changes in your working copy, svn revert requires you to provide at least one target.


п²п╟п╥п╡п╟п╫п╦п╣

svn status Б─■ Print the status of working copy files and directories.

Synopsis

svn status [PATH...]

Description

Print the status of working copy files and directories. With no arguments, it prints only locally modified items (no repository access). With --show-updates, add working revision and server out-of-date information. With --verbose, print full revision information on every item.

The first six columns in the output are each one character wide, and each column gives you information about different aspects of each working copy item.

The first column indicates that an item was added, deleted, or otherwise changed.

' '

No modifications.

'A'

Item is scheduled for Addition.

'D'

Item is scheduled for Deletion.

'M'

Item has been modified.

'R'

Item has been replaced in your working copy. This means the file was scheduled for deletion, and then a new file with the same name was scheduled for addition in its place.

'C'

The contents (as opposed to the properties) of the item conflict with updates received from the repository.

'X'

Item is related to an externals definition.

'I'

Item is being ignored (e.g. with the svn:ignore property).

'?'

Item is not under version control.

'!'

Item is missing (e.g. you moved or deleted it without using svn). This also indicates that a directory is incomplete (a checkout or update was interrupted).

'~'

Item is versioned as one kind of object (file, directory, link), but has been replaced by different kind of object.

The second column tells the status of a file's or directory's properties.

' '

No modifications.

'M'

Properties for this item have been modified.

'C'

Properties for this item are in conflict with property updates received from the repository.

The third column is populated only if the working copy directory is locked. (See б╚svn cleanupб╩.)

' '

Item is not locked.

'L'

Item is locked.

The fourth column is populated only if the item is scheduled for addition-with-history.

' '

No history scheduled with commit.

'+'

History scheduled with commit.

The fifth column is populated only if the item is switched relative to its parent (see б╚п÷п╣я─п╣п╨п╩я▌я┤п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦б╩).

' '

Item is a child of its parent directory.

'S'

Item is switched.

The sixth column is populated with lock information.

' '

When --show-updates is used, the file is not locked. If --show-updates is not used, this merely means that the file is not locked in this working copy.

K

File is locked in this working copy.

O

File is locked either by another user or in another working copy. This only appears when --show-updates is used.

T

File was locked in this working copy, but the lock has been б╚stolenб╩and is invalid. The file is currently locked in the repository. This only appears when --show-updates is used.

B

File was locked in this working copy, but the lock has been б╚brokenб╩and is invalid. The file is no longer locked This only appears when --show-updates is used.

The out-of-date information appears in the seventh column (only if you pass the --show-updates switch).

' '

The item in your working copy is up-to-date.

'*'

A newer revision of the item exists on the server.

The remaining fields are variable width and delimited by spaces. The working revision is the next field if the --show-updates or --verbose switches are passed.

If the --verbose switch is passed, the last committed revision and last committed author are displayed next.

The working copy path is always the final field, so it can include spaces.

Alternate Names

stat, st

Changes

Nothing

Accesses Repository

Only if using --show-updates

Switches

--show-updates (-u)
--verbose (-v)
--non-recursive (-N)
--quiet (-q)
--no-ignore
--username USER
--password PASS
--no-auth-cache
--non-interactive
--config-dir DIR
--ignore-externals

Examples

This is the easiest way to find out what changes you have made to your working copy:

$ svn status wc
 M     wc/bar.c
A  +   wc/qax.c

If you want to find out what files in your working copy are out-of-date, pass the --show-updates switch (this will not make any changes to your working copy). Here you can see that wc/foo.c has changed in the repository since we last updated our working copy:

$ svn status --show-updates wc
 M           965    wc/bar.c
       *     965    wc/foo.c
A  +         965    wc/qax.c
Status against revision:    981
[п≈п╟п╪п╣я┤п╟п╫п╦п╣]п≈п╟п╪п╣я┤п╟п╫п╦п╣

--show-updates only places an asterisk next to items that are out of date (that is, items that will be updated from the repository if you run svn update). --show-updates does not cause the status listing to reflect the repository's version of the item.

And finally, the most information you can get out of the status subcommand:

$ svn status --show-updates --verbose wc
 M           965       938 sally        wc/bar.c
       *     965       922 harry        wc/foo.c
A  +         965       687 harry        wc/qax.c
             965       687 harry        wc/zig.c
Head revision:   981

For many more examples of svn status, see б╚svn statusб╩.


п²п╟п╥п╡п╟п╫п╦п╣

svn switch Б─■ Update working copy to a different URL.

Synopsis

svn switch URL [PATH]
switch --relocate FROM TO [PATH...]

Description

This subcommand updates your working copy to mirror a new URLБ─■usually a URL which shares a common ancestor with your working copy, although not necessarily. This is the Subversion way to move a working copy to a new branch. See б╚п÷п╣я─п╣п╨п╩я▌я┤п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦б╩ for an in-depth look at switching.

Alternate Names

sw

Changes

Working copy

Accesses Repository

Yes

Switches

--revision (-r) REV
--non-recursive (-N)
--quiet (-q)
--diff3-cmd CMD
--relocate FROM TO
--username USER
--password PASS
--no-auth-cache
--non-interactive
--config-dir DIR

Examples

If you're currently inside the directory vendors which was branched to vendors-with-fix and you'd like to switch your working copy to that branch:

$ svn switch http://svn.red-bean.com/repos/branches/vendors-with-fix .
U  myproj/foo.txt
U  myproj/bar.txt
U  myproj/baz.c
U  myproj/qux.c
Updated to revision 31.

And to switch back, just provide the URL to the location in the repository from which you originally checked out your working copy:

$ svn switch http://svn.red-bean.com/repos/trunk/vendors .
U  myproj/foo.txt
U  myproj/bar.txt
U  myproj/baz.c
U  myproj/qux.c
Updated to revision 31.
[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

You can just switch part of your working copy to a branch if you don't want to switch your entire working copy.

Sometimes an administrator might change the б╚base locationб╩ of your repositoryБ─■in other words, the contents of the repository doesn't change, but the main URL used to reach the root of the repository does. For example, the hostname may change, the URL scheme, or any part of the URL which leads to the repository itself. Rather than checkout a new working copy, you can have the svn switch command б╚rewriteб╩ the beginnings of all the URLs in your working copy. Use the --relocate option to do the substitution. No file contents are changed, nor is the repository contacted. It's similar to running a Perl script over your working copy .svn/ directories which runs s/OldRoot/NewRoot/.

$ svn checkout file:///tmp/repos test
A  test/a
A  test/b
Б─╕

$ mv repos newlocation
$ cd test/

$ svn update
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///tmp/repos'

$ svn switch --relocate file:///tmp/repos file:///tmp/newlocation .
$ svn update
At revision 3.
[п▓п╫п╦п╪п╟п╫п╦п╣]п▓п╫п╦п╪п╟п╫п╦п╣

Be careful when using the --relocate option. If you mistype the argument, you might end up creating nonsensical URLs within your working copy that render the whole workspace unusable and tricky to fix. It's also important to understand exactly when one should or shouldn't use --relocate. Here's the rule of thumb:

  • If the working copy needs to reflect a new directory within the repository, then use just svn switch.

  • If the working copy still reflects the same repository directory, but the location of the repository itself has changed, then use svn switch --relocate.


п²п╟п╥п╡п╟п╫п╦п╣

svn unlock Б─■ Unlock working copy paths or URLs.

Synopsis

svn unlock TARGET...

Description

Unlock each TARGET. If any TARGET is either locked by another user or no valid lock token exists in the working copy, print a warning and continue unlocking the rest of the TARGETs. Use --force to break a lock belonging to another user or working copy.

Alternate Names

None

Changes

Working Copy, Repository

Accesses Repository

Yes

Switches

--targets FILENAME
--username USER
--password PASS
--no-auth-cache
--non-interactive
--config-dir DIR
--force

Examples

Unlock two files in your working copy:

$ svn unlock tree.jpg house.jpg
'tree.jpg' unlocked.
'house.jpg' unlocked.

Unlock a file in your working copy that is currently locked by another user:

$ svn unlock tree.jpg
svn: 'tree.jpg' is not locked in this working copy
$ svn unlock --force tree.jpg
'tree.jpg' unlocked.

Unlock a file without a working copy:

$ svn unlock http://svn.red-bean.com/repos/test/tree.jpg
'tree.jpg unlocked.

For further details, see б╚Lockingб╩.


п²п╟п╥п╡п╟п╫п╦п╣

svn update Б─■ Update your working copy.

Synopsis

svn update [PATH...]

Description

svn update brings changes from the repository into your working copy. If no revision given, it brings your working copy up-to-date with the HEAD revision. Otherwise, it synchronizes the working copy to the revision given by the --revision switch. As part of the synchronization, svn update also removes any stale locks (see б╚svn cleanupб╩) found in the working copy.

For each updated item a line will start with a character reporting the action taken. These characters have the following meaning:

A

Added

D

Deleted

U

Updated

C

Conflict

G

Merged

A character in the first column signifies an update to the actual file, while updates to the file's properties are shown in the second column.

Alternate Names

up

Changes

Working copy

Accesses Repository

Yes

Switches

--revision (-r) REV
--non-recursive (-N)
--quiet (-q)
--diff3-cmd CMD
--username USER
--password PASS
--no-auth-cache
--non-interactive
--config-dir DIR
--ignore-externals

Examples

Pick up repository changes that have happened since your last update:

$ svn update
A  newdir/toggle.c
A  newdir/disclose.c
A  newdir/launch.c
D  newdir/README
Updated to revision 32.

You can also update your working copy to an older revision (Subversion doesn't have the concept of б╚stickyб╩ files like CVS does; see п÷я─п╦п╩п╬п╤п╣п╫п╦п╣б═B, Subversion п╢п╩я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ CVS):

$ svn update -r30
A  newdir/README
D  newdir/toggle.c
D  newdir/disclose.c
D  newdir/launch.c
U  foo.c
Updated to revision 30.
[п÷п╬п╢я│п╨п╟п╥п╨п╟]п÷п╬п╢я│п╨п╟п╥п╨п╟

If you want to examine an older revision of a single file, you may want to use svn cat.

svnadmin

svnadmin is the administrative tool for monitoring and repairing your Subversion repository. For detailed information, see б╚svnadminб╩.

Since svnadmin works via direct repository access (and thus can only be used on the machine that holds the repository), it refers to the repository with a path, not a URL.

svnadmin Switches

--bdb-log-keep

(Berkeley DB specific) Disable automatic log removal of database log files.

--bdb-txn-nosync

(Berkeley DB specific) Disables fsync when committing database transactions.

--bypass-hooks

Bypass the repository hook system.

--clean-logs

Removes unused Berkeley DB logs.

--force-uuid

By default, when loading data into repository that already contains revisions, svnadmin will ignore the UUID from the dump stream. This switch will cause the repository's UUID to be set to the UUID from the stream.

--ignore-uuid

By default, when loading an empty repository, svnadmin will use the UUID from the dump stream. This switch will cause that UUID to be ignored.

--incremental

Dump a revision only as a diff against the previous revision, instead of the usual fulltext.

--parent-dir DIR

When loading a dump file, root paths at DIR instead of /.

--revision (-r) ARG

Specify a particular revision to operate on.

--quiet

Do not show normal progressБ─■show only errors.

--use-post-commit-hook

When loading a dump file, run the repository's post-commit hook after finalizing each newly loaded revision.

--use-pre-commit-hook

When loading a dump file, run the repository's pre-commit hook before finalizing each newly loaded revision. If the hook fails, abort the commit and terminate the load process.

svnadmin Subcommands

п²п╟п╥п╡п╟п╫п╦п╣

svnadmin create Б─■ Create a new, empty repository.

Synopsis

svnadmin create REPOS_PATH

Description

Create a new, empty repository at the path provided. If the provided directory does not exist, it will be created for you.[57] As of Subversion 1.2, svnadmin creates new repositories with the fsfs filesystem backend by default.

Switches

--bdb-txn-nosync
--bdb-log-keep
--config-dir DIR
--fs-type TYPE

Examples

Creating a new repository is just this easy:

$ svnadmin create /usr/local/svn/repos

In Subversion 1.0, a Berkeley DB repository is always created. In Subversion 1.1, a Berkeley DB repository is the default repository type, but an FSFS repository can be created using the --fs-type option:

$ svnadmin create /usr/local/svn/repos --fs-type fsfs



[57] Remember, svnadmin works only with local paths, not URLs.


п²п╟п╥п╡п╟п╫п╦п╣

svnadmin deltify Б─■ Deltify changed paths in a revision range.

Synopsis

svnadmin deltify [-r LOWER[:UPPER]] REPOS_PATH

Description

svnadmin deltify only exists in current versions of Subversion due to historical reasons. This command is deprecated and no longer needed.

It dates from a time when Subversion offered administrators greater control over compression strategies in the repository. This turned out to be a lot of complexity for very little gain, and this б╚featureб╩ was deprecated.

Switches

--revision (-r) REV
--quiet (-q)

п²п╟п╥п╡п╟п╫п╦п╣

svnadmin dump Б─■ Dump the contents of filesystem to stdout.

Synopsis

svnadmin dump REPOS_PATH [-r LOWER[:UPPER]] [--incremental]

Description

Dump the contents of filesystem to stdout in a б╚dumpfileб╩ portable format, sending feedback to stderr. Dump revisions LOWER rev through UPPER rev. If no revisions are given, dump all revision trees. If only LOWER is given, dump that one revision tree. See б╚Migrating a Repositoryб╩ for a practical use.

By default, the Subversion dumpfile stream contains a single revision (the first revision in the requested revision range) in which every file and directory in the repository in that revision is presented as if that whole tree was added at once, followed by other revisions (the remainder of the revisions in the requested range) which contain only the files and directories which were modified in those revisions. For a modified file, the complete fulltext representation of its contents, as well as all of its properties, are presented in the dumpfile; for a directory, all of its properties are presented.

There are a pair of useful options which modify the dumpfile generator's behavior. The first is the --incremental option, which simply causes that first revision in the dumpfile stream to contain only the files and directories modified in that revision, instead of being presented as the addition of a new tree, and in exactly the same way that every other revision in the dumpfile is presented. This is useful for generating a dumpfile that is to be loaded into another repository which already has the files and directories that exist in the original repository.

The second useful option is --deltas. This switch causes svnadmin dump to, instead of emitting fulltext representations of file contents and property lists, emit only deltas of those items against their previous versions. This reduces (in some cases, drastically) the size of the dumpfile that svnadmin dump creates. There are, however, disadvantages to using this optionБ─■deltified dumpfiles are more CPU intensive to create, cannot be operated on by svndumpfilter, and tend not to compress as well as their non-deltified counterparts when using third-party tools like gzip and bzip2.

Switches

--revision (-r) REV
--incremental
--quiet (-q)
--deltas

Examples

Dump your whole repository:

$ svnadmin dump /usr/local/svn/repos
SVN-fs-dump-format-version: 1
Revision-number: 0
* Dumped revision 0.
Prop-content-length: 56
Content-length: 56
Б─╕

Incrementally dump a single transaction from your repository:

$ svnadmin dump /usr/local/svn/repos -r 21 --incremental
* Dumped revision 21.
SVN-fs-dump-format-version: 1
Revision-number: 21
Prop-content-length: 101
Content-length: 101
Б─╕

п²п╟п╥п╡п╟п╫п╦п╣

svnadmin help Б─■ Help!

Synopsis

svnadmin help [SUBCOMMAND...]

Description

This subcommand is useful when you're trapped on a desert island with neither a net connection nor a copy of this book.

Alternate Names

?, h


п²п╟п╥п╡п╟п╫п╦п╣

svnadmin hotcopy Б─■ Make a hot copy of a repository.

Synopsis

svnadmin hotcopy REPOS_PATH NEW_REPOS_PATH

Description

This subcommand makes a full б╚hotб╩ backup of your repository, including all hooks, configuration files, and, of course, database files. If you pass the --clean-logs switch, svnadmin will perform a hotcopy of your repository, and then remove unused Berkeley DB logs from the original repository. You can run this command at any time and make a safe copy of the repository, regardless of whether other processes are using the repository.

Switches

--clean-logs

п²п╟п╥п╡п╟п╫п╦п╣

svnadmin list-dblogs Б─■ Ask Berkeley DB which log files exist for a given Subversion repository (applies only to repositories using the bdb backend).

Synopsis

svnadmin list-dblogs REPOS_PATH

Description

Berkeley DB creates logs of all changes to the repository, which allow it to recover in the face of catastrophe. Unless you enable DB_LOG_AUTOREMOVE, the log files accumulate, although most are no longer used and can be deleted to reclaim disk space. See б╚Managing Disk Spaceб╩ for more information.


п²п╟п╥п╡п╟п╫п╦п╣

svnadmin list-unused-dblogs Б─■ Ask Berkeley DB which log files can be safely deleted (applies only to repositories using the bdb backend).

Synopsis

svnadmin list-unused-dblogs REPOS_PATH

Description

Berkeley DB creates logs of all changes to the repository, which allow it to recover in the face of catastrophe. Unless you enable DB_LOG_AUTOREMOVE, the log files accumulate, although most are no longer used and can be deleted to reclaim disk space. See б╚Managing Disk Spaceб╩ for more information.

Examples

Remove all unused log files from a repository:

$ svnadmin list-unused-dblogs /path/to/repos
/path/to/repos/log.0000000031
/path/to/repos/log.0000000032
/path/to/repos/log.0000000033

$ svnadmin list-unused-dblogs /path/to/repos | xargs rm
## disk space reclaimed!

п²п╟п╥п╡п╟п╫п╦п╣

svnadmin load Б─■ Read a б╚dumpfileб╩-formatted stream from stdin.

Synopsis

svnadmin load REPOS_PATH

Description

Read a б╚dumpfileб╩-formatted stream from stdin, committing new revisions into the repository's filesystem. Send progress feedback to stdout.

Switches

--quiet (-q)
--ignore-uuid
--force-uuid
--use-pre-commit-hook
--use-post-commit-hook
--parent-dir

Example

This shows the beginning of loading a repository from a backup file (made, of course, with svnadmin dump):

$ svnadmin load /usr/local/svn/restored < repos-backup
<<< Started new txn, based on original revision 1
     * adding path : test ... done.
     * adding path : test/a ... done.
Б─╕

Or if you want to load into a subdirectory:

$ svnadmin load --parent-dir new/subdir/for/project /usr/local/svn/restored < repos-backup
<<< Started new txn, based on original revision 1
     * adding path : test ... done.
     * adding path : test/a ... done.
Б─╕

п²п╟п╥п╡п╟п╫п╦п╣

svnadmin lslocks Б─■ Print descriptions of all locks.

Synopsis

svnadmin lslocks REPOS_PATH

Description

Print descriptions of all locks in a repository.

Switches

None

Example

This lists the one locked file in the repository at /svn/repos

$ svnadmin lslocks /svn/repos
Path: /tree.jpg
UUID Token: opaquelocktoken:ab00ddf0-6afb-0310-9cd0-dda813329753
Owner: harry
Created: 2005-07-08 17:27:36 -0500 (Fri, 08 Jul 2005)
Expires: 
Comment (1 line):
Rework the uppermost branches on the bald cypress in the foreground.

п²п╟п╥п╡п╟п╫п╦п╣

svnadmin lstxns Б─■ Print the names of all uncommitted transactions.

Synopsis

svnadmin lstxns REPOS_PATH

Description

Print the names of all uncommitted transactions. See б╚Repository Cleanupб╩ for information on how uncommitted transactions are created and what you should do with them.

Examples

List all outstanding transactions in a repository.

$ svnadmin lstxns /usr/local/svn/repos/
1w
1x

п²п╟п╥п╡п╟п╫п╦п╣

svnadmin recover Б─■ Bring a repository database back into a consistent state (applies only to repositories using the bdb backend). In addition, if repos/conf/passwd does not exist, it will create a default password file .

Synopsis

svnadmin recover REPOS_PATH

Description

Run this command if you get an error indicating that your repository needs to be recovered.

Switches

--wait

Examples

Recover a hung repository:

$ svnadmin recover /usr/local/svn/repos/
Repository lock acquired.
Please wait; recovering the repository may take some time...

Recovery completed.
The latest repos revision is 34.

Recovering the database requires an exclusive lock on the repository. (This is a б╚database lockб╩; see Three meanings of б╚lockб╩.) If another process is accessing the repository, then svnadmin recover will error:

$ svnadmin recover /usr/local/svn/repos
svn: Failed to get exclusive repository access; perhaps another process
such as httpd, svnserve or svn has it open?

$

The --wait option, however, will cause svnadmin recover to wait indefinitely for other processes to disconnect:

$ svnadmin recover /usr/local/svn/repos --wait
Waiting on repository lock; perhaps another process has it open?

### time goes byБ─╕

Repository lock acquired.
Please wait; recovering the repository may take some time...

Recovery completed.
The latest repos revision is 34.

п²п╟п╥п╡п╟п╫п╦п╣

svnadmin rmlocks Б─■ Unconditionally remove one or more locks from a repository.

Synopsis

svnadmin rmlocks REPOS_PATH LOCKED_PATH...

Description

Remove lock from each LOCKED_PATH.

Switches

None

Example

This deletes the locks on tree.jpg and house.jpg in the repository at /svn/repos

$ svnadmin rmlocks /svn/repos tree.jpg house.jpg
Removed lock on '/tree.jpg.
Removed lock on '/house.jpg.

п²п╟п╥п╡п╟п╫п╦п╣

svnadmin rmtxns Б─■ Delete transactions from a repository.

Synopsis

svnadmin rmtxns REPOS_PATH TXN_NAME...

Description

Delete outstanding transactions from a repository. This is covered in detail in б╚Repository Cleanupб╩.

Switches

--quiet (-q)

Examples

Remove named transactions:

$ svnadmin rmtxns /usr/local/svn/repos/ 1w 1x

Fortunately, the output of lstxns works great as the input for rmtxns:

$ svnadmin rmtxns /usr/local/svn/repos/  `svnadmin lstxns /usr/local/svn/repos/`

Which will remove all uncommitted transactions from your repository.


п²п╟п╥п╡п╟п╫п╦п╣

svnadmin setlog Б─■ Set the log-message on a revision.

Synopsis

svnadmin setlog REPOS_PATH -r REVISION FILE

Description

Set the log-message on revision REVISION to the contents of FILE.

This is similar to using svn propset --revprop to set the svn:log property on a revision, except that you can also use the option --bypass-hooks to avoid running any pre- or post-commit hooks, which is useful if the modification of revision properties has not been enabled in the pre-revprop-change hook.

[п▓п╫п╦п╪п╟п╫п╦п╣]п▓п╫п╦п╪п╟п╫п╦п╣

Revision properties are not under version control, so this command will permanently overwrite the previous log message.

Switches

--revision (-r) REV
--bypass-hooks

Examples

Set the log message for revision 19 to the contents of the file msg:

$ svnadmin setlog /usr/local/svn/repos/ -r 19 msg

п²п╟п╥п╡п╟п╫п╦п╣

svnadmin verify Б─■ Verify the data stored in the repository.

Synopsis

svnadmin verify REPOS_PATH

Description

Run this command if you wish to verify the integrity of your repository. This basically iterates through all revisions in the repository by internally dumping all revisions and discarding the output.

Examples

Verify a hung repository:

$ svnadmin verify /usr/local/svn/repos/
* Verified revision 1729.

svnlook

svnlook is a command-line utility for examining different aspects of a Subversion repository. It does not make any changes to the repositoryБ─■it's just used for б╚peekingб╩. svnlook is typically used by the repository hooks, but a repository administrator might find it useful for diagnostic purposes.

Since svnlook works via direct repository access (and thus can only be used on the machine that holds the repository), it refers to the repository with a path, not a URL.

If no revision or transaction is specified, svnlook defaults to the youngest (most recent) revision of the repository.

svnlook Switches

Switches in svnlook are global, just like in svn and svnadmin; however, most switches only apply to one subcommand since the functionality of svnlook is (intentionally) limited in scope.

--no-diff-deleted

Prevents svnlook from printing differences for deleted files. The default behavior when a file is deleted in a transaction/revision is to print the same differences that you would see if you had left the file but removed all the content.

--revision (-r)

Specify a particular revision number that you wish to examine.

--revprop

Operates on a revision property instead of a Subversion property specific to a file or directory. This switch requires that you also pass a revision with the --revision (-r) switch. See б╚Unversioned Propertiesб╩ for more details on unversioned properties.

--transaction (-t)

Specify a particular transaction ID that you wish to examine.

--show-ids

Show the filesystem node revision IDs for each path in the filesystem tree.

svnlook

п²п╟п╥п╡п╟п╫п╦п╣

svnlook author Б─■ Print the author.

Synopsis

svnlook author REPOS_PATH

Description

Print the author of a revision or transaction in the repository.

Switches

--revision (-r) REV
--transaction (-t)

Examples

svnlook author is handy, but not very exciting:

$ svnlook author -r 40 /usr/local/svn/repos
sally

п²п╟п╥п╡п╟п╫п╦п╣

svnlook cat Б─■ Print the contents of a file.

Synopsis

svnlook cat REPOS_PATH PATH_IN_REPOS

Description

Print the contents of a file.

Switches

--revision (-r) REV
--transaction (-t)

Examples

This shows the contents of a file in transaction ax8, located at /trunk/README:

$ svnlook cat -t ax8 /usr/local/svn/repos /trunk/README

               Subversion, a version control system.
               =====================================

$LastChangedDate: 2003-07-17 10:45:25 -0500 (Thu, 17 Jul 2003) $

Contents:

     I. A FEW POINTERS
    II. DOCUMENTATION
   III. PARTICIPATING IN THE SUBVERSION COMMUNITY
Б─╕

п²п╟п╥п╡п╟п╫п╦п╣

svnlook changed Б─■ Print the paths that were changed.

Synopsis

svnlook changed REPOS_PATH

Description

Print the paths that were changed in a particular revision or transaction, as well as б╚svn update-styleб╩ status letters in the first two columns:

'A '

Item added to repository.

'D '

Item deleted from repository.

'U '

File contents changed.

'_U'

Properties of item changed.

'UU'

File contents and properties changed.

Files and directories can be distinguished, as directory paths are displayed with a trailing '/' character.

Switches

--revision (-r) REV
--transaction (-t)

Examples

This shows a list of all the changed files in revision 39 of a test repository:

$ svnlook changed -r 39 /usr/local/svn/repos
A   trunk/vendors/deli/
A   trunk/vendors/deli/chips.txt
A   trunk/vendors/deli/sandwich.txt
A   trunk/vendors/deli/pickle.txt
U   trunk/vendors/baker/bagel.txt
_U  trunk/vendors/baker/croissant.txt
UU  trunk/vendors/baker/pretzel.txt
D   trunk/vendors/baker/baguette.txt

п²п╟п╥п╡п╟п╫п╦п╣

svnlook date Б─■ Print the datestamp.

Synopsis

svnlook date REPOS_PATH

Description

Print the datestamp of a revision or transaction in a repository.

Switches

--revision (-r) REV
--transaction (-t)

Examples

This shows the date of revision 40 of a test repository:

$ svnlook date -r 40 /tmp/repos/
2003-02-22 17:44:49 -0600 (Sat, 22 Feb 2003)

п²п╟п╥п╡п╟п╫п╦п╣

svnlook diff Б─■ Print differences of changed files and properties.

Synopsis

svnlook diff REPOS_PATH

Description

Print GNU-style differences of changed files and properties in a repository.

Switches

--revision (-r) REV
--transaction (-t)
--no-diff-added
--no-diff-deleted

Examples

This shows a newly added (empty) file, a deleted file, and a copied file:

$ svnlook diff -r 40 /usr/local/svn/repos/
Copied: egg.txt (from rev 39, trunk/vendors/deli/pickle.txt)

Added: trunk/vendors/deli/soda.txt
==============================================================================

Modified: trunk/vendors/deli/sandwich.txt
==============================================================================
--- trunk/vendors/deli/sandwich.txt (original)
+++ trunk/vendors/deli/sandwich.txt 2003-02-22 17:45:04.000000000 -0600
@@ -0,0 +1 @@
+Don't forget the mayo!

Modified: trunk/vendors/deli/logo.jpg
==============================================================================
(Binary files differ)

Deleted: trunk/vendors/deli/chips.txt
==============================================================================

Deleted: trunk/vendors/deli/pickle.txt
==============================================================================

If a file has a non-textual svn:mime-type property, then the differences are not explicitly shown.


п²п╟п╥п╡п╟п╫п╦п╣

svnlook dirs-changed Б─■ Print the directories that were themselves changed.

Synopsis

svnlook dirs-changed REPOS_PATH

Description

Print the directories that were themselves changed (property edits) or whose file children were changed.

Switches

--revision (-r) REV
--transaction (-t)

Examples

This shows the directories that changed in revision 40 in our sample repository:

$ svnlook dirs-changed -r 40 /usr/local/svn/repos
trunk/vendors/deli/

п²п╟п╥п╡п╟п╫п╦п╣

svnlook help Б─■ Help!

Synopsis

Also svnlook -h and svnlook -?.

Description

Displays the help message for svnlook. This command, like its brother svn help, is also your friend, even though you never call it anymore and forgot to invite it to your last party.

Alternate Names

?, h


п²п╟п╥п╡п╟п╫п╦п╣

svnlook history Б─■ Print information about the history of a path in the repository (or the root directory if no path is supplied).

Synopsis

svnlook history REPOS_PATH [PATH_IN_REPOS]

Description

Print information about the history of a path in the repository (or the root directory if no path is supplied).

Switches

--revision (-r) REV
--show-ids

Examples

This shows the history output for the path /tags/1.0 as of revision 20 in our sample repository.

$ svnlook history -r 20 /usr/local/svn/repos /tags/1.0 --show-ids
REVISION   PATH <ID>
--------   ---------
      19   /tags/1.0 <1.2.12>
      17   /branches/1.0-rc2 <1.1.10>
      16   /branches/1.0-rc2 <1.1.x>
      14   /trunk <1.0.q>
      13   /trunk <1.0.o>
      11   /trunk <1.0.k>
       9   /trunk <1.0.g>
       8   /trunk <1.0.e>
       7   /trunk <1.0.b>
       6   /trunk <1.0.9>
       5   /trunk <1.0.7>
       4   /trunk <1.0.6>
       2   /trunk <1.0.3>
       1   /trunk <1.0.2>

п²п╟п╥п╡п╟п╫п╦п╣

svnlook info Б─■ Print the author, datestamp, log message size, and log message.

Synopsis

svnlook info REPOS_PATH

Description

Print the author, datestamp, log message size, and log message.

Switches

--revision (-r) REV
--transaction (-t)

Examples

This shows the info output for revision 40 in our sample repository.

$ svnlook info -r 40 /usr/local/svn/repos
sally
2003-02-22 17:44:49 -0600 (Sat, 22 Feb 2003)
15
Rearrange lunch.

п²п╟п╥п╡п╟п╫п╦п╣

svnlook lock Б─■ If a lock exists on a path in the repository, describe it.

Synopsis

svnlook lock REPOS_PATH PATH_IN_REPOS

Description

Print all information available for the lock at PATH_IN_REPOS. If PATH_IN_REPOS is not locked, print nothing.

Switches

None

Examples

This describes the lock on the file tree.jpg.

$ svnlook lock /svn/repos tree.jpg
UUID Token: opaquelocktoken:ab00ddf0-6afb-0310-9cd0-dda813329753
Owner: harry
Created: 2005-07-08 17:27:36 -0500 (Fri, 08 Jul 2005)
Expires: 
Comment (1 line):
Rework the uppermost branches on the bald cypress in the foreground.

п²п╟п╥п╡п╟п╫п╦п╣

svnlook log Б─■ Print the log message.

Synopsis

svnlook log REPOS_PATH

Description

Print the log message.

Switches

--revision (-r) REV
--transaction (-t)

Examples

This shows the log output for revision 40 in our sample repository:

$ svnlook log /tmp/repos/
Rearrange lunch.

п²п╟п╥п╡п╟п╫п╦п╣

svnlook propget Б─■ Print the raw value of a property on a path in the repository.

Synopsis

svnlook propget REPOS_PATH PROPNAME [PATH_IN_REPOS]

Description

List the value of a property on a path in the repository.

Alternate Names

pg, pget

Switches

--revision (-r) REV
--transaction (-t)
--revprop

Examples

This shows the value of the б╚seasoningsб╩ property on the file /trunk/sandwich in the HEAD revision:

$ svnlook pg /usr/local/svn/repos seasonings /trunk/sandwich
mustard

п²п╟п╥п╡п╟п╫п╦п╣

svnlook proplist Б─■ Print the names and values of versioned file and directory properties.

Synopsis

svnlook proplist REPOS_PATH [PATH_IN_REPOS]

Description

List the properties of a path in the repository. With --verbose, show the property values too.

Alternate Names

pl, plist

Switches

--revision (-r) REV
--transaction (-t)
--verbose (-v)
--revprop

Examples

This shows the names of properties set on the file /trunk/README in the HEAD revision:

$ svnlook proplist /usr/local/svn/repos /trunk/README
  original-author
  svn:mime-type

This is the same command as in the previous example, but this time showing the property values as well:

$ svnlook --verbose proplist /usr/local/svn/repos /trunk/README
  original-author : fitz
  svn:mime-type : text/plain

п²п╟п╥п╡п╟п╫п╦п╣

svnlook tree Б─■ Print the tree.

Synopsis

svnlook tree REPOS_PATH [PATH_IN_REPOS]

Description

Print the tree, starting at PATH_IN_REPOS (if supplied, at the root of the tree otherwise), optionally showing node revision IDs.

Switches

--revision (-r) REV
--transaction (-t)
--show-ids

Examples

This shows the tree output (with node-IDs) for revision 40 in our sample repository:

$ svnlook tree -r 40 /usr/local/svn/repos --show-ids
/ <0.0.2j>
 trunk/ <p.0.2j>
  vendors/ <q.0.2j>
   deli/ <1g.0.2j>
    egg.txt <1i.e.2j>
    soda.txt <1k.0.2j>
    sandwich.txt <1j.0.2j>

п²п╟п╥п╡п╟п╫п╦п╣

svnlook uuid Б─■ Print the repository's UUID.

Synopsis

svnlook uuid REPOS_PATH

Description

Print the UUID for the repository. the UUID is the repository's universal unique identifier. The Subversion client uses this identifier to differentiate between one repository and another.

Examples

$ svnlook uuid /usr/local/svn/repos
e7fe1b91-8cd5-0310-98dd-2f12e793c5e8

п²п╟п╥п╡п╟п╫п╦п╣

svnlook youngest Б─■ Print the youngest revision number.

Synopsis

svnlook youngest REPOS_PATH

Description

Print the youngest revision number of a repository.

Examples

This shows the youngest revision of our sample repository:

$ svnlook youngest /tmp/repos/
42

svnserve

svnserve allows access to Subversion repositories using the svn network protocol. You can run svnserve either as a standalone server process, or you can have another process, such as inetd, xinetd or sshd, launch it for you.

Once the client has selected a repository by transmitting its URL, svnserve reads a file named conf/svnserve.conf in the repository directory to determine repository-specific settings such as what authentication database to use and what authorization policies to apply. See б╚п║п╬п╠я│я┌п╡п╣п╫п╫я▀п╧ я│п╣я─п╡п╣я─ svnserveб╩ for details of the svnserve.conf file.

svnserve Switches

Unlike the previous commands we've described. svnserve has no subcommandsБ─■svnserve is controlled exclusively by switches.

--daemon (-d)

Causes svnserve to run in daemon mode. svnserve backgrounds itself and accepts and serves TCP/IP connections on the svn port (3690, by default).

--listen-port=PORT

Causes svnserve to listen on PORT when run in daemon mode.

--listen-host=HOST

Causes svnserve to listen on the interface specified by HOST, which may be either a hostname or an IP address.

--foreground

When used together with -d, this switch causes svnserve to stay in the foreground. This switch is mainly useful for debugging.

--inetd (-i)

Causes svnserve to use the stdin/stdout file descriptors, as is appropriate for a daemon running out of inetd.

--help (-h)

Displays a usage summary and exits.

--version

Displays version information, a list of repository back-end modules available, and exits.

--root=ROOT (-r=ROOT)

Sets the virtual root for repositories served by svnserve. The pathname in URLs provided by the client will be interpreted relative to this root, and will not be allowed to escape this root.

--tunnel (-t)

Causes svnserve to run in tunnel mode, which is just like the inetd mode of operation (serve one connection over stdin/stdout) except that the connection is considered to be pre-authenticated with the username of the current uid. This flag is selected by the client when running over a tunnel agent such as ssh.

--tunnel-user NAME

Used in conjunction with --tunnel switch; tells svnserve to assume that NAME is the authenticated user, rather than the UID of the svnserve process. Useful for users wishing to share a single system account over SSH, but maintaining separate commit identities.

--threads (-T)

When running in daemon mode, causes svnserve to spawn a thread instead of a process for each connection. The svnserve process still backgrounds itself at startup time.

--listen-once (-X)

Causes svnserve to accept one connection on the svn port, serve it, and exit. This option is mainly useful for debugging.

svnversion

п²п╟п╥п╡п╟п╫п╦п╣

svnversion Б─■ Summarize the local revision(s) of a working copy.

Synopsis

svnversion [OPTIONS] [WC_PATH [TRAIL_URL]]

Description

svnversion is a program for summarizing the revision mixture of a working copy. The resultant revision number, or revision range, is written to standard output.

TRAIL_URL, if present, is the trailing portion of the URL used to determine if WC_PATH itself is switched (detection of switches within WC_PATH does not rely on TRAIL_URL).

When WC_PATH is not defined the current directory will be used as the working copy path. TRAIL_URL cannot be defined if WC_PATH is not explicitly given.

Switches

Like svnserve, svnversion has no subcommands, it only has switches.

--no-newline (-n)

Omit the usual trailing newline from the output.

--committed (-c)

Use the last-changed revisions rather than the current (i.e., highest locally available) revisions.

--help (-h)

Print a help summary.

--version

Print the version of svnversion and exit with no error.

Examples

If the working copy is all at the same revision (for example, immediately after an update), then that revision is printed out:

$ svnversion
4168

You can add TRAIL_URL to show that the working copy is not switched from what you expect. Note that the WC_PATH was required in this command:

$ svnversion . /repos/svn/trunk
4168

For a mixed-revision working copy, the range of revisions present is printed:

$ svnversion
4123:4168

If the working copy contains modifications, a trailing "M" is added:

$ svnversion
4168M

If the working copy is switched, a trailing "S" is added:

$ svnversion
4168S

Thus, here is a mixed-revision, switched working copy containing some local modifications:

$ svnversion
4212:4168MS

If invoked on a directory that is not a working copy, svnversion assumes it is an exported working copy and prints "exported":

$ svnversion
exported

mod_dav_svn

п²п╟п╥п╡п╟п╫п╦п╣

mod_dav_svn Configuration Directives Б─■ Apache configuration directives for serving Subversion repositories through Apache HTTP Server.

Description

This section briefly describes each of the Subversion Apache configuration directives. For an in-depth description of configuring Apache with Subversion, see б╚httpd, the Apache HTTP serverб╩.)

Directives

DAV svn

This directive must be included in any Directory or Location block for a Subversion repository. It tells httpd to use the Subversion backend for mod_dav to handle all requests.

SVNAutoversioning On

This directive allows write requests from WebDAV clients to result in automatic commits. A generic log message is auto-generated and attached to each revision. If you enable Autoversioning, you'll likely want to set ModMimeUsePathInfo On so that mod_mime can set svn:mime-type to the correct mime-type automatically (as best as mod_mime is able to, of course). For more information, see п÷я─п╦п╩п╬п╤п╣п╫п╦п╣б═C, WebDAV п╦ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╬п╣ я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦

SVNPath

This directive specifies the location in the filesystem for a Subversion repository's files. In a configuration block for a Subversion repository, either this directive or SVNParentPath must be present, but not both.

SVNSpecialURI

Specifies the URI component (namespace) for special Subversion resources. The default is б╚!svnб╩, and most administrators will never use this directive. Only set this if there is a pressing need to have a file named !svn in your repository. If you change this on a server already in use, it will break all of the outstanding working copies and your users will hunt you down with pitchforks and flaming torches.

SVNReposName

Specifies the name of a Subversion repository for use in HTTP GET requests. This value will be prepended to the title of all directory listings (which are served when you navigate to a Subversion repository with a web browser). This directive is optional.

SVNIndexXSLT

Specifies the URI of an XSL transformation for directory indexes. This directive is optional.

SVNParentPath

Specifies the location in the filesystem of a parent directory whose child directories are Subversion repositories. In a configuration block for a Subversion repository, either this directive or SVNPath must be present, but not both.

SVNPathAuthz

Control path-based authorization by enabling or disabling subrequests. See б╚Disabling Path-based Checksб╩ for details.

п║п╡п╬п╧я│я┌п╡п╟ Subversion

п²п╟п╥п╡п╟п╫п╦п╣

п║п╡п╬п╧я│я┌п╡п╟ Subversion Б─■ я█я┌п╬ я│п╡п╬п╧я│я┌п╡п╟, п╨п╬я┌п╬я─я▀п╣ п╬п©я─п╣п╢п╣п╩я▐я▌я┌я│я▐ Subversion п╢п╩я▐ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╣п╣ п©п╬п╡п╣п╢п╣п╫п╦п╣п╪.

п·п©п╦я│п╟п╫п╦п╣

Subversion п©п╬п╥п╡п╬п╩я▐п╣я┌ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╩я▌п╠я▀п╣ п╦п╪п╣п╫п╫п╬п╡п╟п╫п╫я▀п╣ п╡п╣я─я│п╦п╬п╫п╦я─я┐п╣п╪я▀п╣ я│п╡п╬п╧я│я┌п╡п╟ п╢п╩я▐ я└п╟п╧п╩п╬п╡ п╦ п╨п╟я┌п╟п╩п╬пЁп╬п╡, п╟ я┌п╟п╨ п╤п╣ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─я┐п╣п╪я▀п╣ п╢п╩я▐ п╡п╣я─я│п╦п╧. п·пЁя─п╟п╫п╦я┤п╣п╫п╦я▐ п╫п╟п╨п╩п╟п╢я▀п╡п╟я▌я┌я│я▐ п╩п╦я┬я▄ п╫п╟ я│п╡п╬п╧я│я┌п╡п╟ я│ п©я─п╣я└п╦п╨я│п╬п╪ б╚svn:б╩. п║п╡п╬п╧я│я┌п╡п╟ п╡ я█я┌п╬п╪ п©я─п╬я│я┌п╟п╫я│я┌п╡п╣ п╦п╪п╣п╫ п╥п╟я─п╣п╥п╣я─п╡п╦я─п╬п╡п╟п╫я▀ п╢п╩я▐ я│п╟п╪п╬п╧ Subversion. п÷п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ п╪п╬пЁя┐я┌ п╦п╥п╪п╣п╫я▐я┌я▄ п╥п╫п╟я┤п╣п╫п╦я▐ я┌п╟п╨п╦я┘ я│п╡п╬п╧я│я┌п╡п╟ п╢п╩я▐ я┐п©я─п╟п╡п╩я▐п╫п╦я▐ п©п╬п╡п╣п╢п╣п╫п╦п╣ Subversion, п╫п╬ п╬п╫п╦ п╫п╣ п╢п╬п╩п╤п╫я▀ я│п╬п╥п╢п╟п╡п╟я┌я▄ п╫п╬п╡я▀я┘ б╚svn:б╩ я│п╡п╬п╧я│я┌п╡.

п▓п╣я─я│п╦п╬п╫п╦я─я┐п╣п╪я▀п╣ я│п╡п╬п╧я│я┌п╡п╟

svn:executable

п²п╟п╩п╦я┤п╦п╣ я┌п╟п╨п╬пЁп╬ я│п╡п╬п╧я│я┌п╡п╟ пЁп╬п╡п╬я─п╦я┌ п╨п╩п╦п╣п╫я┌я┐ п©п╬п╪п╣я┌п╦я┌я▄ я┌п╟п╨п╬п╧ я└п╟п╧п╩ п╨п╟п╨ п╦я│п©п╬п╩п╫я▐п╣п╪я▀п╧ п╡ я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦я▐я┘ п╫п╟ Unix п╪п╟я┬п╦п╫п╟я┘. п║п╪п╬я┌я─п╦ б╚п≤я│п©п╬п╩п╫п╦п╪п╬я│я┌я▄ я└п╟п╧п╩п╟б╩.

svn:mime-type

п▒я┐п╢я┐я┤п╦ п╥п╟п╢п╟п╫п╬ п╢п╩я▐ я└п╟п╧п╩п╟, п╬п©я─п╣п╢п╣п╩я▐п╣я┌ MIME я┌п╦п© я└п╟п╧п╩п╟. п╜я┌п╬ п©п╬п╥п╡п╬п╩я▐п╣я┌ п╨п╩п╦п╣п╫я┌я┐ я─п╣я┬п╦я┌я▄, я┤я┌п╬ п╬п╫ п╪п╬п╤п╣я┌ п╠п╣п╥ п╬п©я▐я│п╨п╦ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п©п╬я│я┌я─п╬я┤п╫п╬п╣ я│п╩п╦я▐п╫п╦п╣ п©я─п╦ п╬п╠п╫п╬п╡п╩п╣п╫п╦п╦. п╜я┌п╬ я│п╡п╬п╧я│я┌п╡п╬ я┌п╟п╨п╤п╣ п╡п╩п╦я▐п╣я┌ п╫п╟ п╡п╬я│п©я─п╦я▐я┌п╦п╣ я└п╟п╧п╩п╟ п╡п╣п╠ п╠я─п╟я┐п╥п╣я─п╬п╪. п║п╪п╬я┌я─п╦ б╚п╒п╦п© я│п╬п╢п╣я─п╤п╦п╪п╬пЁп╬ я└п╟п╧п╩п╟б╩.

svn:ignore

п▒я┐п╢я┐я┤п╦ п╥п╟п╢п╟п╫п╬ п╢п╩я▐ п╨п╟я┌п╟п╩п╬пЁп╟, п╬п©я─п╣п╢п╣п╩я▐п╣я┌ я│п©п╦я│п╬п╨ я┬п╟п╠п╩п╬п╫п╬п╡ п╦п╪п╣п╫ я└п╟п╧п╩п╬п╡, п╨п╬я┌п╬я─я▀п╣ п╠я┐п╢я┐я┌ п╦пЁп╫п╬я─п╦я─п╬п╡п╟я┌я▄я│я▐ svn status п╦ п╢я─я┐пЁп╦п╪п╦ п©п╬п╢п╨п╬п╪п╟п╫п╢п╟п╪п╦. п║п╪п╬я┌я─п╦ б╚п÷я─п╬п©я┐я│п╨ п╫п╣п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я█п╩п╣п╪п╣п╫я┌п╬п╡б╩

svn:keywords

п▒я┐п╢я┐я┤п╦ п╥п╟п╢п╟п╫п╬ п╢п╩я▐ я└п╟п╧п╩п╟, я│п╬п╢п╣я─п╤п╦я┌ п╦п╪п╣п╫п╟ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡, п╨п╬я┌п╬я─я▀п╣ п╨п╩п╦п╣п╫я┌ п╢п╬п╩п╤п╫ я─п╟п╥п╦п╪п╣п╫п╬п╡п╟п╫я▀ п╡ я└п╟п╧п╩п╣. п║п╪п╬я┌я─п╦ б╚п÷п╬п╢я│я┌п╟п╫п╬п╡п╨п╟ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡б╩.

svn:eol-style

п≈п╫п╟я┤п╣п╫п╦п╣ я█я┌п╬пЁп╬ я│п╡п╬п╧я│я┌п╡п╟, п╥п╟п╢п╟п╫п╫п╬пЁп╬ п╢п╩я▐ я└п╟п╧п╩п╟, я┐п╨п╟п╥я▀п╡п╟п╣я┌ п╨п╩п╦п╣п╫я┌я┐ п╪п╣я┘п╟п╫п╦п╥п╪ п╬п╠я─п╟п╠п╬я┌п╨п╦ я│п╦п╪п╡п╬п╩п╬п╡ п╨п╬п╫я├п╟ я│я┌я─п╬п╨ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦. п║п╪п╬я┌я─п╦ б╚п║п╦п╪п╡п╬п╩я▀ п╨п╬п╫я├п╟ я│я┌я─п╬п╨п╦б╩.

svn:externals

п▒я┐п╢я┐я┤п╦ п╥п╟п╢п╟п╫п╬ п╢п╩я▐ п╨п╟я┌п╟п╩п╬пЁп╟, п╬п©я─п╣п╢п╣п╩я▐п╣я┌ п╪п╫п╬пЁп╬я│я┌я─п╬я┤п╫я▀п╧ я│п©п╦я│п╬п╨ п╢я─я┐пЁп╦я┘ я┤п╟я│я┌п╣п╧ п╦ URL-п╬п╡ п╨п╬п╧ п╨п╩п╦п╣п╫я┌ я┌п╟п╨п╤п╣ п╢п╬п╩п╤п╣п╫ п╡п╨п╩я▌я┤п╦я┌я▄ п╡ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌. п║п╪п╬я┌я─п╦ б╚п▓п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦б╩.

svn:special

п²п╟п╩п╦я┤п╦п╣ я█я┌п╬пЁп╬ я│п╡п╬п╧я│я┌п╡п╟ я┐ я└п╟п╧п╩п╟ я┐п╨п╟п╥я▀п╡п╟п╣я┌ п╫п╟ я┌п╬, я┤я┌п╬ п╬п╫ п╫п╣ я▐п╡п╩я▐п╣я┌я│я▐ п╬п╠я▀я┤п╫я▀п╪ я└п╟п╧п╩п╬п╪. п╜я┌п╬ п╪п╬п╤п╣я┌ п╠я▀я┌я▄ я│п╦п╪п╡п╬п╩п╦я┤п╣я│п╨п╟я▐ я│я│я▀п╩п╨п╟ п╦п╩п╦ п╩я▌п╠п╬п╧ п╢я─я┐пЁп╬п╧ я│п©п╣я├п╦п╟п╩я▄п╫я▀п╧ п╬п╠я┼п╣п╨я┌.

svn:needs-lock

п²п╟п╩п╦я┤п╦п╣ я█я┌п╬пЁп╬ я│п╡п╬п╧я│я┌п╡п╟ я┐ я└п╟п╧п╩п╟, я┐п╨п╟п╥я▀п╡п╟п╣я┌ п╨п╩п╦п╣п╫я┌я┐ п©п╬п╪п╣я┌п╦я┌я▄ п╣пЁп╬ п╡ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╢п╬я│я┌я┐п©п╫я▀п╪ я┌п╬п╩я▄п╨п╬ п╢п╩я▐ я┤я┌п╣п╫п╦я▐, п╨п╟п╨ п╫п╟п©п╬п╪п╦п╫п╟п╫п╦п╣ п╬ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬я│я┌п╦ п╥п╟п╠п╩п╬п╨п╦я─п╬п╡п╟я┌я▄ я└п╟п╧п╩ п©п╣я─п╣п╢ п╣пЁп╬ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟п╫п╦п╣п╪. п║п╪п╬я┌я─п╦ б╚Lock Communicationб╩.

Unversioned Properties

svn:author

If present, contains the authenticated username of the person who created the revision. (If not present, then the revision was committed anonymously.)

svn:date

Contains the UTC time the revision was created, in ISO format. The value comes from the server machine's clock.

svn:log

Contains the log message describing the revision.

svn:autoversioned

If present, the revision was created via the autoversioning feature. See б╚Autoversioningб╩.




[56] п■п╟, п╢п╟, п╡п╟п╪ п╫п╣ п╫я┐п╤п╫п╟ п©п╬п╢п╨п╬п╪п╟п╫п╢п╟ я┤я┌п╬ п╠я▀ п╥п╟п╢п╣п╧я│я┌п╡п╬п╡п╟я┌я▄ п©п╟я─п╟п╪п╣я┌я─п╟ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ --version, п╫п╬ п╪я▀ п╡п╣я─п╫п╣п╪я│я▐ п╨ я█я┌п╬п╪я┐ я┐п╤п╣ я┤п╣я─п╣п╥ п╪п╦п╫я┐я┌я┐.

[57] Remember, svnadmin works only with local paths, not URLs.

п÷я─п╦п╩п╬п╤п╣п╫п╦п╣ A. п▒я▀я│я┌я─я▀п╧ я│я┌п╟я─я┌ п╡ Subversion

п²п╣п╨п╬я┌п╬я─я▀п╣ п╦я│п©я▀я┌я▀п╡п╟я▌я┌ я┌я─я┐п╢п╫п╬я│я┌п╦ п©п╬пЁп╩п╬я┴п╣п╫п╦я▐ п╫п╬п╡п╬п╧ я┌п╣я┘п╫п╬п╩п╬пЁп╦п╦ я┤п╦я┌п╟я▐ п©я─п╦п╠п╩п╦п╤п╣п╫п╦п╣ б╚я│п╡п╣я─я┘я┐ п╡п╫п╦п╥б╩, п©я─п╣п╢п╩п╟пЁп╟п╣п╪п╬п╣ я█я┌п╬п╧ п╨п╫п╦пЁп╬п╧. п╜я┌п╬я┌ я─п╟п╥п╢п╣п╩ п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ п╬я┤п╣п╫я▄ п╨п╬я─п╬я┌п╨п╬п╣ п╡п╡п╣п╢п╣п╫п╦п╣ п╡ Subversion п╦ п©я─п╣п╢п╫п╟п╥п╫п╟я┤п╣п╫ п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬ п╠я▀ п©п╬п╪п╬я┤я▄ п╦п╥я┐я┤п╟я▌я┴п╦п╪ б╚я│п╫п╦п╥я┐ п╡п╡п╣я─я┘б╩. п∙я│п╩п╦ п╡я▀ п╦п╥ я┌п╣я┘, п╨я┌п╬ п©я─п╣п╢п©п╬я┤п╦я┌п╟п╣я┌ я┐я┤п╦я┌я▄я│я▐ п╫п╟ я█п╨я│п©п╣я─п╦п╪п╣п╫я┌п╟я┘ я┌п╬ п©п╬я│п╩п╣п╢я┐я▌я┴п╟я▐ п╢п╣п╪п╬п╫я│я┌я─п╟я├п╦я▐ п©п╬п╪п╬п╤п╣я┌ п╡п╟п╪ п╫п╟я┤п╟я┌я▄. п÷п╬ я┘п╬п╢я┐ п╢п╣п╩п╟ п╪я▀ п╢п╟п╣п╪ я│я│я▀п╩п╨п╦ п╫п╟ я│п╬п╬я┌п╡п╣я┌я│я┌п╡я┐я▌я┴п╦п╣ пЁп╩п╟п╡я▀ п╨п╫п╦пЁп╦.

п∙я│п╩п╦ п╡я▀ п╫п╣ я│п╬п╡я│п╣п╪ п╥п╫п╟п╨п╬п╪я▀ я│ п╨п╬п╫я├п╣п©я├п╦я▐п╪п╦ п╨п╬п╫я┌я─п╬п╩я▐ п╡п╣я─я│п╦п╧ п╦п╩п╦ п╪п╬п╢п╣п╩я▄я▌ б╚п╨п╬п©п╦я─п╬п╡п╟п╫п╦п╣-п╦п╥п╪п╣п╫п╣п╫п╦п╣-я│п╩п╦я▐п╫п╦п╣б╩, п╦я│п©п╬п╩я▄п╥я┐п╣п╪п╬п╧ п╨п╟п╨ CVS я┌п╟п╨ п╦ Subversion, п©п╣я─п╣п╢ я┌п╣п╪ п╨п╟п╨ п╦п╢я┌п╦ п╢п╟п╩я▄я┬п╣, п╡п╟п╪ п╫я┐п╤п╫п╬ п©я─п╬я┤п╦я┌п╟я┌я▄ п⌠п╩п╟п╡п╟б═1, п╓я┐п╫п╢п╟п╪п╣п╫я┌п╟п╩я▄п╫я▀п╣ п©п╬п╫я▐я┌п╦я▐.

пёя│я┌п╟п╫п╬п╡п╨п╟ Subversion

Subversion п©п╬я│я┌я─п╬п╣п╫п╟ п╫п╟ я│п╩п╬п╣ п©п╣я─п╣п╫п╬я│п╦п╪п╬я│я┌п╦ п©п╬п╢ п╫п╟п╥п╡п╟п╫п╦п╣п╪ APR (the Apache Portable Runtime library). п▒п╦п╠п╩п╦п╬я┌п╣п╨п╟ APR п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣я┌ п╡я│п╣ п╦п╫я┌п╣я─я└п╣п╧я│я▀, п╫п╣п╬п╠я┘п╬п╢п╦п╪я▀п╣ п╢п╩я▐ я└я┐п╫п╨я├п╦п╬п╫п╦я─п╬п╡п╟п╫п╦я▐ Subversion п©п╬п╢ я┐п©я─п╟п╡п╩п╣п╫п╦п╣п╪ я─п╟п╥п╩п╦я┤п╫я▀я┘ п╬п©п╣я─п╟я├п╦п╬п╫п╫я▀я┘ я│п╦я│я┌п╣п╪: п╢п╬я│я┌я┐п© п╨ п╤п╣я│я┌п╨п╬п╪я┐ п╢п╦я│п╨я┐, п╢п╬я│я┌я┐п© п╨ я│п╣я┌п╦, я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п©п╟п╪я▐я┌я▄я▌, п╦ я┌п╬п╪я┐ п©п╬п╢п╬п╠п╫п╬п╣. п²п╣ я│п╪п╬я┌я─я▐ п╫п╟ я┌п╬, я┤я┌п╬ Subversion п╪п╬п╤п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ Apache п╨п╟п╨ я│п╣я─п╡п╣я─, п╣п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌я▄ п╬я┌ Apache п╫п╣ п╬п╥п╫п╟я┤п╟п╣я┌ я┌п╬пЁп╬, я┤я┌п╬ Apache я▐п╡п╩я▐п╣я┌я│я▐ п╫п╣п╬п╠я┘п╬п╢п╦п╪я▀п╪ п╨п╬п╪п©п╬п╫п╣п╫я┌п╬п╪. APR п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ п╬я┌п╢п╣п╩я▄п╫я┐я▌ п╠п╦п╠п╩п╦п╬я┌п╣п╨я┐, п╨п╬я┌п╬я─я┐я▌ п╪п╬п╤п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╩я▌п╠п╬п╣ п©я─п╦п╩п╬п╤п╣п╫п╦п╣. п я─п╬п╪п╣ п©я─п╬я┤п╣пЁп╬, я█я┌п╬ п╬п╥п╫п╟я┤п╟п╣я┌, я┤я┌п╬ п╨п╟п╨ п╦ Apache, Subversion п╨п╩п╦п╣п╫я┌я▀ п╦ я│п╣я─п╡п╣я─я▀ я─п╟п╠п╬я┌п╟я▌я┌ п╫п╟ п╩я▌п╠п╬п╧ п╬п©п╣я─п╟я├п╦п╬п╫п╫п╬п╧ я│п╦я│я┌п╣п╪п╣ п╫п╟ п╨п╬я┌п╬я─п╬п╧ я─п╟п╠п╬я┌п╟п╣я┌ httpd я│п╣я─п╡п╣я─ Apache: Windows, Linux, п╡я│п╣ я─п╟п╥п╫п╬п╡п╦п╢п╫п╬я│я┌п╦ BSD, MacOS X, Netware п╦ п╢я─я┐пЁп╦п╣.

п²п╟п╦п╠п╬п╩п╣п╣ п©я─п╬я│я┌п╬п╧ я│п©п╬я│п╬п╠ п©п╬п╩я┐я┤п╦я┌я▄ Subversion - я│п╨п╟я┤п╟я┌я▄ п╠п╦п╫п╟я─п╫я▀п╧ п©п╟п╨п╣я┌, я│п╬п╠я─п╟п╫п╫я▀п╧ п╢п╩я▐ п╡п╟я┬п╣п╧ п╬п©п╣я─п╟я├п╦п╬п╫п╫п╬п╧ я│п╦я│я┌п╣п╪я▀. п п╟п╨ п©я─п╟п╡п╦п╩п╬, я█я┌п╦ п©п╟п╨п╣я┌я▀ п©я─п╦я│п╩п╟п╫п╫я▀п╣ п╡п╬п╩п╬п╫я┌п╣я─п╟п╪п╦, п╢п╬я│я┌я┐п©п╫я▀ п╢п╩я▐ п╥п╟пЁя─я┐п╥п╨п╦ я│ п╡п╣п╠-я│п╟п╧я┌п╟ Subversion (http://subversion.tigris.org). п║п╟п╧я┌ п╬п╠я▀я┤п╫п╬ я│п╬п╢п╣я─п╤п╦я┌ пЁя─п╟я└п╦я┤п╣я│п╨п╦п╧ п╦п╫я│я┌п╟п╩п╩я▐я┌п╬я─ п╢п╩я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ п╬п©п╣я─п╟я├п╦п╬п╫п╫я▀я┘ я│п╦я│я┌п╣п╪ Microsoft. п∙я│п╩п╦ п╡я▀ п╦я│п©п╬п╩я▄п╥я┐п╣я┌п╣ Unix-п©п╬п╢п╬п╠п╫я┐я▌ п·п║ я┌п╬ п╢п╩я▐ п©п╬п╩я┐я┤п╣п╫п╦я▐ Subversion п╡я▀ п╪п╬п╤п╣я┌п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п©п╟п╨п╣я┌п╫я┐я▌ я│п╦я│я┌п╣п╪я┐, я│п©п╣я├п╦я└п╦я┤п╫я┐я▌ п╢п╩я▐ п╡п╟я┬п╣п╧ я│п╦я│я┌п╣п╪я▀ (RPM, DEB, ports tree п╦ я┌. п╢.).

п▓ п╨п╟я┤п╣я│я┌п╡п╣ п╟п╩я▄я┌п╣я─п╫п╟я┌п╦п╡п╫п╬пЁп╬ п╡п╟я─п╦п╟п╫я┌п╟ п╡я▀ п╪п╬п╤п╣я┌п╣ п©п╬я│я┌я─п╬п╦я┌я▄ Subversion п©я─я▐п╪п╬ п╦п╥ п╦я│я┘п╬п╢п╫п╬пЁп╬ п╨п╬п╢п╟. п≈п╟п╨п╟я┤п╟п╧я┌п╣ я│ web-я│п╟п╧я┌п╟ Subversion п©п╬я│п╩п╣п╢п╫п╦п╧ я─п╣п╩п╦п╥ п╦я│я┘п╬п╢п╫п╬пЁп╬ п╨п╬п╢п╟. п÷п╬я│п╩п╣ п╣пЁп╬ я─п╟я│п©п╟п╨п╬п╡п╨п╦ п╢п╩я▐ п╣пЁп╬ я│п╠п╬я─п╨п╦ я│п╩п╣п╢я┐п╧я┌п╣ п╦п╫я│я┌я─я┐п╨я├п╦я▐п╪ п╡ я└п╟п╧п╩п╣ INSTALL. п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣, я┤я┌п╬ я┌п╟п╨п╬п╧ п©п╟п╨п╣я┌ я│п╬п╢п╣я─п╤п╦я┌ п╡я│п╣ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬п╣ п╢п╩я▐ я│п╠п╬я─п╨п╦ п╨п╩п╦п╣п╫я┌п╟ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦, я│п©п╬я│п╬п╠п╫п╬пЁп╬ я─п╟п╠п╬я┌п╟я┌я▄ я│ я┐п╢п╟п╩п╣п╫п╫я▀п╪ я┘я─п╟п╫п╦п╩п╦я┴п╣п╪ (п╬п╠я▀я┤п╫п╬ я█я┌п╬ п╠п╦п╠п╩п╦п╬я┌п╣п╨п╦ apr, apr-util п╦ neon). п·п╢п╫п╟п╨п╬ п╫п╣п╨п╬я┌п╬я─я▀п╣ п╬п©я├п╦п╬п╫п╟п╩я▄п╫я▀п╣ я┤п╟я│я┌п╦ Subversion п╦п╪п╣я▌я┌ п╪п╫п╬пЁп╬ п╢я─я┐пЁп╦я┘ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╣п╧, я┌п╟п╨п╦я┘ п╨п╟п╨ Berkeley DB п╦ п╡п╬п╥п╪п╬п╤п╫п╬ Apache httpd. п∙я│п╩п╦ п╡я▀ я┘п╬я┌п╦я┌п╣ п╡я▀п©п╬п╩п╫п╦я┌я▄ п©п╬п╩п╫я┐я▌ я│п╠п╬я─п╨я┐, я┐п╠п╣п╢п╦я┌п╣я│я▄, я┤я┌п╬ я┐ п╡п╟я│ п╣я│я┌я▄ п╡я│п╣ п©п╟п╨п╣я┌я▀, я┐п╨п╟п╥п╟п╫п╫я▀п╣ п╡ я└п╟п╧п╩п╣ INSTALL.

п∙я│п╩п╦ п╡я▀ п╬п╢п╦п╫ п╦п╥ я┌п╣я┘, п╨я┌п╬ п©я─п╣п╢п©п╬я┤п╦я┌п╟п╣я┌ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╪п╟п╨я│п╦п╪п╟п╩я▄п╫п╬ я│п╬п╡я─п╣п╪п╣п╫п╫п╬п╣ п©я─п╬пЁя─п╟п╪п╫п╬п╣ п╬п╠п╣я│п©п╣я┤п╣п╫п╦п╣, п╡я▀ п╪п╬п╤п╣я┌п╣ п©п╬п╩я┐я┤п╦я┌я▄ п╦я│я┘п╬п╢п╫п╦п╨п╦ Subversion п©я─я▐п╪п╬ п╦п╥ я─п╣п©п╬п╥п╦я┌п╬я─п╦я▐ Subversion. п║п╟п╪п╬ я│п╬п╠п╬п╧, я┤я┌п╬п╠я▀ я│п╢п╣п╩п╟я┌я▄ я█я┌п╬, п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ я┤я┌п╬п╠я▀ я┐ п╡п╟я│ я┐п╤п╣ п╠я▀п╩ п╨п╩п╦п╣п╫я┌ Subversion. п≈п╟я┌п╣п╪ п╡я▀ п╪п╬п╤п╣я┌п╣ я│п╬п╥п╢п╟я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ я─п╣п©п╬п╥п╦я┌п╬я─п╦я▐ п╦я│я┘п╬п╢п╫п╬пЁп╬ п╨п╬п╢п╟ Subversion п╦п╥ http://svn.collab.net/repos/svn/trunk/: [58]

$ svn checkout http://svn.collab.net/repos/svn/trunk subversion
A    subversion/HACKING
A    subversion/INSTALL
A    subversion/README
A    subversion/autogen.sh
A    subversion/build.conf
Б─╕

п÷я─п╦п╡п╣п╢п╣п╫п╫п╟я▐ п╡я▀я┬п╣ п╨п╬п╪п╟п╫п╢п╟ я│п╬п╥п╢п╟я│я┌ п©п╬я│п╩п╣п╢п╫я▌я▌ п╡п╣я─я│п╦я▌ п╦я│я┘п╬п╢п╫п╬пЁп╬ п╨п╬п╢п╟ Subversion п╡ п©п╬п╢п╢п╦я─п╣п╨я┌п╬я─п╦п╦ subversion п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╢п╦я─п╣п╨я┌п╬я─п╦п╦. п·я┤п╣п╡п╦п╢п╫п╬, п╡я▀ п╪п╬п╤п╣я┌п╣ я│п╨п╬я─я─п╣п╨я┌п╦я─п╬п╡п╟я┌я▄ п©п╬я│п╩п╣п╢п╫п╦п╧ п╟я─пЁя┐п╪п╣п╫я┌ я┌п╟п╨ п╨п╟п╨ п╡п╟п╪ п╫я┐п╤п╫п╬. п╔п╬я┌я▐ п╫п╣п╥п╟п╡п╦я│п╦п╪п╬ п╬я┌ я┌п╬пЁп╬ п╨п╟п╨ п╡я▀ п╫п╟п╥п╬п╡п╣я┌п╣ п╢п╦я─п╣п╨я┌п╬я─п╦я▌ я│ п╫п╬п╡п╬п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╣п╧, п©п╬я│п╩п╣ я┌п╬пЁп╬ п╨п╟п╨ я█я┌п╟ п╬п©п╣я─п╟я├п╦я▐ п╥п╟п╡п╣я─я┬п╦я┌я│я▐, я┐ п╡п╟я│ п╠я┐п╢я┐я┌ п╦я│я┘п╬п╢п╦п╨п╦ Subversion. п п╬п╫п╣я┤п╫п╬, п╡п╟п╪ п╡я│п╣ п╣я┴п╣ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п©п╬п╩я┐я┤п╦я┌я▄ п╫п╣я│п╨п╬п╩я▄п╨п╬ п╡я│п©п╬п╪п╬пЁп╟я┌п╣п╩я▄п╫я▀я┘ п╠п╦п╠п╩п╦п╬я┌п╣п╨ (apr, apr-util, п╦ я┌п╟п╨ п╢п╟п╩п╣п╣.) Б─■п╖я┌п╬п╠я▀ я┐п╥п╫п╟я┌я▄ п╢п╣я┌п╟п╩п╦, п╬п╠я─п╟я┌п╦я┌п╣я│я▄ п╨ я└п╟п╧п╩я┐ INSTALL п╨п╟я┌п╟п╩п╬пЁп╣ п╡п╣я─я┘п╫п╣пЁп╬ я┐я─п╬п╡п╫я▐ п╡п╟я┬п╣п╧ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦.

п▒я▀я│я┌я─я▀п╧ я│я┌п╟я─я┌ п╡ Subversion

б╚п÷п╬п╤п╟п╩я┐п╧я│я┌п╟, я┐п╢п╬я│я┌п╬п╡п╣я─я▄я┌п╣я│я▄ я┤я┌п╬ п╡п╟я┬п╦ п©п╬я│п╟п╢п╬я┤п╫я▀п╣ п╪п╣я│я┌п╟ п╫п╟я┘п╬п╢я▐я┌я│я▐ п╡ п╡п╣я─я┌п╨п╟п╩я▄п╫п╬п╪ п©п╬п╩п╬п╤п╣п╫п╦п╦, п╟ п╡п╟я┬п╦ я│я┌п╬п╩п╦п╨п╦ п╥п╟п╨я─п╣п©п╩п╣п╫я▀. п▒п╬я─я┌п©я─п╬п╡п╬п╢п╫п╦п╨п╟п╪ п©я─п╦пЁп╬я┌п╬п╡п╦я┌я▄я│я▐ п╨ п╡п╥п╩п╣я┌я┐.Б─╕.б╩

п╜я┌п╬ п╬я┤п╣п╫я▄ п©п╬п╡п╣я─я┘п╫п╬я│я┌п╫п╬п╣ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬, п╨п╬я┌п╬я─п╬п╣ п©п╬п╨п╟п╤п╣я┌ п╡п╟п╪ п╬я│п╫п╬п╡я▀ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦ п╦ я─п╟п╠п╬я┌я▀ я│ Subversion. п  я┌п╬п╪я┐ п╡я─п╣п╪п╣п╫п╦ п╨п╟п╨ п╡я▀ п╥п╟п╨п╬п╫я┤п╦я┌п╣ я┤п╦я┌п╟я┌я▄ я█я┌п╬ я─я┐п╨п╬п╡п╬п╢я│я┌п╡п╬, я┐ п╡п╟я│ п╢п╬п╩п╤п╫п╬ п╠я▀я┌я▄ п©п╬п╫п╦п╪п╟п╫п╦п╣ я┌п╦п©п╦я┤п╫п╬пЁп╬ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦я▐ Subversion.

[п≈п╟п╪п╣я┤п╟п╫п╦п╣]п≈п╟п╪п╣я┤п╟п╫п╦п╣

п÷я─п╦п╪п╣я─я▀, п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╣ п╡ я█я┌п╬п╪ п©я─п╦п╩п╬п╤п╣п╫п╦п╦ п©я─п╣п╢п©п╬п╩п╟пЁп╟я▌я┌ п╫п╟п╩п╦я┤п╦п╣ я┐ п╡п╟я│ я─п╟п╠п╬я┌п╟я▌я┴п╦я┘ Subversion п╨п╩п╦п╣п╫я┌п╟ п╢п╩я▐ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦ svn п╦ п╦п╫я│я┌я─я┐п╪п╣п╫я┌п╟ п╟п╢п╪п╦п╫п╦я│я┌я─п╦я─п╬п╡п╟п╫п╦я▐ svnadmin. п я─п╬п╪п╣ я█я┌п╬пЁп╬ п╬п╫ я─п╟я│я│я┤п╦я┌п╟п╫ п╫п╟ я┌п╬, я┤я┌п╬ п╡я▀ п╦я│п©п╬п╩я▄п╥я┐п╣я┌п╣ Subversion п╡п╣я─я│п╦п╦ 1.2 п╦п╩п╦ п╠п╬п╩п╣п╣ п©п╬п╥п╢п╫п╣п╧ (п╢п╩я▐ я┌п╬пЁп╬, я┤я┌п╬п╠я▀ я█я┌п╬ п©я─п╬п╡п╣я─п╦я┌я▄, п╡я▀п©п╬п╩п╫п╦я┌п╣ svn --version).

Subversion я┘я─п╟п╫п╦я┌ п╡я│я▌ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╡ я├п╣п╫я┌я─п╟п╩я▄п╫п╬п╪ я┘я─п╟п╫п╦п╩п╦я┴п╣. п■п╩я▐ п╫п╟я┤п╟п╩п╟, я│п╬п╥п╢п╟п╢п╦п╪ п╫п╬п╡п╬п╣ я┘я─п╟п╫п╦п╩п╦я┴п╣:

$ svnadmin create /path/to/repos
$ ls /path/to/repos
conf/  dav/  db/  format  hooks/  locks/  README.txt

п╜я┌п╟ п╨п╬п╪п╟п╫п╢п╟ я│п╬п╥п╢п╟п╣я┌ п╫п╬п╡я┐я▌ п╢п╦я─п╣п╨я┌п╬я─п╦я▌ /path/to/repos я│п╬п╢п╣я─п╤п╟я┴я┐я▌ Subversion я┘я─п╟п╫п╦п╩п╦я┴п╣. пёп╠п╣п╢п╦я┌п╣я│я▄, я┤я┌п╬ я█я┌п╟ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ п╫п╟я┘п╬п╢п╦я┌я│я▐ п╫п╟ п╩п╬п╨п╟п╩я▄п╫п╬п╪ п╢п╦я│п╨п╣, п╫п╣ п╫п╟ я│п╣я┌п╣п╡п╬п╧ я┬п╟я─п╣. п÷я─п╣п╦п╪я┐я┴п╣я│я┌п╡п╣п╫п╫п╬ п╡ я█я┌п╟ п╫п╬п╡п╟я▐ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ (п╨я─п╬п╪п╣ п©я─п╬я┤п╣пЁп╬) я│п╬п╢п╣я─п╤п╦я┌ п╫п╟п╠п╬я─ я└п╟п╧п╩п╬п╡ п╠п╟п╥я▀ п╢п╟п╫п╫я▀я┘. п▓я▀ п╫п╣ я┐п╡п╦п╢п╦я┌п╣ я│п╡п╬п╦я┘ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀я┘ я└п╟п╧п╩п╬п╡ п╣я│п╩п╦ п╡я▀ п╥п╟пЁп╩я▐п╫п╦я┌п╣ п╡п╫я┐я┌я─я▄. п▒п╬п╩я▄я┬п╣ п╦п╫я└п╬я─п╪п╟я├п╦п╦ п╬ я│п╬п╥п╢п╟п╫п╦п╦ п╦ п©п╬п╢п╢п╣я─п╤п╨п╣ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╦я┴п╦я┌п╣ п╡ п⌠п╩п╟п╡п╟б═5, п░п╢п╪п╦п╫п╦я│я┌я─п╦я─п╬п╡п╟п╫п╦п╣ я┘я─п╟п╫п╦п╩п╦я┴п╟.

пё Subversion п╫п╣я┌ п©п╬п╫я▐я┌п╦я▐ б╚п©я─п╬п╣п╨я┌б╩. п╔я─п╟п╫п╦п╩п╦я┴п╣ я▐п╡п╩я▐п╣я┌я│я▐ п©я─п╬я│я┌п╬ п╡п╦я─я┌я┐п╟п╩я▄п╫п╬п╧ п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫п╬п╧ я└п╟п╧п╩п╬п╡п╬п╧ я│п╦я│я┌п╣п╪п╬п╧, п╠п╬п╩я▄я┬п╬п╣ п╢п╣я─п╣п╡п╬ я└п╟п╧п╩п╬п╡, п╨п╬я┌п╬я─п╬п╣ п╪п╬п╤п╣я┌ я│п╬п╢п╣я─п╤п╟я┌я▄ п╡я│п╣, я┤я┌п╬ я┐пЁп╬п╢п╫п╬. п·п╢п╫п╦ п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╬я─я▀ п©я─п╣п╢п©п╬я┤п╦я┌п╟я▌я┌ п╢п╣я─п╤п╟я┌я▄ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ я┌п╬п╩я▄п╨п╬ п╬п╢п╦п╫ п©я─п╬п╣п╨я┌, п╢я─я┐пЁп╦п╣ п╢п╣я─п╤п╟я┌я▄ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╪п╫п╬п╤п╣я│я┌п╡п╬ п©я─п╬п╣п╨я┌п╬п╡, я─п╟п╥п╪п╣я┴п╟я▐ п╦я┘ п╡ п╬я┌п╢п╣п╩я▄п╫я▀я┘ п╢п╦я─п╣п╨я┌п╬я─п╦я▐я┘. п■п╬я│я┌п╬п╦п╫я│я┌п╡п╟ п╨п╟п╤п╢п╬пЁп╬ п╦п╥ п©п╬п╢я┘п╬п╢п╬п╡ я─п╟я│я│п╪п╬я┌я─п╣п╫я▀ п╡ б╚Choosing a Repository Layoutб╩. п▓ п╩я▌п╠п╬п╪ я│п╩я┐я┤п╟п╣, я┘я─п╟п╫п╦п╩п╦я┴п╣ я┐п©я─п╟п╡п╩я▐п╣я┌ я┌п╬п╩я▄п╨п╬ я└п╟п╧п╩п╟п╪п╦ п╦ п╢п╦я─п╣п╨я┌п╬я─п╦я▐п╪п╦, п╬я│я┌п╟п╡п╩я▐я▐ п╥п╟ я┤п╣п╩п╬п╡п╣п╨п╬п╪ п©я─п╟п╡п╬ п╦п╫я┌п╣я─п©я─п╣я┌п╦я─п╬п╡п╟я┌я▄ п╬я┌п╢п╣п╩я▄п╫я▀п╣ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ п╨п╟п╨ б╚п©я─п╬п╣п╨я┌я▀б╩. п÷п╬я█я┌п╬п╪я┐, п╣я│п╩п╦ п╡ я┌п╣п╨я│я┌п╣ п╨п╫п╦пЁп╦ п╡я▀ п╡я│я┌я─п╣я┌п╦я┌п╣ я┐п©п╬п╪п╦п╫п╟п╫п╦п╣ п©я─п╬п╣п╨я┌п╟, п©п╬п╪п╫п╦я┌п╣, я┤я┌п╬ п╦п╪п╣п╣я┌я│я▐ п╡ п╡п╦п╢я┐ п©я─п╬я│я┌п╬ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ (п╦п╩п╦ п╫п╣я│п╨п╬п╩я▄п╨п╬ п╢п╦я─п╣п╨я┌п╬я─п╦п╧) я┘я─п╟п╫п╦п╩п╦я┴п╟.

п▓ я█я┌п╬п╪ п©я─п╦п╪п╣я─п╣ п╪я▀ п©п╬п╢я─п╟п╥я┐п╪п╣п╡п╟п╣п╪ п╫п╟п╩п╦я┤п╦п╣ я┐ п╡п╟я│ п╨п╟п╨п╬пЁп╬ я┌п╬ п©я─п╬п╣п╨я┌п╟ (п╫п╟п╠п╬я─п╟ я└п╟п╧п╩п╬п╡ п╦п╩п╦ п╢п╦я─п╣п╨я┌п╬я─п╦п╧), п╨п╬я┌п╬я─я▀п╧ п╡я▀ я┘п╬я┌п╦я┌п╣ п╦п╪п©п╬я─я┌п╦я─п╬п╡п╟я┌я▄ п╡ я┌п╬п╩я▄п╨п╬ я┤я┌п╬ я│п╬п╥п╢п╟п╫п╫п╬п╣ Subversion я┘я─п╟п╫п╦п╩п╦я┴п╣. п²п╟я┤п╫п╦я┌п╣ я│ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦я▐ п╦я┘ п╡ п╬я┌п╢п╣п╩я▄п╫п╬п╧ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ п╫п╟п╥п╡п╟п╫п╬п╧ myproject (п╦п╩п╦ п╨п╟п╨-я┌п╬ п╦п╫п╟я┤п╣). п÷п╬ п©я─п╦я┤п╦п╫п╟п╪, п╨п╬я┌п╬я─я▀п╣ п╠я┐п╢я┐я┌ я▐я│п╫я▀ п©п╬п╥п╤п╣ (я│п╪. п⌠п╩п╟п╡п╟б═4, п▓п╣я┌п╡п╩п╣п╫п╦п╣ п╦ я│п╩п╦я▐п╫п╦п╣), п╡п╟я┬п╣ п╢п╣я─п╣п╡п╬ п©я─п╬п╣п╨я┌п╟ п╢п╬п╩п╤п╫п╬ я│п╬п╢п╣я─п╤п╟я┌я▄ я┌я─п╦ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ п╡п╣я─я┘п╫п╣пЁп╬ я┐я─п╬п╡п╫я▐ я│ п╫п╟п╥п╡п╟п╫п╦я▐п╪п╦ branches, tags п╦ trunk. п▓я│я▐ п╡п╟я┬п╟ п╦п╫я└п╬я─п╪п╟я├п╦я▐ п╢п╬п╩п╤п╫п╟ п╫п╟я┘п╬п╢п╦я┌я▄я│я▐ п╡ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ trunk, п╟ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ branches п╦ tags п╢п╬п╩п╤п╫я▀ п╠я▀я┌я▄ п©я┐я│я┌я▀п╪п╦:

/tmp/myproject/branches/
/tmp/myproject/tags/
/tmp/myproject/trunk/
                     foo.c
                     bar.c
                     Makefile
                     Б─╕

п≤я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п©п╬п╢п╢п╦я─п╣п╨я┌п╬я─п╦п╦ branches, tags п╦ trunk п╫п╣ п╬п╠я▐п╥п╟я┌п╣п╩я▄п╫п╬. п÷я─п╬я│я┌п╬ я┌п╟п╨п╬п╧ п©п╬п╢я┘п╬п╢ я┤п╟я┴п╣ п╡я│п╣пЁп╬ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ п╦ п╡п╣я─п╬я▐я┌п╫п╣п╣ п╡я│п╣пЁп╬ п╡ п╢п╟п╩я▄п╫п╣п╧я┬п╣п╪ п╡я▀ п╠я┐п╢п╣я┌п╣ п╦я│п©п╬п╩я▄п╥п╬п╡п╟я┌я▄ п╦п╪п╣п╫п╫п╬ п╣пЁп╬.

п п╟п╨ я┌п╬п╩я▄п╨п╬ п╡я▀ п©п╬п╩я┐я┤п╦я┌п╣ пЁп╬я┌п╬п╡п╬п╣ п╢п╣я─п╣п╡п╬ п╢п╟п╫п╫я▀я┘, п╦п╪п©п╬я─я┌п╦я─я┐п╧я┌п╣ п╣пЁп╬ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п©я─п╦ п©п╬п╪п╬я┴п╦ п╨п╬п╪п╟п╫п╢я▀ svn import (я│п╪. б╚svn importб╩):

$ svn import /tmp/myproject file:///path/to/repos/myproject -m "initial import"
Adding         /tmp/myproject/branches
Adding         /tmp/myproject/tags
Adding         /tmp/myproject/trunk
Adding         /tmp/myproject/trunk/foo.c
Adding         /tmp/myproject/trunk/bar.c
Adding         /tmp/myproject/trunk/Makefile
Б─╕
Committed revision 1.
$

п╒п╣п©п╣я─я▄ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╫п╟я┘п╬п╢п╦я┌я│я▐ я█я┌п╬ п╢п╣я─п╣п╡п╬ п╢п╟п╫п╫я▀я┘. п п╟п╨ п╠я▀п╩п╬ п╬я┌п╪п╣я┤п╣п╫п╬ я─п╟п╫п╣п╣, п╡я▀ п╫п╣ я┐п╡п╦п╢п╦я┌п╣ я│п╡п╬п╦я┘ я└п╟п╧п╩п╬п╡ п╣я│п╩п╦ п╥п╟пЁп╩я▐п╫п╦я┌п╣ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╫п╟п©я─я▐п╪я┐я▌; п╡я│п╣ я┘я─п╟п╫п╦я┌я│я▐ п╡ п╠п╟п╥п╣ п╢п╟п╫п╫я▀я┘. п·п╢п╫п╟п╨п╬ я│п╣п╧я┤п╟я│ п╡п╬п╬п╠я─п╟п╤п╟п╣п╪п╟я▐ я└п╟п╧п╩п╬п╡п╟я▐ я│п╦я│я┌п╣п╪я▀ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╦п╪п╣п╣я┌ п╢п╦я─п╣п╨я┌п╬я─п╦я▌ п╡п╣я─я┘п╫п╣пЁп╬ я┐я─п╬п╡п╫я▐ я│ п╫п╟п╥п╡п╟п╫п╦п╣п╪ myproject п╨п╬я┌п╬я─п╟я▐ я│п╬п╢п╣я─п╤п╦я┌ п╡п╟я┬я┐ п╦п╫я└п╬я─п╪п╟я├п╦я▌.

п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣ п╫п╟ я┌п╬, я┤я┌п╬ п©п╣я─п╡п╬п╫п╟я┤п╟п╩я▄п╫п╟я▐ п╢п╦я─п╣п╨я┌п╬я─п╦я▐ /tmp/project п╬я│я┌п╟п╣я┌я│я▐ п╠п╣п╥ п╦п╥п╪п╣п╫п╣п╫п╦п╧; Subversion п╬ п╫п╣п╧ п╫п╣ п╥п╫п╟п╣я┌. (п╓п╟п╨я┌п╦я┤п╣я│п╨п╦, п©я─п╦ п╤п╣п╩п╟п╫п╦п╦, п╡я▀ п╪п╬п╤п╣я┌п╣ п╢п╟п╤п╣ я┐п╢п╟п╩п╦я┌я▄ я█я┌п╬я┌ п╨п╟я┌п╟п╩п╬пЁ.) п╖я┌п╬п╠я▀ п╫п╟я┤п╟я┌я▄ я─п╟п╠п╬я┌п╟я┌я▄ я│ п╦п╫я└п╬я─п╪п╟я├п╦п╣п╧ я┘я─п╟п╫п╦п╩п╦я┴п╟ п╡п╟п╪ п╫я┐п╤п╫п╬ я│п╬п╥п╢п╟я┌я▄ п╫п╬п╡я┐я▌ б╚я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌б╩ п╦п╫я└п╬я─п╪п╟я├п╦п╦, я│п╡п╬п╣пЁп╬ я─п╬п╢п╟ я┤п╟я│я┌п╫п╬п╣ я─п╟п╠п╬я┤п╣п╣ п©я─п╬я│я┌я─п╟п╫я│я┌п╡п╬. п÷п╬п©я─п╬я│п╦я┌п╣ Subversion я│п╬п╥п╢п╟я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ myproject/trunk я┘я─п╟п╫п╦п╩п╦я┴п╟:

$ svn checkout file:///path/to/repos/myproject/trunk myproject
A  myproject/foo.c
A  myproject/bar.c
A  myproject/Makefile
Б─╕
Checked out revision 1.

п║п╣п╧я┤п╟я│ я┐ п╡п╟я│ п╡ п╫п╬п╡п╬п╧ п╢п╦я─п╣п╨я┌п╬я─п╦п╦ myproject п╣я│я┌я▄ п╩п╦я┤п╫п╟я▐ п╨п╬п©п╦я▐ я┤п╟я│я┌п╦ я┘я─п╟п╫п╦п╩п╦я┴п╟. п▓ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡я▀ п╪п╬п╤п╣я┌п╣ я─п╣п╢п╟п╨я┌п╦я─п╬п╡п╟я┌я▄ я└п╟п╧п╩я▀, п╟ п╥п╟я┌п╣п╪ п╥п╟я└п╦п╨я│п╦я─п╬п╡п╟я┌я▄ п╡п╫п╣я│п╣п╫п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣.

  • п·я┌п╨я─п╬п╧я┌п╣ я│п╡п╬я▌ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌ п╦ п╬я┌я─п╣п╢п╟п╨я┌п╦я─я┐п╧я┌п╣ я│п╬п╢п╣я─п╤п╦п╪п╬п╣ я└п╟п╧п╩п╬п╡.

  • п▓я▀п©п╬п╩п╫п╦я┌п╣ svn diff я┤я┌п╬п╠я▀ я┐п╡п╦п╢п╣я┌я▄ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╫я▀п╧ diff п╡п╫п╣я│п╣п╫п╫я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧.

  • п▓я▀п©п╬п╩п╫п╦я┌п╣ svn commit п╢п╩я▐ я└п╦п╨я│п╟я├п╦п╦ п╫п╬п╡п╬п╧ п╡п╣я─я│п╦п╦ п╡п╟я┬п╦я┘ я└п╟п╧п╩п╬п╡ п╡ я┘я─п╟п╫п╦п╩п╦я┴п╣.

  • п▓я▀п©п╬п╩п╫п╦я┌п╣ svn update п╢п╩я▐ п©я─п╦п╡п╣п╢п╣п╫п╦я▐ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦ п╡ б╚п╟п╨я┌я┐п╟п╩я▄п╫п╬п╣б╩ я│п╬я│я┌п╬я▐п╫п╦п╣ п©п╬ п╬я┌п╫п╬я┬п╣п╫п╦я▌ п╨ я┘я─п╟п╫п╦п╩п╦я┴я┐.

п■п╩я▐ п©п╬п╩я┐я┤п╣п╫п╦я▐ п©п╬п╩п╫п╬пЁп╬ я│п©п╦я│п╨п╟ п╡п╬п╥п╪п╬п╤п╫я▀я┘ п╢п╣п╧я│я┌п╡п╦п╧ я│ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╣п╧ п©я─п╬я┤я┌п╦я┌п╣ п⌠п╩п╟п╡п╟б═2, п╜п╨я│п╨я┐я─я│п╦я▐ п©п╬ Subversion.

п÷п╬я│п╩п╣ я█я┌п╬пЁп╬ п╡я▀ п╪п╬п╤п╣я┌п╣ я│п╢п╣п╩п╟я┌я▄ п╡п╟я┬п╣ я┘я─п╟п╫п╦п╩п╦я┴п╣ п╢п╬я│я┌я┐п©п╫я▀п╪ п╢п╩я▐ п╢я─я┐пЁп╦я┘ я┤п╣я─п╣п╥ я│п╣я┌я▄. п║п╪. п⌠п╩п╟п╡п╟б═6, п²п╟я│я┌я─п╬п╧п╨п╟ я│п╣я─п╡п╣я─п╟ п╢п╩я▐ п╥п╫п╟п╨п╬п╪я│я┌п╡п╟ я│ я─п╟п╥п╩п╦я┤п╫я▀п╪п╦ я┌п╦п©п╟п╪п╦ п╢п╬я│я┌я┐п©п╫я▀я┘ я│п╣я─п╡п╣я─п╫я▀я┘ п©я─п╬я├п╣я│я│п╬п╡ п╦ п╪п╣я┌п╬п╢п╟п╪п╦ п╦я┘ п╫п╟я│я┌я─п╬п╧п╨п╦.

### TODO: Let's make this into a full tutorial, rather than simply referring off to other sections. ###




[58] п·п╠я─п╟я┌п╦я┌п╣ п╡п╫п╦п╪п╟п╫п╦п╣, я┤я┌п╬ URL п╡ я┐п╨п╟п╥п╟п╫п╬п╪ п©я─п╦п╪п╣я─п╣ п╬п╨п╫я┤п╦п╡п╟п╣я┌я│я▐ п╫п╣ п╢п╦я─п╣п╨я┌п╬я─п╦п╣п╧ svn, п╟ п©п╬п╢п╢п╦я─п╣п╨я┌п╬я─п╦п╣п╧ trunk. п║п╪п╬я┌я─п╦я┌п╣ п╬п╠я│я┐п╤п╢п╣п╫п╦п╣ п╪п╬п╢п╣п╩п╦ п╡п╣я┌п╡п╩п╣п╫п╦я▐ п╦ п╪п╣я┌п╬п╨ Subversion, п╢п╩я▐ п╡я▀я▐я│п╫п╣п╫п╦я▐ п©я─п╦я┤п╦п╫ я█я┌п╬пЁп╬.

п÷я─п╦п╩п╬п╤п╣п╫п╦п╣ B. Subversion п╢п╩я▐ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╣п╧ CVS

This appendix is a guide for CVS users new to Subversion. It's essentially a list of differences between the two systems as б╚viewed from 10,000 feetб╩. For each section, we provide backreferences to relevant chapters when possible.

Although the goal of Subversion is to take over the current and future CVS user base, some new features and design changes were required to fix certain б╚brokenб╩ behaviors that CVS had. This means that, as a CVS user, you may need to break habitsБ─■ones that you forgot were odd to begin with.

Revision Numbers Are Different Now

In CVS, revision numbers are per-file. This is because CVS stores its data in RCS files; each file has a corresponding RCS file in the repository, and the repository is roughly laid out according to the structure of your project tree.

In Subversion, the repository looks like a single filesystem. Each commit results in an entirely new filesystem tree; in essence, the repository is an array of trees. Each of these trees is labeled with a single revision number. When someone talks about б╚revision 54б╩, they're talking about a particular tree (and indirectly, the way the filesystem looked after the 54th commit).

Technically, it's not valid to talk about б╚revision 5 of foo.cб╩. Instead, one would say б╚foo.c as it appears in revision 5б╩. Also, be careful when making assumptions about the evolution of a file. In CVS, revisions 5 and 6 of foo.c are always different. In Subversion, it's most likely that foo.c did not change between revisions 5 and 6.

For more details on this topic, see б╚п÷я─п╟п╡п╨п╦б╩.

Directory Versions

Subversion tracks tree structures, not just file contents. It's one of the biggest reasons Subversion was written to replace CVS.

Here's what this means to you, as a former CVS user:

  • The svn add and svn delete commands work on directories now, just as they work on files. So do svn copy and svn move. However, these commands do not cause any kind of immediate change in the repository. Instead, the working items are simply б╚scheduledб╩ for addition or deletion. No repository changes happen until you run svn commit.

  • Directories aren't dumb containers anymore; they have revision numbers like files. (Or more properly, it's correct to talk about б╚directory foo/ in revision 5б╩.)

Let's talk more about that last point. Directory versioning is a hard problem; because we want to allow mixed-revision working copies, there are some limitations on how far we can abuse this model.

From a theoretical point of view, we define б╚revision 5 of directory fooб╩ to mean a specific collection of directory-entries and properties. Now suppose we start adding and removing files from foo, and then commit. It would be a lie to say that we still have revision 5 of foo. However, if we bumped foo's revision number after the commit, that would be a lie too; there may be other changes to foo we haven't yet received, because we haven't updated yet.

Subversion deals with this problem by quietly tracking committed adds and deletes in the .svn area. When you eventually run svn update, all accounts are settled with the repository, and the directory's new revision number is set correctly. Therefore, only after an update is it truly safe to say that you have a б╚perfectб╩ revision of a directory. Most of the time, your working copy will contain б╚imperfectб╩ directory revisions.

Similarly, a problem arises if you attempt to commit property changes on a directory. Normally, the commit would bump the working directory's local revision number. But again, that would be a lie, because there may be adds or deletes that the directory doesn't yet have, because no update has happened. Therefore, you are not allowed to commit property-changes on a directory unless the directory is up-to-date.

For more discussion about the limitations of directory versioning, see б╚п║п╪п╣я┬п╦п╡п╟п╫п╦п╣ п©я─п╟п╡п╬п╨ п╡ я─п╟п╠п╬я┤п╦я┘ п╨п╬п©п╦я▐я┘б╩.

More Disconnected Operations

In recent years, disk space has become outrageously cheap and abundant, but network bandwidth has not. Therefore, the Subversion working copy has been optimized around the scarcer resource.

The .svn administrative directory serves the same purpose as the CVS directory, except that it also stores read-only, б╚pristineб╩ copies of your files. This allows you to do many things off-line:

svn status

Shows you any local changes you've made (see б╚svn statusб╩)

svn diff

Shows you the details of your changes (see б╚svn diffб╩)

svn revert

Removes your local changes (see б╚svn revertб╩)

Also, the cached pristine files allow the Subversion client to send differences when committing, which CVS cannot do.

The last subcommand in the list is new; it will not only remove local changes, but it will un-schedule operations such as adds and deletes. It's the preferred way to revert a file; running rm file; svn update will still work, but it blurs the purpose of updating. And, while we're on this subjectБ─╕

Distinction Between Status and Update

In Subversion, we've tried to erase a lot of the confusion between the cvs status and cvs update commands.

The cvs status command has two purposes: first, to show the user any local modifications in the working copy, and second, to show the user which files are out-of-date. Unfortunately, because of CVS's hard-to-read status output, many CVS users don't take advantage of this command at all. Instead, they've developed a habit of running cvs update or cvs -n update to quickly see their changes. If users forget to use the -n option, this has the side effect of merging repository changes they may not be ready to deal with.

With Subversion, we've tried to remove this muddle by making the output of svn status easy to read for both humans and parsers. Also, svn update only prints information about files that are updated, not local modifications.

Status

svn status prints all files that have local modifications. By default, the repository is not contacted. While this subcommand accepts a fair number of options, the following are the most commonly used ones:

-u

Contact the repository to determine, and then display, out-of-dateness information.

-v

Show all entries under version control.

-N

Run non-recursively (do not descend into subdirectories).

The status command has two output formats. In the default б╚shortб╩ format, local modifications look like this:

$ svn status
M      foo.c
M      bar/baz.c

If you specify the --show-updates (-u) switch, a longer output format is used:

$ svn status -u
M            1047   foo.c
       *     1045   faces.html
       *            bloo.png
M            1050   bar/baz.c
Status against revision:   1066

In this case, two new columns appear. The second column contains an asterisk if the file or directory is out-of-date. The third column shows the working-copy's revision number of the item. In the example above, the asterisk indicates that faces.html would be patched if we updated, and that bloo.png is a newly added file in the repository. (The absence of any revision number next to bloo.png means that it doesn't yet exist in the working copy.)

Lastly, here's a quick summary of the most common status codes that you may see:

A    Resource is scheduled for Addition
D    Resource is scheduled for Deletion
M    Resource has local Modifications
C    Resource has Conflicts (changes have not been completely merged
       between the repository and working copy version)
X    Resource is eXternal to this working copy (may come from another
       repository).  See б╚п▓п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦б╩
?    Resource is not under version control
!    Resource is missing or incomplete (removed by another tool than
       Subversion)

For a more detailed discussion of svn status, see б╚svn statusб╩.

Update

svn update updates your working copy, and only prints information about files that it updates.

Subversion has combined the CVS P and U codes into just U. When a merge or conflict occurs, Subversion simply prints G or C, rather than a whole sentence about it.

For a more detailed discussion of svn update, see б╚п·п╠п╫п╬п╡п╩п╣п╫п╦п╣ я─п╟п╠п╬я┤п╣п╧ п╨п╬п©п╦п╦б╩.

Branches and Tags

Subversion doesn't distinguish between filesystem space and б╚branchб╩ space; branches and tags are ordinary directories within the filesystem. This is probably the single biggest mental hurdle a CVS user will need to climb. Read all about it in п⌠п╩п╟п╡п╟б═4, п▓п╣я┌п╡п╩п╣п╫п╦п╣ п╦ я│п╩п╦я▐п╫п╦п╣.

[п▓п╫п╦п╪п╟п╫п╦п╣]п▓п╫п╦п╪п╟п╫п╦п╣

Since Subversion treats branches and tags as ordinary directories, always remember to check out the trunk (http://svn.example.com/repos/calc/trunk/) of your project, and not the project itself (http://svn.example.com/repos/calc/). If you make the mistake of checking out the project itself, you'll wind up with a working copy that contains a copy of your project for every branch and tag you have.[59]

Metadata Properties

A new feature of Subversion is that you can attach arbitrary metadata (or б╚propertiesб╩) to files and directories. Properties are arbitrary name/value pairs associated with files and directories in your working copy.

To set or get a property name, use the svn propset and svn propget subcommands. To list all properties on an object, use svn proplist.

For more information, see б╚п║п╡п╬п╧я│я┌п╡п╟б╩.

Conflict Resolution

CVS marks conflicts with in-line б╚conflict markersб╩, and prints a C during an update. Historically, this has caused problems, because CVS isn't doing enough. Many users forget about (or don't see) the C after it whizzes by on their terminal. They often forget that the conflict-markers are even present, and then accidentally commit files containing conflict-markers.

Subversion solves this problem by making conflicts more tangible. It remembers that a file is in a state of conflict, and won't allow you to commit your changes until you run svn resolved. See б╚п═п╟п╥я─п╣я┬п╣п╫п╦п╣ п╨п╬п╫я└п╩п╦п╨я┌п╬п╡ (п©я─п╦ я│п╩п╦я▐п╫п╦п╦ я│ я┤я┐п╤п╦п╪п╦ п╦п╥п╪п╣п╫п╣п╫п╦я▐п╪п╦)б╩ for more details.

Binary Files and Translation

In the most general sense, Subversion handles binary files more gracefully than CVS does. Because CVS uses RCS, it can only store successive full copies of a changing binary file. Subversion, however, expresses differences between files using a binary-differencing algorithm, regardless of whether they contain textual or binary data. That means that all files are stored differentially (compressed) in the repository.

CVS users have to mark binary files with -kb flags, to prevent data from being garbled (due to keyword expansion and line-ending translations). They sometimes forget to do this.

Subversion takes the more paranoid routeБ─■first, it never performs any kind of keyword or line-ending translation unless you explicitly ask it do so (see б╚п÷п╬п╢я│я┌п╟п╫п╬п╡п╨п╟ п╨п╩я▌я┤п╣п╡я▀я┘ я│п╩п╬п╡б╩ and б╚п║п╦п╪п╡п╬п╩я▀ п╨п╬п╫я├п╟ я│я┌я─п╬п╨п╦б╩ for more details). By default, Subversion treats all file data as literal byte strings, and files are always stored in the repository in an untranslated state.

Second, Subversion maintains an internal notion of whether a file is б╚textб╩ or б╚binaryб╩ data, but this notion is only extant in the working copy. During an svn update, Subversion will perform contextual merges on locally modified text files, but will not attempt to do so for binary files.

To determine whether a contextual merge is possible, Subversion examines the svn:mime-type property. If the file has no svn:mime-type property, or has a mime-type that is textual (e.g. text/*), Subversion assumes it is text. Otherwise, Subversion assumes the file is binary. Subversion also helps users by running a binary-detection algorithm in the svn import and svn add commands. These commands will make a good guess and then (possibly) set a binary svn:mime-type property on the file being added. (If Subversion guesses wrong, the user can always remove or hand-edit the property.)

Versioned Modules

Unlike CVS, a Subversion working copy is aware that it has checked out a module. That means that if somebody changes the definition of a module (e.g. adds or removes components), then a call to svn update will update the working copy appropriately, adding and removing components.

Subversion defines modules as a list of directories within a directory property: see б╚п▓п╫п╣я┬п╫п╦п╣ п╥п╟п╡п╦я│п╦п╪п╬я│я┌п╦б╩.

Authentication

With CVS's pserver, you are required to б╚loginб╩ to the server before any read or write operationБ─■you even have to login for anonymous operations. With a Subversion repository using Apache httpd or svnserve as the server, you don't provide any authentication credentials at the outsetБ─■if an operation that you perform requires authentication, the server will challenge you for your credentials (whether those credentials are username and password, a client certificate, or even both). So if your repository is world-readable, you will not be required to authenticate at all for read operations.

As with CVS, Subversion still caches your credentials on disk (in your ~/.subversion/auth/ directory) unless you tell it not to by using the --no-auth-cache switch.

The exception to this behavior, however, is in the case of accessing an svnserve server over an SSH tunnel, using the svn+ssh:// URL schema. In that case, the ssh program unconditionally demands authentication just to start the tunnel.

Converting a Repository from CVS to Subversion

Perhaps the most important way to familiarize CVS users with Subversion is to let them continue to work on their projects using the new system. And while that can be somewhat accomplished using a flat import into a Subversion repository of an exported CVS repository, the more thorough solution involves transferring not just the latest snapshot of their data, but all the history behind it as well, from one system to another. This is an extremely difficult problem to solve that involves deducing changesets in the absence of atomicity, and translating between the systems' completely orthogonal branching policies, among other complications. Still, there are a handful of tools claiming to at least partially support the ability to convert existing CVS repositories into Subversion ones.

One such tool is cvs2svn (http://cvs2svn.tigris.org/), a Python script originally created by members of Subversion's own development community. Others include Lev Serebryakov's RefineCVS (http://lev.serebryakov.spb.ru/refinecvs/). These tools have various levels of completeness, and may make entirely different decisions about how to handle your CVS repository history. Whichever tool you decide to use, be sure to perform as much verification as you can stand on the conversion resultsБ─■after all, you've worked hard to build that history!

For an updated collection of links to known converter tools, visit the Links page of the Subversion website (http://subversion.tigris.org/project_links.html).




[59] That is, providing you don't run out of disk space before your checkout finishes.

п÷я─п╦п╩п╬п╤п╣п╫п╦п╣ C. WebDAV п╦ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╬п╣ я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦

WebDAV is an extension to HTTP, and is growing more and more popular as a standard for file-sharing. Today's operating systems are becoming extremely Web-aware, and many now have built-in support for mounting б╚sharesб╩ exported by WebDAV servers.

If you use Apache/mod_dav_svn as your Subversion network server, then to some extent, you are also running a WebDAV server. This appendix gives some background on the nature of this protocol, how Subversion uses it, and how well Subversion interoperates with other software that is WebDAV-aware.

Basic WebDAV Concepts

This section provides a very brief, very general overview to the ideas behind WebDAV. It should lay the foundation for understanding WebDAV compatibility issues between clients and servers.

Original WebDAV

RFC 2518 defines a set of concepts and accompanying extension methods to HTTP 1.1 that make the web into a more universal read/write medium. The basic idea is that a WebDAV-compliant web server can act like a generic file server; clients can mount shared folders that behave much like NFS or SMB filesystems.

The tragedy, though, is that the RFC 2518 WebDAV specification does not provide any sort of model for version control, despite the б╚Vб╩ in DAV. Basic WebDAV clients and servers assume only one version of each file or directory exists, and can be repeatedly overwritten.

Here are the concepts and terms introduced in basic WebDAV:

Resources

WebDAV lingo refers to any server-side object (that can be described with a URI) as a resource.

New write methods

Beyond the standard HTTP PUT method (which creates or overwrites a web resource), WebDAV defines new COPY and MOVE methods for duplicating or rearranging resources.

Collections

A collection is the WebDAV term for a grouping of resources. In most cases, it is analogous to a directory. Whereas file resources can be written or created with a PUT method, collection resources are created with the new MKCOL method.

Properties

This is the same idea present in SubversionБ─■metadata attached to files and collections. A client can list or retrieve properties attached to a resource with the new PROPFIND method, and can change them with the PROPPATCH method. Some properties are wholly created and controlled by users (e.g. a property called б╚colorб╩), and others are wholly created and controlled by the WebDAV server (e.g. a property that contains the last modification time of a file). The former kind are called dead properties, and the latter kind are called live properties.

Locking

A WebDAV server may decide to offer a locking feature to clientsБ─■this part of the specification is optional, although most WebDAV servers do offer the feature. If present, then clients can use the new LOCK and UNLOCK methods to mediate access to a resource. In most cases these methods are used to create exclusive write locks (as discussed in б╚п°п╬п╢п╣п╩я▄ п▒п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣-п≤п╥п╪п╣п╫п╣п╫п╦п╣-п═п╟п╥п╠п╩п╬п╨п╦я─п╬п╡п╟п╫п╦п╣б╩), although shared write locks are also possible in some server implementations.

Access control

A more recent specification (RFC 3744) defines a system for defining access control lists (ACLs) on WebDAV resources. Some clients and servers have begun to implement this feature.

DeltaV Extensions

Because RFC 2518 left out versioning concepts, another committee was left with the responsibility of writing RFC 3253, which adds versioning to WebDAV, a.k.a. б╚DeltaVб╩. WebDAV/DeltaV clients and servers are often called just б╚DeltaVб╩ programs, since DeltaV implies the existence of basic WebDAV.

DeltaV introduces a whole slew of new acronyms, but don't be intimidated. The ideas are fairly straightforward:

Per-resource versioning

Like CVS and other version-control systems, DeltaV assumes that each resource has a potentially infinite number of states. A client begins by placing a resource under version control using the new VERSION-CONTROL method.

Server-side working-copy model

Some DeltaV servers support the ability to create a virtual workspace on the server, where all of your work is performed. Clients use the MKWORKSPACE method to create a private area, then indicate they want to change specific resources by б╚checking them outб╩ into the workspace, editing them, and б╚checking them inб╩ again. In HTTP terms, the sequence of methods would be CHECKOUT, PUT, CHECKIN.

Client-side working-copy model

Some DeltaV servers also support the idea that the client may have a private working copy on local disk. When the client wants to commit changes to the server, it begins by creating a temporary server transaction (called an activity) with the MKACTIVITY method. The client then performs a CHECKOUT on each resource it wishes to change and sends PUT requests. Finally, the client performs a CHECKIN resource, or sends a MERGE request to check in all resources at once.

Configurations

DeltaV allows you define flexible collections of resources called б╚configurationsб╩, which don't necessarily correspond to particular directories. A configuration can be made to point to specific versions of files, and then a б╚baselineб╩ snapshot can be made, much like a tag.

Extensibility

DeltaV defines a new method, REPORT, which allows the client and server to perform customized data exchanges. While DeltaV defines a number of standardized history reports that a client can request, the server is also free to define custom reports. The client sends a REPORT request with a properly-labeled XML body full of custom data; assuming the server understands the specific report-type, it responds with an equally custom XML body. This technique is very similar to XML-RPC.

Subversion and DeltaV

The original WebDAV standard has been widely successful. Every modern computer operating system has a general WebDAV client built-in (details to follow), and a number of popular standalone applications are also able to speak WebDAV Б─■ Microsoft Office, Dreamweaver, and Photoshop to name a few. On the server end, the Apache webserver has been able to provide WebDAV services since 1998 and is considered the de-facto open-source standard. There are several other commercial WebDAV servers available, including Microsoft's own IIS.

DeltaV, unfortunately, has not been so successful. It's very difficult to find any DeltaV clients or servers. The few that do exist are relatively unknown commercial products, and thus it's very difficult to test interoperability. It's not entirely clear as to why DeltaV has remained stagnant. Some argue that the specification is just too complex, others argue that while WebDAV's features have mass appeal (even the least technical users appreciate network file-sharing), version control features aren't interesting or necessary for most users. Finally, some have argued that DeltaV remains unpopular because there's still no open-source server product which implements it.

When Subversion was still in its design phase, it seemed like a great idea to use Apache httpd as the main network server. It already had a module to provide WebDAV services. DeltaV was a relatively new specification. The hope was that the Subversion server module (mod_dav_svn) would eventually evolve into an open-source DeltaV reference implementation. Unfortunately, DeltaV has a very specific versioning model that doesn't quite line up with Subversion's model. Some concepts were mappable, others were not.

The upshot is that

  1. The Subversion client is not a fully-implemented DeltaV client.

    The client needs certain things from the server that DeltaV cannot provide, and thus is largely dependent on a number of Subversion-specific REPORT requests that only mod_dav_svn understands.

  2. mod_dav_svn is not a fully-implemented DeltaV server.

    Many portions of the DeltaV specification were irrelevant to Subversion, and thus left unimplemented.

There is still some debate in the developer community as to whether or not it's worthwhile to remedy either of these situations. It's fairly unrealistic to change Subversion's design to match DeltaV, so there's probably no way the client can ever learn to get everything it needs from a general DeltaV server. On the other hand, mod_dav_svn could be further developed to implement all of DeltaV, but it's hard to find motivation to do soБ─■there are almost no DeltaV clients to interoperate with.

Autoversioning

While the Subversion client is not a full DeltaV client, nor the Subversion server a full DeltaV server, there's still a glimmer of WebDAV interoperability to be happy about: it's called autoversioning.

Autoversioning is an optional feature defined in the DeltaV standard. A typical DeltaV server will reject an ignorant WebDAV client attempting to do a PUT to a file that's under version control. To change a version-controlled file, the server expects a series proper versioning requests: something like MKACTIVITY, CHECKOUT, PUT, CHECKIN. But if the DeltaV server supports autoversioning, then write-requests from basic WebDAV clients are accepted. The server behaves as if the client had issued the proper series of versioning requests, performing a commit under the hood. In other words, it allows a DeltaV server to interoperate with ordinary WebDAV clients that don't understand versioning.

Because so many operating systems already have integrated WebDAV clients, the use case for this feature borders on fantastical: imagine an office of ordinary users running Microsoft Windows or Mac OS. Each user б╚mountsб╩ the Subversion repository, which appears to be an ordinary network folder. They use the shared folder as they always do: open files, edit them, save them. Meanwhile, the server is automatically versioning everything. Any administrator (or knowledgeable user) can still use a Subversion client to search history and retrieve older versions of data.

This scenario isn't fiction: it's real and it works, as of Subversion 1.2 and later. To activate autoversioning in mod_dav_svn, use the SVNAutoversioning directive within the httpd.conf Location block, like so:

<Location /repos>
  DAV svn
  SVNPath /path/to/repository
  SVNAutoversioning on
</Location>

When SVNAutoversioning is active, write requests from WebDAV clients result in automatic commits. A generic log message is auto-generated and attached to each revision.

Before activating this feature, however, understand what you're getting into. WebDAV clients tend to do many write requests, resulting in a huge number of automatically committed revisions. For example, when saving data, many clients will do a PUT of a 0-byte file (as a way of reserving a name) followed by another PUT with the real filedata. The single file-write results in two separate commits. Also consider that many applications auto-save every few minutes, resulting in even more commits.

If you have a post-commit hook program that sends email, you may want to disable email generation either altogether, or on certain sections of the repository; it depends on whether you think the influx of emails will still prove to be valuable notifications or not. Also, a smart post-commit hook program can distinguish between a transaction created via autoversioning and one created through a normal svn commit. The trick is to look for a revision property named svn:autoversioned. If present, the commit was made by a generic WebDAV client.

Another feature that may be a useful complement for SVNAutoversioning comes from Apache's mod_mime module. If a generic WebDAV client adds a new file to the repository, there's no opportunity for the user to set the the svn:mime-type property. This might cause the file to appear as б╚genericб╩ icon when viewed within a WebDAV shared folder, not having an association with any application. One remedy is to have a sysadmin (or other Subversion-knowledgable person) check out a working copy and manually set the svn:mime-type property on necessary files. But there's potentially no end to such cleanup tasks. Instead, you can use the ModMimeUsePathInfo directive in your Subversion <Location> block:

<Location /repos>
  DAV svn
  SVNPath /path/to/repository
  SVNAutoversioning on

  ModMimeUsePathInfo on

</Location>

This directive allows mod_mime to attempt automatic deduction of the mime-type on new files that enter the repository via autoversioning. The module looks at the file's named extension and possibly the contents as well; if the file matches some common patterns, then the the file's svn:mime-type property will be set automatically.

Client Interoperability

All WebDAV clients fall into one of three categoriesБ─■standalone applications, file-explorer extensions, or filesystem implementations. These categories broadly define the types of WebDAV functionality available to users. п╒п╟п╠п╩п╦я├п╟б═C.1, б╚Common WebDAV Clientsб╩ gives our categorization and a quick description of some common pieces of WebDAV-enabled software. More details about these software offerings, as well as their general category, can be found in the sections that follow.

п╒п╟п╠п╩п╦я├п╟ C.1. Common WebDAV Clients

SoftwareCategoryDescription
Adobe PhotoshopStandalone WebDAV applicationsImage editing software, allowing direct opening from, and writing to, WebDAV URLs
CadaverStandalone WebDAV applicationsCommand-line WebDAV client supporting file transfer, tree, and locking operations
DAV ExplorerStandalone WebDAV applicationsGUI tool for exploring WebDAV shares
davfs2WebDAV filesystem implementationLinux file system driver that allows you to mount a WebDAV share
GNOME NautilusFile-explorer WebDAV extensionsGUI file explorer able to perform tree operations on a WebDAV share
KDE KonquerorFile-explorer WebDAV extensionsGUI file explorer able to perform tree operations on a WebDAV share
Mac OS XWebDAV filesystem implementationOperating system with built-in support for mounting WebDAV shares locally
Macromedia DreamweaverStandalone WebDAV applicationsWeb production software able to directly read from and write to WebDAV URLs
Microsoft OfficeStandalone WebDAV applicationsOffice productivity suite with several components able to directly read from and write to WebDAV URLs
Microsoft Web FoldersFile-explorer WebDAV extensionsGUI file explorer program able to perform tree operations on a WebDAV share
Novell NetDriveWebDAV filesystem implementationDrive-mapping program for assigning Windows drive letters to a mounted remote WebDAV share
SRT WebDriveWebDAV filesystem implementationFile transfer software which, among other things, allows the assignment of Windows drive letters to a mounted remote WebDAV share


Standalone WebDAV applications

A WebDAV application is a program which contains built-in functionality for speaking WebDAV protocols with a WebDAV server. We'll cover some of the most popular programs with this kind of WebDAV support.

Microsoft Office, Dreamweaver, Photoshop

On Windows, there are several well-known applications that contain integrated WebDAV client functionality, such as Microsoft's Office, [60] Adobe's Photoshop, and Macromedia's Dreamweaver programs. They're able to directly open and save to URLs, and tend to make heavy use of WebDAV locks when editing a file.

Note that while many of these programs also exist for the Mac OS X, they do not appear to support WebDAV directly on that platform. In fact, on Mac OS X, the File->Open dialog box doesn't allow one to type a path or URL at all. It's likely that the WebDAV features were deliberately left out of Macintosh versions of these programs, since OS X already provides such excellent low-level filesystem support for WebDAV.

Cadaver, DAV Explorer

Cadaver is a bare-bones Unix commandline program for browsing and changing WebDAV shares. Like the Subversion client, it uses the neon HTTP libraryБ─■not surprisingly, both neon and cadaver are written by the same author. Cadaver is free software (GPL license) and is available at http://www.webdav.org/cadaver/.

Using cadaver is similar to using a commandline FTP program, and thus it's extremely useful for basic WebDAV debugging. It can be used to upload or download files in a pinch, and also to examine properties, copy, move, lock or unlock files:

$ cadaver http://host/repos
dav:/repos/> ls
Listing collection `/repos/': succeeded.
Coll: > foobar                                 0  May 10 16:19
      > playwright.el                       2864  May  4 16:18
      > proofbypoem.txt                     1461  May  5 15:09
      > westcoast.jpg                      66737  May  5 15:09

dav:/repos/> put README
Uploading README to `/repos/README':
Progress: [=============================>] 100.0% of 357 bytes succeeded.

dav:/repos/> get proofbypoem.txt
Downloading `/repos/proofbypoem.txt' to proofbypoem.txt:
Progress: [=============================>] 100.0% of 1461 bytes succeeded.

DAV Explorer is another standalone WebDAV client, written in Java. It's under a free Apache-like license and is available at http://www.ics.uci.edu/~webdav/. DAV Explorer does everything cadaver does, but has the advantages of being portable and being a more user-friendly GUI application. It's also one of the first clients to support the new WebDAV Access Control Protocol (RFC 3744).

Of course, DAV Explorer's ACL support is useless in this case, since mod_dav_svn doesn't support it. The fact that both Cadaver and DAV Explorer support some limited DeltaV commands isn't particularly useful either, since they don't allow MKACTIVITY requests. But it's not relevant anyway; we're assuming all of these clients are operating against an autoversioning repository.

File-explorer WebDAV extensions

Some popular file explorer GUI programs support WebDAV extensions which allow a user to browse a DAV share as if it was just another directory on the local computer, and allowing basic tree editing operations on the items in that share. For example, Windows Explorer is able to browse a WebDAV server as a б╚network placeб╩. Users can drag files to and from the desktop, or can rename, copy, or delete files in the usual way. But because it's only a feature of the file-explorer, the DAV share isn't visible to ordinary applications. All DAV interaction must happen through the explorer interface.

Microsoft Web Folders

Microsoft was one of the original backers of the WebDAV specification, and first started shipping a client in Windows 98, known as б╚Web Foldersб╩. This client was also shipped in Windows NT4 and 2000.

The original Web Folders client was an extension to Explorer, the main GUI program used to browse filesystems. It works well enough. In Windows 98, the feature might need to be explicitly installed if Web Folders aren't already visible inside б╚My Computerб╩. In Windows 2000, simply add a new б╚network placeб╩, enter the URL, and the WebDAV share will pop up for browsing.

With the release of Windows XP, Microsoft started shipping a new implementation of Web Folders, known as the б╚WebDAV mini-redirectorб╩. The new implementation is a filesystem-level client, allowing WebDAV shares to be mounted as drive letters. Unfortunately, this implementation is incredibly buggy. The client usually tries to convert http URLs (http://host/repos) into UNC share notation (\\host\repos); it also often tries to use Windows Domain authentication to respond to basic-auth HTTP challenges, sending usernames as HOST\username. These interoperability problems are severe and documented in numerous places around the web, to the frustration of many users. Even Greg Stein, the original author of Apache's WebDAV module, recommends against trying to use XP Web Folders against an Apache server.

It turns out that the original б╚Explorer-onlyб╩ Web Folders implementation isn't dead in XP, it's just buried. It's still possible to find it by using this technique:

  1. Go to 'Network Places'.

  2. Add a new network place.

  3. When prompted, enter the URL of the repository, but include a port number in the URL. For example, http://host/repos would be entered as http://host:80/repos instead.

  4. Respond to any authentication prompts.

There are a number of other rumored workarounds to the problems, but none of them seem to work on all versions and patchlevels of Windows XP. In our tests, only the previous algorithm seems to work consistently on every system. The general consensus of the WebDAV community is that you should avoid the new Web Folders implementation and use the old one instead, and that if you need a real filesystem-level client for Windows XP, then use a third-party program like WebDrive or NetDrive.

A final tip: if you're attempting to use XP Web Folders, make sure you have the absolute latest version from Microsoft. For example, Microsoft released a bug-fixed version in January 2005, available at http://support.microsoft.com/?kbid=892211. In particular, this release is known to fix a bug whereby browsing a DAV share shows an unexpected infinite recursion.

Nautilus, Konqueror

Nautilus is the official file manager/browser for the GNOME desktop (http://www.gnome.org), and Konqueror is the manager/browser for the KDE desktop (http://www.kde.org). Both of these applications have an explorer-level WebDAV client built-in, and operate just fine against an autoversioning repository.

In GNOME's Nautilus, from the File menu, select Open location and enter the URL. The repository should then be displayed like any other filesystem.

In KDE's Konqueror, you need to use the webdav:// scheme when entering the URL in the location bar. If you enter an http:// URL, Konqueror will behave like an ordinary web browser. You'll likely see the generic HTML directory listing produced by mod_dav_svn. By entering webdav://host/repos instead of http://host/repos, Konqueror becomes a WebDAV client and displays the repository as a filesystem.

WebDAV filesystem implementation

The WebDAV filesystem implementation is arguably the best sort of WebDAV client. It's implemented as a low-level filesystem module, typically within the operating system's kernel. This means that the DAV share is mounted like any other network filesystem, similar to mounting an NFS share on Unix, or attaching an SMB share as drive-letter in Windows. As a result, this sort of client provides completely transparent read/write WebDAV access to all programs. Applications aren't even aware that WebDAV requests are happening.

WebDrive, NetDrive

Both WebDrive and NetDrive are excellent commercial products which allow a WebDAV share to be attached as drive letters in Windows. We've had nothing but success with these products. At the time of writing, WebDrive can be purchased from South River Technologies (http://www.southrivertech.com). NetDrive ships with Netware, is free of charge, and can be found by searching the web for б╚netdrive.exeб╩. Though it is freely available online, users are required to have a Netware license. (If any of that sounds odd to you, you're not alone. See this page on Novell's website: http://www.novell.com/coolsolutions/qna/999.html)

Mac OS X

Apple's OS X operating system has an integrated filesystem-level WebDAV client. From the Finder, select the Connect to Server item from the Go menu. Enter a WebDAV URL, and it appears as a disk on the desktop, just like any other mounted volume. You can also mount a WebDAV share from the Darwin terminal by using the webdav filesystem type with the mount command:

$ mount -t webdav http://svn.example.com/repos/project /some/mountpoint
$

Note that if your mod_dav_svn is older than version 1.2, OS X will refuse to mount the share as read-write; it will appear as read-only. This is because OS X insists on locking support for read-write shares, and the ability to lock files first appeared in Subversion 1.2.

One more word of warning: OS X's WebDAV client can sometimes be overly sensitive to HTTP redirects. If OS X is unable to mount the repository at all, you may need to enable the BrowserMatch directive in the Apache server's httpd.conf:

BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully

Linux davfs2

Linux davfs2 is a filesystem module for the Linux kernel, whose development is located at http://dav.sourceforge.net/. Once installed, a WebDAV network share can be mounted with the usual Linux mount command:

$ mount.davfs http://host/repos /mnt/dav



[60] WebDAV support was removed from Microsoft Access for some reason, but exists in the rest of the Office suite.

п÷я─п╦п╩п╬п╤п╣п╫п╦п╣ D. п≤п╫я│я┌я─я┐п╪п╣п╫я┌я▀ п╬я┌ я│я┌п╬я─п╬п╫п╫п╦я┘ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡

п°п╬п╢я┐п╩я▄п╫п╟я▐ п╟я─я┘п╦я┌п╣п╨я┌я┐я─п╟ Subversion (я─п╟я│я│п╪п╬я┌я─п╣п╫п╫п╟я▐ п╡ я─п╟п╥п╢п╣п╩п╣ б╚Layered Library Designб╩) п╦ п╫п╟п╩п╦я┤п╦п╣ п╫п╟п╢я│я┌я─п╬п╣п╨ п╢п╩я▐ я─п╟п╥п╩п╦я┤п╫я▀я┘ я▐п╥я▀п╨п╬п╡ п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟п╫п╦я▐ (я│п╪. я─п╟п╥п╢п╣п╩ б╚Using Languages Other than C and C++б╩) п╢п╣п╩п╟п╣я┌ п╣я▒ п©п╣я─я│п©п╣п╨я┌п╦п╡п╫я▀п╪ п╨п╟п╫п╢п╦п╢п╟я┌п╬п╪ п╡ п╨п╟я┤п╣я│я┌п╡п╣ п╢п╬п©п╬п╩п╫п╣п╫п╦я▐ п╦п╩п╦ п╠п╣п╨п╣п╫п╢п╟ п╢п╩я▐ п╢я─я┐пЁп╦я┘ п©я─п╬пЁя─п╟п╪п╪. п²п╟ я│я┌я─п╟п╫п╦я├п╣ п║я│я▀п╩п╨п╦ п╡п╣п╠-я│п╟п╧я┌п╟ Subversion http://subversion.tigris.org/project_links.html п╣я│я┌я▄ п©п╣я─п╣я┤п╣п╫я▄ п╠п╬п╩я▄я┬п╬пЁп╬ п╨п╬п╩п╦я┤п╣я│я┌п╡п╟ п©я─п╬пЁя─п╟п╪п╪ п╬я┌ я│я┌п╬я─п╬п╫п╫п╦я┘ я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╬п╡, п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╦я┘ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ Subversion б╚п©п╬п╢ п╨п╟п©п╬я┌п╬п╪б╩.

п÷я─п╦п╩п╬п╤п╣п╫п╦п╣ E. Copyright

Copyright (c) 2002-2006
Ben Collins-Sussman, Brian W. Fitzpatrick, C. Michael Pilato.  

This work is licensed under the Creative Commons Attribution License.
To view a copy of this license, visit
http://creativecommons.org/licenses/by/2.0/ or send a letter to
Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305,
USA.

A summary of the license is given below, followed by the full legal
text.

--------------------------------------------------------------------

You are free:

    * to copy, distribute, display, and perform the work
    * to make derivative works
    * to make commercial use of the work

Under the following conditions:
	
Attribution. You must give the original author credit.

    * For any reuse or distribution, you must make clear to others the
      license terms of this work.

    * Any of these conditions can be waived if you get permission from
      the author.

Your fair use and other rights are in no way affected by the above.

The above is a summary of the full license below.

====================================================================

Creative Commons Legal Code
Attribution 2.0

CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR
DAMAGES RESULTING FROM ITS USE.

License

THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS
CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS
PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE
WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS
PROHIBITED.

BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND
AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS
YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF
SUCH TERMS AND CONDITIONS.

1. Definitions

   a. "Collective Work" means a work, such as a periodical issue,
      anthology or encyclopedia, in which the Work in its entirety in
      unmodified form, along with a number of other contributions,
      constituting separate and independent works in themselves, are
      assembled into a collective whole. A work that constitutes a
      Collective Work will not be considered a Derivative Work (as
      defined below) for the purposes of this License.

   b. "Derivative Work" means a work based upon the Work or upon the
      Work and other pre-existing works, such as a translation,
      musical arrangement, dramatization, fictionalization, motion
      picture version, sound recording, art reproduction, abridgment,
      condensation, or any other form in which the Work may be recast,
      transformed, or adapted, except that a work that constitutes a
      Collective Work will not be considered a Derivative Work for the
      purpose of this License. For the avoidance of doubt, where the
      Work is a musical composition or sound recording, the
      synchronization of the Work in timed-relation with a moving
      image ("synching") will be considered a Derivative Work for the
      purpose of this License.

   c. "Licensor" means the individual or entity that offers the Work
      under the terms of this License.

   d. "Original Author" means the individual or entity who created the Work.

   e. "Work" means the copyrightable work of authorship offered under
      the terms of this License.

   f. "You" means an individual or entity exercising rights under this
      License who has not previously violated the terms of this
      License with respect to the Work, or who has received express
      permission from the Licensor to exercise rights under this
      License despite a previous violation.

2. Fair Use Rights. Nothing in this license is intended to reduce,
   limit, or restrict any rights arising from fair use, first sale or
   other limitations on the exclusive rights of the copyright owner
   under copyright law or other applicable laws.

3. License Grant. Subject to the terms and conditions of this License,
   Licensor hereby grants You a worldwide, royalty-free,
   non-exclusive, perpetual (for the duration of the applicable
   copyright) license to exercise the rights in the Work as stated
   below:

   a. to reproduce the Work, to incorporate the Work into one or more
      Collective Works, and to reproduce the Work as incorporated in
      the Collective Works;

   b. to create and reproduce Derivative Works;

   c. to distribute copies or phonorecords of, display publicly,
      perform publicly, and perform publicly by means of a digital
      audio transmission the Work including as incorporated in
      Collective Works;

   d. to distribute copies or phonorecords of, display publicly,
      perform publicly, and perform publicly by means of a digital
      audio transmission Derivative Works.

   e.

      For the avoidance of doubt, where the work is a musical composition:

         i. Performance Royalties Under Blanket Licenses. Licensor
            waives the exclusive right to collect, whether
            individually or via a performance rights society
            (e.g. ASCAP, BMI, SESAC), royalties for the public
            performance or public digital performance (e.g. webcast)
            of the Work.

        ii. Mechanical Rights and Statutory Royalties. Licensor waives
            the exclusive right to collect, whether individually or
            via a music rights agency or designated agent (e.g. Harry
            Fox Agency), royalties for any phonorecord You create from
            the Work ("cover version") and distribute, subject to the
            compulsory license created by 17 USC Section 115 of the US
            Copyright Act (or the equivalent in other jurisdictions).

   f. Webcasting Rights and Statutory Royalties. For the avoidance of
      doubt, where the Work is a sound recording, Licensor waives the
      exclusive right to collect, whether individually or via a
      performance-rights society (e.g. SoundExchange), royalties for
      the public digital performance (e.g. webcast) of the Work,
      subject to the compulsory license created by 17 USC Section 114
      of the US Copyright Act (or the equivalent in other
      jurisdictions).

The above rights may be exercised in all media and formats whether now
known or hereafter devised. The above rights include the right to make
such modifications as are technically necessary to exercise the rights
in other media and formats. All rights not expressly granted by
Licensor are hereby reserved.

4. Restrictions.The license granted in Section 3 above is expressly
   made subject to and limited by the following restrictions:

   a. You may distribute, publicly display, publicly perform, or
      publicly digitally perform the Work only under the terms of this
      License, and You must include a copy of, or the Uniform Resource
      Identifier for, this License with every copy or phonorecord of
      the Work You distribute, publicly display, publicly perform, or
      publicly digitally perform. You may not offer or impose any
      terms on the Work that alter or restrict the terms of this
      License or the recipients' exercise of the rights granted
      hereunder. You may not sublicense the Work. You must keep intact
      all notices that refer to this License and to the disclaimer of
      warranties. You may not distribute, publicly display, publicly
      perform, or publicly digitally perform the Work with any
      technological measures that control access or use of the Work in
      a manner inconsistent with the terms of this License
      Agreement. The above applies to the Work as incorporated in a
      Collective Work, but this does not require the Collective Work
      apart from the Work itself to be made subject to the terms of
      this License. If You create a Collective Work, upon notice from
      any Licensor You must, to the extent practicable, remove from
      the Collective Work any reference to such Licensor or the
      Original Author, as requested. If You create a Derivative Work,
      upon notice from any Licensor You must, to the extent
      practicable, remove from the Derivative Work any reference to
      such Licensor or the Original Author, as requested.

   b. If you distribute, publicly display, publicly perform, or
      publicly digitally perform the Work or any Derivative Works or
      Collective Works, You must keep intact all copyright notices for
      the Work and give the Original Author credit reasonable to the
      medium or means You are utilizing by conveying the name (or
      pseudonym if applicable) of the Original Author if supplied; the
      title of the Work if supplied; to the extent reasonably
      practicable, the Uniform Resource Identifier, if any, that
      Licensor specifies to be associated with the Work, unless such
      URI does not refer to the copyright notice or licensing
      information for the Work; and in the case of a Derivative Work,
      a credit identifying the use of the Work in the Derivative Work
      (e.g., "French translation of the Work by Original Author," or
      "Screenplay based on original Work by Original Author"). Such
      credit may be implemented in any reasonable manner; provided,
      however, that in the case of a Derivative Work or Collective
      Work, at a minimum such credit will appear where any other
      comparable authorship credit appears and in a manner at least as
      prominent as such other comparable authorship credit.

5. Representations, Warranties and Disclaimer

UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING,
LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED,
STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF
TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE,
NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY,
OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT
DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED
WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.

6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY
   APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY
   LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE
   OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE
   WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
   DAMAGES.

7. Termination

   a. This License and the rights granted hereunder will terminate
      automatically upon any breach by You of the terms of this
      License. Individuals or entities who have received Derivative
      Works or Collective Works from You under this License, however,
      will not have their licenses terminated provided such
      individuals or entities remain in full compliance with those
      licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any
      termination of this License.

   b. Subject to the above terms and conditions, the license granted
      here is perpetual (for the duration of the applicable copyright
      in the Work). Notwithstanding the above, Licensor reserves the
      right to release the Work under different license terms or to
      stop distributing the Work at any time; provided, however that
      any such election will not serve to withdraw this License (or
      any other license that has been, or is required to be, granted
      under the terms of this License), and this License will continue
      in full force and effect unless terminated as stated above.

8. Miscellaneous

   a. Each time You distribute or publicly digitally perform the Work
      or a Collective Work, the Licensor offers to the recipient a
      license to the Work on the same terms and conditions as the
      license granted to You under this License.

   b. Each time You distribute or publicly digitally perform a
      Derivative Work, Licensor offers to the recipient a license to
      the original Work on the same terms and conditions as the
      license granted to You under this License.

   c. If any provision of this License is invalid or unenforceable
      under applicable law, it shall not affect the validity or
      enforceability of the remainder of the terms of this License,
      and without further action by the parties to this agreement,
      such provision shall be reformed to the minimum extent necessary
      to make such provision valid and enforceable.

   d. No term or provision of this License shall be deemed waived and
      no breach consented to unless such waiver or consent shall be in
      writing and signed by the party to be charged with such waiver
      or consent.

   e. This License constitutes the entire agreement between the
      parties with respect to the Work licensed here. There are no
      understandings, agreements or representations with respect to
      the Work not specified here. Licensor shall not be bound by any
      additional provisions that may appear in any communication from
      You. This License may not be modified without the mutual written
      agreement of the Licensor and You.

Creative Commons is not a party to this License, and makes no warranty
whatsoever in connection with the Work. Creative Commons will not be
liable to You or any party on any legal theory for any damages
whatsoever, including without limitation any general, special,
incidental or consequential damages arising in connection to this
license. Notwithstanding the foregoing two (2) sentences, if Creative
Commons has expressly identified itself as the Licensor hereunder, it
shall have all rights and obligations of Licensor.

Except for the limited purpose of indicating to the public that the
Work is licensed under the CCPL, neither party will use the trademark
"Creative Commons" or any related trademark or logo of Creative
Commons without the prior written consent of Creative Commons. Any
permitted use will be in compliance with Creative Commons'
then-current trademark usage guidelines, as may be published on its
website or otherwise made available upon request from time to time.

Creative Commons may be contacted at http://creativecommons.org/.

====================================================================

п÷я─п╣п╢п╪п╣я┌п╫я▀п╧ я┐п╨п╟п╥п╟я┌п╣п╩я▄

S

Subversion
history of, п≤я│я┌п╬я─п╦я▐ Subversion
svn
subcommands
add, svn add
blame, svn blame
cat, svn cat
checkout, svn checkout
cleanup, svn cleanup
commit, svn commit
copy, svn copy
delete, svn delete
diff, svn diff
export, svn export
help, svn help
import, svn import
info, svn info
list, svn list
lock, svn lock
log, svn log
merge, svn merge
mkdir, svn mkdir
move, svn move
propdel, svn propdel
propedit, svn propedit
propget, svn propget
proplist, svn proplist
propset, svn propset
resolved, svn resolved
revert, svn revert
status, svn status
switch, svn switch
unlock, svn unlock
update, svn update
svnadmin
subcommands
create, svnadmin create
deltify, svnadmin deltify
dump, svnadmin dump
help, svnadmin help
hotcopy, svnadmin hotcopy
list-dblogs, svnadmin list-dblogs
list-unused-dblogs, svnadmin list-unused-dblogs
load, svnadmin load
lslocks, svnadmin lslocks
lstxns, svnadmin lstxns
recover, svnadmin recover
rmlocks, svnadmin rmlocks
rmtxns, svnadmin rmtxns
setlog, svnadmin setlog
verify, svnadmin verify
svnlook
subcommands
author, svnlook author
cat, svnlook cat
changed, svnlook changed
date, svnlook date
diff, svnlook diff
dirs-changed, svnlook dirs-changed
help, svnlook help
history, svnlook history
info, svnlook info
lock, svnlook lock
log, svnlook log
propget, svnlook propget
proplist, svnlook proplist
tree, svnlook tree
uuid, svnlook uuid
youngest, svnlook youngest
svnversion, svnversion

п═я┐я│я│п╨п╦п╧ пЁп╩п╬я│я│п╟я─п╦п╧

п÷п╣я─п╣п╡п╬п╢я▐я┌я│я▐ п╣п╢п╦п╫п╬п╤п╢я▀

Concurrent Versions System

я│п╦я│я┌п╣п╪п╟ п©п╟я─п╟п╩п╩п╣п╩я▄п╫п╬пЁп╬ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦

п÷п╣я─п╣п╡п╬п╢ п╢п╟я▒я┌я│я▐ п╡ я│п╫п╬я│п╨п╣ п©я─п╦ п©п╣я─п╡п╬п╪ я┐п©п╬я┌я─п╣п╠п╩п╣п╫п╦п╦. п■п╟п╩п╣п╣ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ я│п╬п╨я─п╟я┴я▒п╫п╫п╬п╣ п╟п╫пЁп╩п╦п╧я│п╨п╬п╣ п╫п╟п╥п╡п╟п╫п╦п╣ (п╟п╨я─п╬п╫п╦п╪).
Application Program Interface

п╦п╫я┌п╣я─я└п╣п╧я│ п©я─п╦п╨п╩п╟п╢п╫п╬пЁп╬ п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟п╫п╦я▐

п÷п╣я─п╣п╡п╬п╢ п╢п╟я▒я┌я│я▐ п╡ я│п╫п╬я│п╨п╣ п©я─п╦ п©п╣я─п╡п╬п╪ я┐п©п╬я┌я─п╣п╠п╩п╣п╫п╦п╦. п■п╟п╩п╣п╣ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ я│п╬п╨я─п╟я┴я▒п╫п╫п╬п╣ п╟п╫пЁп╩п╦п╧я│п╨п╬п╣ п╫п╟п╥п╡п╟п╫п╦п╣ (п╟п╨я─п╬п╫п╦п╪).

п²п╣ п©п╣я─п╣п╡п╬п╢я▐я┌я│я▐

Windows
п²п╣ п©п╣я─п╣п╡п╬п╢п╦я┌я│я▐
Unix
п²п╣ п©п╣я─п╣п╡п╬п╢п╦я┌я│я▐
Subversion
п²п╣ п©п╣я─п╣п╡п╬п╢п╦я┌я│я▐
Cygwin
п²п╣ п©п╣я─п╣п╡п╬п╢п╦я┌я│я▐
Apache
п²п╣ п©п╣я─п╣п╡п╬п╢п╦я┌я│я▐
Apache Portable Runtime
п²п╣ п©п╣я─п╣п╡п╬п╢п╦я┌я│я▐
Java Runtime Environment
п²п╣ п©п╣я─п╣п╡п╬п╢п╦я┌я│я▐
Internationalized Resource Identifiers
п²п╣ п©п╣я─п╣п╡п╬п╢п╦я┌я│я▐
Uniform Resource Identifiers
п²п╣ п©п╣я─п╣п╡п╬п╢п╦я┌я│я▐
Uniform Resource Locator
п²п╣ п©п╣я─п╣п╡п╬п╢п╦я┌я│я▐

A

access

п╢п╬я│я┌я┐п©

local ~

п╩п╬п╨п╟п╩я▄п╫я▀п╧ п╢п╬я│я┌я┐п©

п║п╪. я┌п╟п╨п╤п╣ access.

anonymous ~

п╟п╫п╬п╫п╦п╪п╫я▀п╧ п╢п╬я│я┌я┐п©

п║п╪. я┌п╟п╨п╤п╣ access.

atomic

п╟я┌п╬п╪п╟я─п╫я▀п╧

~ commit

п╟я┌п╬п╪п╟я─п╫п╟я▐ я└п╦п╨я│п╟я├п╦я▐

п║п╪. я┌п╟п╨п╤п╣ atomic, commit.

~ transaction

п╟я┌п╬п╪п╟я─п╫п╟я▐ п╬п©п╣я─п╟я├п╦я▐

п║п╪. я┌п╟п╨п╤п╣ atomic.

autoversioning

п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨п╬п╣ я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦

architecture

п╟я─я┘п╦я┌п╣п╨я┌я┐я─п╟

authentication

я┐я│я┌п╟п╫п╬п╡п╩п╣п╫п╦п╣ п╩п╦я┤п╫п╬я│я┌п╦

authorization

п©я─п╬п╡п╣я─п╨п╟ п©я─п╟п╡ п╢п╬я│я┌я┐п©п╟

B

binary

п╠п╦п╫п╟я─п╫я▀п╧

~ package

п╠п╦п╫п╟я─п╫я▀п╧ п©п╟п╨п╣я┌

п║п╪. я┌п╟п╨п╤п╣ binary.

blame

п╬я┌п╡п╣я┌я│я┌п╡п╣п╫п╫п╬п╣ п╩п╦я├п╬

branch

п╡п╣я┌п╡я▄

~ing

п╡п╣я┌п╡п╩п╣п╫п╦п╣

п║п╪. я┌п╟п╨п╤п╣ branch.

C

change

п╦п╥п╪п╣п╫п╣п╫п╦п╣

~set

п╫п╟п╠п╬я─ п╦п╥п╪п╣п╫п╣п╫п╦п╧

п║п╪. я┌п╟п╨п╤п╣ change.

tracking ~s

п╬я┌я│п╩п╣п╤п╦п╡п╟п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧

п║п╪. я┌п╟п╨п╤п╣ change.

check in

п©я┐п╠п╩п╦п╨п╬п╡п╟я┌я▄, п©я┐п╠п╩п╦п╨п╟я├п╦я▐ п╦п╥п╪п╣п╫п╣п╫п╦п╧

п║п╪. я┌п╟п╨п╤п╣ check out.

check out

я│п╬п╥п╢п╟п╡п╟я┌я▄ я─п╟п╠п╬я┤я┐я▌ п╨п╬п©п╦я▌

п║п╪. я┌п╟п╨п╤п╣ check in.

client

п╨п╩п╦п╣п╫я┌

~ program

п©я─п╬пЁя─п╟п╪п╪п╟-п╨п╩п╦п╣п╫я┌

п║п╪. я┌п╟п╨п╤п╣ client, program.

code

п╨п╬п╢

source ~

п╦я│я┘п╬п╢п╫я▀п╧ п╨п╬п╢ [п©я─п╬пЁя─п╟п╪п╪я▀]

п║п╪. я┌п╟п╨п╤п╣ code.

command

п╨п╬п╪п╟п╫п╢п╟

sub~

п©п╬п╢п╨п╬п╪п╟п╫п╢п╟

п║п╪. я┌п╟п╨п╤п╣ command.

command line

п╨п╬п╪п╟п╫п╢п╫п╟я▐ я│я┌я─п╬п╨п╟

~ interface

п╦п╫я┌п╣я─я└п╣п╧я│ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦

п║п╪. я┌п╟п╨п╤п╣ command line, interface.

~ tool

п©я─п╬пЁя─п╟п╪п╪п╟, п©я─п╣п╢п╫п╟п╥п╫п╟я┤п╣п╫п╫п╟я▐ п╢п╩я▐ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦

я┐я┌п╬я┤п╫п╦я┌я▄ п©п╬ п╨п╬п╫я┌п╣п╨я│я┌я┐

п║п╪. я┌п╟п╨п╤п╣ command.

commit

я└п╦п╨я│п╟я├п╦я▐

п║п╪. я┌п╟п╨п╤п╣ repository.

community

я│п╬п╬п╠я┴п╣я│я┌п╡п╬

configure

п╫п╟я│я┌я─п╟п╦п╡п╟я┌я▄

configuration

п╫п╟я│я┌я─п╬п╧п╨п╦

п║п╪. я┌п╟п╨п╤п╣ configure.

conflict

п©я─п╬я┌п╦п╡п╬я─п╣я┤п╦п╣

~ resolution

я─п╟п╥я─п╣я┬п╣п╫п╦п╣ п©я─п╬я┌п╦п╡п╬я─п╣я┤п╦п╧

п║п╪. я┌п╟п╨п╤п╣ conflict.

convention

я│п╬пЁп╩п╟я┬п╣п╫п╦п╣

copy

п╨п╬п©п╦я▐

п╨п╬п©п╦я─п╬п╡п╟я┌я▄

working ~

я─п╟п╠п╬я┤п╟я▐ п╨п╬п©п╦я▐

п║п╪. я┌п╟п╨п╤п╣ copy.

copy-modify-merge

"я│п╨п╬п©п╦я─п╬п╡п╟п╩-п╦п╥п╪п╣п╫п╦п╩-я│п╩п╦п╩"

п║п╪. я┌п╟п╨п╤п╣ copy, merge.

current

я┌п╣п╨я┐я┴п╦п╧

D

demon

п╢п╣п╪п╬п╫

~ process

п©я─п╬я├п╣я│я│-п╢п╣п╪п╬п╫

п║п╪. я┌п╟п╨п╤п╣ demon.

data

п╢п╟п╫п╫я▀п╣

meta~

п╪п╣я┌п╟п╢п╟п╫п╫я▀п╣

п║п╪. я┌п╟п╨п╤п╣ data.

database

п╠п╟п╥п╟ п╢п╟п╫п╫я▀я┘

developer

я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨

п║п╪. я┌п╟п╨п╤п╣ ~mer.

directory

п╨п╟я┌п╟п╩п╬пЁ

administrative ~

я│п╩я┐п╤п╣п╠п╫я▀п╧ п╨п╟я┌п╟п╩п╬пЁ

п║п╪. я┌п╟п╨п╤п╣ directory.

diff

я─п╟п╥п╩п╦я┤п╦п╣

unified ~

п╣п╢п╦п╫я▀п╧ я└п╬я─п╪п╟я┌ п╥п╟п©п╦я│п╦ я─п╟п╥п╩п╦я┤п╦п╧

п║п╪. я┌п╟п╨п╤п╣ diff.

disconnected operation

п╬п©п╣я─п╟я├п╦я▐, п╫п╣ я┌я─п╣п╠я┐я▌я┴п╟я▐ п©п╬п╢п╨п╩я▌я┤п╣п╫п╦я▐ п╨ я│п╣я─п╡п╣я─я┐

dowload

п╥п╟пЁя─я┐п╥п╨п╟

drive

п╢п╦я│п╨

~ name

п╦п╪я▐ п╢п╦я│п╨п╟

п║п╪. я┌п╟п╨п╤п╣ drive.

E

email

я█п╩п╣п╨я┌я─п╬п╫п╫п╟я▐ п©п╬я┤я┌п╟

environment

я─п╟п╠п╬я┤п╟я▐ я│я─п╣п╢п╟

emulation ~

я│я─п╣п╢п╟ я█п╪я┐п╩я▐я├п╦п╦

п║п╪. я┌п╟п╨п╤п╣ environment.

~ variable

п©п╣я─п╣п╪п╣п╫п╫п╟я▐ я─п╟п╠п╬я┤п╣п╧ я│я─п╣п╢я▀

п║п╪. я┌п╟п╨п╤п╣ environment.

external definition

п╡п╫п╣я┬п╫я▐я▐ п╥п╟п╡п╦я│п╦п╪п╬я│я┌я▄

F

feature

п╬я│п╬п╠п╣п╫п╫п╬я│я┌я▄

file

я└п╟п╧п╩

~-sharing

я│п╬п╡п╪п╣я│я┌п╫я▀п╧ п╢п╬я│я┌я┐п© п╨ я└п╟п╧п╩п╟п╪

п║п╪. я┌п╟п╨п╤п╣ file.

filter

я└п╦п╩я▄я┌я─

я└п╦п╩я▄я┌я─п╟я├п╦я▐

G

Graphical User Interface

пЁя─п╟я└п╦я┤п╣я│п╨п╦п╧ п╦п╫я┌п╣я─я└п╣п╧я│ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐

п÷п╣я─п╣п╡п╬п╢ п╢п╟я▒я┌я│я▐ п╡ я│п╫п╬я│п╨п╣ п©я─п╦ п©п╣я─п╡п╬п╪ я┐п©п╬я┌я─п╣п╠п╩п╣п╫п╦п╦. п■п╟п╩п╣п╣ п╦я│п©п╬п╩я▄п╥я┐п╣я┌я│я▐ я│п╬п╨я─п╟я┴я▒п╫п╫п╬п╣ п╟п╫пЁп╩п╦п╧я│п╨п╬п╣ п╫п╟п╥п╡п╟п╫п╦п╣.
Global Revision Number

пЁп╩п╬п╠п╟п╩я▄п╫я▀п╧ п╫п╬п╪п╣я─ п©я─п╟п╡п╨п╦

H

history

п╦я│я┌п╬я─п╦я▐

I

icon

п╥п╫п╟я┤п╬п╨ (п╫п╟ я█п╨я─п╟п╫п╣)

я│п╦п╪п╡п╬п╩ (п╡ я┌п╣п╨я│я┌п╣)

import

п╡п╫п╬я│п╦я┌я▄, п╥п╟п╫п╬я│п╦я┌я▄

interface

п╦п╫я┌п╣я─я└п╣п╧я│

install

я┐я│я┌п╟п╫п╬п╡п╨п╟ (п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐)

~ method

я│п©п╬я│п╬п╠ я┐я│я┌п╟п╫п╬п╡п╨п╦

п║п╪. я┌п╟п╨п╤п╣ install.

~er

п©я─п╬пЁя─п╟п╪п╪п╟ я┐я│я┌п╟п╫п╬п╡п╨п╦

п║п╪. я┌п╟п╨п╤п╣ install.

K

key

п╦п╪я▐ (п©п╣я─п╣п╪п╣п╫п╫п╬п╧)

L

library

п╠п╦п╠п╩п╦п╬я┌п╣п╨п╟

lightweight

п╩п╣пЁп╨п╦п╧

local

п╪п╣я│я┌п╫я▀п╧

lock

п╠п╩п╬п╨п╦я─п╬п╡п╟я┌я▄

~ing

п╠п╩п╬п╨п╦я─п╬п╡п╨п╟

п║п╪. я┌п╟п╨п╤п╣ lock.

lock-modify-unlock

"п╥п╟п╠п╩п╬п╨п╦я─п╬п╡п╟п╩-п╦п╥п╪п╣п╫п╦п╩-я─п╟п╥п╠п╩п╬п╨п╦я─п╬п╡п╟п╩"

п║п╪. я┌п╟п╨п╤п╣ lock.

log

я│п╬п╬п╠я┴п╣п╫п╦я▐ п╦я│я┌п╬я─п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧

п║п╪. я┌п╟п╨п╤п╣ log message.

M

mail

п©п╬я┤я┌п╟

module

п╪п╬п╢я┐п╩я▄

plug-in ~

п©п╬п╢п╨п╩я▌я┤п╟п╣п╪я▀п╧ п╪п╬п╢я┐п╩я▄ я─п╟я│я┬п╦я─п╣п╫п╦я▐

п²п╟п©я─п╦п╪п╣я─, https п╪п╬п╢я┐п╩я▄ п╢п╩я▐ Apache

п║п╪. я┌п╟п╨п╤п╣ module.

merge

я│п╩п╦я▐п╫п╦п╣

message

я│п╬п╬п╠я┴п╣п╫п╦п╣

log message

я│п╬п╬п╠я┴п╣п╫п╦п╣ п╦я│я┌п╬я─п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧

п║п╪. я┌п╟п╨п╤п╣ log.

commit message

я│п╬п╬п╠я┴п╣п╫п╦п╣ п╦я│я┌п╬я─п╦п╦ п╦п╥п╪п╣п╫п╣п╫п╦п╧

п©п╬я▐я│п╫п╣п╫п╦п╣ п╦п╥п╪п╣п╫п╣п╫п╦п╧

п©п╬я▐я│п╫п╣п╫п╦п╣ я└п╦п╨я│п╦я─я┐п╣п╪я▀я┘ п╦п╥п╪п╣п╫п╣п╫п╦п╧

п║п╪. я┌п╟п╨п╤п╣ commit.

mount

п╪п╬п╫я┌п╦я─п╬п╡п╟я┌я▄

to ~ share

п╪п╬п╫я┌п╦я─п╬п╡п╟я┌я▄ я│п╬п╡п╪п╣я│я┌п╫п╬ п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╧ я─п╣я│я┐я─я│

п║п╪. я┌п╟п╨п╤п╣ mount.

N

network

я│п╣я┌я▄

~ layer

я│п╣я┌п╣п╡п╬п╧ я┐я─п╬п╡п╣п╫я▄

п║п╪. я┌п╟п╨п╤п╣ network.

O

offline

п╟п╡я┌п╬п╫п╬п╪п╫я▀п╧

~ operation

п╟п╡я┌п╬п╫п╬п╪п╫п╟я▐ п╬п©п╣я─п╟я├п╦я▐

п║п╪. я┌п╟п╨п╤п╣ offline.

option

п╫п╟я│я┌я─п╬п╧п╨п╟

п╬п©я├п╦я▐

configuration option

п╫п╟я│я┌я─п╬п╧п╨п╟ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╦

п║п╪. я┌п╟п╨п╤п╣ option.

out-of-date

я┐я│я┌п╟я─п╣п╡я┬п╦п╧

overlap

п╫п╟п╩п╬п╤п╣п╫п╦п╣ (п©я─п╦ п╬п©п╦я│п╟п╫п╦п╦ я│п╬я│я┌п╬я▐п╫п╦я▐)

~ing

п©п╣я─п╣я│п╣п╨п╟я▌я┴п╦п╧я│я▐

п║п╪. я┌п╟п╨п╤п╣ overlap.

п©п╣я─п╣п╨я─я▀я┌п╦п╣ (п©я─п╦ п╬п©п╦я│п╟п╫п╦п╦ п©я─п╬я├п╣я│я│п╟)

п║п╪. я┌п╟п╨п╤п╣ overlap.

P

patch

"п╥п╟п©п╩п╟я┌п╨п╟"

path

п©я┐я┌я▄

port

п©п╬я─я┌

program

п©я─п╬пЁя─п╟п╪п╪п╟

п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟я┌я▄

~mer

п©я─п╬пЁя─п╟п╪п╪п╦я│я┌

п║п╪. я┌п╟п╨п╤п╣ program.

~ing

п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟п╫п╦п╣

п║п╪. я┌п╟п╨п╤п╣ program.

property

я│п╡п╬п╧я│я┌п╡п╬

~ support

п©п╬п╢п╢п╣я─п╤п╨п╟ я│п╡п╬п╧я│я┌п╡

unversioned properties

п╫п╣п╡п╣я─я│п╦п╬п╫п╫п╬п╣ я│п╡п╬п╧я│я┌п╡п╬

protocol

п©я─п╬я┌п╬п╨п╬п╩

public

п╬я┌п╨я─я▀я┌я▀п╧

п╢п╬я│я┌я┐п©п╫я▀п╧

~ API

п╬я┌п╨я─я▀я┌я▀п╧ API

п║п╪. я┌п╟п╨п╤п╣ public, Application Program Interface.

R

read

я┤я┌п╣п╫п╦п╣

read-only

я┌п╬п╩я▄п╨п╬ п╢п╩я▐ я┤я┌п╣п╫п╦я▐

repository

я┘я─п╟п╫п╦п╩п╦я┴п╣

central ~

я├п╣п╫я┌я─п╟п╩я▄п╫п╬п╣ я┘я─п╟п╫п╦п╩п╦я┴п╣

п║п╪. я┌п╟п╨п╤п╣ repository.

remote ~

я┐п╢п╟п╩п╣п╫п╫п╬п╣ я┘я─п╟п╫п╦п╩п╦я┴п╣

п║п╪. я┌п╟п╨п╤п╣ remote, repository.

~ location

п╪п╣я│я┌п╬ я─п╟п╥п╪п╣я┴п╣п╫п╦я▐ я┘я─п╟п╫п╦п╩п╦я┴п╟

п║п╪. я┌п╟п╨п╤п╣ repository.

snapshot of ~

я│п╫п╦п╪п╬п╨ я┘я─п╟п╫п╦п╩п╦я┴п╟

п║п╪. я┌п╟п╨п╤п╣ repository.

remote

я┐п╢п╟п╩п╣п╫п╫я▀п╧

request

п╥п╟п©я─п╬я│

revert

п╡п╬п╥п╡я─п╟я┌ п╨ п©я─п╣п╤п╫п╣п╪я┐ я│п╬я│я┌п╬я▐п╫п╦я▌

п╡п╣я─п╫я┐я┌я▄ п©я─п╣п╤п╫п╣п╣ я│п╬я│я┌п╬я▐п╫п╦п╣

revision

п©я─п╟п╡п╨п╟

п╡п╣я─я│п╦я▐

~ number

п╫п╬п╪п╣я─ п©я─п╟п╡п╨п╦

п╫п╬п╪п╣я─ п╡п╣я─я│п╦п╦

п║п╪. я┌п╟п╨п╤п╣ revision.

mixed ~

я│п╪п╣я┬п╟п╫п╫п╟я▐ п©я─п╟п╡п╨п╟

п║п╪. я┌п╟п╨п╤п╣ revision.

runtime

я│я─п╣п╢п╟ п╦я│п©п╬п╩п╫п╣п╫п╦я▐

~ option

п╫п╟я│я┌я─п╬п╧п╨п╟ я│я─п╣п╢я▀ п╦я│п©п╬п╩п╫п╣п╫п╦я▐

п║п╪. я┌п╟п╨п╤п╣ runtime.

~ variable

п©п╣я─п╣п╪п╣п╫п╫п╟я▐ я│я─п╣п╢я▀ п╦я│п©п╬п╩п╫п╣п╫п╦я▐

п║п╪. я┌п╟п╨п╤п╣ runtime.

S

separator

я│п╦п╪п╡п╬п╩-я─п╟п╥п╢п╣п╩п╦я┌п╣п╩я▄

path ~

я│п╦п╪п╡п╬п╩-я─п╟п╥п╢п╣п╩п╦я┌п╣п╩я▄ п╨п╬п╪п©п╬п╫п╣п╫я┌п╬п╡ п©я┐я┌п╣п╡п╬пЁп╬ п╦п╪п╣п╫п╦

п║п╪. я┌п╟п╨п╤п╣ separator.

serialization

я│п╣я─п╦п╟п╩п╦п╥п╟я├п╦я▐

server

я│п╣я─п╡п╣я─

file ~

я└п╟п╧п╩-я│п╣я─п╡п╣я─

п║п╪. я┌п╟п╨п╤п╣ server.

share

я│п╬п╡п╪п╣я│я┌п╫п╬ п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╧ я─п╣я│я┐я─я│

DAV ~

я│п╬п╡п╪п╣я│я┌п╫п╬ п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╧ я─п╣я│я┐я─я│ DAV

п║п╪. я┌п╟п╨п╤п╣ share.

network ~

я│п╬п╡п╪п╣я│я┌п╫п╬ п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀п╧ я│п╣я┌п╣п╡п╬п╧ я─п╣я│я┐я─я│

п║п╪. я┌п╟п╨п╤п╣ share, network.

slash

я│п╦п╪п╡п╬п╩ п╨п╬я│п╬п╧ я┤п╣я─я┌я▀

backward ~

я│п╦п╪п╡п╬п╩ п╬п╠я─п╟я┌п╫п╬п╧ п╨п╬я│п╬п╧ я┤п╣я─я┌я▀

п║п╪. я┌п╟п╨п╤п╣ slash.

forward ~

п║п╪. slash.

software

п©я─п╬пЁя─п╟п╪п╪п╫п╬п╣ п╬п╠п╣я│п©п╣я┤п╣п╫п╦п╣

collaboration ~

п©я─п╬пЁя─п╟п╪п╪п╫п╬п╣ п╬п╠п╣я│п©п╣я┤п╣п╫п╦п╣ п╢п╩я▐ я│п╬п╡п╪п╣я│я┌п╫п╬п╧ я─п╟п╠п╬я┌я▀

п║п╪. я┌п╟п╨п╤п╣ software.

open-source ~

п©я─п╬пЁя─п╟п╪п╪п╫п╬п╣ п╬п╠п╣я│п©п╣я┤п╣п╫п╦п╣ я│ п╬я┌п╨я─я▀я┌я▀п╪ п╦я│я┘п╬п╢п╫я▀п╪ п╨п╬п╢п╬п╪

п║п╪. я┌п╟п╨п╤п╣ software.

free ~

я│п╡п╬п╠п╬п╢п╫п╬ я─п╟я│п©я─п╬я│я┌я─п╟п╫я▐п╣п╪п╬п╣ п©я─п╬пЁя─п╟п╪п╪п╫п╬п╣ п╬п╠п╣я│п©п╣я┤п╣п╫п╦п╣

п║п╪. я┌п╟п╨п╤п╣ software.

Software Configuration Management

я│п╦я│я┌п╣п╪п╟ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╨п╬п╫я└п╦пЁя┐я─п╟я├п╦п╣п╧ п©я─п╬пЁя─п╟п╪п╪п╫п╬пЁп╬ п╬п╠п╣я│п©п╣я┤п╣п╫п╦я▐

п║п╪. я┌п╟п╨п╤п╣ software.

standalone

я│п╟п╪п╬я│я┌п╬я▐я┌п╣п╩я▄п╫я▀п╧

status

я│я┌п╟я┌я┐я│

я│п╬я│я┌п╬я▐п╫п╦п╣

status listing

я│п©п╦я│п╬п╨ я│п╬я│я┌п╬я▐п╫п╦я▐ я└п╟п╧п╩п╬п╡

п║п╪. я┌п╟п╨п╤п╣ status.

style

я│я┌п╦п╩я▄

programming ~

я│я┌п╦п╩я▄ п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟п╫п╦я▐

п║п╪. я┌п╟п╨п╤п╣ style.

subdirectory

п╡п╩п╬п╤п╣п╫п╫я▀п╧ п╨п╟я┌п╟п╩п╬пЁ

п©п╬п╢п╨п╟я┌п╟п╩п╬пЁ

п║п╪. я┌п╟п╨п╤п╣ directory.

support

п©п╬п╢п╢п╣я─п╤п╨п╟

switch

п©п╟я─п╟п╪п╣я┌я─ п╨п╬п╪п╟п╫п╢п╫п╬п╧ я│я┌я─п╬п╨п╦

sysadmin

я│п╦я│я┌п╣п╪п╫я▀п╧ п╟п╢п╪п╦п╫п╦я│я┌я─п╟я┌п╬я─

T

tag

п╪п╣я┌п╨п╟

~ging

п╫п╟п╥п╫п╟я┤п╣п╫п╦п╣ п╪п╣я┌п╨п╦

п║п╪. я┌п╟п╨п╤п╣ tag.

timestamp

п╬я┌п╪п╣я┌п╨п╟ п╡я─п╣п╪п╣п╫п╦

top-level

п╡п╣я─я┘п╫п╦п╧ я┐я─п╬п╡п╣п╫я▄

п╡п╣я─я┘п╫п╣пЁп╬ я┐я─п╬п╡п╫я▐

п╬я┌п╫п╬я│я▐я┴п╦п╧я│я▐ п╨ п╡п╣я─я┘п╫п╣п╪я┐ я┐я─п╬п╡п╫я▌
tree

п╢п╣я─п╣п╡п╬

external ~

п╡п╫п╣я┬п╫п╣п╣ п╢п╣я─п╣п╡п╬

п║п╪. я┌п╟п╨п╤п╣ tag.

troubleshooting

п©п╬п╦я│п╨ п╦ п╦я│п©я─п╟п╡п╩п╣п╫п╦п╣ п╫п╣п╦я│п©я─п╟п╡п╫п╬я│я┌п╣п╧

tunnel

я┌п╬п╫п╫п╣п╩я▄

п©я─п╬п╨п╩п╟п╢я▀п╡п╟я┌я▄ я┌п╬п╫п╫п╣п╩я▄

~ing

я┌я┐п╫п╫п╣п╩п╦я─п╬п╡п╟п╫п╦п╣

U

unblock

я─п╟п╥п╠п╩п╬п╨п╦я─п╬п╡п╟я┌я▄

Unix-like

Unix-п©п╬п╢п╬п╠п╫я▀п╧

URL schema

я│я┘п╣п╪п╟ URL

update

п╬п╠п╫п╬п╡п╩п╣п╫п╦п╣

п╬п╠п╫п╬п╡п╩я▐я┌я▄

up-to-date

п╬п╠п╫п╬п╡п╩п╣п╫п╫я▀п╧

п╟п╨я┌я┐п╟п╩я▄п╫я▀п╧

V

value

п╥п╫п╟я┤п╣п╫п╦п╣

vendor

п©п╬я│я┌п╟п╡я┴п╦п╨

~ branch

п╡п╣я┌п╡я▄ п©п╬я│я┌п╟п╡я┴п╦п╨п╟

version

п╡п╣я─я│п╦я▐

~ control

я┐п©я─п╟п╡п╩п╣п╫п╦п╣ п╡п╣я─я│п╦я▐п╪п╦

п║п╪. я┌п╟п╨п╤п╣ version.

~ing model

п╪п╬п╢п╣п╩я▄ я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╣я─я│п╦я▐п╪п╦

п║п╪. я┌п╟п╨п╤п╣ version.

~ed directory

п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╧ п╨п╟я┌п╟п╩п╬пЁ

п║п╪. я┌п╟п╨п╤п╣ version.

directory ~ing

п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╦п╣ п╨п╟я┌п╟п╩п╬пЁп╬п╡

п║п╪. я┌п╟п╨п╤п╣ version.

~ed metadata

п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╣ п╪п╣я┌п╟п╢п╟п╫п╫я▀п╣

п║п╪. я┌п╟п╨п╤п╣ version, meta~.

~ed data

п╡п╣я─я│п╦п╬п╫п╦я─п╬п╡п╟п╫п╫я▀п╣ п╢п╟п╫п╫я▀п╣

п║п╪. я┌п╟п╨п╤п╣ version.

W

write

п╥п╟п©п╦я│я▄

U

undo

п╬я┌п╪п╣п╫п╟

to ~ changes

п╬я┌п╪п╣п╫я▐я┌я▄ п╡п╫п╣я│п╣п╫п╫я▀п╣ п╦п╥п╪п╣п╫п╣п╫п╦я▐

п║п╪. я┌п╟п╨п╤п╣ undo.

user

п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄

advanced ~

п©я─п╬п╢п╡п╦п╫я┐я┌я▀п╧ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ