tortoisehg

how to ignore files in kiln/mercurial using tortoise hg “that are part of the repository”

风流意气都作罢 提交于 2019-11-26 21:03:12
We use tortoise hg with Kiln. In my vs 2010 c# project there are some files that are part of the repository but I would like tortoise hg to ignore them when I make a commit. For eg., say in a login screen I may hard code the userid, password for testing. I dont really want this file considered during a commit. I understand .hgignore file but this really works for files that are not part of the repo. Any trick in tortoise hg to ignore files that are part of the repo ? (so they do not show up as modified (M) during a commit.) thanks I always use a combination of .hgignore and BeforeBuild (in the

Store password in TortoiseHg

六眼飞鱼酱① 提交于 2019-11-26 17:55:03
问题 Is there a way to configure TortoiseHg to store my password? I have a project hosted on Google Code that I access using TortoiseHg. Whenever I want to push changes to Google Code TortoiseHg prompts me for a username and password. Google Code requires me to use an auto-generated password, and it gets quite repetitive to look it up every time. 回答1: Security warning Although this answer is accepted as of 2017-09-15, it is not a recommended solution. You should never store your passwords in plain

Mercurial undo last commit

大憨熊 提交于 2019-11-26 15:09:20
问题 How can I undo my last accidentally commited (not pushed) change in Mercurial? If possible, a way to do so with TortoiseHg would be prefered. Update In my concrete case I commited a changeset (not pushed). Then I pulled and updated from the server. With these new updates I decided, that my last commit is obsolete and I don't want to sync it. So it seems, that hg rollback is not exactly what I'm searching for, because it would rollback the pull instead of my commit. 回答1: One way would be hg

Can you 'push' to network share using Mercurial on 64bit Windows 7?

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-26 14:54:14
问题 We are in the process of upgrading from Windows XP x86 to Windows 7 x64, and I'm testing for compatibility problems with our current workflow. Currently, we store central Mercurial repositories on a network share, clone copies to our workstations, and push our changes back to the network-based repositories. This works perfectly in WinXP, but in Win7 I consistently get an error message when pushing back to the network share: pushing to t:\datamgt\automat\Kevin\SampleRepo searching for changes

How to edit incorrect commit message in Mercurial? [duplicate]

三世轮回 提交于 2019-11-26 09:14:47
问题 This question already has answers here : Mercurial: how to amend the last commit? (7 answers) Closed 2 years ago . I am currently using TortoiseHg (Mercurial) and accidentally committed an incorrect commit message. How do I go about editing this commit message in the repository? 回答1: Update: Mercurial has added --amend which should be the preferred option now. You can rollback the last commit (but only the last one) with hg rollback and then reapply it. Important : this permanently removes

Mercurial Subrepos - How do you create them and how do they work?

守給你的承諾、 提交于 2019-11-26 08:00:33
问题 Situation I have two .NET solutions ( Foo and Bar ) and a common library that contains ProjectA, ProjectB, and ProjectC. Foo and Bar reference one or more library projects, but the library projects are not located within the Foo and Bar Solution folders. Directory structure: -- My Documents* -- Development -- Libraries -- ProjectA -- ProjectB -- ProjectC -- Projects -- Foo -- Solution -- .hg -- .hgignore -- Foo { Project Folder } -- FooTests { Project Folder } -- Foo.sln { References ProjectA

how to ignore files in kiln/mercurial using tortoise hg “that are part of the repository”

為{幸葍}努か 提交于 2019-11-26 07:49:11
问题 We use tortoise hg with Kiln. In my vs 2010 c# project there are some files that are part of the repository but I would like tortoise hg to ignore them when I make a commit. For eg., say in a login screen I may hard code the userid, password for testing. I dont really want this file considered during a commit. I understand .hgignore file but this really works for files that are not part of the repo. Any trick in tortoise hg to ignore files that are part of the repo ? (so they do not show up