eric6.Plugins.VcsPlugins.vcsMercurial.LargefilesExtension.largefiles
Module implementing the largefiles extension interface.
Global Attributes
Classes
Largefiles |
Class implementing the largefiles extension interface. |
Functions
Largefiles
Class implementing the largefiles extension interface.
Derived from
HgExtension
Class Attributes
Class Methods
Methods
Largefiles |
Constructor |
hgAdd |
Public method used to add a file to the Mercurial repository. |
hgLfPull |
Public method to pull missing large files into the local repository. |
hgLfVerify |
Public method to verify large files integrity. |
hgLfconvert |
Public slot to convert the repository format of the current project. |
Static Methods
Largefiles (Constructor)
Largefiles(vcs)
Constructor
- vcs
-
reference to the Mercurial vcs object
Largefiles.hgAdd
hgAdd(names, mode)
Public method used to add a file to the Mercurial repository.
- names
-
file name(s) to be added (string or list of string)
- mode
-
add mode (string one of 'normal' or 'large')
Largefiles.hgLfPull
hgLfPull(projectDir, revisions=None)
Public method to pull missing large files into the local repository.
- projectDir
-
directory name of the project (string)
- revisions
-
list of revisions to pull (list of string)
Largefiles.hgLfVerify
hgLfVerify(projectDir, mode)
Public method to verify large files integrity.
- projectDir
-
directory name of the project (string)
- mode
-
verify mode (string; one of 'large', 'lfa' or 'lfc')
Largefiles.hgLfconvert
hgLfconvert(direction, projectFile)
Public slot to convert the repository format of the current project.
- direction
-
direction of the conversion (string, one of
'largefiles' or 'normal')
- projectFile
-
file name of the current project file (string)
- Raises ValueError:
-
raised to indicate a bad value for the
'direction' parameter.