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
1
vote
1 answer

Tag temporary changes in Mercurial

We are working with Mercurial for a year now, but today a question arised about how to handle (or better: identify) files that have been edited temporarely. The user that asked me how to do it is currently switching from ClearCase to Mercurial. In…
theFen
  • 505
  • 1
  • 4
  • 6
1
vote
2 answers

Amending the local commit after rebase in mercurial

In the beginning, my local repo looked like: C1 -> C2 -> My1 and the remote repository looked like: C1 -> C2 -> R1 -> R2 So I did: $ hg pull $ hg rebase Now the repo looks like: C1 -> C2 -> R1 -> R2 -> My1 Now I have made some changes to a file…
Deepak Garg
  • 366
  • 3
  • 12
1
vote
2 answers

Are there any alternatives to Mercurial Queues that use true changesets?

I like Mercurial Queues for its flexibility and agileness. However, for my personal use, I think it's awkward the patches are not true Mercurial changesets. Is there any plan for this extension to use true changesets? Or are there any alternatives…
jttpost
  • 160
  • 1
  • 9
1
vote
1 answer

Add an option with an optional argument to a command in a mercurial extension

I want to add an option to the mercurial command hg incomming and a specific behavior. Here is what I've done: entry = extensions.wrapcommand(commands.table, 'incoming', specific_behavior) entry[1].append(('', 'newopt', '', _('NEW OPT HELP STRING'),…
Lpmat
  • 29
  • 9
1
vote
1 answer

Error in hg convert

I have a problem with hg convert. When I write in the command line "hg convert f:/test" it gives me this: abort: invalid mode ('r') or filename. What I doing wrong?
m3l0ne
  • 11
  • 1
1
vote
2 answers

Mercurial notify extension doesn't work

I'm trying to use the notify extension in a project to get notified when someone pushes or pulls from the repository but no notifications are sent ... my hgrc file : [paths] default = // repo URL [extensions] hgext.notify=…
0
votes
1 answer

mercurial_keyring extension for hg - How can I change the keyring password?

I recently installed mercurial on my ubuntu server (running Ubuntu Server 11.10) and with it the oh so useful mercurial_keyring extension. In setting things up, I mistakenly entered a keyring password that I do not like... This bothers me a bit,…
lfboulanger
  • 2,140
  • 2
  • 17
  • 20
0
votes
2 answers

Managing a pair of files as one in Mercurial

I'm working with small binary files in Mercurial as posted. This binary files can be dumped as text to make a diff between versions, but the problem is that the files comes in pairs (eg: Form.scx / Form.sct), and I cannot found a way to tell…
PabloG
  • 25,761
  • 10
  • 46
  • 59
0
votes
1 answer

Mercurial pre commit operation

I have been struggling with following problem regarding source codes versioning with Mercurial usage. On one hand I have got source codes in local working directory and those source codes are under Mercurial control. On the other hand I have a copy…
Steve
  • 805
  • 7
  • 27
0
votes
1 answer

Can I track last pull in Mercurial?

I've recently discovered the collapse extension and I love it. I can work and commit often, and when I'm done with my work I can collapse revisions into one logical changeset. One big changeset instead of many small ones makes the history a lot…
kalithlev
  • 926
  • 3
  • 12
  • 19
0
votes
0 answers

abort: No such file or directory: '/mnt/factotum/rpc' [Mercurial]

I am having a problem in taking a clone, push or pull. When I do these, I get an error: abort: No such file or directory: '/mnt/factotum/rpc' How can I resolve the issue? OS: Ubuntu 16 Tool: Mercurial, BitBucket
0
votes
2 answers

What is "ui" parameter in hgnested.nclone()?

import hgnested sour = "C:\Users\ADMIN\Documents\mercurial\hgserver" desti = "D:\Work" hgnested.nclone(source = sour, dest = desti) Here I am trying to clone a nested repository "hgserver" which has 5 more repositories in it. But I am getting and…
Amey Kumar Samala
  • 904
  • 1
  • 7
  • 20
0
votes
2 answers

Mercurial crashes because of the qct extension - which I haven't enabled

On one of my Mercurial repositories, which used to work, when I run hg status I get: ** Unknown exception encountered with possibly-broken third-party extension qct ** which supports versions unknown of Mercurial. ** Please disable qct and try your…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
1 answer

How to handle errors in Mercurial extension

What is the recommended approach to handling errors in a Mercurial extension? We could not find any docs for this aspect online. The following example will print Hello world and set errorlevel to 1 in a Windows shell. @command('print-parents',…
LarsA
  • 595
  • 2
  • 6
  • 14
0
votes
0 answers

Does Mercurial Strip Extension change commit hashes?

I want to delete one changeset from my repo and thinking about using strip extension. Is that extension change commit hashes after I strip polluted changeset?
Ishan Liyanage
  • 2,237
  • 1
  • 26
  • 25