Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
#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.
hgpp --help
Show help. Probably more up-to-date than this readme.
hgpp
Default command - lists the current branch name for each configured repo.
hgpp pull
Does an hg pull
on each repo. -u
to also update.
hgpp push
Does an hg push
on each repo.
hgpp merge
First does an hg pull, and then attempts to merge. The project will be skipped if:
hgpp multimerge foo-branch bar-branch
Runs merge commands on several branches in a row. This command operates on the path you run the command, rather than on each project specified in the config. It accepts a space-separated list of "fragments" it will use to try match on a branch name (e.g. a jira case number).
hgpp config
Print your current .hgpp config file location and contents.
####Install the tool (globally):
npm install hgpp -g
####Make a .hgpp
config file in your home directory:
(a empty config file will be generated the first time you run hgpp if it does not find a config file at the expected location)
~/.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" }
],
"maxConcurrent": 3,
"easymergeCmd": "customHgCommand"
}
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
.
maxConcurrent is optional, and specifies how many simultaneous mercurial actions it will try perform. Defaults to 3.
easymergeCmd is optional, and allows specifying a custom mercurial command to use with the hgpp multimerge feature. Without specifying this it will do hg merge default
FAQs
hg++ power tools
The npm package hgpp receives a total of 0 weekly downloads. As such, hgpp popularity was classified as not popular.
We found that hgpp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.