Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [mercurial]

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

Filter by
Sorted by
Tagged with
-1 votes
1 answer
38 views

hg clone run by Bamboo gives different result from command line

A Bamboo "Source Code Checkout" task on a linked mercurial repo gives a different result than hg clone run on the command line: Both have a different subset of all named branches checked out....
Zaphod B.'s user avatar
0 votes
0 answers
243 views

TortoiseHG not updating shell icons after commit/push

My team uses MercurialHG/TortoiseHG for code management (historical thing), and all used to work well. With the recent updates to either Tortoise (6+), or possibly Windows 10, I've had the issue that ...
Paul's user avatar
  • 125
1 vote
0 answers
118 views

Mercurial repository in weird state: Missing files are not brought back by update

I have a mercurial repository that I managed to get into a weird state. I suspect the culprit is the fact that I used the repository (as in: the same folder on my disk) with both the Windows and Linux ...
Lukas Barth's user avatar
0 votes
1 answer
181 views

How to run Mercurial from MobaXterm

I'm using Windows 10 and have Cygwin and MobaXterm installed. I need to use Mercurial. It works fine from Cygwin but I want to run it from MobaXterm. I just installed Mercurial plugin for MobaXterm ...
susik's user avatar
  • 653
0 votes
0 answers
42 views

How to align branches

I am using Mercurial version 5.0.2. On one server I pushed a changeset. On another server I pulled but don't see it. It looks that server where I pushed is on different branch compared with another ...
susik's user avatar
  • 653
0 votes
0 answers
62 views

Why do git and mercurial reports conflicts in a file when the same change is made on both sides?

For instance, if I have a file that contains the text ABC, and then I make a branch and change it to ABCD, but then go back to the original branch and also change it to ABCD, then I merge the branches ...
ekolis's user avatar
  • 479
1 vote
1 answer
36 views

Pre-Clone task in mercurial when cloning

May I know if we can add a script or some hg-related file in our repository so that when that branch is being cloned it should execute a task. In my case I need to take some files from git repository ...
Mohammed Abdul Nafay's user avatar
0 votes
1 answer
300 views

Mercurial server error when push storage with large files

I've got older Debian Jessie server with Mercurial 3.1.2 and Phabricator. Long time Phabricator protest that HG is old and there is secure problems and I decide to make brand new VM with latest HG. ...
Topper's user avatar
  • 103
0 votes
0 answers
50 views

How to avoid unwanted updating of files while merging in TortoiseHG?

These files should not have been updated. How can i tell TortoiseHG so?
Roman Alexeev's user avatar
4 votes
1 answer
472 views

Keyring.backend error TortoiseHg on Mac

I have successfully installed Python keyring and use it with TortoiseHg on Windows but I am having a problem on Mac OS Mojave. When performing a "push", I get "No handlers could be found for logger '...
user2284200's user avatar
0 votes
1 answer
165 views

Basic bash if statement with hg fails

I'm running Cygwin. I came across the following snippet of Bash code from the FFmpeg Wiki's guide to compiling FFmpeg: cd /ffmpeg_sources && if cd x265 2> /dev/null; then hg pull &&...
Hashim Aziz's user avatar
  • 12.9k
1 vote
1 answer
93 views

How do I mercurial clone from stdin

The mercurial bundle I want to clone from is compressed in 7zip format and I don't want to waste time extracting the gigantic bundle to a temporary file. How do I pass the output of 7za to hg to clone?...
Sir Intellegence-BrainStormexe's user avatar
0 votes
1 answer
444 views

vim complains about color none in AnsiEsc#AnsiEsc

I told Mercurial to use vim as default editor: [ui] editor = /opt/local/bin/vim The referenced vim was installed via MacPorts: $ port installed | grep vim vim @8.0.0596_0+huge (active) When ...
PVitt's user avatar
  • 449
0 votes
0 answers
578 views

"hg forget" so file won't be deleted on other users' working directories?

In my workplace, we're currently storing the Eclipse project file (.project) under Mercurial. However, it gets changed by Eclipse all the time, which is annoying. I want to remove it from the ...
Noam's user avatar
  • 188
1 vote
1 answer
931 views

powerline-status makes zsh hg (mercurial) branch info disappear from the prompt, yet the git prompt info remains

To be a poweruser these days, you have to have a tricked out shell. One of the most common custom shells is zsh with the Oh my zsh plugin manager. sudo apt install zsh then installed oh-my-zsh per ...
Jonathan's user avatar
  • 1,772
5 votes
1 answer
3k views

What is "Repository Group" in SourceTree?

Regarding the SourceTree app for Mercurial/Git version-control management, what exactly does the New Repository Group menu item do? What is a repository group? I looked through the doc and did some ...
Basil Bourque's user avatar
2 votes
0 answers
75 views

push to mercurial windows client to linux server .dirstate

When pushing mercurial project from Windows client to Linux server (via mapped drive), I get an access denied error. I find a .dirstate-xxxx folder in servers .hg directory. This has odd group and ...
mad moe's user avatar
  • 121
