halotrio.blogg.se

Upgrading mercurial windows
Upgrading mercurial windows









_email_ = 'Copyright (c) 2010, Troy Williams'ĭef run_command(command, useshell=False): OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, IN NO EVENT SHALL THEĪUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,įITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR The above copyright notice and this permission notice shall be included inĪll copies or substantial portions of the Software. To use, copy, modify, merge, publish, distribute, sublicense, and/or sellĬopies of the Software, and to permit persons to whom the Software isįurnished to do so, subject to the following conditions: In the Software without restriction, including without limitation the rights Of this software and associated documentation files (the "Software"), to deal Permission is hereby granted, free of charge, to any person obtaining a copy

#UPGRADING MERCURIAL WINDOWS UPDATE#

Hg pull, push or update on a group of repositories stored in a root directory.

upgrading mercurial windows

This script is designed to work with mercurial.

  • It is all contained within a single script file making it a little more portable then the original code.
  • It uses the Python optparse module to provide the command line option functionality – this is a really slick method!.
  • Given a root folder containing a number of mercurial repositories it searches for all of them and then performs the required action(s) in a batch mode.
  • It uses the Python subprocess module to run the hg commands.
  • upgrading mercurial windows

    It should run on Windows without alteration (I’ll get a chance to test it out on Tuesday). All of the functionality is wrapped into one script instead of across a few. The code is much better then the original scripts.

    upgrading mercurial windows

    Here is an update to the mercurial push, pull & update scripts I had posted earlier.









    Upgrading mercurial windows