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
71
votes
7 answers

A pretty and feature rich Git GUI for Linux

I was checking out for a rich GUI for Git on Linux. As of late, I have started using it a lot and find that even though command-line is very useful, I would still want a GUI at my disposal since I am not still very much aware with the advanced…
Manish Sinha
  • 2,092
  • 2
  • 22
  • 33
64
votes
6 answers

How can I view the output of `git show` in a diff viewer like meld, kdiff3, etc

There are many SO questions that show how to view the output of a git diff command in a diff viewer like meld using git difftool or otherwise. I am not asking about git diff though. I want to see the output of git show in a…
Buttons840
  • 9,239
  • 15
  • 58
  • 85
64
votes
5 answers

How do I "switch" with Mercurial

How do I do what svn switch does, in Mercurial? That is change my working directory to switch to another branch in the repository?
Jonas Meyer
  • 803
  • 1
  • 6
  • 7
63
votes
6 answers

How do I clone a sub-folder of a repository in Mercurial?

I have a Mercurial repository containing a handful of related projects. I want to branch just one of these projects to work on it elsewhere. Is cloning just part of a repository possible, and is that the right way to achieve this?
James Hopkin
  • 13,797
  • 1
  • 42
  • 71
63
votes
3 answers

Using Mercurial in a Large Organization

I've been using Mercurial for my own personal projects for a while, and I love it. My employer is considering a switch from CVS to SVN, but I'm wondering whether I should push for Mercurial (or some other DVCS) instead. One wrinkle with Mercurial…
Kristopher Johnson
  • 81,409
  • 55
  • 245
  • 302
59
votes
5 answers

Is there an open source equivalent to piper, Google's version control tool?

Google stores all its codebase in a single repository called piper [1] [2] [3]. It has an approach that is very different than open source alternatives do (centralized 'cloud' service) and aims at scaling to a repository with billions of files,…
Colin Pitrat
  • 1,992
  • 1
  • 16
  • 28
58
votes
12 answers

How to automatically remove all .orig files in Mercurial working tree?

During merges mercurial leaves .orig file for any unresolved file. But after manually resolving problems and marking a file correct it does not delete the .orig file. Can it be automatically removed by some command? I work on a Mac so I can use…
rkj
  • 8,787
  • 2
  • 29
  • 35
54
votes
6 answers

How can I back out a merge in Mercurial and later remerge with that branch?

I have two branches, default and branch1. By mistake one person in our team merged branch1 with default. The content in branch1 is not yet ready to merge with default (it contains a major rework of the build & deploy environment). We did an…
Peter Moberg
  • 3,098
  • 4
  • 29
  • 35
54
votes
5 answers

Mercurial: Merging one file between branches in one repo

When I have two branches in Hg repo, how to merge only one file with another branch, without having all other files from changeset merged? Is it possible to merge only certain files, instead of whole changeset?
Jox
  • 7,132
  • 14
  • 49
  • 63
52
votes
7 answers

Bitbucket: Update a fork to merge changes of master repo?

I am working with a bitbucket git repo I have read-only access to, so I created a fork to work on my features. Question: How do I update my fork to include changes made to the original repo made by the owner? On github, it seems one has to do the…
franka
  • 1,867
  • 3
  • 17
  • 31
52
votes
9 answers

Distributed Version Control Systems and the Enterprise - a Good mix?

I can see why distributed source control systems (DVCS - like Mercurial) make sense for open source projects. But do they make sense for an enterprise? (over a centralized Source Control System such as TFS) What features of a DVCS make it better or…
Raj Rao
  • 8,872
  • 12
  • 69
  • 83
52
votes
3 answers

NuGet and distributed version control (DVCS)

I wonder if it is possible to use nuget to only store references to the required packages in version control (only the package.config and ignore the packages folder). Is there a way to tell nuget to (re)download all the referenced packages in the…
Fionn
  • 10,975
  • 11
  • 54
  • 84
52
votes
8 answers

How do I keep an svn:external up to date using git-svn?

Treating my repository as a SVN repo, I get: svn co http://myrepo/foo/trunk foo ... foo/ bar/ baz/ -> http://myrepo/baz/trunk Treating it as a Git repo, I get: git svn clone http://myrepo/foo --trunk=trunk --branches=branches…
James A. Rosen
  • 64,193
  • 61
  • 179
  • 261
51
votes
2 answers

Describe your workflow of using version control (VCS or DVCS)

I'd like to learn other people workflow when using either vcs or dvcs. Please describe your strategy to handle the following tasks: Implement a feature Fixing bugs (during development and deployed app) Code Review Refactoring code (post…
edwin.nathaniel
  • 1,002
  • 1
  • 10
  • 16
51
votes
5 answers

How do I manage large art assets appropriately in DVCS?

Is there any good way to handle large assets (i.e. 1000's of images, flash movies etc.) with a DVCS tool such as hg and git. As I see it, to clone repositories that are filled with 4 GB assets seems like an unnecessary overhead as you will be…
Spoike
  • 119,724
  • 44
  • 140
  • 158
1 2
3
60 61