
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Repository Maintenance
|
91
As you can see in the previous example, multiple commands may be specified at a
single command prompt, separated by a semicolon. Also, the shell understands the
notions of relative and absolute paths, and will properly handle the
. and .. special
path components.
The
youngest command displays the youngest revision. This is useful for determining
the range of valid revisions you can use as arguments to the
setrev command—you
are allowed to browse all the revisions (recalling that they are named with integers)
between 0 and the youngest, inclusively. Determining the valid browsable transac-
tions isn’t quite as pretty. Use the
lstxns command to list the transactions that you
are able to browse. The list of browsable transactions is the same list that
svnadmin
lstxns
returns, and the same list that is valid for use with svnlook’s --transaction
option.
Once you’ve finished using the shell, you can exit cleanly by using the
exit com-
mand. Alternatively, you can supply an end-of-file character—Control-D (though
some Win32 Python distributions use the Windows Control-Z convention instead).
Berkeley DB utilities
All of your versioned filesystem’s structure and data live in a set of Berkeley DB data-
base tables within the db subdirectory of your repository. This subdirectory ...