# Path: oroboros/core/cfg.py
# def load():
# def save():
# def _test():
# 
# Path: oroboros/core/hgrepo.py
# def init(path=None, allow=['*'], deny=[], ssl=False):
# def commit(path=None):
# def clone(src=None, dest=None, user=None, pswd=None):
# def make_dest_url(dest, user, pswd):
# def pull(src=None, dest=None, user=None, pswd=None):
# def push(src=None, dest=None, user=None, pswd=None):


import sys
from oroboros.core import cfg
from oroboros.core import hgrepo
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
Oroboros-Mercurial utilities.

For more complex operations, directly use the core module, or hg itself.
Or submit a patch...

"""


if len(sys.argv) == 1:
	sys.exit('oroboros-hg: no arguments. Try "oroboros-hg --help" instead.')


help_text = """
usage: oroboros-hg option[=arg]

options:
  --init[=path]     init charts repo in charts dir, default %s
  --clone[=src]     copy charts repo in charts dir, default %s
  --pull[=src]      pull changes from repo to charts dir, default %s
  --push[=src]      push changes from charts dir to repo, default %s
  -h, --help        print this text

see also: hg

# Path: oroboros/core/cfg.py
# def load():
# def save():
# def _test():
# 
# Path: oroboros/core/hgrepo.py
# def init(path=None, allow=['*'], deny=[], ssl=False):
# def commit(path=None):
# def clone(src=None, dest=None, user=None, pswd=None):
# def make_dest_url(dest, user, pswd):
# def pull(src=None, dest=None, user=None, pswd=None):
# def push(src=None, dest=None, user=None, pswd=None):


# Path: oroboros/cli/hgrepo.py
import sys
from oroboros.core import cfg
from oroboros.core import hgrepo

#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
Oroboros-Mercurial utilities.

For more complex operations, directly use the core module, or hg itself.
Or submit a patch...

"""


if len(sys.argv) == 1:
	sys.exit('oroboros-hg: no arguments. Try "oroboros-hg --help" instead.')


help_text = """
usage: oroboros-hg option[=arg]

options:
  --init[=path]     init charts repo in charts dir, default %s
  --clone[=src]     copy charts repo in charts dir, default %s
  --pull[=src]      pull changes from repo to charts dir, default %s
  --push[=src]      push changes from charts dir to repo, default %s
  -h, --help        print this text

see also: hg

""" % (cfg.charts_dir, cfg.hg_repo, cfg.hg_repo, cfg.charts_dir)