TAILIEUCHUNG - Expert PHP 5 Tools phần 5

Định kỳ, nó trở nên cần thiết cho các nhà phát triển để cập nhật bản sao địa phương làm việc của mình bằng cách kết nối với các kho lưu trữ trung ương và tải về những thay đổi mới cam kết bởi nhà phát triển khác kể từ lần cuối cùng ông đã thực hiện một bản cập nhật (hoặc thanh toán). | Chapter 4 Periodically it becomes necessary for the developer to update his local working copy by connecting to the central repository and downloading new changes committed by other developers since the last time he performed such an update or checkout . This is done to ensure that the code he develops will be compatible with the contributions of the other developers. It is even possible for the developer to have to update his working copy with his own changes if he uses more than one working copy say one on his work machine and another at home. In many cases Subversion is able to merge changes automatically without requiring input from the developer. However the developer should still examine the changes to make sure there are no unanticipated conflicts with his as yet uncommitted code. If there are conflicts Subversion cannot resolve on its own the developer will be prompted to manually resolve those conflicts before continuing. After going through multiple iterations of making changes and synchronizing with the repository the developer will reach a point where his development has been completed and he should then commit his changes back to the repository. Let s pick up work on our svn-hook project to see the above workflow in action. First we check out the project for us to have a repository-aware local copy of the code If you paid close attention to the above example you will have noticed that we check out the trunk of the project but we put it into a local directory named after the project itself. This is simply a naming convention I follow for projects I work on. If I were to check out a branch I probably would have named the local folder accordingly something like svn-hooks-windows-branch. 169 Download from Wow eBook Source Code and Version Control Next let s make some changes to our project by adding a destructor method and adding some inline comments to the constructor. After making those changes we want to update our local working copy. .

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.