fabtools.mercurial

Mercurial

This module provides low-level tools for managing Mercurial repositories. You should normally not use them directly but rather use the high-level wrapper fabtools.require.mercurial.working_copy() instead.

fabtools.mercurial.clone(remote_url, path=None, use_sudo=False, user=None)[source]

Clone a remote Mercurial repository into a new directory.

Parameters:
fabtools.mercurial.update(path, branch='default', use_sudo=False, user=None, force=False)[source]

Merge changes to a working copy and/or switch branches.

Parameters:
fabtools.mercurial.pull(path, use_sudo=False, user=None)[source]

Pull changes from the default remote repository.

Parameters: