# eric6.Plugins.VcsPlugins.vcsMercurial.ProjectHelper

Module implementing the VCS project helper for Mercurial.

### Global Attributes

None

### Classes

HgProjectHelper | Class implementing the VCS project helper for Mercurial.

### Functions

None

## HgProjectHelper

Class implementing the VCS project helper for Mercurial.

### Derived from

VcsProjectHelper

### Class Attributes

None

### Class Methods

None

### Methods

HgProjectHelper | Constructor
__checkActions | Private slot to set the enabled status of actions.
__hgAddSubrepository | Private slot used to add a sub-repository.
__hgArchive | Private slot to create an unversioned archive from the repository.
__hgBackout | Private slot used to back out changes of a changeset.
__hgBisectBad | Private slot used to execute the bisect --bad command.
__hgBisectGood | Private slot used to execute the bisect --good command.
__hgBisectReset | Private slot used to execute the bisect --reset command.
__hgBisectSkip | Private slot used to execute the bisect --skip command.
__hgBookmarkDefine | Private slot used to define a bookmark.
__hgBookmarkDelete | Private slot used to delete a bookmark.
__hgBookmarkIncoming | Private slot used to show a list of incoming bookmarks.
__hgBookmarkMove | Private slot used to move a bookmark.
__hgBookmarkOutgoing | Private slot used to show a list of outgoing bookmarks.
__hgBookmarkPull | Private slot used to pull a bookmark from a remote repository.
__hgBookmarkPush | Private slot used to push a bookmark to a remote repository.
__hgBookmarkRename | Private slot used to rename a bookmark.
__hgBookmarksList | Private slot used to list the bookmarks.
__hgBranch | Private slot used to create a new branch for the project.
__hgBranchList | Private slot used to list the branches of the project.
__hgBundle | Private slot used to create a changegroup file.
__hgCancelMerge | Private slot used to cancel an uncommitted merge.
__hgCloseBranch | Private slot used to close the current branch of the local project.
__hgConfigure | Private method to open the configuration dialog.
__hgCreateIgnore | Private slot used to create a .hgignore file for the project.
__hgEditRepoConfig | Private slot used to edit the repository configuration file.
__hgEditUserConfig | Private slot used to edit the user configuration file.
__hgExport | Private slot used to export revisions to patch files.
__hgExtendedDiff | Private slot used to perform a hg diff with the selection of revisions.
__hgGraft | Private slot used to copy changesets from another branch.
__hgGraftContinue | Private slot used to continue the last copying session after conflicts were resolved.
__hgHeads | Private slot used to show the heads of the repository.
__hgIdentify | Private slot used to identify the project directory.
__hgImport | Private slot used to import a patch file.
__hgIncoming | Private slot used to show the log of changes coming into the repository.
__hgOutgoing | Private slot used to show the log of changes going out of the repository.
__hgParents | Private slot used to show the parents of the repository.
__hgPhase | Private slot used to change the phase of revisions.
__hgPreviewBundle | Private slot used to preview a changegroup file.
__hgPull | Private slot used to pull changes from a remote repository.
__hgPush | Private slot used to push changes to a remote repository.
__hgPushForced | Private slot used to push changes to a remote repository using the force option.
__hgPushNewBranch | Private slot to push a new named branch.
__hgReMerge | Private slot used to list all files with conflicts.
__hgRecover | Private slot used to recover from an interrupted transaction.
__hgRemoveSubrepositories | Private slot used to remove sub-repositories.
__hgResolved | Private slot used to mark conflicts of the local project as being resolved.
__hgRevert | Private slot used to revert changes made to the local project.
__hgRollback | Private slot used to rollback the last transaction.
__hgServe | Private slot used to serve the project.
__hgShowBranch | Private slot used to show the current branch for the project.
__hgShowConfig | Private slot used to show the combined configuration.
__hgShowConflicts | Private slot used to list all files with conflicts.
__hgShowPaths | Private slot used to show the aliases for remote repositories.
__hgSummary | Private slot to show a working directory summary.
__hgTagList | Private slot used to list the tags of the project.
__hgTip | Private slot used to show the tip of the repository.
__hgUnbundle | Private slot used to apply changegroup files.
__hgUnresolved | Private slot used to mark conflicts of the local project as being unresolved.
__hgVerify | Private slot used to verify the integrity of the repository.
__showExtensionMenu | Private slot showing the extensions menu.
getActions | Public method to get a list of all actions.
getProject | Public method to get a reference to the project object.
initActions | Public method to generate the action objects.
initMenu | Public method to generate the VCS menu.
setObjects | Public method to set references to the vcs and project objects.
showMenu | Public slot called before the vcs menu is shown.
shutdown | Public method to perform shutdown actions.

