mercurial

Bitbucket 502 on Push

血红的双手。 提交于 2019-12-11 04:41:40
问题 I have a mercurial repository which halfway trough a 93meg push to bitbucket suddenly stops with a 502 bad gateway error. IS there anyway I can get some more diagnostic information. This has had me stumped for days! 回答1: This isn't a great answer, but switching from HTTP to SSH might solve your problem. (It did for me.) See here for instructions: https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html 来源: https://stackoverflow.com/questions/11775992/bitbucket-502-on-push

Mercurial on IIS7 error when trying to clone repository

感情迁移 提交于 2019-12-11 04:36:22
问题 I have set Mercurial 1.51 up on a Hyper-V server running Windows 2008R2 and am trying to use IIS7 to serve the repositories. I followed these instructions which I had previously used when evaluating mercurial with success. All was going well I could see the repositories from with a browser but when I tried to clone the repository from the server I receive the following error: requesting all changes abort: HTTP Error 502: Bad Gateway I am not sure if this is an issue with IIS or Hyper-V or

Mercurial, can't clone on Windows 7, “abort: No usable temporary filename found”

冷暖自知 提交于 2019-12-11 04:35:30
问题 I'm trying to clone a repo and it's failing on Windows 7. Looks like this: C:\nodropwork>hg clone repoalias examplerepo requesting all changes adding changesets adding manifests adding file changes added 1244 changesets with 9087 changes to 4816 files (+2 heads) updating to branch default abort: No usable temporary filename found C:\nodropwork>cd examplerepo C:\nodropwork\examplerepo>hg up abort: No usable temporary filename found The filesystem then contains the first few directories of

How can I make names in a mercurial revision history consistent? [duplicate]

心已入冬 提交于 2019-12-11 04:33:09
问题 This question already has an answer here : Closed 7 years ago . Possible Duplicate: How to deal with committer name change in Mercurial On a new install, I forgot to set my username reasonably in my hg client. As a result, the last few commits have me listed as " Billy ", rather than the " Billy O'Neal <billy.oneal@example.com> " like I have been using. Is there a way I can change these to make them consistent? 回答1: It is possible to edit history with extensions like mq and convert, but if

What does it mean that hg applies a patch to a working directory?

你离开我真会死。 提交于 2019-12-11 04:25:56
问题 I am trying to use patches (to revive a corrupted repository) for the first time in my life. So I am not very well familiar with the concept, though I've read a bit. I am using TortoiseHg. I have created a patch (as a file), switched to another repository, and am trying to import it. I've asked THg to import it to Repository (other options are Shelf and Working Directory). When I click Import, THg says that the patch was imported to a working directory and the Console reads: % hg import -

Include/exclude IDE-specific configuration files from Mercurial version control

此生再无相见时 提交于 2019-12-11 04:16:21
问题 The IntelliJ 2017.2 documentation suggests including the .idea folder that contains that IDE’s own configuration files (excepting the workspace.xml and tasks.xml files). I can understand the sense in this, as I could incorrectly configure the project settings and want to revert. Yet, I want to post this open-source multi-module Maven-driven project to BitBucket for public access. Obviously, not everybody uses IntelliJ as their IDE, so I do not want to force my IDE settings on them. ➠ How do

How to find out whether a remote repository contains a changeset?

匆匆过客 提交于 2019-12-11 04:15:12
问题 How do I find out whether a remote repository contains a particular changeset? 回答1: The following works for me: hg outgoing -r <changeset> returns 1 if the changeset exists remotely. 来源: https://stackoverflow.com/questions/41156468/how-to-find-out-whether-a-remote-repository-contains-a-changeset

Initial commit of major projects to mercurial

南楼画角 提交于 2019-12-11 03:57:29
问题 I have over 10 years of software projects that I would like to commit to Hg. This is for code related to Delphi 7, and includes 3rd party licensed libraries, open source libs managed with svn, and my own code (I'm planning a migration to Delphi XE5). The 3rd party and svn-derived libs generally have components installed in the Delphi IDE, and should be kept at "latest" version (as a roll-back will generally bork the IDE), so I just back them up (they were svn externals that never got rolled

The specified CGI application misbehaved… when executing hgweb.cgi for Mercurial

旧时模样 提交于 2019-12-11 03:57:13
问题 I have IIS 6 I installed Mercurial in c:/program files/mercurial I installed Python 2.6 in c:/program files/python I added extension handlings etc for my websites under tab 'home directory'=>'configuration "C:\program files\Mercurial\python\python.exe" -u "%s" "%s" extenstion = .cgi I allowed python.exe in web service extensions "C:\Program Files\Mercurial\Python\python.exe" -u "%s" "%s" I allowed all unknown cgi, although it is not recommended for security reasons I have a website on E:\WWW\

Do all files have to be in the 'repository folder' when using Mercurial?

只愿长相守 提交于 2019-12-11 03:56:53
问题 This is my first time using Mercurial so this may be a very newbie question... If I create a repository, e.g. c:\HG1 do all my files need to be under that directory? Or can i add files from a different folder e.g. 'C:\myotherfolder'? If you can add from diff folder...how, can't seem to figure it out. thanks. p.s. I'm coming from a non-distributed source control system so perhaps I'm just thinking about my workflows with that mindset. 回答1: Yes, all of the files to be tracked must be under the