3 votes
0 answers
849 views

Very slow Mercurial push over network share on Windows

It takes TortoiseHG about 15 minutes to perform a push from a repository on my local hard drive (where the .hg directory contains 532 files totalling 110MB) to a bare repository on my network drive. ...
jez's user avatar
  • 204
1 vote
1 answer
4k views

How to clone Mercurial repository from remote server?

How do I clone an Mercurial repository if private key is required for SSH? I tried following and it does not work. dukeimg@localhost:~/foo/test$ hg clone --ssh -i ~/keys/dukeimg ssh://username@...
Viktor's user avatar
  • 123
4 votes
0 answers
69 views

Change Mercurial's history so that add/delete becomes a rename

I renamed a file and committed the change. Mercurial recorded it as an add and a delete. Now, a week later, I wish I had known to "rename" the file so that the repository would let me follow the file'...
MM.'s user avatar
  • 643
4 votes
1 answer
2k views

Mercurial keeps starting FileMerge instead of kdiff3

I want to merge some stuff in mercurial using kdiff3. Therefore I installed kdiff3 and added the following to ~/.hgrc: [extdiff] cmd.kdiff3 = [merge-tools] kdiff3.args = $base $local $other -o $...
PVitt's user avatar
  • 449
1 vote
1 answer
870 views

PATH variable not working properly with hg

I am having a CentOS remote machine where I have hg installed. It was working fine for long time and today when I am trying to use hg commands, I got the following errors, [dinesh@lab test]$ hg st -...
Dinesh's user avatar
  • 999
1 vote
1 answer
150 views

Mercurial pull across network drive in powershell script from scheduled task

So I previously had this question: Mapped Drive inaccessible from Windows Scheduled task in which I discovered how to get access to a drive a python script I was running needed to put files in. I ...
lathomas64's user avatar
2 votes
2 answers
3k views

What could cause "missing files" in a mercurial working directory, and what should I do to fix it?

Today I noticed a few files on my Ubuntu and Mac machines that seem to be missing in the Mercurial working directory on my Windows machine. I'm using Mercurial to keep a folder synchronized between ...
David Cary's user avatar
1 vote
2 answers
263 views

How to batch rewrite history in Mercurial

I would like to batch-edit a number of commits to automatically make modifications to author and commit message (being able to apply a few regular expressions would be fine). I am aware that this is ...
Nikratio's user avatar
  • 389
2 votes
1 answer
970 views

Mercurial fails with missing attribute using Python 2 instead of Python 3

I'm working on a multiuser system with mercurial. I haven't been using the system lately, and today I wanted to start again, but mercurial refuses to work: $ hg help *** failed to import extension ...
PVitt's user avatar
  • 449
1 vote
1 answer
240 views

Why would executing "hg push" be failing as shown below?

My hgrc file contains the following information: [auth] default.prefix = bitbucket.org default.username = stephen-paul-chappell default.password = ****************************** default.schemes = ...
Noctis Skytower's user avatar
1 vote
1 answer
118 views

How does vim know to syntax-color .hgrc?

With syntax on, vim syntax-highlights my ~/.hgrc file. How does vim recognize this file? How can I get vim to apply the same syntax coloring to a differently-named file?
HighCommander4's user avatar
3 votes
1 answer
172 views

Running beyond compare 3 from mercurial

I need to run beyond compare using mercurial. I have tried this (in the .hgrc). [extensions] hgext.extdiff= [extdiff] cmd.vdiff = C:\Program Files (x86)\Beyond Compare 3\bcomp.exe which works; but ...
aiao's user avatar
  • 223
1 vote
0 answers
432 views

How do I diff incoming changesets with Beyond Compare 4 and hg?

I have been using the mercurial and Beyond Compare 4 tools together for about 2 weeks now and feel fairly confident in my usage, however I still seem to have a problem when comparing incoming ...
beauXjames's user avatar
0 votes
1 answer
46 views

Mercurial commands take more than 20 seconds when run as root-user

when I call any mercurial command (hg init, hg status, hg manifest, hg add, etc) as root user, the commands take more than 20 seconds to complete: # time hg init real 0m25.226s user 0m0.156s ...
jan's user avatar
  • 208
0 votes
1 answer
113 views

Is it possible to supply an absolute path to hg clone?

All of the examples of hg clone that I have seen have used a relative path: hg clone [email protected]/repo This will look up repo in uers's home directory. Is possible to supply an absolute path to ...
gloo's user avatar
  • 277
0 votes
1 answer
340 views

Mercurial authorization issue on Yosemite

I have a local HG repo for my client work. I've configured the HG server before on earlier versions of OS X without any issues, but on Yosemite I am stuck. I used MacPorts' mercurial package, ...
Mike979's user avatar
  • 11
0 votes
0 answers
51 views

Are there any NULL bytes in an MS Access database?

