libvcs.projects.hg#

For mercurial, aka hg(1).

Mercurial Repo object for libvcs.

class libvcs.projects.hg.MercurialProject(*, url, dir, progress_callback=None, **kwargs)[source]#

Bases: libvcs.projects.base.BaseProject

Base class for repositories.

Parameters:
  • url (str) –

  • dir (libvcs._internal.types.StrPath) –

bin_name = hg#
get_revision(self)[source]#
obtain(self, *args, **kwargs)[source]#
schemes = ['hg', 'hg+http', 'hg+https', 'hg+file']#
update_repo(self, *args, **kwargs)[source]#
libvcs.projects.hg.logger#