Skip to content

command-line app to update mercurial (hg) sub-repositories

Notifications You must be signed in to change notification settings

sappharx/hg-subrepo-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

updata

NPM

Build Status Coverage Status Codacy Badge Code Climate Issue Count

bitHound Overall Score bitHound Dependencies bitHound Dev Dependencies bitHound Code

License Commitizen friendly

This is just a little command-line app that updates your mercurial sub-repositories

Usage

updata [options]

Options:

-h, --help                output usage information
-V, --version             output the version number
-g, --ignore <subrepos>   ignore specified sub-repositories [provide comma-separated list]
-G, --ignore-file <file>  specify which sub-repositories to ignore in a separate file
-l, --list <subrepos>     update specified sub-repositories [provide comma-separated list]
-L, --list-file <file>    specify which sub-repositories to update in a separate file
-p, --pull-only           only pull latest changes from remote (don't update)
-q, --quiet               limit console output
-t, --tag <id>            tag to which to update sub-repositories [defaults to tip]
-v, --verbose             display output from mercurial

just run updata for default behavior (updates all sub-repositories in .hgsub)

Installation

You need to have node, npm, and hg installed and available on your PATH

run npm install -g updata to install globally

Tests

run tests: npm run test:once (not set up for watching right now)

run code coverage: npm run coverage

Contributing

Fork it. Fix or improve it. Submit a pull request.

License

MIT: http://vsisk.mit-license.org/

About

command-line app to update mercurial (hg) sub-repositories

Resources

Stars

Watchers

Forks

Packages

No packages published