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
30
votes
8 answers

Build sequencing when using distributed version control

Right now, we are using Perforce for version control. It has the handy feature of a strictly increasing change number that we can use to refer to builds, eg "you'll get the bugfix if your build is at least 44902". I'd like to switch over to using a…
sfink
  • 1,726
  • 1
  • 17
  • 22
29
votes
6 answers

How are DVCS used in large teams?

I've recently started getting into Git on a personal project, and I can see how a DVCS might benefit us at work (which is a large enterprise software company, currently running Perforce). Feature work in my team for example mostly consists of…
alastairs
  • 6,697
  • 8
  • 50
  • 64
29
votes
3 answers

Check in single file with Mercurial?

Let's say you do hg status and you have three files modified. I know how to check in all three files (hg commit). But how can you check in (and then hg push) just one of the modified files?
Marcus Leon
  • 55,199
  • 118
  • 297
  • 429
29
votes
6 answers

How do I synchronise two remote Git repositories?

I have two repository urls, and I want to synchronise them such that they both contain the same thing. In Mercurial, what I'm trying to do would be: hg pull {repo1} hg pull {repo2} hg push -f {repo1} hg push -f {repo2} This will result in two heads…
Danny Tuppeny
  • 40,147
  • 24
  • 151
  • 275
29
votes
7 answers

Git versus Mercurial for .NET developers?

I've been wondering what is the better DVCS for .NET developers? From reading various information it has sounded like Mercurial works better on Windows, but other information claims that Git has caught up and surpassed Mercurial in offering quality…
jwanagel
  • 4,078
  • 1
  • 25
  • 33
29
votes
13 answers

Are there any good graphical Git and Hg/Mercurial clients on Mac OS X?

I'm searching for compelling Git and Mercurial clients on Mac OS X. The most clients I've found so far were less compelling as I expected. Some of the clients are programmed even in Ruby or Tcl/Tk, which IMO aren't good OS X citizens in regard of…
Jens Kohl
  • 5,899
  • 11
  • 48
  • 77
28
votes
3 answers

creating a new branch in mercurial: "abort: push creates new remote head"

I am trying to do something very simple: create a new branch. But I messed up. Where did I make the mistake, and how do I fix it? I am the only user of Mercurial. I had revision 54 committed and pushed to remote repository. I wanted to create a…
max
  • 49,282
  • 56
  • 208
  • 355
28
votes
33 answers

Which Version Control System would you use for a 1000+ developer organization? Why?

There are many SCM systems out there. Some open, some closed, some free, some quite expensive. Which one (please choose only one) would you use for a 3000+ developer organization with several sites (some behind a very slow link)? Explain why you…
Vasco Duarte
  • 279
  • 5
  • 12
28
votes
9 answers

Using Git with VB6

Our company has a large codebase in VB6, and we currently use VSS which, for all that we hate about it, at least integrates into the VB6 IDE. My own team, which is using .NET, are now looking into alternative SCMs like my personal favourite, Git.…
Gavin
  • 9,855
  • 7
  • 49
  • 61
28
votes
6 answers

Managing aesthetic code changes in git

I find that I make a lot of small changes to my source code, often things that have almost no functional effect. For example: Refining or correcting comments. Moving function definitions within a class for a more natural reading order. Spacing and…
Ollie Saunders
  • 7,787
  • 3
  • 29
  • 37
27
votes
11 answers

Why do you use Git over Mercurial? (Or vice versa.)

I currently use Git, and am generally happy with it, but I'd like to know more about Mercurial. Does it have any advantages over Git? What are the advantages of Git over Mercurial? I realize there are already detailed comparisons of the two, but…
iconoclast
  • 21,213
  • 15
  • 102
  • 138
27
votes
1 answer

How to use mercurial for release management?

This is a cousin question with my earlier question of "How to manage concurrent development with mercurial", which covers individual developer workflow. The answer to this question will actually influence the choice for developer workflow. This is…
Geoffrey Zheng
  • 6,562
  • 2
  • 38
  • 47
27
votes
7 answers

Should checkins be small steps or complete features?

Two uses of version control seem to dictate different checkin styles. distribution centric: changesets will generally reflect a complete feature. In general these checkins will be larger. This style is more user/maintainer friendly. rollback…
deft_code
  • 57,255
  • 29
  • 141
  • 224
27
votes
7 answers

Show all commits whose diff contain specific string

As the title says, I want to find every commit whose diff contains specific string. At the moment, I use git log -p 'filename' Which shows less like interface of every diff, where I search for the string. Then I backtrace to find the actual…
bbaja42
  • 2,099
  • 18
  • 34
26
votes
1 answer

What is the difference between clone and mkdir->cd->init->remote-add->pull?

After setting up a repo on Github, there seems to be two ways to pull that repo into a local repo. Firstly, I could create a directory, initialize a blank repo, add a remote and then pull changes from the remote. > mkdir "exampleProject" > cd…
Rupert Madden-Abbott
  • 12,899
  • 14
  • 59
  • 74