regolith/storage.py
def push_hg(store, path):
    """Pushes the local documents via git."""
    storedir, _ = os.path.split(path)
    client = hglib.open(storedir)
    if len(client.status(modified=True, unknown=True, added=True)) == 0:
        return
    client.commit(message='regolith auto-commit', addremove=True)
    client.push()
Pushes the local documents via git.
Pushes the local documents via git.
Pushes the local documents via git .
def push_hg(store, path):
    storedir, _ = os.path.split(path)
    client = hglib.open(storedir)
    if len(client.status(modified=True, unknown=True, added=True)) == 0:
        return
    client.commit(message='regolith auto-commit', addremove=True)
    client.push()
def push_hg ( store , path ) : storedir , _ = os . path . split ( path ) client = hglib . open ( storedir ) if len ( client . status ( modified = True , unknown = True , added = True ) ) == 0 : return client . commit ( message = 'regolith auto-commit' , addremove = True ) client . push ( )
Pushes the local documents via git.
Pushes the local documents via git .
"""Pushes the local documents via git."""
store
path