Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8600443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:37:05+00:00 2026-06-12T01:37:05+00:00

We multiple programmers have to work at one project simultaneously. Sometimes we have to

  • 0

We multiple programmers have to work at one project simultaneously. Sometimes we have to work in a single file.

Which one is better

  • File locking
  • Branching

Or, how to use both of them in better ways?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T01:37:06+00:00Added an answer on June 12, 2026 at 1:37 am

    Non-locking checkout (what you call “Branching”) is always better. Locking checkout leads to no check-in conflicts, at the expense of check-out conflicts. Checkout conflicts can be mitigated provided that people are 100% reliable (and fast). Otherwise, you have people sitting on their hands to get a check-out, instead of working in parallel.

    For example, I start working on a file, so I lock it. Then I go to lunch. Nobody else gets to work with this file while I am gone. I come back from lunch, my email box is full of “hey please unlock XXX”, my phone has messages, etc. These “pressures” eventually lead to people doing their work outside of revision control, and then “merging” them into the revision control system (which is prone to missed item failure).

    With non-locking checkout, You and I both checkout, without coordination, and we both (again uncoordinated) modify a few of the same files. I check in first, which will merge with the repository smoothly (again I didn’t coordinate with you). You try to check in, but three of your files were based on copies made “prior” to the “current” copy of the file. You are now tasked with a choice. Delete your file and make the changes according to the “current” copy, or download the changes applied to make the “current” copy from the “old” copy and merge those changes into your submission. You only wait on yourself.

    With non-locking checkout, one person doesn’t impact the rest of the team for whatever item they are attempting to do. They might incur more work for themselves if they chose to not merge often or merge early; but, they do not incur more work for others.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have multiple programmers contributing examples for javadocs and some examples contain comments formatted
Multiple part question on running gvim on windows xp. I have a _vimrc file
multiple webapp running on same tomcat using same jvm. sometime, one webapp that have
I can imagine system of how can multiple programmers work intensive on same codebase
I have a table with multiple tbody's, each of which has a classed row,
I have multiple images taken simultaneously pointing at the same direction from the same
I have one project where I need to apply a dozen or so regex
I have a queue of uniform message objects with multiple producers and a single
I have a Zend Framework project that because of the expertise of previous programmers,
I have multiple IPs on a NIC. I've programmed a console application to connect

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.