eric5.Plugins.VcsPlugins.vcsMercurial.BookmarksExtension.bookmarks

Module implementing the bookmarks extension interface.

Global Attributes

None

Classes

Bookmarks Class implementing the bookmarks extension interface.

Functions

None


Bookmarks

Class implementing the bookmarks extension interface.

Derived from

HgExtension

Class Attributes

None

Class Methods

None

Methods

Bookmarks Constructor
__getInOutBookmarks Public method to get the list of incoming or outgoing bookmarks.
hgBookmarkDefine Public method to define a bookmark.
hgBookmarkDelete Public method to delete a bookmark.
hgBookmarkIncoming Public method to show a list of incoming bookmarks.
hgBookmarkMove Public method to move a bookmark.
hgBookmarkOutgoing Public method to show a list of outgoing bookmarks.
hgBookmarkPull Public method to pull a bookmark from a remote repository.
hgBookmarkPush Public method to push a bookmark to a remote repository.
hgBookmarkRename Public method to rename a bookmark.
hgGetBookmarksList Public method to get the list of bookmarks.
hgListBookmarks Public method used to list the available bookmarks.
shutdown Public method used to shutdown the bookmarks interface.

Static Methods

None

Bookmarks (Constructor)

Bookmarks(vcs)

Constructor

vcs
reference to the Mercurial vcs object

Bookmarks.__getInOutBookmarks

__getInOutBookmarks(repodir, incoming)

Public method to get the list of incoming or outgoing bookmarks.

repodir
directory name of the repository (string)
incoming
flag indicating to get incoming bookmarks (boolean)
Returns:
list of bookmarks (list of string)

Bookmarks.hgBookmarkDefine

hgBookmarkDefine(name)

Public method to define a bookmark.

name
file/directory name (string)

Bookmarks.hgBookmarkDelete

hgBookmarkDelete(name)

Public method to delete a bookmark.

name
file/directory name (string)

Bookmarks.hgBookmarkIncoming

hgBookmarkIncoming(name)

Public method to show a list of incoming bookmarks.

name
file/directory name (string)

Bookmarks.hgBookmarkMove

hgBookmarkMove(name)

Public method to move a bookmark.

name
file/directory name (string)

Bookmarks.hgBookmarkOutgoing

hgBookmarkOutgoing(name)

Public method to show a list of outgoing bookmarks.

name
file/directory name (string)

Bookmarks.hgBookmarkPull

hgBookmarkPull(name)

Public method to pull a bookmark from a remote repository.

name
file/directory name (string)

Bookmarks.hgBookmarkPush

hgBookmarkPush(name)

Public method to push a bookmark to a remote repository.

name
file/directory name (string)

Bookmarks.hgBookmarkRename

hgBookmarkRename(name)

Public method to rename a bookmark.

name
file/directory name (string)

Bookmarks.hgGetBookmarksList

hgGetBookmarksList(repodir)

Public method to get the list of bookmarks.

repodir
directory name of the repository (string)
Returns:
list of bookmarks (list of string)

Bookmarks.hgListBookmarks

hgListBookmarks(path)

Public method used to list the available bookmarks.

path
directory name of the project (string)

Bookmarks.shutdown

shutdown()

Public method used to shutdown the bookmarks interface.

Up