### Static Methods

None

#### HgProjectHelper (Constructor)

HgProjectHelper(vcsObject, projectObject, parent=None, name=None)

Constructor

vcsObject
  reference to the vcs object
projectObject
  reference to the project object
parent
  parent widget (QWidget)
name
  name of this object (string)

#### HgProjectHelper.__checkActions

__checkActions()

Private slot to set the enabled status of actions.

#### HgProjectHelper.__hgAddSubrepository

__hgAddSubrepository()

Private slot used to add a sub-repository.

#### HgProjectHelper.__hgArchive

__hgArchive()

Private slot to create an unversioned archive from the repository.

#### HgProjectHelper.__hgBackout

__hgBackout()

Private slot used to back out changes of a changeset.

#### HgProjectHelper.__hgBisectBad

__hgBisectBad()

Private slot used to execute the bisect --bad command.

#### HgProjectHelper.__hgBisectGood

__hgBisectGood()

Private slot used to execute the bisect --good command.

#### HgProjectHelper.__hgBisectReset

__hgBisectReset()

Private slot used to execute the bisect --reset command.

#### HgProjectHelper.__hgBisectSkip

__hgBisectSkip()

Private slot used to execute the bisect --skip command.

#### HgProjectHelper.__hgBookmarkDefine

__hgBookmarkDefine()

Private slot used to define a bookmark.

#### HgProjectHelper.__hgBookmarkDelete

__hgBookmarkDelete()

Private slot used to delete a bookmark.

#### HgProjectHelper.__hgBookmarkIncoming

__hgBookmarkIncoming()

Private slot used to show a list of incoming bookmarks.

#### HgProjectHelper.__hgBookmarkMove

__hgBookmarkMove()

Private slot used to move a bookmark.

#### HgProjectHelper.__hgBookmarkOutgoing

__hgBookmarkOutgoing()

Private slot used to show a list of outgoing bookmarks.

#### HgProjectHelper.__hgBookmarkPull

__hgBookmarkPull()

Private slot used to pull a bookmark from a remote repository.

#### HgProjectHelper.__hgBookmarkPush

__hgBookmarkPush()

Private slot used to push a bookmark to a remote repository.

#### HgProjectHelper.__hgBookmarkRename

__hgBookmarkRename()

Private slot used to rename a bookmark.

#### HgProjectHelper.__hgBookmarksList

__hgBookmarksList()

Private slot used to list the bookmarks.

#### HgProjectHelper.__hgBranch

__hgBranch()

Private slot used to create a new branch for the project.

#### HgProjectHelper.__hgBranchList

__hgBranchList()

Private slot used to list the branches of the project.

#### HgProjectHelper.__hgBundle

__hgBundle()

Private slot used to create a changegroup file.

#### HgProjectHelper.__hgCancelMerge

__hgCancelMerge()

Private slot used to cancel an uncommitted merge.

#### HgProjectHelper.__hgCloseBranch

__hgCloseBranch()

Private slot used to close the current branch of the local project.

#### HgProjectHelper.__hgConfigure

__hgConfigure()

Private method to open the configuration dialog.

#### HgProjectHelper.__hgCreateIgnore

__hgCreateIgnore()

Private slot used to create a .hgignore file for the project.

#### HgProjectHelper.__hgEditRepoConfig

__hgEditRepoConfig()

Private slot used to edit the repository configuration file.

#### HgProjectHelper.__hgEditUserConfig

__hgEditUserConfig()

Private slot used to edit the user configuration file.

#### HgProjectHelper.__hgExport

__hgExport()

Private slot used to export revisions to patch files.

#### HgProjectHelper.__hgExtendedDiff

__hgExtendedDiff()

Private slot used to perform a hg diff with the selection of revisions.

#### HgProjectHelper.__hgGraft

__hgGraft()

Private slot used to copy changesets from another branch.

#### HgProjectHelper.__hgGraftContinue

__hgGraftContinue()

