tortoisehg

Is it possible to edit a summary after a commit using TortoiseHg?

谁说我不能喝 提交于 2019-11-30 17:29:04
Occasionally I commit some code to the repository, add a comment/summary, then read the summary back and realise I've made a mistake or should have included a bit more information. It is possible to edit the summary after a commit in TortoiseHg? I'm using version 1.1 If that is the last commit, you can press "Undo" button in the commit dialog (it is an interface to hg rollback ) and then commit the same files again with a new message. If this is a commit in a middle of the tree, you need to use mq extension to delete all later commits and reapply them. And if the commit with an incorrect

Specify Editors in Mercurial

心不动则不痛 提交于 2019-11-30 17:20:44
问题 In general, if I've got a custom file of type W and want to use custom application/editor X to open/view it how do i set up Hg to call the application X when i want to edit/view the file? Specific example: I'm using TortoiseHg to track a set of files, that are created by a custom application, an OPC server application called Kepserver. Kepserver creates .OPF files, while Hg can tell when the files have changed, I'd like to use the Kepserver application to view the files from Hg Workbench. I

How do I get Mercurial's hgwebdir working on Windows?

徘徊边缘 提交于 2019-11-30 15:03:34
问题 These are the steps I took: install apache 2.2.x install TortoiseHg 0.7 copy hgwebdir.cgi, hgweb.config to cgi-bin edit hgweb.config as appropriate unzip $blah\TortoiseHg\library.zip to unzip $blah\TortoiseHg\library sys.path.append("$blah\TortoiseHg\library") at the beginning of hgwebdir.cgi move $blah\TortoiseHg\templates to $blah\TortoiseHg\library\templates (Edit: I forgot to add that all these steps are laid out here.) When I run http://localhost/cgi-bin/hgwebdir.cgi/ I can see my

How do I get Mercurial's hgwebdir working on Windows?

独自空忆成欢 提交于 2019-11-30 13:10:57
These are the steps I took: install apache 2.2.x install TortoiseHg 0.7 copy hgwebdir.cgi, hgweb.config to cgi-bin edit hgweb.config as appropriate unzip $blah\TortoiseHg\library.zip to unzip $blah\TortoiseHg\library sys.path.append("$blah\TortoiseHg\library") at the beginning of hgwebdir.cgi move $blah\TortoiseHg\templates to $blah\TortoiseHg\library\templates (Edit: I forgot to add that all these steps are laid out here .) When I run http://localhost/cgi-bin/hgwebdir.cgi/ I can see my repository. If I try browse that repository, I'm told "DLL load failed: The specified module could not be

Cloning a read-write github repository using TortoiseHg

岁酱吖の 提交于 2019-11-30 11:06:25
问题 I'm trying to clone my personal fork on github using the git+ssh protocol with TortoiseHg. It's giving me a rather strange error. Here is the command hg clone git+ssh://git@github.com:myusername/thefork.git This is after I have installed the hg-git module and it works just fine to clone using the git:// syntax. But I believe it's having trouble with the ssh. The error I'm getting is this. importing Hg objects into Git [Error 2] The system cannot find the file specified I have tried adding

Difference between cloning and copying in Mercurial

随声附和 提交于 2019-11-30 08:11:54
Is copying the .hg directory to another directory the same as cloning in Mercurial (using TortoiseHg although I think that's irrelevant) or does the cloning command in Mercurial do something special during that process? It's almost the same. Cloning does a few things different, none of which are required, but some of which are cool: clones get a working directory too (which you can avoid with -U) clones get the source repo set as default for push/pull in the .hg/hgrc file clones can get just a subset of the original (clone -r X gets revision X and all ancestors only) clones use hardlinks when

How do you disable mercurial from leaving .orig files after a merge?

你。 提交于 2019-11-30 08:07:40
After updating TortoiseHg+Mercurial a while back I am starting to get .orig files after merges. I have looked at the solutions for removing/purging them but I am looking for a way to disable the files from being left behind. After doing merges fine without these files appearing I was wondering if this was something new that could be turned back off. xiterion Update: According to the Mercurial config documentation the defaults section is deprecated. The Mercurial wiki is also particularly critical of their use. The recommended replacement is to create a command alias (while not shadowing built

Would like to create some defaults for my .hgignore files in TortoiseHG/Mercurial

邮差的信 提交于 2019-11-30 07:19:25
I'd like to make it so that every time I create a new repository, certain filters automatically get added to my .hgignore files by default. For example, for C# projects, I would like these to be added: glob:bin/* glob:obj/* Is this possible? How? If it can't be automated, is it at least safe to copy the .hgignore file from one repository to another? I use ~/.hgignore and just cp that into my repo. In my ~/.hgrc: [ui] ignore.other = ~/.hgignore I just put the really obvious stuff in that one. And copy it for project specific stuff. I don't think its quite what you're asking for as there is no

How to entirely disable SSL certificate checks in Mercurial / TortoiseHg?

谁都会走 提交于 2019-11-30 06:23:36
问题 I'm looking for a way to make --insecure option the default one for any hg \ TortoiseHg command. Please don't write this is a bad practice - I aware about possible risks and consider they're fully acceptable. 回答1: Setting cacerts in the [web] section to the empty string looks to be the same thing. From the source: if cmdoptions.get('insecure', False): ui.setconfig('web', 'cacerts', '!', '--insecure') which the wiki confirms: Sometimes it may be expedient to disable security checks, for

Is it possible to edit a summary after a commit using TortoiseHg?

谁说我不能喝 提交于 2019-11-30 01:01:27
问题 Occasionally I commit some code to the repository, add a comment/summary, then read the summary back and realise I've made a mistake or should have included a bit more information. It is possible to edit the summary after a commit in TortoiseHg? I'm using version 1.1 回答1: If that is the last commit, you can press "Undo" button in the commit dialog (it is an interface to hg rollback ) and then commit the same files again with a new message. If this is a commit in a middle of the tree, you need