tortoisehg

“abort: The system cannot find the file specified” in Mercurial

十年热恋 提交于 2020-01-05 10:20:10
问题 I have a large (~700MB) Mercurial repository. I can clone the repo fine without updating (and also it's totally browsable on Bitbucket, where it's hosted) but I can't update the working directory to the latest changeset because I get the following error: ... lot of getting [path] lines here getting path/to/some/file.ext abort: The system cannot find the file specified [command returned code 255 Wed Jun 24 00:51:37 2015] The last file before the error actually exists in the repo (it's visible

Using hg repository as web site

自作多情 提交于 2020-01-04 04:23:10
问题 This is somewhat related to my security question here. Is it a bad idea to use an hg / mercurial repository for a live website? If so, why? Furthermore, we have dev, test and production installations of our website, like dev.example.com , test.example.com and www.example.com . If it's a bad idea to use a repository for a live/production website, would it be OK to use an hg repository for the dev and test sites? I'm also concerned about ease of deployment. We have technical and less technical

TortoiseHG and hgsubversion (Windows): “no module named hgsubversion”

北城以北 提交于 2020-01-02 01:29:14
问题 I have installed the newest version of TortoiseHG for Windows from https://tortoisehg.bitbucket.io/download/index.html (2.8.1) I did hg clone http://bitbucket.org/durin42/hgsubversion . And have the correct path set in mercurial.ini: [extensions] hgsubversion = C:\hgextensions\hgsubversion\hgsubversion If I do: hg version --svn I can see that hgsubversion seems to be installed correctly: Mercurial Distributed SCM (version 2.6.2) (see http://mercurial.selenic.com for more information)

What to do when a patch for Mercurial import fails?

懵懂的女人 提交于 2020-01-02 01:04:55
问题 I exported a bunch of changesets from my local working repo after doing a pull from the server repository. To make sure the patches work, I cloned a fresh repo from the server and I tried to apply the changeset. Unfortunately, the import fails with this: applying G:\OSS\premake-dev\premake-dev_rev493.patch unable to find 'src/host/scripts.c' for patching 3 out of 3 hunks FAILED -- saving rejects to file src/host/scripts.c.rej patching file src/base/api.lua patching file src/host/scripts.c

Import patches with conflicting changes for mercurial repository with tortoiseHg

♀尐吖头ヾ 提交于 2020-01-01 03:11:27
问题 I have successfully imported patches without having conflicting changes. But when I try to import patch with conflicting changes it throws an error saying "Hunk #1 FAILED at 11.. ". There is no option to merge changes. Is there any other way to accomplish this? 回答1: Manual resolution The latest versions of TortoiseHg 2.1 have tools for helping you resolve rejected chunks from patches. When you apply a patch and it has rejections, for each file with rejections it asks if you want to resolve

Discarding more than one commit in TortoiseHg

别说谁变了你拦得住时间么 提交于 2019-12-25 16:53:33
问题 I am using TortoiseHg. I did a false commit, and then another false commit. Both commits are in draft state (not yet pushed). I want to completely ignore this commits and go back as if they where never committed. Doing Rollback seems to only remove the last commit. How can I do that simple task? 回答1: In settings enable either the mq or strip extension, then in a changeset context menu use Modify History -> Strip 回答2: In a recent mercurial (since v2.8 I think), you can make changesets obsolete

Does TortoiseHg allow you to see the command line output?

百般思念 提交于 2019-12-24 07:19:40
问题 Is there a feature or log function in TortoiseHg that will allow you to see the results of a command issued from the gui? For example, if you sent a commit with the GUI I'd like to see the Hg command issue hg commit -m "This was my commmit" 回答1: Yes, in some cases. For example the synchronize window shows cli output. 回答2: Yes, its part of the new 2.0 version of TortoiseHg, its available on the TortoiseHg Workbench, and the option is called "Show Output Log" http://tortoisehg.bitbucket.io

“Resulting command line for hg.exe too long” error in Mercurial

人盡茶涼 提交于 2019-12-24 03:43:26
问题 So, basically about every time I try to do an update to my changed files, I get this awful error. I then have to manually select only some of the files, define a commit message, then come back and select some more files, put other commit text, etc, etc until I have covered all the changed files. Is there anything simpler, dammit? I am using Tortoise HG in Visual Studio 2010 ( http://www.newsupaplex.pp.ru/index_eng.html ), if it makes any difference. 回答1: HgSccPackage uses mercurial command

Different version of file in Mercurial repo

不想你离开。 提交于 2019-12-24 03:08:00
问题 I have 2 servers with same cloned Mercurial repo but with different config lines in some files in this repo. How can I control this files via Mercurial but haven't problem when pull/puss between servers? 回答1: You should rather have under version control: one config file template two config file values (one per environment) one script able to take the config file template and fill it with the right values depending on the environment. That way, no problem during pull/push. 来源: https:/

HTTPS for Mercurial 1.9.2 on windows server 2008/IIS 7 giving me Errno 10054

拥有回忆 提交于 2019-12-24 02:05:06
问题 We are a small company (its a Microsoft shop) we are currently using subversion with VisualSVN installed (pretty easy to setup btw) I am currently evaluating Mercurial because of branching nightmare in svn. So first i followed http://www.firegarden.com/software/hosting-mercurial-repo-iis7-windows-server-2008r2-x64-python-isapi-cgi with latest mercurial source code 1.9.2 and python 2.7 got the below error Failed to import callback module 'hgwebdir_wsgi' The specified module could not be found.