Documentation/Source/eric5.Plugins.VcsPlugins.vcsMercurial.ProjectHelper.html

Mon, 12 Apr 2010 18:00:42 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 12 Apr 2010 18:00:42 +0000
changeset 178
dd9f0bca5e2f
child 189
17bb2db7a347
permissions
-rw-r--r--

Added plugin for Mercurial version control system.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>eric5.Plugins.VcsPlugins.vcsMercurial.ProjectHelper</title>
<style>
body {
    background:white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #4FA4FF; }
h2 { color: white; background: #4FA4FF; }
h3 { color: white; background: #00557F; }
h4 { color: white; background: #00557F; }
    
a { color: #AA5500; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric5.Plugins.VcsPlugins.vcsMercurial.ProjectHelper</h1>
<p>
Module implementing the VCS project helper for Mercurial.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#HgProjectHelper">HgProjectHelper</a></td>
<td>Class implementing the VCS project helper for Mercurial.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="HgProjectHelper" ID="HgProjectHelper"></a>
<h2>HgProjectHelper</h2>
<p>
    Class implementing the VCS project helper for Mercurial.
</p>
<h3>Derived from</h3>
VcsProjectHelper
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#HgProjectHelper.__init__">HgProjectHelper</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgBranch">__hgBranch</a></td>
<td>Private slot used to create a new branch for the project.</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgBranchList">__hgBranchList</a></td>
<td>Private slot used to list the branches of the project.</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgCloseBranch">__hgCloseBranch</a></td>
<td>Protected slot used to close the current branch of the local project.</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgConfigure">__hgConfigure</a></td>
<td>Private method to open the configuration dialog.</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgExtendedDiff">__hgExtendedDiff</a></td>
<td>Private slot used to perform a svn diff with the selection of revisions.</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgHeads">__hgHeads</a></td>
<td>Private slot used to show the heads of the repository.</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgIncoming">__hgIncoming</a></td>
<td>Private slot used to show the log of changes coming into the repository.</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgLogBrowser">__hgLogBrowser</a></td>
<td>Private slot used to browse the log of the current project.</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgLogLimited">__hgLogLimited</a></td>
<td>Private slot used to perform a hg log --limit.</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgOutgoing">__hgOutgoing</a></td>
<td>Private slot used to show the log of changes going out of the repository.</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgParents">__hgParents</a></td>
<td>Private slot used to show the parents of the repository.</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgPull">__hgPull</a></td>
<td>Private slot used to pull changes from a remote repository.</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgPush">__hgPush</a></td>
<td>Private slot used to push changes to a remote repository.</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgResolve">__hgResolve</a></td>
<td>Private slot used to resolve conflicts of the local project.</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgTagList">__hgTagList</a></td>
<td>Private slot used to list the tags of the project.</td>
</tr><tr>
<td><a href="#HgProjectHelper.__hgTip">__hgTip</a></td>
<td>Private slot used to show the tip of the repository.</td>
</tr><tr>
<td><a href="#HgProjectHelper.getActions">getActions</a></td>
<td>Public method to get a list of all actions.</td>
</tr><tr>
<td><a href="#HgProjectHelper.initActions">initActions</a></td>
<td>Public method to generate the action objects.</td>
</tr><tr>
<td><a href="#HgProjectHelper.initMenu">initMenu</a></td>
<td>Public method to generate the VCS menu.</td>
</tr>
</table>
<a NAME="HgProjectHelper.__init__" ID="HgProjectHelper.__init__"></a>
<h4>HgProjectHelper (Constructor)</h4>
<b>HgProjectHelper</b>(<i>vcsObject, projectObject, parent = None, name = None</i>)
<p>
        Constructor
</p><dl>
<dt><i>vcsObject</i></dt>
<dd>
reference to the vcs object
</dd><dt><i>projectObject</i></dt>
<dd>
reference to the project object
</dd><dt><i>parent</i></dt>
<dd>
parent widget (QWidget)
</dd><dt><i>name</i></dt>
<dd>
name of this object (string)
</dd>
</dl><a NAME="HgProjectHelper.__hgBranch" ID="HgProjectHelper.__hgBranch"></a>
<h4>HgProjectHelper.__hgBranch</h4>
<b>__hgBranch</b>(<i></i>)
<p>
        Private slot used to create a new branch for the project.
</p><a NAME="HgProjectHelper.__hgBranchList" ID="HgProjectHelper.__hgBranchList"></a>
<h4>HgProjectHelper.__hgBranchList</h4>
<b>__hgBranchList</b>(<i></i>)
<p>
        Private slot used to list the branches of the project.
</p><a NAME="HgProjectHelper.__hgCloseBranch" ID="HgProjectHelper.__hgCloseBranch"></a>
<h4>HgProjectHelper.__hgCloseBranch</h4>
<b>__hgCloseBranch</b>(<i></i>)
<p>
        Protected slot used to close the current branch of the local project.
</p><a NAME="HgProjectHelper.__hgConfigure" ID="HgProjectHelper.__hgConfigure"></a>
<h4>HgProjectHelper.__hgConfigure</h4>
<b>__hgConfigure</b>(<i></i>)
<p>
        Private method to open the configuration dialog.
</p><a NAME="HgProjectHelper.__hgExtendedDiff" ID="HgProjectHelper.__hgExtendedDiff"></a>
<h4>HgProjectHelper.__hgExtendedDiff</h4>
<b>__hgExtendedDiff</b>(<i></i>)
<p>
        Private slot used to perform a svn diff with the selection of revisions.
</p><a NAME="HgProjectHelper.__hgHeads" ID="HgProjectHelper.__hgHeads"></a>
<h4>HgProjectHelper.__hgHeads</h4>
<b>__hgHeads</b>(<i></i>)
<p>
        Private slot used to show the heads of the repository.
</p><a NAME="HgProjectHelper.__hgIncoming" ID="HgProjectHelper.__hgIncoming"></a>
<h4>HgProjectHelper.__hgIncoming</h4>
<b>__hgIncoming</b>(<i></i>)
<p>
        Private slot used to show the log of changes coming into the repository.
</p><a NAME="HgProjectHelper.__hgLogBrowser" ID="HgProjectHelper.__hgLogBrowser"></a>
<h4>HgProjectHelper.__hgLogBrowser</h4>
<b>__hgLogBrowser</b>(<i></i>)
<p>
        Private slot used to browse the log of the current project.
</p><a NAME="HgProjectHelper.__hgLogLimited" ID="HgProjectHelper.__hgLogLimited"></a>
<h4>HgProjectHelper.__hgLogLimited</h4>
<b>__hgLogLimited</b>(<i></i>)
<p>
        Private slot used to perform a hg log --limit.
</p><a NAME="HgProjectHelper.__hgOutgoing" ID="HgProjectHelper.__hgOutgoing"></a>
<h4>HgProjectHelper.__hgOutgoing</h4>
<b>__hgOutgoing</b>(<i></i>)
<p>
        Private slot used to show the log of changes going out of the repository.
</p><a NAME="HgProjectHelper.__hgParents" ID="HgProjectHelper.__hgParents"></a>
<h4>HgProjectHelper.__hgParents</h4>
<b>__hgParents</b>(<i></i>)
<p>
        Private slot used to show the parents of the repository.
</p><a NAME="HgProjectHelper.__hgPull" ID="HgProjectHelper.__hgPull"></a>
<h4>HgProjectHelper.__hgPull</h4>
<b>__hgPull</b>(<i></i>)
<p>
        Private slot used to pull changes from a remote repository.
</p><a NAME="HgProjectHelper.__hgPush" ID="HgProjectHelper.__hgPush"></a>
<h4>HgProjectHelper.__hgPush</h4>
<b>__hgPush</b>(<i></i>)
<p>
        Private slot used to push changes to a remote repository.
</p><a NAME="HgProjectHelper.__hgResolve" ID="HgProjectHelper.__hgResolve"></a>
<h4>HgProjectHelper.__hgResolve</h4>
<b>__hgResolve</b>(<i></i>)
<p>
        Private slot used to resolve conflicts of the local project.
</p><a NAME="HgProjectHelper.__hgTagList" ID="HgProjectHelper.__hgTagList"></a>
<h4>HgProjectHelper.__hgTagList</h4>
<b>__hgTagList</b>(<i></i>)
<p>
        Private slot used to list the tags of the project.
</p><a NAME="HgProjectHelper.__hgTip" ID="HgProjectHelper.__hgTip"></a>
<h4>HgProjectHelper.__hgTip</h4>
<b>__hgTip</b>(<i></i>)
<p>
        Private slot used to show the tip of the repository.
</p><a NAME="HgProjectHelper.getActions" ID="HgProjectHelper.getActions"></a>
<h4>HgProjectHelper.getActions</h4>
<b>getActions</b>(<i></i>)
<p>
        Public method to get a list of all actions.
</p><dl>
<dt>Returns:</dt>
<dd>
list of all actions (list of E5Action)
</dd>
</dl><a NAME="HgProjectHelper.initActions" ID="HgProjectHelper.initActions"></a>
<h4>HgProjectHelper.initActions</h4>
<b>initActions</b>(<i></i>)
<p>
        Public method to generate the action objects.
</p><a NAME="HgProjectHelper.initMenu" ID="HgProjectHelper.initMenu"></a>
<h4>HgProjectHelper.initMenu</h4>
<b>initMenu</b>(<i>menu</i>)
<p>
        Public method to generate the VCS menu.
</p><dl>
<dt><i>menu</i></dt>
<dd>
reference to the menu to be populated (QMenu)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial