Questions tagged [mercurial]

Mercurial is a fast, open-source, distributed version control system.

Filter by
Sorted by
Tagged with
-1 votes
2 answers
173 views

Why does Meta (Facebook) use mono-repo in their source control? [closed]

Meta maintains all their code in a single repository and initially used Git. Due to performance issues attributed to the repo's size, they consulted Git's team, who suggested switching to a multi-repo ...
just_a_developer's user avatar
2 votes
2 answers
396 views

Who is the potential audience of a commit message?

I've been taking a course on plain language writing, in order to make my commit messages more readable and understandable. One of the main ideas in plain language writing is that your first identify ...
leeand00's user avatar
  • 472
-2 votes
1 answer
90 views

How can I get back to having only the master bookmark in Mercurial?

I am very confused in what I did with this mercurial repository ... I reversed a commit and after that I was never able to have a "unique" structure in my repository again. Can someone help me? > ...
Liliana Grigor's user avatar
2 votes
1 answer
203 views

Mercurial topology in three stage implementation

A few years ago, now, we had a chap working with us who introduced the following topology for Mercurial... The main repository server obviously holds the primary repositories, as you'd expect, but ...
Paul's user avatar
  • 201
0 votes
2 answers
287 views

Source Control Release Management: Simultaneous Releases with Different Configurations

This is a best practices question for release management of an app. But this scenario is a bit different than what I've been able to find myself. Essentially my company maintains a fork of its own ...
CrazyPenguin's user avatar
0 votes
1 answer
192 views

Introducing version control with a simple pull request workflow

