bzr init on the root of a remote repository gives wrong error

Bug #75364 reported by Wouter van Heyst
2
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Low
Unassigned

Bug Description

> bzr init-repo sftp://localhost/tmp/repo
> bzr init sftp://localhost/tmp/repo
bzr: ERROR: sftp://localhost/tmp/repo/.bzr is not a local path.

This will likely be fixed when the changes proposed by John in http://thread.gmane.org/gmane.comp.version-control.bazaar-ng.general/20041/focus=20131
are made. Just filing this to make sure it's not forgotten.

Tags: init
Revision history for this message
Wouter van Heyst (larstiq) wrote :

Ah, forgot to mention the branch is actually created, so it's mainly the error that is confusing.

Changed in bzr:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Revision history for this message
John A Meinel (jameinel) wrote :

The bug is that it is trying to create a remote working tree.

I'm not sure why, especially if the remote repository has --no-trees set.

Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 75364] Re: bzr init on the root of a remote repository gives wrong error

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

John A Meinel wrote:
> The bug is that it is trying to create a remote working tree.
>
> I'm not sure why, especially if the remote repository has --no-trees
> set.

I think there's another bug that push ignores the repo setting for tree
creation.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFFgu9V0F+nu1YWqI0RAjW0AJ9CjPGlWvCMDxaVdB8yw0gshv4TlgCeOCYL
41lKI94UERbKy4EsHJUX8cQ=
=HQTU
-----END PGP SIGNATURE-----

Revision history for this message
John A Meinel (jameinel) wrote :

That is a bug, but as I recall, that was only true for local branches.

Jelmer Vernooij (jelmer)
tags: added: init
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This works fine in modern versions of bzr.

Changed in bzr:
status: Confirmed → Fix Released
tags: removed: check-for-breezy
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.