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

  • Home
  • SEARCH
  • 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 3283072
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:59:58+00:00 2026-05-17T19:59:58+00:00

My workplace is considering moving to a modern (D)VCS which is something that I

  • 0

My workplace is considering moving to a modern (D)VCS which is something that I am pushing for.

My boss is in on the idea and the current workflow would be to have a centralized repository where everyone can commit/merge their changes when a task is done, While working on a task each developer can have their own branch to work on and commit to.

The problem is that he is not very fond of the idea that people have code on their workstations only until the changes are pushed into the shared repository. This is because of disk failures and so on.

What he would like to see is that everyone had their own branch on the server which would automatically be updated when you commit on your local workstation.

Does any DVCS support this in an easy to setup way?

Note though that I personally think it is perfectly acceptable for each developer to take responsibility of backing up their code by for example simply pushing their changes to a private branch on the remote server. This could be done manually or automatically with a cron script.

  • 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-05-17T19:59:58+00:00Added an answer on May 17, 2026 at 7:59 pm

    Just for the “us too” factor: this is doable in mercurial as it is in bzr and git. Just use a commit hook that pushes to a more central-ish repo when available. Something like this:

    [hooks]
    commit = hg push ssh://path/to/individual/developer/repo
    

    One thing I’ll note is that rather that enforcing this via hooks you can make pushing to central repo attractive to individual developers and you’ll find they do it on their own. Things I’ve done to get people committing/pushing (daily/hourly):

    • make sure they have a repo they can push to that has no expectations about compiling/tests passing – a checkpoint repo if you will
    • make it easy for them to set up a continuous integration build of repos of their choice on the central server — if it’s three-clicks-easy for them to start build-on-change for their personal branches then they’ll be pushing after each change just to see the test suite run
    • don’t shame them for having a branchy history — good DVCS use involves a lot of pull/merge/push cycles. If you make them use rebase or collapse to turn 30 changesets with 15 merges into one changeset per feature/bug then they’re incentivized to keep thing local until they’re ready to pull/merge/push the whole thing at once
    • run some non-judgemental metrics in a public place. Nothing draconian and silly like ranking developers by lines of code, but something that can be noticed, whether it’s an aggregate RSS feed from all the repo RSS feeds, or a commits@ email alias that gets a quick “X pushed changeset Y into repo Z” message whenever someone pushes. That’s nice because people always like a little sunshine on their extra-hours-worked and a “push” at the end of session gets that.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this snippet of code which I am considering to simplfy: if (numberOfResults
I have a project in a course at the university that requires various Matlab
My workplace is planning on moving to Team Foundation Server and it's not a
At my workplace we have a database with multiple schemas, and some table names
We are using CVS for around 50 java-projects which we develop using Eclipse, and
My workplace will be starting to use Sharepoint internally during the coming months. I'm
My workplace consists of a lot of cowboy coders. Many of them are junior.
The same question might have been asked but I didn't find any solutions available
I have a model, view and template: model class Peoples(models.Model): l_name = models.CharField(max_length=50) f_name
I have several Models: Workspace User Asset WorkspaceUser WorkspaceAsset Workspace has many users and

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.