tortoisehg

How do I configure TortoiseHg to open a file in the right program based on its extension?

蹲街弑〆低调 提交于 2019-12-21 07:33:31
问题 I'm using TortoiseHg v2.2.1 with Mercurial 1.9 in WindowsXP. How do I configure TortoiseHg to view a file based on the application Windows has associated with its extension? For example, if I have a .docx file in the repository and I'm looking at its revision history, I'd like View at revision... to open the selected revision in MS Word. Likewise for other binary file types like ppt and xls, which I can't view using the default text editor or kdiff3. Can I leverage that Windows already knows

TortoiseHG and TortoiseSVN play well together?

半腔热情 提交于 2019-12-20 18:01:04
问题 I had TSVN installed first and been using for a long time. Then I install T-HG and when I right click I dont see any TortoiseHG. Does anyone have this same problem? All the T-SVN overlays are still there. 回答1: Starting with version 0.8 (released 2009-07-01) TortoiseHg supports Windows Vista 64bit explorer shell integration. Thanks to the new C++ shell extension (I contributed significantly to that). Check current release TortoiseHg-0.8.1-hg-1.3.1.exe available from http://bitbucket.org

Reducing repository size in Mercurial

烈酒焚心 提交于 2019-12-20 17:47:12
问题 As my team works on a given project with the source in a Mercurial repository, the repository is obviously growing in size. As such, cloning a repository over the network becomes slower and slower. Are there any techniques that are used for pruning out older commits or reducing the size of the repo to make the cloning operation faster over a slow network? (We are using TortoiseHg as the Mercurial client but that (I'm guessing) shouldn't make a difference to the solution to this problem.) 回答1:

Mercurial: Revert a single hunk

本秂侑毒 提交于 2019-12-20 17:38:36
问题 How do I revert a single hunk in Mercurial, similar to the way it's done in darcs, i.e. it asks me for each hunk and file whether I want to revert it? Is it possible using TortoiseHg? Thanks 回答1: The record extension is inspired by darcs record . It will allow you to add only specific hunks to the next commit, i.e., the opposite of what you want. But you could add all hunks except the one you want to revert and then do a hg revert to revert it. A little backwards, I know... :-) You could also

Using other editor with TortoiseHg

感情迁移 提交于 2019-12-20 12:32:08
问题 I'm trying to use other editor with TortoiseHG, instead of (Windows) Notepad. I have tried the solutions mentioned here: Mercurial and Notepad++ Integration and here: https://bitbucket.org/tortoisehg/thg/wiki/OpenAtLine But no results. When I right-click a file and choose "Edit Local" no file is opened at all, except when I don't set any specific editor (then file is opened in Notepad). I have tried different editors, like Notepad++ and Sublime Text 2, and no result. Also, I tried to change

TortoiseHG/Mercurial Project Statistics and Reports

蓝咒 提交于 2019-12-20 12:16:12
问题 I've been working for a couple months on cleaning up the backend of a system I'm working on. The previous code was awful so I've been refactoring and rewriting to get the code to a state where I can better add and improve functionality. I want to be able to quantify the work I've done for the client so he can get a sense of how much work has been done. So, I want to run some reports showing things like: number of lines removed, added, changed. I've used TortoiseHG/Mercurial all along and also

idiots checklist for mercurial with visual studio 2010

牧云@^-^@ 提交于 2019-12-20 08:50:42
问题 So Im a source control idiot so please humor me with this checklist. I finally decided to use Mercurial + TortoiseHg + (VS2010 + HgSccPackage) + Kiln for my next project. I read http://hginit.com/ and I played around quite a bit, but I don't know much about source control so I don't want to make a mistake here, my current project is my biggest and most valuable one yet. So here is my checklist: Creation : I create a new repo in kiln online. Then clone it on my pc. I copy my entire project

How to clone a codeplex mercurial repository behind a proxy?

冷暖自知 提交于 2019-12-20 03:45:06
问题 I am using TortoiseHG version 2.4.2 and with either firefox or internet explorer I can browse the following codeplex project just fine. https://hg.codeplex.com/oxyplot The problem is that I cannot clone the repository on my local computer. Initially, I used to get errors like this, URLError: [Errno 10061] No connection could be made because the target machine actively refused it Some google-fu later (HOURS later), I figured out that I needed to set proxy settings for tortoiseHg, which

When trying to connect through a proxy server TortoiseHg for Windows says “SSL error: unknown protocol”

南笙酒味 提交于 2019-12-18 23:13:47
问题 The scenario: You're behind a proxy server on Windows. You've configured TortoiseHg to use a proxy server; that is you've entered a server name/IP and port number. You are able to connect to the internet using Internet Explorer. But when you try to pull or push and it produces the error message "SSL error: unknown protocol". (I plan to answer this myself.) 回答1: The cause is that Internet Explorer is using an automatic proxy configuration script and TortoiseHg is using a particular proxy

When trying to connect through a proxy server TortoiseHg for Windows says “SSL error: unknown protocol”

断了今生、忘了曾经 提交于 2019-12-18 23:12:59
问题 The scenario: You're behind a proxy server on Windows. You've configured TortoiseHg to use a proxy server; that is you've entered a server name/IP and port number. You are able to connect to the internet using Internet Explorer. But when you try to pull or push and it produces the error message "SSL error: unknown protocol". (I plan to answer this myself.) 回答1: The cause is that Internet Explorer is using an automatic proxy configuration script and TortoiseHg is using a particular proxy