# eric6.Plugins.VcsPlugins.vcsMercurial.FetchExtension.fetch

Module implementing the fetch extension interface.

### Global Attributes

None

### Classes

Fetch | Class implementing the fetch extension interface.

### Functions

None

## Fetch

Class implementing the fetch extension interface.

### Derived from

HgExtension

### Class Attributes

None

### Class Methods

None

### Methods

Fetch | Constructor
hgFetch | Public method to fetch changes from a remote repository.

### Static Methods

None

#### Fetch (Constructor)

Fetch(vcs)

Constructor

vcs
  reference to the Mercurial vcs object

#### Fetch.hgFetch

hgFetch(name, revisions=None)

Public method to fetch changes from a remote repository.

name (str)
  directory name of the project to be fetched to
revisions (list of str)
  list of revisions to be pulled

Returns:
  flag indicating, that the update contained an add or delete

Return Type:
  bool

Up