Comment 2 for bug 731232

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 731232] Re: flag for formats that don't support readonly transports

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