tortoisehg

Is it possible to manually change/reorder the revision numbers (provided topology remains the same)?

天大地大妈咪最大 提交于 2019-11-28 01:09:23
In Mercurial , revision numbers are local-clone specific, and they are provided as a facility to point to a specific changeset in a more user-friendly way than a changeset id. However when displaying the timeline graph, TortoiseHG will order by revision number. If some guy pushes commits not that often, you'll get all his commits at once with adjacent revision numbers, and it will mess up the whole point of the graph. This graph would be more insightful: there are two lines of development, with two authors, one merging the work of the other one: Therefore, is it possible to manually reorder

Mercurial undo last commit

左心房为你撑大大i 提交于 2019-11-27 10:24:40
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. VonC One way would be hg rollback (deprecated as of Hg2.7, August 2013) Please use hg commit --amend instead of rollback to

Store password in TortoiseHg

纵饮孤独 提交于 2019-11-27 10:03:17
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. Nicolás 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 text. Use the mercurial_keyring extension instead. See another answer here. You can change your

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

江枫思渺然 提交于 2019-11-27 09:46:38
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 [Error 32] The process cannot access the file because it is being used by another process: 'T:\datamgt

How to branch with TortoiseHG

本秂侑毒 提交于 2019-11-27 09:14:46
问题 I downloaded TortoiseHg 1.0 for evaluation. For the life of me I can't figure out how to make a branch. It seems to understand branches (e.g. in its repository browser) but I just can't seem to find a way to make a branch. This seems like such a fundamental capability since out of the often touted benefits of DVC is the lightweight branching. I Googled around and couldn't find much discussion of this topic (at least for recent versions) so I have to assume I'm missing something, right? Update

Mercurial on Windows: abort: error: An existing connection was forcibly closed by the remote host

走远了吗. 提交于 2019-11-27 06:36:26
问题 I have a Mac and Windows 7 PC where Mercurial/BitBucket work as expected. However, I just created a new Windows 7 VMWare Fusion image and I get the following error if I try to clone over https. abort: error: An existing connection was forcibly closed by the remote host Is there something about the Virtual Machine that breaks it? I installed Mercurial/TortoiseHG the same way on the physical Win7 box and on the VMWare image. Is there some way to get more information on the error? 回答1: Turns out

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

牧云@^-^@ 提交于 2019-11-26 23:28:23
This question already has an answer here: Mercurial: how to amend the last commit? 7 answers 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? Thilo 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 the latest commit (or pull). So if you've done a hg update that commit is no longer in your working directory then it's gone

Mercurial marks unmodified files as modified in working directory and fails to revert

百般思念 提交于 2019-11-26 22:02:56
问题 Our team uses TortoisHg 2.0.5 on Windows and after refreshing file list in working directory it sometimes (at least once a day :(( ) shows a list of unmodified files as modified. Manual comparison doesn't show any changes in code, line breaks are also equal. Reverting of these "fantom" files causes no result. There a two way how we deal with this problem: Turning off eol extension and reverting the files, Manually removing the files and update them from the head revision. It's really annoying

Is it possible to manually change/reorder the revision numbers (provided topology remains the same)?

旧城冷巷雨未停 提交于 2019-11-26 21:50:28
问题 In Mercurial , revision numbers are local-clone specific, and they are provided as a facility to point to a specific changeset in a more user-friendly way than a changeset id. However when displaying the timeline graph, TortoiseHG will order by revision number. If some guy pushes commits not that often, you'll get all his commits at once with adjacent revision numbers, and it will mess up the whole point of the graph. This graph would be more insightful: there are two lines of development,

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

岁酱吖の 提交于 2019-11-26 21:41:15
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 } -- Foo.suo -- Bar -- Solution -- .hg -- .hgignore -- Bar { Project Folder } -- BarTests { Project