flag for formats that don't support readonly transports

Bug #731232 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned

Bug Description

some foreign branch formats (svn, hg) don't actually use the transport API but just use it to get at a URL and then do their own thing.

This makes it impossible to support the readonly decorator for these formats. It would be nice if there was a flag we could set so the testsuite would skip tests that required readonly access.

Jelmer Vernooij (jelmer)
Changed in bzr:
status: Triaged → Confirmed
Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 731232] Re: flag for formats that don't support readonly transports

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

On 3/8/2011 1:12 PM, Jelmer Vernooij wrote:
> ** Changed in: bzr
> Status: Triaged => Confirmed
>

Would it be possible for them to do something special based on the
readonly decorator?

Seems like it would be nice to have readonly access to SVN just-in-case.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk12INgACgkQJdeBCYSNAAO16QCgu+jUN+d6a2fnCsk1q0mvX8dM
I5UAnA2k/CsxTFI/PLbO+HI8ijI5qtlb
=tOqi
-----END PGP SIGNATURE-----

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

On Tue, 2011-03-08 at 12:28 +0000, John A Meinel wrote:
> On 3/8/2011 1:12 PM, Jelmer Vernooij wrote:
> > ** Changed in: bzr
> > Status: Triaged => Confirmed
> >
> Would it be possible for them to do something special based on the
> readonly decorator?
>
> Seems like it would be nice to have readonly access to SVN just-in-case.
That's a good idea.

For Subversion we could add a readonly decorator for the subvertpy
transport functions and enable that in bzr-svn when the passed in
transport has is_readonly() set. I'll file a bug about this.

In Mercurial it's trickier because all repository access is hidden from
us and fairly high level.

Cheers,

Jelmer

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

I've worked around this with a decorator in bzr-svn, as John suggested. That turned out to be a lot easier than I had expected.

Changed in bzr:
importance: Medium → Low
Jelmer Vernooij (jelmer)
tags: added: 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.