4

Within TortoiseHg, I can set the option to automatically Update after a Pull? Is there a way to set this automatic Update to always Merge? I.e., have the automatic Update work the same way a manual update does when you choose the "Always merge (when possible)" option?

flag

2 Answers

9

hg fetch does expose itself within the TortoiseHg interface.

Open a Synchronize window, and from the Post Pull dropdown, select Fech. This will do it for just this one time.

If you want to set this up as a default, click the Configure button in the toolbar. This brings up the default settings for the repository. From the dropdown in the upper-left that says "Server repository settings", change the selection to "User global settings."

Make sure Synchronize is still selected on the left, and then on the right, near the top, change the After Pull Operation dropdown value to fetch.

Click OK to save your changes.

For reference, this was done with TortoiseHg Version 1.0.1, as installed by the Kiln Client installer.

link|flag
1.1 doesn't seem to have fetch in the post pull dropdown – unknown (google) Sep 7 2010 at 5:12
Really? Do you have the "fetch=" line (w/o the quotes) under [extensions] in your Mercurial.ini file? If so fetch may be disabled outright. – David Sep 13 2010 at 17:49
3

If you are willing to use the command line, you can try the fetch extension hg fetch which does all of that stuff for you. It's automatically installed when you install the Kiln client tools. Unfortunately, it doesn't expose itself in the Tortoise sync interface, so there is no way to use it from the GUI right now.

link|flag
Are there plans to add this to the interface? – cdeszaq Aug 19 2010 at 16:53
You'll have to check with the tortoisehg team. They are going through a complete rewrite at the moment, so it's a good opportunity to bring this up. – Jason Rosoff Aug 21 2010 at 21:00
@Jason Where is the best place to get in touch with the TortoiseHg team? – cdeszaq Aug 30 2010 at 13:59
@cdeszaq See David's answer below. It worked for me. – Jason Rosoff Aug 30 2010 at 14:20

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.