Skip to main content
3 votes
0 answers
49 views

I am working on a mercurial hook in python to prevent a general commit when one forget to specifies files to be commited. I commited by accident several debug modification and don't want this to ...
Le Laboureur's user avatar
1 vote
1 answer
69 views

I've written a C# program to act as a precommit hook for Mercurial, but the only way I could get it working reliably was kind of convoluted, so I must have missed something. I'm running TortoiseHg 6.4....
naasking's user avatar
  • 2,576
1 vote
0 answers
21 views

We have an admin page that allows us to upload and update a configuration file on our production server. We want to maintain a record of all changes made to the configuration file, so we need to push ...
Karthick Shiva's user avatar
2 votes
1 answer
69 views

I want to make a hook that when someone is pushing to the remote, if they get the abort: push creates new remote head error message, the hook will try to merge the remote and local head (if easy merge ...
Jonathan Allen Grant's user avatar
1 vote
1 answer
188 views

On Mercurial I've implemented a hook in my hgrc file that activates when some sort of change occurs in Jenkins(i.e tagging or committing). Here is my hook code: curl -X POST http://tokenusername:...
BrogrammerDude's user avatar
0 votes
1 answer
154 views

I have been thinking about a method how to insert software version number in form Major.minor.build into the source code without manual modification of the source code. I have got an idea that all ...
Steve's user avatar
  • 869
0 votes
1 answer
88 views

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 ...
Steve's user avatar
  • 869
2 votes
0 answers
49 views

I'm trying to use 2 set of rules for the ACL of my repos. I was thinking that maybe the action name could be useful from the hooks section but that not the case. The rules are : 1) Only be able to ...
maestro2's user avatar
0 votes
1 answer
354 views

My goal from all this is to have Jenkins build every time someone does some sort of change to the repo(i.e tagging or commit). In my .hg/hgrc file on TortoiseHg I included several different hooks in ...
Brogrammer's user avatar
1 vote
0 answers
55 views

I am aware that I need to add hooks in my .hg/hgrc file. I could add something like: commit.jenkins = wget -q -O /dev/null <jenkins root>/mercurial/notifyCommit?url=<repository remote url>...
Brogrammer's user avatar
1 vote
0 answers
54 views

There is a repository which must be protected from accepting a specific set of named branches coming from other repositories. How can this be accomplished using hooks? It seems possible by using ...
Michael's user avatar
  • 11
7 votes
2 answers
941 views

I am trying to create a mercurial pre-commit hook that runs pylint on the pre-commit. My project uses a virtual environment. I have the hook set up to call pylint on the changed files but I get the ...
OultimoCoder's user avatar
1 vote
1 answer
49 views

On the project I am working on there is a standard pre-commit hook for mercurial that looks something like this: python:hookhgext.messagevalidation.checkCommitMessage I would like to find out where ...
OultimoCoder's user avatar
1 vote
1 answer
223 views

I want to check what files have been modified in current commit and base on that I want to modify or not specified file and add it to that commit. I was thinking about using script on pretxncommit ...
Laston's user avatar
  • 71
0 votes
1 answer
375 views

I need to setup Jenkins to use a Mercurial Repository hosted on BitBucket but running into issues when the job tries to poll the repository. Example URL: hg clone https://[email protected]/...
Gbru's user avatar
  • 1,087

15 30 50 per page
1
2 3 4 5
13