Questions tagged [dvcs]

DVCS stands for Distributed Version Control System. Use this tag for questions about DVCSes in general. If your question is about git, or another DVCS that has its own tag already, then use that tag instead of this one.

Distributed revision control system (DRCS), distributed version control or decentralized version control system (DVCS) keeps track of software revisions and allows many developers to work on a given project without necessarily being connected to a common network.

Most popular DVCS:

911 questions
19
votes
5 answers

git vs mercurial performance

Do any performance benchmarks exist? I'm looking to create a repo and commit/ push for legacy code that runs several gigs deep. Is either faster / footprint etc? I apologize if this is too vague...
Eva611
  • 5,964
  • 8
  • 30
  • 38
19
votes
10 answers

Looking for a wiki-style, standalone, version-control-"safe" documentation package

My team and I have found that documenting our project (a development platform w/ API) with a wiki is both useful to us and useful to the users. Due to some organizational issues, we're forced to do multi-site development without network…
basszero
  • 29,624
  • 9
  • 57
  • 79
19
votes
3 answers

How to develop on a branch in HG?

I would like to do some experimental work in a hg project. So I would like to create branch, commit to it. And if the experiment works, I can merge it back to main branch. In git, I can do $ git branch experimental $ git checkout experimental (edit…
michael
  • 106,540
  • 116
  • 246
  • 346
18
votes
2 answers

What parts of a Xamarin solution should be kept out of the repository?

I'm working with a designer on a Xamarin.Android application and we are having trouble keeping in sync. We use Mercurial, but my question should be as relevant for Git or any other DVCS. My .hgignore file looks like…
Jannie Theunissen
  • 28,256
  • 21
  • 100
  • 127
18
votes
4 answers

Different Distributed Version Control Systems working together

My office has a central Source Safe 2005 install that we use for source control. I can't change what the office uses on the server. I develop on a laptop and would like to have a different local source control repository that can sync with the…
Rob Allen
  • 17,381
  • 5
  • 52
  • 70
18
votes
1 answer

What is the state of Bazaar version control?

I am looking to start a project with distributed source control and am evaluating the different options. Looking at Bazaar, I stumbled over several articles (e.g. this) that development has slowed down significantly. What is the status of the…
ARF
  • 7,420
  • 8
  • 45
  • 72
17
votes
2 answers

Is there implementation of Git in pure Python?

Is there implementation of Git in pure Python?
Piotr Dobrogost
  • 41,292
  • 40
  • 236
  • 366
17
votes
2 answers

How do you organize your git repositories?

"Traditional" version control systems follow a "Cathedral" model -- all the code is stored in one main repository. Distributed Version Control Systems like git allow a lot more flexibility in organizing your multiple repositories. You can "push"…
officemonkey
  • 313
  • 1
  • 2
  • 8
17
votes
5 answers

Mercurial Subrepositories: Prevent accidental recursive commits and pushes

I work on a team where we have a code in a mercurial repository with several subrepositories: main/ main/subrepo1/ main/subrepo1/subrepo2/ The default behavior of Mercurial is that when a hg commit is performed in "main", any outstanding changes in…
davidg
  • 5,868
  • 2
  • 33
  • 51
17
votes
3 answers

How to manage concurrent development with mercurial?

This is a best practice question, and I expect the answer to be "it depends". I just hope to learn more real world scenarios and workflows. First of all, I'm talking about different changes for the same project, so no subrepo please. Let's say you…
Geoffrey Zheng
  • 6,562
  • 2
  • 38
  • 47
17
votes
1 answer

How does Git track history during a refactoring?

I understand well how Git can support file moves : as it uses file hash, a "added" file is easily detected as beeing same as the "removed" one. My question is about refactoring : considering Java, the package declaration changes so the file content…
Nicolas De loof
  • 171
  • 1
  • 3
17
votes
2 answers

Does Mercurial support empty commit messages?

Is there a way to configure Mercurial to allow for empty commit messages? If you try hg commit through the CLI without entering a commit message, the commit is canceled with: abort: empty commit message. Now, I know that committing without a…
derekerdmann
  • 17,696
  • 11
  • 76
  • 110
17
votes
6 answers

How does Mercurial stack up against GIT and SVN?

With Phil Haack and others recently tweeting about CodePlex's move to support Mercurial as a DVCS, I thought it might be worth a look. As someone who currently uses SVN for personal projects and TFS at The Office, how does Mercurial compare in terms…
Phil.Wheeler
  • 16,748
  • 10
  • 99
  • 155
17
votes
7 answers

Is there a free private Bazaar online source host?

I am looking for a free private online Bazaar source host. Does anybody know of any? I had a quick look and it seems there are lots of Git, Mercurial, and SVN options, but no Bazaar? Just to clarify, when I say "private" I mean in the sense that you…
Andrew
  • 11,068
  • 17
  • 52
  • 62
16
votes
2 answers

How can I completely replace a bitbucket repository with another repository?

I recently had to make a couple of changes which required rebuilding the repository using hg convert. Unfortunately, this means the bitbucket repo is now inconsistent with the copy I have locally. I don't want to just "blow away" the repo as it…
Billy ONeal
  • 104,103
  • 58
  • 317
  • 552