Privacy Policy Cookie Policy Terms and Conditions Bazaar (vcs) - Wikipedia, the free encyclopedia

Bazaar (vcs)

From Wikipedia, the free encyclopedia

Bazaar
Developer: Canonical Ltd.
Latest release: 0.12 / 30 October 2006
OS: Cross-platform
Use: Decentralized revision control system
License: GNU General Public License
Website: http://www.bazaar-vcs.org/

Bazaar is a decentralized revision control system (RCS) sponsored by Canonical Ltd. It allows team members to branch and merge upstream code very easily. Team members can also be productive with Bazaar in a minimum of commands.

Bazaar is a from-scratch implementation of a revision control system in Python. The lead designer, Martin Pool, describes it as a composite of ideas drawn from many different revision control systems.[1] It is a distributed system in that there is no inbuilt need for a project to have one central repository which stores all the branches and committed versions.

Contents

[edit] History

On February 1, 2005, Martin Pool, a developer who had previously described and reviewed a number of revision control systems in talks and in his weblog, announced that he was working at Canonical Ltd. and tasked with "build[ing] a distributed version-control system that open-source hackers will love to use."[2] A public website and mailing list were established in March of 2005.

This project started as a rewrite of Canonical Ltd's Baz software in Python. Canonical Ltd. wanted to improve the usability of Baz and decided that rewriting the application from scratch would be the best way to approach this. To try to reduce confusion and conflicts the new project was originally called Bazaar-NG and its command was called "bzr", changed from the original Bazaar's "baz". It is now just known as Bazaar. Bazaar was initially designed to be a development version and would be eventually released as Bazaar 2.x and replace the Baz program.[3] This plan is currently not being pursued as the Bazaar program has matured enough to remain an independent application. There were also plans to port the core Bazaar functionality to compiled C code, but due to the advances in Python, this is not currently being pursued. Most of the speed issues related to Bazaar are not related to the slower interpreted code but to unoptimized I/O methods and external effects.[4][5]

[edit] Bazaar vs Baz

Common Features:

  • Files are identified by file-id
  • Revisions have globally unique identifiers
  • Both support a repository-and-checkout workflow
  • Both use diff3-style merges
  • Dumb file transports (http, sftp, ftp, filesystem)
  • Neither support tags (like SVN, a separate branch can be used for the same purpose)
  • Both support GPG signing

Different Features

  • Uncommit is illegal (and dangerous) in baz
  • Baz is written in C
  • Baz has poor error messages (an improvement over Arch, though)
  • Baz doesn't support the self-contained branches that bzr makes on init.
  • Baz requires caches (revision libraries, tree logs and Arch Cache) for efficient operation (and is slow even so).
  • Baz branches are referred to by globally-unique identifiers, not locations
  • Baz branches typically do not have the complete revision-history. Instead, they say "look at this other branch for old data".

[edit] Features

[edit] Decentralized

Bazaar is decentralized and allows for greater flexibility for the programmer.

[edit] Simple

Bazaar allows you to modify the current branch by using normal file-system commands. (rm, cp, mv) Users can be productive in Bazaar with very few commands.

To start using bzr:

  • bzr init - Turn current directory into a Bazaar managed branch
  • bzr branch (location/url of existing bzr branch) (location to branch to) - creates a new branch from an existing branch. Existing branch can be local or accessed via http,ftp,sftp,etc.

To manage your bzr branch:

  • bzr add file.ext - make file.ext versioned (file.ext must exist in Bazaar branch directory)
  • bzr pull - pulls changes from the branch source
  • bzr commit -m "Describing Text" - Commit changes to history
  • bzr status - Summarize the changes in the working copy
  • bzr diff - shows a diff of what you have done since last commit
  • bzr log - shows a log of commits
  • bzr merge - merge changes from main branch (must have initialized current branch using bzr branch) into current branch

For help on bzr:

  • bzr help commands - List all the bzr commands
  • bzr help foo - Help on command foo

[edit] Smart

Bazaar has a very intelligent merge system and reduces conflicts between branches.

[edit] Unicode support

Bazaar supports versioning files with names from the complete Unicode set. It also allows commit messages, commiter names, etc to be in Unicode.

[edit] Foreign Branch Support

Bazaar has (currently limited) support for working with other revision control systems [6]. This lets you branch from another system (such as Subversion), make local changes and commit them into a Bazaar branch, and then later merge them back into the other system. Bazaar has basic support for Subversion with the bzr-svn[7] plugin. There is also beginnings of support for both Mercurial [8] and Git [9]. Currently these are not feature complete, but are complete enough to show a graphical history.

[edit] Notes

  1.   http://sourcefrog.net/weblog/personal/at-canonical.html
  2.   http://lists.gnu.org/archive/html/gnu-arch-users/2005-08/msg00170.html
  3.   http://sourcefrog.net/weblog/software/vc/bzr/composites.html

[edit] External links

In other languages
THIS WEB:

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - be - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - closed_zh_tw - co - cr - cs - csb - cu - cv - cy - da - de - diq - dv - dz - ee - el - eml - en - eo - es - et - eu - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gd - gl - glk - gn - got - gu - gv - ha - haw - he - hi - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mg - mh - mi - mk - ml - mn - mo - mr - ms - mt - mus - my - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - rm - rmy - rn - ro - roa_rup - roa_tara - ru - ru_sib - rw - sa - sc - scn - sco - sd - se - searchcom - sg - sh - si - simple - sk - sl - sm - sn - so - sq - sr - ss - st - su - sv - sw - ta - te - test - tet - tg - th - ti - tk - tl - tlh - tn - to - tokipona - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu

Static Wikipedia 2008 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -

Static Wikipedia 2007:

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - be - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - closed_zh_tw - co - cr - cs - csb - cu - cv - cy - da - de - diq - dv - dz - ee - el - eml - en - eo - es - et - eu - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gd - gl - glk - gn - got - gu - gv - ha - haw - he - hi - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mg - mh - mi - mk - ml - mn - mo - mr - ms - mt - mus - my - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - rm - rmy - rn - ro - roa_rup - roa_tara - ru - ru_sib - rw - sa - sc - scn - sco - sd - se - searchcom - sg - sh - si - simple - sk - sl - sm - sn - so - sq - sr - ss - st - su - sv - sw - ta - te - test - tet - tg - th - ti - tk - tl - tlh - tn - to - tokipona - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu

Static Wikipedia 2006:

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - be - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - closed_zh_tw - co - cr - cs - csb - cu - cv - cy - da - de - diq - dv - dz - ee - el - eml - en - eo - es - et - eu - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gd - gl - glk - gn - got - gu - gv - ha - haw - he - hi - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mg - mh - mi - mk - ml - mn - mo - mr - ms - mt - mus - my - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - rm - rmy - rn - ro - roa_rup - roa_tara - ru - ru_sib - rw - sa - sc - scn - sco - sd - se - searchcom - sg - sh - si - simple - sk - sl - sm - sn - so - sq - sr - ss - st - su - sv - sw - ta - te - test - tet - tg - th - ti - tk - tl - tlh - tn - to - tokipona - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu