![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
A node js client for Mercurial. Supports both Async/Await/Promises and Standard callbacks.
Supported node version => 7.6.0
# Install from npm
npm install -S hg-plus
To use the gitify function, you must also have python2.7.x, git as well as the shipped gitifyhg python addon installed.
To install the addon simply run:
cd node_modules/hg-plus/utils/gitifyhg/
python2.7 setup.py install
Note this feature currently has mixed results on windows. Working on fixing that functionality for the next release.
// Initialize with default python path ('python')
const Hg = require('hg-plus')();
// Clone a repo using only the url string
let repo = await Hg.clone('http://hostname.com/my/repository/url')
await repo.add()
await repo.commit('my example commit')
await repo.push({ password: 'myPassword', username: 'username' })
const Hg = require('hg-plus')();
let to = {
url: 'http://hostname.com/my/repository/url',
username: 'me@host.com',
password: 'secret'
}
let repo = await Hg.create(to);
await repo.push()
const Hg = require('hg-plus')();
let to = {
url: 'http://hostname.com/my/repository/url'
}
let from = [
'http://hostname.com/my/repository/url1',
'http://hostname.com/my/repository/url2',
'http://hostname.com/my/repository/url3'
]
let repo = await Hg.clone(from, to);
await repo.commit('I just created a repository from three other repositories!')
await repo.push({
username: 'me@host.com',
password: 'secret'
})
This functionality is still in development. There are a few issues that arise if for example, there are conflicting branches during the clean processing. Before merging repositories, ensure that the branch names(besides default) do not conflict. If it errors out for you, try running the conversion without the clean option.
Ensure to install the gitifyhg library as outlined at the beginning of this README then make sure to change the global variable in tests/HgRepo called pythonPath to be a valid path to your python2.7.x installation. Then run:
npm test
MIT, No Attribution Required, Copyright 2016 Justin Dalrymple
gitRepoPath
parameter to be just path
path
, a remoteURL option, an option to track
all of the git branches after the conversion, and an option to clean the git branch names during conversionNOTE: Upgrading from 0.8.0 to 1.0 will break your project. Ensure to add the function call to your require statement - require('hg-plus')()
FAQs
A Mercurial client for Node
The npm package hg-plus receives a total of 7 weekly downloads. As such, hg-plus popularity was classified as not popular.
We found that hg-plus 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.