[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bzr repository ready?
From: |
Óscar Fuentes |
Subject: |
Re: bzr repository ready? |
Date: |
Sat, 21 Nov 2009 17:27:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
"Stephen J. Turnbull" <address@hidden> writes:
[snip]
> > So checkouts and branches are mostly the same?
>
> No. In principle, a checkout is not a branch at all. It contains the
> working tree, but no history, and by default only enough metadata to
> tell bzr which repository to get history and other metadata from.
> Since the parent repository may be on another host, "log", "diff", and
> "commit" become expensive operations, and pull and push are no-ops.
Stephen missed a word here. What he says is correct for a *lightweight*
checkout. A normal checkout contains all the metadata, and in essence
what distinguishes it from a normal branch is that every `commit' has an
implicit `push'. Normal checkouts are also known as bound branches. You
can turn a branch into a checkout and vice-versa anytime. You can also
commit to a checkout using a flag for not executing the `push'.
For all practical effects, a lightweight checkout is a CVS checkout.
[snip]
--
Óscar Fuentes
Desarrollo de Software
- Re: bzr repository ready?, (continued)
- Re: bzr repository ready?, Stephen J. Turnbull, 2009/11/20
- Re: bzr repository ready?, Lennart Borgman, 2009/11/20
- Re: bzr repository ready?, Eli Zaretskii, 2009/11/21
- Re: bzr repository ready?, Karl Fogel, 2009/11/22
- Re: bzr repository ready?, Eli Zaretskii, 2009/11/21
- Re: bzr repository ready?, Stephen J. Turnbull, 2009/11/21
- Re: bzr repository ready?,
Óscar Fuentes <=
- Re: bzr repository ready?, Stephen J. Turnbull, 2009/11/21
- Re: bzr repository ready?, Óscar Fuentes, 2009/11/21
- Re: bzr repository ready?, Richard Stallman, 2009/11/21
- Re: bzr repository ready?, Stephen J. Turnbull, 2009/11/21
- Re: bzr repository ready?, Stefan Monnier, 2009/11/22
- Re: bzr repository ready?, Chong Yidong, 2009/11/20
- Re: bzr repository ready?, Karl Fogel, 2009/11/20
- Re: bzr repository ready?, Óscar Fuentes, 2009/11/20
- Re: bzr repository ready?, Richard Stallman, 2009/11/21
- Re: bzr repository ready?, Stefan Monnier, 2009/11/21