Private slot used to continue the last copying session after conflicts were resolved.

#### HgProjectHelper.__hgHeads

__hgHeads()

Private slot used to show the heads of the repository.

#### HgProjectHelper.__hgIdentify

__hgIdentify()

Private slot used to identify the project directory.

#### HgProjectHelper.__hgImport

__hgImport()

Private slot used to import a patch file.

#### HgProjectHelper.__hgIncoming

__hgIncoming()

Private slot used to show the log of changes coming into the repository.

#### HgProjectHelper.__hgOutgoing

__hgOutgoing()

Private slot used to show the log of changes going out of the repository.

#### HgProjectHelper.__hgParents

__hgParents()

Private slot used to show the parents of the repository.

#### HgProjectHelper.__hgPhase

__hgPhase()

Private slot used to change the phase of revisions.

#### HgProjectHelper.__hgPreviewBundle

__hgPreviewBundle()

Private slot used to preview a changegroup file.

#### HgProjectHelper.__hgPull

__hgPull()

Private slot used to pull changes from a remote repository.

#### HgProjectHelper.__hgPush

__hgPush()

Private slot used to push changes to a remote repository.

#### HgProjectHelper.__hgPushForced

__hgPushForced()

Private slot used to push changes to a remote repository using the force option.

#### HgProjectHelper.__hgPushNewBranch

__hgPushNewBranch()

Private slot to push a new named branch.

#### HgProjectHelper.__hgReMerge

__hgReMerge()

Private slot used to list all files with conflicts.

#### HgProjectHelper.__hgRecover

__hgRecover()

Private slot used to recover from an interrupted transaction.

#### HgProjectHelper.__hgRemoveSubrepositories

__hgRemoveSubrepositories()

Private slot used to remove sub-repositories.

#### HgProjectHelper.__hgResolved

__hgResolved()

Private slot used to mark conflicts of the local project as being resolved.

#### HgProjectHelper.__hgRevert

__hgRevert()

Private slot used to revert changes made to the local project.

#### HgProjectHelper.__hgRollback

__hgRollback()

Private slot used to rollback the last transaction.

#### HgProjectHelper.__hgServe

__hgServe()

Private slot used to serve the project.

#### HgProjectHelper.__hgShowBranch

__hgShowBranch()

Private slot used to show the current branch for the project.

#### HgProjectHelper.__hgShowConfig

__hgShowConfig()

Private slot used to show the combined configuration.

#### HgProjectHelper.__hgShowConflicts

__hgShowConflicts()

Private slot used to list all files with conflicts.

#### HgProjectHelper.__hgShowPaths

__hgShowPaths()

Private slot used to show the aliases for remote repositories.

#### HgProjectHelper.__hgSummary

__hgSummary()

Private slot to show a working directory summary.

#### HgProjectHelper.__hgTagList

__hgTagList()

Private slot used to list the tags of the project.

#### HgProjectHelper.__hgTip

__hgTip()

Private slot used to show the tip of the repository.

#### HgProjectHelper.__hgUnbundle

__hgUnbundle()

Private slot used to apply changegroup files.

#### HgProjectHelper.__hgUnresolved

__hgUnresolved()

Private slot used to mark conflicts of the local project as being unresolved.

#### HgProjectHelper.__hgVerify

__hgVerify()

Private slot used to verify the integrity of the repository.

#### HgProjectHelper.__showExtensionMenu

__showExtensionMenu()

Private slot showing the extensions menu.

#### HgProjectHelper.getActions

getActions()

Public method to get a list of all actions.

Returns:
  list of all actions (list of E5Action)

#### HgProjectHelper.getProject

getProject()

Public method to get a reference to the project object.

Returns:
  reference to the project object (Project)

#### HgProjectHelper.initActions

initActions()

Public method to generate the action objects.

#### HgProjectHelper.initMenu

initMenu(menu)

Public method to generate the VCS menu.

menu
  reference to the menu to be populated (QMenu)

#### HgProjectHelper.setObjects

setObjects(vcsObject, projectObject)

Public method to set references to the vcs and project objects.

vcsObject
  reference to the vcs object
projectObject
  reference to the project object

#### HgProjectHelper.showMenu

showMenu()

Public slot called before the vcs menu is shown.

#### HgProjectHelper.shutdown

shutdown()

Public method to perform shutdown actions.

Up