Mercurial diffs files only if it is "not binary", where "binary" is defined as "contains a NULL byte". Do databases in MS Access (.mdb) contain null bytes?
isomorphismes's user avatar
1 vote
2 answers
5k views

HG clone using TortoiseHg throws “getaddrinfo failed” error on Windows XP

I have Windows XP installed in my system. I have installed tortoisehg-2.10-hg-2.8-x86.msi. I have checkpoint vpn1-secuRemote installed on my system. I am trying to clone a project. But when I clone a ...
Avinash Reddy's user avatar
0 votes
1 answer
1k views

How to update repository after branch pull

When I create a new branch with Mercurial, I'm able to pull only that certain branch with : hg pull -b <branchname> The console prints the number of the files that had been modified, so not a ...
user1734229's user avatar
1 vote
1 answer
597 views

hg status with multiple remotes

I am trying to use mercurial and work with multiple pull repos and a single push repo. I have tried changing the .hg/hgrc and is as given below: [paths] default = remoteA mine = remoteB default-push ...
lordlabakdas's user avatar
1 vote
1 answer
90 views

How can I create pushable remote Mercurial repos that works over SSH?

I have been using git for a while and I use git and ssh. I have couple bare repos on my server which I use to pull and push on multiple computers. Now I want to try Mercurial for some of my projects (...
yarun can's user avatar
  • 1,000
0 votes
1 answer
800 views

How to split branches on a mercurial repository to make other repositories using HG commands?

For example, I have the following history on my HG repository (i.e. I created a branch on rev. 80), named "Project X": Project X Workbench: ------------------------------------------------------------...
kokbira's user avatar
  • 5,377
2 votes
1 answer
1k views

Setting up Mercurial on a Debian Wheezy server not quite working

I am using Debian Wheezy and I want to set up a Mercurial server. Here's what I did: 1. So, I first created the following directories: /var/www/hg /var/www/hg/cgi-bin /var/repo /var/repo/hg 2. ...
bytecode77's user avatar
  • 1,141
6 votes
1 answer
1k views

Far Manager: Highlight file/dirs using external metadata (like SVN, Mercurial, Dropbox, etc)

I've recently migrated to Far Manager 3 and revised my app settings from scratch. One of those improvements was adjusting the file groups highlights (I didn't change them for long time even knowing ...
Lyubomyr Shaydariv's user avatar
12 votes
0 answers
1k views

Why is hg fetch a deprecated extension? [closed]

Mercurial's fetch extenson conveniently pulls and merges from a remote repository. Recently, this feature has been deprecated by the developers. They recommend avoiding it and it is on the unloved ...
Jan's user avatar
  • 243
0 votes
1 answer
40 views

Set a persistent reference date for repository

The hg commit command (and several others) provide the --date option to specify what date you want stored for the commit. For instance, I can do this: hg commit --date "Oct 27 2000" To pretend that ...
brianmearns's user avatar
0 votes
2 answers
105 views

Sycronizing/deploying scripts across several systems

I have a few time consuming tasks that I like to spread across several computers. These tasks require running an identical ruby or python script (or series of scripts that call each other) on each ...
o.h's user avatar
  • 101
0 votes
1 answer
207 views

Change outgoing repo on a hgsubversion checkout

For various convoluted reasons, I had to svnsync a subversion repo to be local, before I could clone it with hgsubversion, rather than cloning it straight from the 'source'. Now that has worked ...
LordAro's user avatar
  • 131
1 vote
3 answers
1k views

cygwin: output freezes until program is finished

I use cygwin at Windows XP. There's problem with Mercurial, for example. Say, I need to push my repo with several subrepos to the remote server. This operation takes about 20 seconds. When I call ...
Dmitry Frank's user avatar
  • 1,064
0 votes
0 answers
566 views

Mercurial HG: “hg push” returns abort: HTTP Error 500: No such file or directory

I am using mercurial and when I am trying to use hg push, I am getting this error: abort: HTTP Error 500: No such file or directory Server information: Nginx with Mercurial Debian 7.1 Any idea why?...
Milos's user avatar
  • 3
4 votes
1 answer
50k views

Where is Python installed on Raspberry Pi?

I am trying to set up Mercurial on a Raspberry Pi, but the instructions I am using are for Ubuntu. It suggests that the Python folder is usr/bin/python, but this does not exist on my Pi. Where is ...
coolblue2000's user avatar
0 votes
1 answer
351 views

In MacHg is there a way to only see changesets that modified a specific file?

Using Tortoise Hg you can right-click on a file and view its revision history, which only shows those changesets in the repository that changed that specific file. Is there a way to accomplish the ...
Adam Wuerl's user avatar
0 votes
1 answer
238 views

How to use code repo so that same user from multiple PCs can access it in Netbeans IDE

I am planning to work on a software project using Netbeans-- now I want to work across multiple PCs - how can I set up Netbeans and the Git/Mercurial repo so that I can for eg-- make code changes in ...
Arvind's user avatar
  • 185