Search code examples
eclipsemercurialhgeclipse

How to pull changes for multiple projects at once


I'm using Eclipse with the MercurialEclipse extension to use the Mercurial SCM.

I have lots of projects and every morning I want to pull all latest changes before starting to work. With SVN or CVS I could simply select all projects and click Team/Update. But the Team/Pull command of MercurialEclipse is disabled when multiple projects are selected.

So currently I have to call Team/Pull on each project separately. That's really annoying. How can I pull changes for multiple projects in one go?


Solution

  • I would rather use an external script than trying to do it directly from Eclipse.

    See for instance:

    Then a simple refresh in your Eclipse environment would be enough.