mercurial-commit

TortoiseHg can't commit--“The system cannot find the file specified”

北战南征 提交于 2019-12-23 07:29:23
问题 I just picked up TortoiseHg to use for distributed source control on Windows and installed it on my C drive. Then I created a repository (located in D:\projects). When I try to commit the changes, it gives me the error "abort: None: The system cannot find the file specified" in a new window titled "Commit". This causes the commit to abort. It doesn't specify any file, and when I run hg --traceback commit -m 'Message' it gives this as output: Traceback (most recent call last): File "mercurial

Let Jenkins build project from a Mercurial commit

混江龙づ霸主 提交于 2019-12-06 00:36:44
问题 Is there a way to specify a hook in the single repository? Now we have specified the hook in the "/etc/mercurial/hgrc" file, but every time it builds twice, and it builds for each commit in each repository. So we want to specify a build per repository. This is how we implemented the hook: [hooks] changegroup = curl --silent http://jenkins:8080/job/ourProject/build It's on a Ubuntu server. 回答1: Select the Poll SCM option under Build Triggers . Make sure that schedule form is empty. You should

Mercurial: how to amend the last commit?

你。 提交于 2019-11-27 16:49:59
I'm looking for a counter-part of git commit --amend in Mercurial, i.e. a way to modify the commit which my working copy is linked to. I'm only interested in the last commit, not an arbitrary earlier commit. The requirements for this amend-procedure are: if possible, it should not require any extensions. It must not require non-default extensions , i.e. extensions which do not come with an official Mercurial installation. if the commit to amend is one head of my current branch, no new head should be created. If the commit is not head, a new head may be created. the procedure should be safe in

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

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: how to amend the last commit?

泪湿孤枕 提交于 2019-11-26 18:45:44
问题 I'm looking for a counter-part of git commit --amend in Mercurial, i.e. a way to modify the commit which my working copy is linked to. I'm only interested in the last commit, not an arbitrary earlier commit. The requirements for this amend-procedure are: if possible, it should not require any extensions. It must not require non-default extensions , i.e. extensions which do not come with an official Mercurial installation. if the commit to amend is one head of my current branch, no new head

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

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