Questions tagged [mercurial-extension]

Mercurial extension is a mechanism to customize and extend functionalities of the Mercurial DVCS.

Mercurial extension is a mechanism to customize and extend functionalities of the Mercurial DVCS.

More information:

109 questions
2
votes
1 answer

What is the status of the Mercurial Shallow Clone extension?

Talk of Shallow Clone Extension There had been some talk about work on an unofficial Shallow Clone extension for Mercurial. This extension would function similarly to the git clone --depth X extension, but would provide better push support and…
Michael La Voie
  • 27,772
  • 14
  • 72
  • 92
2
votes
2 answers

Automatic conversion of specific binary files to text to compare (diff) in Mercurial

I have several -small- binary files added in my Mercurial repository. The files are the "source" files of one of my development tools (report / form / class definitions). I made a program that dumps this binary files to a text file to allow easy…
PabloG
  • 25,761
  • 10
  • 46
  • 59
2
votes
2 answers

Mercurial does not send emails using changenotify

I set up a http central Mercurial repository and try to send emails on every push. I follow instructions from mercurial page and from http://morecode.wordpress.com/2007/08/03/setting-up-mercurial-to-e-mail-on-a-commit/. Push works fine, but I don't…
devgp
  • 1,321
  • 3
  • 17
  • 36
2
votes
1 answer

How to properly use hg share extension?

Say I have cloned a repo to a directory called ~/trunk and I want to share a branch named my-new-branch to the directory ~/my-new-branch. How would I do that with the hg share extension? This is what I've been doing: cd ~ hg share trunk…
jestro
  • 2,524
  • 4
  • 27
  • 46
2
votes
1 answer

Python custom Mercurial merge tool in process?

Given a custom hg merge tool mymergetool.py On Linux, I can do this: merge-tools.MyMergeTool.executable=mymergetool.py which runs the python in a new process. However on Windows one has to specify python.exe as the executable. But given that one…
Tom
  • 6,325
  • 4
  • 31
  • 55
2
votes
1 answer

Mercurial API : repo.changectx(change) doesn't exist!

i'm trying to make a Mercurial support plugin for a Python IDE and i have a lot of troubles understanding the API. Right now i'm only making experiments for understanding the uses of the different commands of the api, but i can't find the api's doc…
2
votes
1 answer

mercurial : disable all the extensions from the command line

Is there a way for running mercurial without any external extension using a command line switch / environment variable? For example, in this situation: $ hg version --debug Mercurial Distributed SCM (version 4.3.3) [...] Enabled extensions: hggit…
muxator
  • 348
  • 3
  • 8
2
votes
2 answers

Mercurial sparse checkout

In this F8 conference video(starting 8:40) from 2015 they speak about the advantages of using Mercurial and a single repository across facebook. How does this work in practice? Using Mercurial, can i checkout a subdirectory (live in SVN)? If so,…
Rentrop
  • 20,979
  • 10
  • 72
  • 100
2
votes
2 answers

Full status of Mercurial local repository

It occurs quite often that I want to know the full status of my local copy of a project, compared to the remote repository. By full status, I mean the following: Are there some uncommitted changes locally? Are there some unpushed commits…
gcressier
  • 98
  • 6
2
votes
1 answer

Mercurial Update To Activate Bookmark

I would like to activate a bookmark that is on the revision if I update to that revision. For instance, if I do this hg up -r "bookmark('re:fix.+2572')" This will update me to the revision the bookmark points to, but it won't activate the bookmark.…
EvgeniySharapov
  • 3,078
  • 3
  • 27
  • 38
2
votes
1 answer

How Jenkins is passing username and password credentials for checkout pull operations

I have Jenkins / Mercurial latest versions. Machine is Red Hat Linux 6.6. I'm using Release plugin in Jenkins. Maven plugins (maven-scm-plugin, maven-version-plugin and maven-enforcer-plugin) for doing release process on a project. All of these…
AKS
  • 16,482
  • 43
  • 166
  • 258
2
votes
1 answer

Using Mercurial with Subversion, but with a twist

Up front, I am aware of and have looked into: https://www.mercurial-scm.org/wiki/HgSubversion https://www.mercurial-scm.org/wiki/WorkingWithSubversion unfortunately neither discuss the problem at hand. The question How can I teach an existing…
0xC0000022L
  • 20,597
  • 9
  • 86
  • 152
2
votes
1 answer

Is it possible to have colorized diffs for Mercurial notifications?

We're in the process of migrating from Subversion to Mercurial. The VisualSVN server we were using produced colored diffs within its notification emails, but I can't find how to reproduce this in Mercurial. I have enabled the color extension on…
Darren Oster
  • 9,146
  • 10
  • 48
  • 66
2
votes
2 answers

hgext.extdiff silently does nothing

In trying to get my real differencing engine up, I've trimmed to a very minimal setup, but still have no output and no indication of why nothing appears to happen. (Search of SO and Mercurial site (including the mercurial wiki) for extdiff gave me…
Donald Locker
  • 148
  • 2
  • 9
2
votes
1 answer

Mercurial rollback hook?

I'm writing an extension for which it would be very convenient to be able to perform some logic after a rollback is made. I looked through all of the documentation I could find on hooks, but I couldn't find a rollback hook. I also tried the post-*…
voithos
  • 68,482
  • 12
  • 101
  • 116