multiple users at the same time on one repo...
T Budiman
ducdedalmatie at yahoo.com
Tue Aug 22 18:01:25 BST 2006
> > The situation that I'd love to see is to replace
> svn with bzr but
> > still allow people to work the same way (in a
> centralized manner).
> > That would mean that many developers are using
> checkouts on multiple
> > branches in that same repo at the same time.
I'm trying that in my workplace with 5 developers
using 1 central repository and each using lightweight
checkouts.
> > I think that locking will become a serious problem
> then. I haven't
> > tried to do this yet, but it should be fairly easy
> to test what
> > happens.
Yes, when someone is locking the repositories the
other developers get locaking errors and has to wait
(manually).
> 1) Shared repositories are simply a storage
> optimization. If you really
> run into lock conflicts on separate branches too
> often, create more
> repositories. In the ultimate case, everything could
> be a standalone branch.
This could be done, but require extra effort when
integrating work by different developers. I don't
think this approach solve the problem.
> 2) It is already possible to wait on a lock for a
> short period of time.
> We just need to update the code so that it doesn't
> always puke right
> away, but is given the opportunity to wait for a few
> seconds before
> failing. This mostly has implications based on how
> long a lock is
> expected to be held versus the frequency of commits.
This looks like a nice feature to have. This is what
cvs do right?
Another and more serious problem is when some bzr
operation failed (caused by network disconnection, for
instance). Then the repository is still locked the
that particular user. Then the other users can't use
the repositories, since the lock file is owned by the
first user. bzr clear-lock doesn't work with
permission denied. So they need the first user or root
password to delete the lock file.
Any thoughts on this?
T. Budiman
Malaka9
Bandung INA
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the bazaar
mailing list