Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Collins-Sussman B.Version control with Subversion 1.1.pdf
Скачиваний:
9
Добавлен:
23.08.2013
Размер:
1.53 Mб
Скачать

Subversion Complete Reference

svnlook

237

Subversion Complete Reference

Name

svnlook author -- Print the author.

svnlook author

Synopsis

svnlook author REPOS_PATH

Description

Print the author of a revision or transaction in the repository.

Switches

--revision (-r) --transaction (-t)

Examples

svnlook author is handy, but not very exciting:

$ svnlook author -r 40 /usr/local/svn/repos sally

238

Subversion Complete Reference

Name

svnlook cat -- Print the contents of a file. svnlook cat

Synopsis

svnlook cat REPOS_PATH PATH_IN_REPOS

Description

Print the contents of a file.

Switches

--revision (-r) --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

239

Subversion Complete Reference

Name

svnlook changed -- Print the paths that were changed.

svnlook changed

Synopsis

svnlook changed REPOS_PATH

Description

Print the paths that were changed in a particular revision or transaction, as well as an “svn update-style” status letter in the first column: A for added, D for deleted, and U for updated (modified).

Switches

--revision (-r) --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

240

Соседние файлы в предмете Электротехника