where is mercurial official repository - mercurial

The official mercurial web page can't find the entry of official repository, only download links, where is it, thanks.

The official Mercurial page lists two repositories for getting the Mercurial source:
The hg-stable repository leads to stable releases.
The hg repository is the main development repository

If you need a mercurial repository, try bitbucket.org. If you're looking for the development snapshot of mercurlial try the developer repos.

Related

Where has the source code of postreview Mercurial extension moved to?

We use the postreview extension with Mercurial to post code reviews to reviewboard. The Mercurial docs point to a repository on Bitbucket. Bitbucket has deprecated and deleted all Mercurial repositories as of late August, 2020.
Is there a new official home for the postreview extension from the original maintainers?
The archive for the repository for the Reviewboard from the original authors is located here:
https://bitbucket-archive.softwareheritage.org/projects/cc/ccaughie/hgreviewboard.html

Mercurial repository corruption repair says it's not a mercurial repository?

So I have managed to corrupt my mercurial repo. So I am following the steps from the repository corruption page on the wiki to repair it.
When I run the convert command:
hg convert --config convert.hg.ignoreerrors=True REPO REPOFIX
It gives me the following output:
initializing destination REPOFIX repository
REPO does not look like a CVS checkout
REPO does not look like a Git repository
REPO does not look like a Subversion repository
REPO is not a local Mercurial repository
REPO does not look like a darcs repository
REPO does not look like a monotone repository
REPO does not look like a GNU Arch repository
REPO does not look like a Bazaar repository
cannot find required "p4" tool
Why on earth would it say that? And how can I go about fixing it?
It definitely is a mercurial repository, it's hosted on Bitbucket, and I am using Tortoisehg to manage it.
Edit:
I think maybe I can't do this against a remote repository? How can I go about fixing this then?
You probably did not corrupt the remote repository at Bitbucket, did you?
It's more likely you corrupted your local copy, and so you can just clone it from Bitbucket again or try the hg convert … trick on your local copy (i.e. the folder you manage with TortoiseHG).
A bit late but I faced the same issue. The mistake was running that command inside the project folder. You have to run the command outside the folder containing the .hg file. I could not find a way through TortoiseHg console to move up a directory so I used windows terminal.

Plugin "Pull requests" for mercurial

Plugin with "pull-request" functionality for HG. Is there such plugin?
Pull requests are inherently a repository hosting-platform specific function, it isn’t something that can be added to Mercurial as an extension. How would you imagine that it should work?
If you’re looking for a Mercurial equivalent of GitHub pull requests; Bitbucket offers free Mercurial hosting and has pull request functionality.
There doesn't seem to be an extension directly named after that feature (the GitHub "Pull Request"), but you could emulate it through an integration with a review system, as described in "Review Board workflow for Mercurial repository".
The Mercurial Review Board extension (repo here) could be used to link your DVCS to ReviewBoard, helping you to only pull what has been reviewed.

Where is the mercurial.hg source repository

I looked at the mercurial website, and I couldn't find a single link to the location of the mercurial source repository itself.
Do you know where it might me?
The official repository seems to sit at https://www.mercurial-scm.org/repo/hg/ or https://www.mercurial-scm.org/repo/hg-stable with different branches. More information is available at the Developer Repositories wiki page.
Both links are browsable online and can be cloned from:
hg clone https://www.mercurial-scm.org/repo/hg/
hg clone https://www.mercurial-scm.org/repo/hg-stable
Here is a link to the Source:
https://www.mercurial-scm.org/release/?M=D
The source release is available from the downloads page.

Graphical changelog in mercurial's hgwebdir.cgi

I have a set of mercurial repositories being served online with hgwebdir.cgi. I would like to be able to show a graphical representation of the branches and merges in the same way that this site does. I can't seem to find any reference to how to do that though. Does the functionality only exist in hgweb and not hgwebdir?
This future will be enabled in next release, try use develop version from repo.
In console u can use glog extension
Until version 1.1 comes out (in a few days) you'd need to clone and install from the Mercurial crew respository