Book Image

Bazaar Version Control

By : Janos Gyerik
Book Image

Bazaar Version Control

By: Janos Gyerik

Overview of this book

<p>Bazaar is a version control system that enables you to track your changes, browse the history of revisions, or revert to a previous state with ease. You can benefit greatly from the principles and practical uses of version control with Bazaar in any software project.<br /><br />This book will walk you through the principles and basic and advanced operations of version control, taking a step-by-step approach covering increasingly complex topics and situations of collaboration. Packed with examples, the book aims to give you a thorough understanding of the subject in order to get you fully comfortable using this powerful, highly intuitive and consistent tool in any project and workflow thrown at you.<br /><br />The book starts by introducing the fundamentals of version control to first-time users. After explaining the basic principles, we dive into action covering the various operations and workflows of version control using Bazaar. Topics are covered in increasing order of complexity from solo mode, peer-to-peer, centralized-style, and ultimately distributed-style. The book also covers advanced subjects such as integration with collaborative environments and other version control systems, as well as using Bazaar programmatically and creating plugins. This book will help you gain solid knowledge about version control and enable you to use Bazaar effectively in your projects.</p>
Table of Contents (17 chapters)
Bazaar Version Control
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Working with Bazaar in Centralized Mode

This chapter explains the principles of the centralized mode and how to work in this mode using Bazaar.

The centralized mode assumes one or more central branches, where collaborators share write access, and require the commit operations of all the users to be synchronized. This is the basic workflow enforced by centralized version control systems. This mode of operation is widely used today in many projects, and it is often preferred in corporate environments.

Although Bazaar is distributed in nature, it includes features to fully support the classic centralized mode. With Bazaar, you can switch in and out of the centralized mode at any time, and implement sophisticated workflows using both centralized and distributed elements.

The following topics will be covered in this chapter:

  • The centralized mode

  • Using Bazaar in the centralized mode

  • Working with bound branches

  • Working with multiple branches

  • Setting up a central server

  • Creating branches on the...