can create a pack repository over bzr+ssh, but then not open it

Bug #159118 reported by Martin Pool
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned

Bug Description

The bzr+ssh protocol in 0.92 allows the client to create a repository in a format that's not understood by the server. However, any later operation on the repository will fail.

John writes:

---
Actually, a side effect of having a VFS. The remote side just gets commands
like "put this text into this file", and doesn't realize what is actually being
put there.

As we add more smart commands, this will be less likely to happen. For example,
once we have a "BzrDir.initialize(format)" then the smart server can refuse to
initialize unknown formats.

For now, I think we should just let it slide. If he had already created a
remote branch, it wouldn't do this. It is only happening on a plain push
because 'push' is defined to create a remote branch when one is not there.

We can mark it as a bug, but I don't think it should block a release.
---

Tags: hpss packs
Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Alexander Belchenko (bialix) wrote :

Today I eventually step into this bug with launchpad.
I did initial push to launchpad from packs repo.
Now launchpad refuse to publish my branch and refuse to delete it.
https://code.launchpad.net/~bialix/intelhex/trunk-w-tags

What I should do?

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

It refuses to delete it? I've done this a few times, and never had a problem going to: "BRANCH/+delete" or in your example
https://code.launchpad.net/~bialix/intelhex/trunk-w-tags/+delete

To delete the branch, and then use
bzr init --dirstate-tags bzr+ssh://bazaar.launchpad.net/~bialix/intelhex/trunk-w-tags/
bzr push bzr+ssh://bazaar.launchpad.net/~bialix/intelhex/trunk-w-tags/

However, you could also just wait a little bit. I believe Launchpad is set to be updated to support pack branches by the end of this month. (Whenever the 1.11 release lands.)

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 159118] Re: can create a pack repository over bzr+ssh, but then not open it

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

John A Meinel пишет:
> It refuses to delete it? I've done this a few times, and never had a problem going to: "BRANCH/+delete" or in your example
> https://code.launchpad.net/~bialix/intelhex/trunk-w-tags/+delete

Yes, it refuse. I got this output from the link above:

 ~bialix/intelhex/trunk-w-tags for the IntelHex project
Delete branch

This branch cannot be deleted at this time.

A branch cannot be deleted if it is linked to any bugs or blueprints, or if it has subscribers.

A branch also cannot be deleted if it has already been pushed to or mirrored.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHOHhUzYr338mxwCURApU9AJ9vaQ3W+cxHnHAdIN39s2qHFQm9VgCfRYLO
mSAB3Smyi5BxSObtabWM77M=
=oaMn
-----END PGP SIGNATURE-----

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.