TAILIEUCHUNG - Version Control with Subversion phần 6

Về mặt khái quát, SVN giống như một hệ thống file server mà các client có thể download và upload file một cách bình thường. Điểm đặt biệt của SVN là nó lưu lại tất cả những gì thay đổi trên hệ thống file: file nào đã bị thay đổi lúc nào, thay đổi như thế nào, và ai đã thay đổi nó. SVN cũng cho phép recover lại những version cũ một cách chính xác. Các chức năng này giúp cho việc làm việc nhóm trở nên trơn tru và an toàn hơn rất nhiều | Server Configuration something more meaningful for example it might be nice to have a file in the repository actually render as HTML when browsing. To make this happen you only need to make sure that your files have the proper svn mime-type set. This is discussed in more detail in the section called File Content Type and you can even configure your client to automatically attach proper svn mime-type properties to files entering the repository for the first time see the section called Automatic Property Setting . So in our example if one were to set the svn mime-type property to text html on file then Apache would properly tell your web browser to render the file as HTML. One could also attach proper image mime-type properties to images and by doing this ultimately get an entire web site to be viewable directly from a repository There s generally no problem with doing this as long as the website doesn t contain any dynamically-generated content. Customizing the Look 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 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 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

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.