Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Tham khảo tài liệu 'version control with subversion phần 5', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Repository Administration provides the tools necessary for creating and loading these dump streams the svnadmin dump and svnadmin load subcommands respectively. While the Subversion repository dump format contains human-readable portions and a familiar structure it resembles an RFC-822 format the same type of format used for most email it is not a plaintext file format. It is a binary file format highly sensitive to meddling. For example many text editors will corrupt the file by automatically converting line endings. There are many reasons for dumping and loading Subversion repository data. Early in Subversion s life the most common reason was due to the evolution of Subversion itself. As Subversion matured there were times when changes made to the back-end database schema caused compatibility issues with previous versions of the repository so users had to dump their repository data using the previous version of Subversion and load it into a freshly created repository with the new version of Subversion. Now these types of schema changes haven t occurred since Subversion s 1.0 release and the Subversion developers promise not to force users to dump and load their repositories when upgrading between minor versions such as from 1.3 to 1.4 of Subversion. But there are still other reasons for dumping and loading including re-deploying a Berkeley DB repository on a new OS or CPU architecture switching between the Berkeley DB and FSFS back-ends or as we ll cover in the section called Filtering Repository History purging versioned data from repository history. Whatever your reason for migrating repository history using the svnadmin dump and svnad-min load subcommands is straightforward. 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 .