Central Repository, want locked local files like Perforce

Asked by wilbur.harvey

I have been using Perforce to manage my binary files, which are mostly PCB and schematic symbols.
These are binary files and can never be merged.
I want to force that one user cannot modify a file so long as it is checked out by another user, but all users can have read access to them so they can view or use them in a design.
This was easily accomplished with Perforce (at $900.00/person) but I haven't been able to figure out how to do it using BZR.
In Perforce, each user can have the tree on his computer/laptop, but all the files are read only, and only change to R/W when he checks out the file Anyone else can easily see who has the file checked out and when they checked it out.
I really like the idea of being able to remotely add files to my repository on my laptop when I am offline and then sync up when I get back online.

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Martin Pool (mbp) said :
#1

Hi,

Bazaar can't do this at the moment but some people have talked about adding such a feature. It is a bit harder for a distributed vcs. For the moment we would suggest you coordinate it out-of-band by eg communicating 'locked' files on a wiki, email, etc.

Revision history for this message
Ian Clatworthy (ian-clatworthy) said :
#2

Martin Pool wrote:
> Question #103393 on Bazaar changed:
> https://answers.edge.launchpad.net/bzr/+question/103393
>
> Status: Open => Answered
>
> Martin Pool proposed the following answer:
> Hi,
>
> Bazaar can't do this at the moment but some people have talked about
> adding such a feature. It is a bit harder for a distributed vcs. For
> the moment we would suggest you coordinate it out-of-band by eg
> communicating 'locked' files on a wiki, email, etc.
>

I believe Simon Kersey has a "reserve lock" plugin under development to
address this use case. I'd suggest asking on the main mailing list about
its status.

Ian C.

Can you help with this problem?

Provide an answer of your own, or ask wilbur.harvey for more information if necessary.

To post a message you must log in.