mercurial

Mercurial clone issue

女生的网名这么多〃 提交于 2019-12-22 12:27:35
问题 I'm using Mercurial and I've cloned a repo locally and upon hg push , I'm getting this: abort: cannot lock static-http repository What does this mean? Why can't it lock the static-http repository? Permission issue on the folder? 回答1: You can't because Mercurial doesn't implement push for static-http, you need either the smart protocol, ssh or local access. See here for more details. 来源: https://stackoverflow.com/questions/1774733/mercurial-clone-issue

Mercurial, TortoiseHg, keyring and using two remote repos with two usernames and passwords being forgotten

拈花ヽ惹草 提交于 2019-12-22 12:07:50
问题 I am using TortoiseHg Workbench 64bit 2.1.4, though it may be an issue with Mercurial. The OS is Windows 7 (64bit). I have two projects that I push to two different locations (one is bitbucket, the other is an private one). They use different usernames and passwords, and I push over HTTPS. I have setup the keyring in my mercurial.ini: [extensions] mercurial_keyring= and in the two .hg/hgrc files, I have setup paths with their respective values: [paths] default = https://userX@domainX/XXX If I

RPM spec files in version control system

北战南征 提交于 2019-12-22 10:54:14
问题 I faced with task of building RPM packets from sources of c++ (but it may be any other language) project controlled with Git. And my question is where should I store ".spec" files for this task? Should it be stored independently of project main sources or be included in them? This task is complicated by the condition that I'm participating in different projects and use different version control systems: SVN, Git, Mercurial. So I'm trying to find most common and convenient solution without

How do I reject pushes to a Mercurial server based on a script, without risking a bad pull during that time?

主宰稳场 提交于 2019-12-22 10:37:20
问题 I'd like to write a script that examines the incoming changesets on a push to a mercurial server and rejects the push if the changesets do not conform to a particular standard. It seems like my options are the prechangegroup , pre-changegroup , and pretxnchangegroup hooks. Unfortunately, the prechangegroup and pre-changegroup hooks do not appear to have access to the incoming changesets, so I would need pretxnchangegroup . But according to the documentation at http://hgbook.red-bean.com/read

Move branch start in Mercurial

妖精的绣舞 提交于 2019-12-22 09:48:49
问题 My problem is similar to Mercurial move changes to a new branch, but is not exactly the same. A colleague of mine started working on a new feature and issued a few local commits. Then he noticed "Oh well, that should go into a named branch" and thus created one. The problem is, the commits before should have been in that branch already. So the simplified history now looks a little like this: O 7: default | O 6: default | | O 5: newbranch | | | O 4: default | | | O 3: default | / O 2: default

Mercurial/extdiff not changing to temp dir (as I THINK it's supposed to)

守給你的承諾、 提交于 2019-12-22 09:46:39
问题 Using Windows, Mercurial, and the extdiff extension (for Mercurial). I was trying to set up extdiff to use WinDiff as an external diff tool, but I think I've narrowed the problem down enough to say that the trouble is before I'm even getting that far. From what I understand of extdiff, it merely calls your cmd.winmerge program, and passes the necessary directories to it. I'm also working off of some assumptions outlined here (which may or may not be accurate; I'm just learning Mercurial):

Why is mercurial's hg rebase so slow?

断了今生、忘了曾经 提交于 2019-12-22 08:57:22
问题 The rebase extension to mercurial provides functionality similar to git's rebase . Letting the rebase execute takes something like 4 minutes (~240 s) for 100 commits. In my imagination this should be extremely fast, a few seconds at most, but clearly I'm missing something. What makes it take so long? Are the commits themselves just extremely expensive? 回答1: By default, rebase writes to the working copy, but you can configure it to run in-memory for better performance, and to allow it to run

Mercurial Eclipse Error

女生的网名这么多〃 提交于 2019-12-22 08:37:31
问题 I am trying to use mercurial in eclipse. I downloaded mercurial eclipse plugin for this. But, despite I had reinstalled it many times, it gives the same error, I put the screenshot below. Checking encoding (cp1254)... Checking extensions... Checking templates... Checking patch... Checking commit editor... Can't find editor 'notepad' in PATH (specify a commit editor in your configuration file) Checking username... 1 problems detected, please check your install!. Command line: hg -y

Recommended way to coordinate versions of multiple dependent mercurial repositories?

喜你入骨 提交于 2019-12-22 07:01:31
问题 Well, after many hours of reading and trial and error, it has finally hit me. Mercurial doesn't really want to do SubRepos...at least not with TortoiseHg and Bitbucket. If I am mistaken, and you don't want a down vote for a rude response similar to "of course it works, didn't you read the official docs", then please provide a simple example of how to do so via TortoiseHg latest that will successfully push to Bitbucket. Maybe a open source project that utilizes mercurial and bitbucket and

Get a 404 Error when clone, pull mercurial repository

别来无恙 提交于 2019-12-22 06:49:46
问题 I have a repository in here http://repos.joomlaguruteam.com/ I using hgweb.cgi this is my hgweb.config file [web] baseurl = #allowpull = true allow_push = * push_ssl = false allow_archive = bz2 gz zip [paths] / = /home/repos/* I can browse it but I can't clone it. Every time I clone it I have this error hg clone http://repos.joomlaguruteam.com/hello destination directory: hello requesting all changes abort: HTTP Error 404: Not Found and the access log have that 115.5.95.59 - - [10/Feb/2011:04