Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hgpp

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hgpp

hg++ power tools

  • 0.3.2
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

#hg++ - power tools for mercurial

Do you keep multiple clones of your repository on your system and find keeping them merged and fresh a chore?

Then this is the tool for you.

Usage

hgpp --help

Show help.

hgpp

Default command - lists the current branch name for each configured repo.

hgpp pull

Does an hg pull on each repo.

hgpp merge

First does an hg pull, and then attempts to merge. The project will be skipped if:

  • there are uncommitted changes
  • the branch is default (or a differently configured parent branch)
  • the branch already has default merged in

Setup

####Install the tool (globally):

npm install hgpp -g

####Make a .hgpp config file in your home directory:

~/.hgpp for unix

c:/users/foobar/.hgpp for Windows

This config file is standard JSON:

{
    "projects": [
        { "path": "C:\\code\\myproj" },
        { "path": "C:\\code\\myproj_clone1" },
        { "defaultBranch": "temporary-other-default", "path": "C:\\code\\myproj_clone2" }
    ]
}

Specify paths to your projects.

Optionally specify a different default branch - this is useful when you're branching off of a parent branch and want to keep in sync with that parent rather than default. If no value is provided, this defaults to default.

FAQs

Package last updated on 05 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc