'bzr branch' behaving differently when using a shared repository

Bug #53483 reported by Jelmer Vernooij
10
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Vincent Ladeuil

Bug Description

Creating a repository using 'bzr init-repo' and then creating a branch using that shared repository will result in a branch without a checkout. This is confusing, especially to people who are new to Bazaar.

Repositories are often used (and advertised) as a simple way to share history between branches for performance reasons, and as such it can be confusing that 'bzr branch' with a shared repository behaves differently.

I understand the original reason for making the no working trees the default for shared repositories, but I think that decision should be reconsidered given the way people use repositories.

Revision history for this message
Erik Bågfors (zindar) wrote : Re: [Bug 53483] 'bzr branch' behaving differently when using a shared repository

I'm definitely +1 on having --trees be the default.

Here it would be really good to have a better opt-parser so we can do an
alias to have --no-trees be default for ppl who want it...

/Erik

ons 2006-07-19 klockan 22:08 +0000 skrev Jelmer Vernooij:

> Public bug reported:
>
> Creating a repository using 'bzr init-repo' and then creating a branch
> using that shared repository will result in a branch without a checkout.
> This is confusing, especially to people who are new to Bazaar.
>
> Repositories are often used (and advertised) as a simple way to share
> history between branches for performance reasons, and as such it can be
> confusing that 'bzr branch' with a shared repository behaves
> differently.
>
> I understand the original reason for making the no working trees the
> default for shared repositories, but I think that decision should be
> reconsidered given the way people use repositories.
>
> ** Affects: bzr (upstream)
> Importance: Untriaged
> Status: Unconfirmed
>

Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 53483] 'bzr branch' behaving differently when using a shared repository

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jelmer Vernooij wrote:
> I understand the original reason for making the no working trees the
> default for shared repositories, but I think that decision should be
> reconsidered given the way people use repositories.

I think this sort of thing is better discussed on the list than through
the bug tracker.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEvvbg0F+nu1YWqI0RAmnLAKCBZKenWPT4apgPS7qq8IY3ciY8tQCdFXFD
oU+UMd3Z0CehEIdH7pEGZmo=
=fQ1o
-----END PGP SIGNATURE-----

Revision history for this message
Martin Pool (mbp) wrote :

Confirmed

Changed in bzr:
importance: Untriaged → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Martin Pool (mbp) wrote :

We had some discussion of this on irc; abentley mbp and lifeless agree it would be ok to change the default. It should be enough to just change cmd_init_repo to use a different initial default.

This won't fix existing repositories though because the value used when they were created is remembered.

Revision history for this message
Vincent Ladeuil (vila) wrote :

Fixed in attached patch

Changed in bzr:
assignee: nobody → v-ladeuil
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Patch appears to be missing?h

Revision history for this message
Vincent Ladeuil (vila) wrote :

Doh !

Here it is.

Vincent Ladeuil (vila)
Changed in bzr:
status: Confirmed → Fix Committed
Revision history for this message
Vincent Ladeuil (vila) wrote :

Larstiq provided a better patch that has been merged.

Changed in bzr:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.