Pure light checkout?
Robert Collins
robertc at robertcollins.net
Mon Sep 3 22:25:32 BST 2007
On Mon, 2007-09-03 at 10:22 +0300, Jari Aalto wrote:
> Robert Collins <robertc at robertcollins.net> writes:
>
> > On Sun, 2007-09-02 at 17:25 +0300, Jari Aalto wrote:
> >
> >> Would it be possible to add a checkout option that does nothing else
> >> but
> >>
> >> - retrieves only the HEAD of all files of a branch
> >> - Records the repository location from where the checkout was done
> >
> > Thats what checkout --lightweight does.
>
> Ok.
>
> > The other things you ask for - the inability to do various options - is
> > more tricky (...) because you want policy enforced?
>
> That too. Like:
>
> bzr co --lightweight --read-only
>
> which then would prevent updating anything from that location to the
> repo. Perhaps a flag would be stored, which bzr would detect for any
> 'ci' operations.
I'm not sure if its worth the complexity - just using a read only
account or url to do the checkout will give you the inability to alter
the repository.
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070904/689cc05c/attachment.pgp
More information about the bazaar
mailing list