I have very little experience of using a version control system and my work colleagues have no experience though I would like to introduce one into our team as the current workflow (non-existent ...
mhep's user avatar
  • 245
1 vote
1 answer
948 views

Best practice to revive and update old branch?

I'm a solo hobbyist developer with some code hosted on Bitbucket. I use TortoiseHg client-side for managing my repo. Back in 2013 I developed a feature on a branch but abandoned it before completion. ...
Drew's user avatar
  • 1,283
0 votes
2 answers
386 views

Source control utilizing single, remote development server, with "local repository" not on dev's machine

We have a small team currently working on numerous projects. We originally started out as a two person team and jumped in head first without any kind of source control. We currently break numerous ...
OregonJeff's user avatar
6 votes
1 answer
261 views

Mercurial: tracking several repositories with same versioning

I am using mercurial on my project. Now I face following problem: I have two separate mercurial repositories with their own history. Now I need to have identical branches/bookmarks for both of them. ...
Igor Konoplyanko's user avatar
11 votes
1 answer
3k views

Why can't Pull Requests be seriously implemented in Mercurial?

A week ago, I was at LFNW and as I was talking with Larry Hastings after his talk, he said (paraphrased): There's something in Git that makes the Pull Request workflow possible that isn't there in ...
strugee's user avatar
  • 221
3 votes
1 answer
628 views

Dividing up the work of a large code merge among multiple people?

This question is related to this one: Why not commit unresolved changes? When needing to merge a large code base with many conflicts, I would like to have a way to commit progress to be shared ...
PaulRuby's user avatar
3 votes
1 answer
213 views

How to improve our source control process

Background: We are using agile project management and follow sprints to do development. We are using a single repository in bitbucket.org that uses mercurial. Repository is hosting 3-4 products. ...
Prashant Lakhlani's user avatar
14 votes
5 answers
4k views

Is there any downside to commit messages containing the ticket number

I was wondering if it would be good practice for commit messages to contain the ticket number they were apart of. It would be like 2568 Fix heating issue Summary of the issue with a bunch ...
Simon Lau-Yamauchi's user avatar
2 votes
2 answers
133 views

Mercurial Branching from a branch

We are in a situation where the customer has requested an urgent deployment of the current features we are working on. These features are being developed in a mercurial branch named 'sprint 1' for ...
link64's user avatar
  • 143
2 votes
2 answers
394 views

"Party on my branch" workflow support in mercurial

When I'm on a git project, I have a workflow that goes something like this: Start a new feature (open a new branch) Write some code, commit some code, repeat Push the code to a remote, possibly with ...
Johnson's user avatar
  • 29
5 votes
1 answer
2k views

How can I split a repository that contains many projects which share the same build system?

I've been working on the past years on a research compiler suite, which builds several executables and libraries. It has a build system (namely bootstrapper) that looks into the ./src/bin directory ...
paulotorrens's user avatar
5 votes
1 answer
3k views

What is a good frequency for merging up feature branches to a main line?

We have a very large code base in mercurial. We have about a 6 month release cadence with 2 week sprints. For each release we have about 10 feature branches and maybe 5 or so people working per ...
marathon's user avatar
  • 161
0 votes
0 answers
98 views

What is a good frequency for merging up feature branches to a main line? [duplicate]

We have a very large code base in mercurial. We have about a 6 month release cadence with 2 week sprints. For each release we have about 10 feature branches and maybe 5 or so people working per ...
marathon's user avatar
  • 161
1 vote
1 answer
646 views

Why isn't the addremove recommended by default in Mercurial?

This is perhaps a question of strategy more than anything else. I am new to version control and I guess I should count myself lucky to have relatively more mature systems like Mercurial and Git at my ...
Shashank Sawant's user avatar
1 vote
1 answer
4k views

Developer Branch vs. Feature Branch [duplicate]

I saw around that development teams usually use source control in one of 2 schemes: Either "Feature Branch", where each feature is developed in a new branch, or "Developer Branch", where each ...
user972014's user avatar
2 votes
1 answer
317 views

Managing shared code in source control

Projects A and B both use library project L: Judging by what people have written about it on the web, managing this situation appears to be a headache: http://codingkilledthecat.wordpress.com/2012/...
William Jockusch's user avatar
0 votes
1 answer
472 views

How do you plan releases with new features in a development / releases branch model?

We are trying to implement a branch model in Mercurial. We have read the "Successful GIT branching model" and I proposed another, based on branched version numbers. Then I ended accepting the model ...
JorgeeFG's user avatar
  • 669
6 votes
2 answers
254 views

What is the argument for never forcing a push in a DVCS (Mercurial)?

I always preach never to force push anything, because that adds ambiguity to the repository server. In this specific example, we collaborate with a customer and they "skip a step" and force push ...
bjones14's user avatar
2 votes
1 answer
194 views

Should I use git and mercurial in the same directory?

I am looking for a solution for having revision control on framework code and project code at the same time. If I am using a MVC framework, there may be specific directories where I should put my ...
Drahcir's user avatar
  • 121
3 votes
2 answers
1k views

Does cherry-pick just pull changes into the current working tree as uncommitted changes?

My team uses Mercurial for version control. Our development / version control routine is: all been committing to the same branch pulling for changes and rebasing our commits locally before pushing ...
jordan.baucke's user avatar
61 votes
7 answers
6k views

At what point is version control needed? [duplicate]

I work in embedded systems. Right now, my organization has two full-time programmers and two occasional programmers. It's rare that the same project is worked on by two programmers. All code is stored ...
Stephen Collings's user avatar
4 votes
1 answer
276 views

How does Mercurial determine which changesets I need when I pull?

This is a question about the internal workings of Mercurial. I vaguely remember a fellow programmer explaining to me how mercurial works out which changesets differ between two repositories and that ...
Robin's user avatar
  • 176
8 votes
4 answers
10k views

Can you close branches in Git?

In Mercurial you can close a branch like this: hg commit --close-branch, this means the the branch will not be listed anymore but will still exist, and can still be listed if you use hg branches --...
dukeofgaming's user avatar
5 votes
3 answers
262 views

How do distributed version-control systems deal with fragmentation?

Here is the scenario: X is the author of a software. X releases v1.0 on an open source license on Github and moves on. People interested in the software fork and improve the software. Now there are ...
Vaibhav Bajpai's user avatar
36 votes
3 answers
27k views

When to separate a project in multiple subprojects

I'd like to know if it makes sense to divide the project I'm working on in two repositories instead of one. From what I can say: Frontend will be written in html+js Backend in .net The backend ...
Loïc Faure-Lacroix's user avatar
3 votes
3 answers
626 views

Release Management Tools with DVCS (Mercurial)

My development team is migrating from SVN to Mercurial. Having researched DVCS best practices, it has been suggested that we develop against feature branches of the repo mainline, test them separately,...
Crollster's user avatar
  • 261
4 votes
2 answers
261 views

Is it a good idea to create multiple heads with Mercurial? [closed]

I just made a commit that I want to reverse, but I want to keep the bad commit in history. So, I hg update to the previous (good) commit. Then I keep working. This leaves me with a new head: the ...
Tom Marthenal's user avatar
3 votes
3 answers
8k views

Fixing a push to the wrong branch

I committed and pushed some changes to the wrong branch. I found a way to fix it, but it seems overly complicated. Is this really the easiest way? on the branch that you made your changes, type hg ...
mpen's user avatar
  • 1,889
8 votes
6 answers
661 views

hginit - #ifdefs ridiculous

I was reading Joel Spolsky's mercurial introduction when it struck me: "And now what they do is this: each new feature is in a big #ifdef block. So they can work in one single trunk, while ...
panny's user avatar
  • 317
18 votes
3 answers
3k views

Branching breaks continous integration?

I think this article, A Successful Git Branching Model, is very well known among experienced DVCS users. I use hg mostly, but I would argue this discussion is fine for any DVCS. Our current ...
CppLearner's user avatar
89 votes
10 answers
20k views

Why is the sudden increase in number of Git submitters on Debian popcon graph in 2010-01?

Almost every article I've read 1 comparing Git and Mercurial it seems like Mercurial has a better command line UX with each command being limited to one idea only (unlike say git checkout). But at ...
28 votes
6 answers
24k views

What's so difficult about SVN merges?

Possible Duplicate: I’m a Subversion geek, why should I consider or not consider Mercurial or Git or any other DVCS? Every once in a while, you hear someone saying that distributed version ...
Mason Wheeler's user avatar
5 votes
3 answers
4k views

What is the point to namespaces in branches in git?

So I mainly use Mercurial for my projects and I decided to sit down and learn all Git's shenanigans to discover if I'm in the right side (at least for me). I'm learning that git uses namespaces for ...
dukeofgaming's user avatar
4 votes
2 answers
9k views

How can I get rid of just the untracked files in git? [closed]

In Mercurial I can do this with the bundled Purge Extension and executing the following command: hg purge Also good to get rid of ignored files: hg purge --all I'm curious about the most practical/...
dukeofgaming's user avatar
-2 votes
1 answer
745 views

Why can Perforce be a better version control system? [closed]

I've seen some people love and some loathe Perforce. As users or administrators with experience with other version control systems (free cookie to the ones with DVCS experience [git, Mercurial]), what ...
dukeofgaming's user avatar
5 votes
2 answers
1k views

Is Perforce as good at merging as DVCSs?

I've heard that Perforce is very good at merging, I'm guessing this has to do with that it tracks changes in the form of changelists where you can add differences across several files in a single blow....
dukeofgaming's user avatar
15 votes
7 answers
6k views

Why not commit unresolved changes?

In a traditional VCS, I can understand why you would not commit unresolved files because you could break the build. However, I don't understand why you shouldn't commit unresolved files in a DVCS (...
Explosion Pills's user avatar
8 votes
3 answers
3k views

Examples of non open source projects on Bitbucket or Github

Need examples to show management that these are used for source control and effectively backup of projects. They will be concerned about having their source code off-site. If there are good ...
supervan's user avatar
6 votes
3 answers
8k views

How to organise projects with dependencies on BitBucket?

Both Mercurial and BitBucket make one fundamental assumption: 1 repo = 1 project. If I have a project that has a dependency (a library) which is shared by many projects, this assumption gets in the ...
Timwi's user avatar
  • 4,429
2 votes
1 answer
229 views

Can DVCSs enforce a specific workflow?

So, I have this little debate at work where some of my colleagues (which are actually in charge of administrating our Perforce instance) say that workflows are strictly a process thing, and that the ...
dukeofgaming's user avatar
3 votes
2 answers
1k views

Can an open source solution match or surpass Team Foundation Server's features? [closed]

Team Foundation Server offers a version control system, but with many more side features, such as bug tracking, user stories, project planning, and it is all integrated into visual studio. Someone ...
Tjaart's user avatar
  • 1,871
13 votes
5 answers
3k views

Is it a good idea to install Mercurial on your server and hg pull to deploy?

I've just started at a new job this past month and looks like they have NO source control for their code. They are relying on the backups their hosting provider takes for them. After talking a bit I ...
sergserg's user avatar
  • 1,882
9 votes
3 answers
995 views

Any reasons not to use multiple version control systems?

I'm working on a project which uses GIT as the main version control system for trunk, the official branches and most sub-projects/unofficial branches. As such, I want to make my own branch use GIT to ...
Jon Story's user avatar
  • 336
7 votes
2 answers
1k views

Recommended methodology for working with shared libraries and Mercurial

I work in a small team of developers who all collaborate on several Zend PHP projects. We are using Mercurial with a collection of upstream repositories, as well as Jenkins for centralized testing ...
shanethehat's user avatar
0 votes
4 answers
7k views

Searching in a repository

I'm very new to source control management and one thing puzzles me: is it possible to search through the whole repository for a string? For example I'm tracking one file, which has 100 commits and I ...
Another Programmer's user avatar