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

Subversion Complete Reference

Name

svnlook date -- Print the datestamp.

svnlook date

Synopsis

svnlook date REPOS_PATH

Description

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

Switches

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

241

Subversion Complete Reference

Name

svnlook diff -- Print differences of changed files and properties. svnlook diff

Synopsis

svnlook diff REPOS_PATH

Description

Print GNU-style differences of changed files and properties in a repository.

Switches

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

242

Subversion Complete Reference

Name

svnlook dirs-changed -- Print the directories that were themselves changed. svnlook dirs-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) --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/

243

Subversion Complete Reference

Name

svnlook help

svnlook 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

244

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