
- #Tortoisehg merge tools install#
- #Tortoisehg merge tools update#
- #Tortoisehg merge tools Patch#
- #Tortoisehg merge tools windows#
hg merge This is the easiest possibility.When you accidentally created a repo with multiple heads, these are the possibilities to get rid of them: Handling multiple heads Getting rid of multiple heads If you want to use the ssh client of your Cygwin shell (and also ssh-agent), add the following to the section of your mercurial.ini:.
#Tortoisehg merge tools windows#
TortoiseHg allows easy graphical access to hg repositories within the Windows Explorer. If you want to use the ssh-agent then you have to specify the following line in the section of ~/.hgrc:įor the graphical interface of TortoiseHg Putty's pageant is the default ssh key provider. You can decide which ssl support you use in the cygwin shell. To get rid of cygwin's hg rename /usr/bin/hg. TortoiseHg ( ) can be used as alternative. Hg out -q -M -template '\n' -newest-firstĭepending on the cygwin version, using cygwins hg (and other tools) sometimes fails. Sometimes it is interesting to know which modules in your CWS actually contain changes. Obtain a list of all modules which contain changes search for your last pull/merge from the master withĪlternatively, if you just did a pull/merge from master:.If your current milestone tag is *not* locally available (might happen, see above): If your current milestone tag is locally available: hg log -follow-first -P will show only the CWS changesets.Ĭombined diff which contains exactly the changes of your CWS without anything pulled from master.hg log -follow-first is a convenient way to display your CWS changes at the top of the log.If you not comfortable in handling multiple heads, then dont do that!
#Tortoisehg merge tools update#
# Update your local clone cd JMC_ROOT hg pull hg updateĬd JMC_ROOT hg import -no-commit /jmc.If the cws is on DEV300_m60 and you pull it into a local repo that is on DEV300_m61, you will create new heads in the local repo.
#Tortoisehg merge tools Patch#
Rsync -avz and applying a patch from a webrev: Ksh /usr/local/bin/webrev.ksh → generates the webrev Send either a unified diff or a webrev to the list To initialise defpath, after installed and configured, run: hg defpath -d Review To diff using p4merge, simply use the command: hg p4diff If the change comes from a non-Author, don't forget to set "Contributed-by:". You may also want to set up so that you can use p4merge for merging and diffing, and also use a template for commits. hgrc file: username = youropenjdkname merge = p4merge editor = nano defpath = /usr/local/bin/hgext/ defpath.py hgext.extdiff = cmd.p4diff = /Applications/ p4merge.app/Contents/MacOS/p4merge vdiff = p4diff p4merge.priority = 100 p4merge.premerge = True p4merge.gui = True p4merge.args = $base $local $other $output p4merge.diffargs = $parent $child p4merge.diff3args = $child $parent1 $parent2 p4merge.dirdiff = False p4merge.checkchanged = True username = youropenjdkname changeset = JMC-: \nSummary: \nReviewed-by: \n hgrc file: username = youropenjdkname defpath = /usr/local/bin/hgext/defpath.py username = youropenjdknameĮxample, more comprehensive.

#Tortoisehg merge tools install#
First install Mercurial (different on different platforms).Note that this page is only relevant for JMC 7.x maintainers - JMC main development is happening in Git now. This page contains some tips and tricks for working with Mercurial in the JMC Project for Committers.
