Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.ShelveExtension.shelve.html

changeset 3673
e26d7d0c1088
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.ShelveExtension.shelve.html	Sat Jul 05 12:29:15 2014 +0200
@@ -0,0 +1,225 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric6.Plugins.VcsPlugins.vcsMercurial.ShelveExtension.shelve</title>
+<meta charset="UTF-8">
+<style>
+body {
+    background: #EDECE6;
+    margin: 0em 1em 10em 1em;
+    color: black;
+}
+
+h1 { color: white; background: #85774A; }
+h2 { color: white; background: #85774A; }
+h3 { color: white; background: #9D936E; }
+h4 { color: white; background: #9D936E; }
+    
+a { color: #BA6D36; }
+
+</style>
+</head>
+<body><a NAME="top" ID="top"></a>
+<h1>eric6.Plugins.VcsPlugins.vcsMercurial.ShelveExtension.shelve</h1>
+<p>
+Module implementing the shelve extension interface.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#Shelve">Shelve</a></td>
+<td>Class implementing the shelve extension interface.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="Shelve" ID="Shelve"></a>
+<h2>Shelve</h2>
+<p>
+    Class implementing the shelve extension interface.
+</p>
+<h3>Derived from</h3>
+HgExtension
+<h3>Class Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Class Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#Shelve.__init__">Shelve</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#Shelve.__hgGetShelveNamesList">__hgGetShelveNamesList</a></td>
+<td>Private method to get the list of shelved changes.</td>
+</tr><tr>
+<td><a href="#Shelve.hgCleanupShelves">hgCleanupShelves</a></td>
+<td>Public method to delete all shelves.</td>
+</tr><tr>
+<td><a href="#Shelve.hgDeleteShelves">hgDeleteShelves</a></td>
+<td>Public method to delete named shelves.</td>
+</tr><tr>
+<td><a href="#Shelve.hgShelve">hgShelve</a></td>
+<td>Public method to shelve current changes of files or directories.</td>
+</tr><tr>
+<td><a href="#Shelve.hgShelveBrowser">hgShelveBrowser</a></td>
+<td>Public method to show the shelve browser dialog.</td>
+</tr><tr>
+<td><a href="#Shelve.hgUnshelve">hgUnshelve</a></td>
+<td>Public method to restore shelved changes to the project directory.</td>
+</tr><tr>
+<td><a href="#Shelve.hgUnshelveAbort">hgUnshelveAbort</a></td>
+<td>Public method to abort the ongoing restore operation.</td>
+</tr><tr>
+<td><a href="#Shelve.hgUnshelveContinue">hgUnshelveContinue</a></td>
+<td>Public method to continue the ongoing restore operation.</td>
+</tr><tr>
+<td><a href="#Shelve.shutdown">shutdown</a></td>
+<td>Public method used to shutdown the shelve interface.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<a NAME="Shelve.__init__" ID="Shelve.__init__"></a>
+<h4>Shelve (Constructor)</h4>
+<b>Shelve</b>(<i>vcs</i>)
+<p>
+        Constructor
+</p><dl>
+<dt><i>vcs</i></dt>
+<dd>
+reference to the Mercurial vcs object
+</dd>
+</dl><a NAME="Shelve.__hgGetShelveNamesList" ID="Shelve.__hgGetShelveNamesList"></a>
+<h4>Shelve.__hgGetShelveNamesList</h4>
+<b>__hgGetShelveNamesList</b>(<i>repodir</i>)
+<p>
+        Private method to get the list of shelved changes.
+</p><dl>
+<dt><i>repodir</i></dt>
+<dd>
+directory name of the repository (string)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+list of shelved changes (list of string)
+</dd>
+</dl><a NAME="Shelve.hgCleanupShelves" ID="Shelve.hgCleanupShelves"></a>
+<h4>Shelve.hgCleanupShelves</h4>
+<b>hgCleanupShelves</b>(<i>name</i>)
+<p>
+        Public method to delete all shelves.
+</p><dl>
+<dt><i>name</i></dt>
+<dd>
+name of the project directory (string)
+</dd>
+</dl><a NAME="Shelve.hgDeleteShelves" ID="Shelve.hgDeleteShelves"></a>
+<h4>Shelve.hgDeleteShelves</h4>
+<b>hgDeleteShelves</b>(<i>name, shelveNames=None</i>)
+<p>
+        Public method to delete named shelves.
+</p><dl>
+<dt><i>name</i></dt>
+<dd>
+name of the project directory (string)
+</dd><dt><i>shelveNames</i></dt>
+<dd>
+name of shelves to delete (list of string)
+</dd>
+</dl><a NAME="Shelve.hgShelve" ID="Shelve.hgShelve"></a>
+<h4>Shelve.hgShelve</h4>
+<b>hgShelve</b>(<i>name</i>)
+<p>
+        Public method to shelve current changes of files or directories.
+</p><dl>
+<dt><i>name</i></dt>
+<dd>
+directory or file name (string) or list of directory
+            or file names (list of string)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating that the project should be reread (boolean)
+</dd>
+</dl><a NAME="Shelve.hgShelveBrowser" ID="Shelve.hgShelveBrowser"></a>
+<h4>Shelve.hgShelveBrowser</h4>
+<b>hgShelveBrowser</b>(<i>projectDir</i>)
+<p>
+        Public method to show the shelve browser dialog.
+</p><dl>
+<dt><i>projectDir</i></dt>
+<dd>
+name of the project directory (string)
+</dd>
+</dl><a NAME="Shelve.hgUnshelve" ID="Shelve.hgUnshelve"></a>
+<h4>Shelve.hgUnshelve</h4>
+<b>hgUnshelve</b>(<i>name, shelveName=""</i>)
+<p>
+        Public method to restore shelved changes to the project directory.
+</p><dl>
+<dt><i>name</i></dt>
+<dd>
+name of the project directory (string)
+</dd><dt><i>shelveName=</i></dt>
+<dd>
+name of the shelve to restore (string)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating that the project should be reread (boolean)
+</dd>
+</dl><a NAME="Shelve.hgUnshelveAbort" ID="Shelve.hgUnshelveAbort"></a>
+<h4>Shelve.hgUnshelveAbort</h4>
+<b>hgUnshelveAbort</b>(<i>name</i>)
+<p>
+        Public method to abort the ongoing restore operation.
+</p><dl>
+<dt><i>name</i></dt>
+<dd>
+name of the project directory (string)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating that the project should be reread (boolean)
+</dd>
+</dl><a NAME="Shelve.hgUnshelveContinue" ID="Shelve.hgUnshelveContinue"></a>
+<h4>Shelve.hgUnshelveContinue</h4>
+<b>hgUnshelveContinue</b>(<i>name</i>)
+<p>
+        Public method to continue the ongoing restore operation.
+</p><dl>
+<dt><i>name</i></dt>
+<dd>
+name of the project directory (string)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating that the project should be reread (boolean)
+</dd>
+</dl><a NAME="Shelve.shutdown" ID="Shelve.shutdown"></a>
+<h4>Shelve.shutdown</h4>
+<b>shutdown</b>(<i></i>)
+<p>
+        Public method used to shutdown the shelve interface.
+</p>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial