mercurial

How does Mercurial merge internally?

£可爱£侵袭症+ 提交于 2019-12-10 14:10:34
问题 There is a nifty article on quora about how git does it's merging: http://www.quora.com/Git-revision-control/How-does-git-merge-work And I was wondering if such a thing existed for Mercurial. I'll admit that my motivation for this is that Mercurial seems really dumb about auto-resolving conflicts, but without concrete information about how mercurial does it's merging, I can't form an argument for Git. (Also maybe I'm crazy and the method is the same, regardless I can't find the information

how to run hg recover command on a remote repository

冷暖自知 提交于 2019-12-10 14:05:06
问题 I am getting the following error while running build in teamcity. Failed to collect changes, error: '"C:\Program Files\TortoiseHg\hg.exe" --config ui.interactive=False pull https://test:******@hg.myrepo.co.uk/terriff' command failed. stdout: pulling from https://test:***@hg.myrepo.co.uk/terriff searching for changes stderr: abort: abandoned transaction found - run hg recover! I already tried to delete the build directories on agent machines but still getting same error. Also tried to run hg

mercurial log of changests on merged named branches, but not unmerged

谁说胖子不能爱 提交于 2019-12-10 14:02:13
问题 I want to be able to get a "hg log" of every changeset that appears in the graph between changeset1 and changeset2. I cannot find a way to do it without either a) omitting nodes on named branches that ARE merged between changeset1:changset2 or b) including nodes on named branches that ARE NOT ancestors of changeset2 Here's a "hg glog" of a simple example with 2 named branches plus the default branch. One named branch gets merged and so its nodes are relevant, the other is irrelevant: @

mercurial: apply a bugfix change from stable named branch to dev branch

限于喜欢 提交于 2019-12-10 13:56:19
问题 i have these two named branches in my repo. Stable and dev. My question is how do i copy a bugfix patch that was changed in stable to the dev branch? i would really like to do this within the framework and not with any extension :) EDIT I set a bounty for the question because i really wanted the solution. There was a nice solution but was left mid way. So i had no other option. It now appears to have been answered. But i will let the question fair another day, just in case someone has a

Mercurial on Phabricator: “remote: abort: stream ended unexpectedly”

隐身守侯 提交于 2019-12-10 13:54:27
问题 I'm having this problem when trying to push to a remote server. It is a Mercurial repository on Phabricator. Here are my output. hg commit -m "udpate README" hg push pushing to ssh://company.server searching for changes remote: abort: stream ended unexpectedly (got 0 bytes, expected 4) I'm using the latest version of Mercurial 3.5.2+20151001 on Mac OS 10.10. I have this problem from yesterday. During that time, I could successfully committed two times , although I did nothing. Why the output

Mercurial Setup for Lotus Domino Designer 8.5.3

孤人 提交于 2019-12-10 13:48:17
问题 Working on getting the Mercurial Source Control installed and working with Lotus Domino Designer 8.5.3. Been using Declan's powerpoint from Lotusphere 2012 "AD102: Source Control For The IBM Lotus Domino Developer" as a guide. What I've done so far is: Install 8.5.3 Client and Designer via the CI1LPEN.exe install file Enabled Eclipse plug-in install from designer preferences Did a File, Application, Install of 1.6.0 MercurialEclipse and 1.4.3 Mercurial Binaries from http://cbes.javaforge.com

How to set the default push/pull repository from TortoiseHG

我的梦境 提交于 2019-12-10 13:43:28
问题 For one of my repositories, it doesn't remember the name of the repository I am pulling and pushing to. I don't have this problem with any of the other repositories on my machine. Is their any way to fix this? 回答1: As of version 3.0 there is no "setting" for choosing the default URL. Instead you must create an alias of "default" for the URL that you want. To do so, from workbench, right click on the repository and select settings. Click Edit File and add a line (see below) that specifies the

Mercurial log interface

牧云@^-^@ 提交于 2019-12-10 13:39:38
问题 I've been going through the tutorial at hginit.com, but I've found a rather inconvenient aspect of the hg log feature. Basically, when I type it, I get the newest changes on top, and the oldest at the bottom. But this is simply annoying, as most of the time, you want to see the newest revisions. So... say I have 100 changesets, and I want to have a look over the 98th one. Do I scroll all the way up? Or is there a way to make Hg (Mercurial) list the changes the other way around? 回答1: Use hg

Continuous Integration stack on Windows with Mercurial + Mercurial Queues?

筅森魡賤 提交于 2019-12-10 13:32:48
问题 We've been using Mercurial with Mercurial Queues (+guards for patches) for source control of a number of Windows ASP.Net projects. I'm interested in setting up a Continuous Integration environment for this but am getting lost in conflicting reports of success with CC/Trac etc. I'm wondering who else out there is doing this and what your working stack of apps/utils is? Also, if you've got hints on workflow, I'm all ears :) Appreciation in advance! 回答1: We use hudson and mercurial together and

Will Mercurial automatically convert $Id$ to what Subversion does?

≡放荡痞女 提交于 2019-12-10 13:14:07
问题 I am wondering if Mercurial by default converts $Id$ to the equivalent of Subversion which is something like this: test.php 110 2009-04-28 05:20:41Z dordal $. Does anyone know? 回答1: No, it won't, but you can enable it. https://web.archive.org/web/20121007024058/ https://www.mercurial-scm.org/wiki/KeywordPlan Why You Don't Need It Keyword expansion is not supported in the core of Mercurial because it's of limited utility in a modern system and it's problematic from performance and binary