HG Plugin (Mercurial)/en: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen
Zeile 45: Zeile 45:


== Bookmarks ==
== Bookmarks ==

=== Create Bookmark ===
=== Create Bookmark ===
Create a bookmark at the current position
hg bookmark <name>

=== Delete Bookmark... ===
=== Delete Bookmark... ===
Delete a bookmark
hg bookmark -d <name>

=== Move Bookmark... ===
=== Move Bookmark... ===
Move a bookmark to the current position
hg bookmark -f %1

=== Push Bookmark... ===
=== Push Bookmark... ===
The specified bookmarked revision, its ancestors, and the bookmark will be pushed to the remote repository.
hg push -B <name>

=== Checkout Bookmark... ===
=== Checkout Bookmark... ===
Update the repository's working directory to the bookmark
=== Show Bookmarks ===
hg checkout -r <name>

=== Show Bookmarks ===
List existing bookmarks
hg bookmarks


== Heads ==
== Heads ==

Version vom 17. März 2022, 15:35 Uhr

Introduction[Bearbeiten]

The plugin provides Mercurial functionality for test suites.

A general description of the functionality and commands of HG / Mercurial can be found for example on https://www.mercurial-scm.org/wiki/ .

To see which HG commands are sent, they can be output on the Transcript window.

The plugin provides the necessary commands for managing a test-suite via HG / Mercurial. Bookmarks, branches and heads can be used.

Below is a brief description of each command:

Initialization[Bearbeiten]

Clone[Bearbeiten]

Clone a repository to a new local directory. The URL of the repository and the location of the local directory are requested.

Add and Commit[Bearbeiten]

Add File[Bearbeiten]

Adds the test-suite to the next version

 hg add

Commit...[Bearbeiten]

Commit the test-suite

 hg commit

Commit (amend)...[Bearbeiten]

Amend the parent of the working directory

 hg commit --amend

Rollback Last Commit[Bearbeiten]

roll back the last transaction (DANGEROUS). This command should be used with care. There is only one level of rollback, and there is no way to undo a rollback.

 hg rollback

Revert Changes[Bearbeiten]

Restore Testsuite to its checkout state

 hg revert

Branches[Bearbeiten]

Create Local Branch...[Bearbeiten]

Delete Local Branch...[Bearbeiten]

Checkout Branch...[Bearbeiten]

Bookmarks[Bearbeiten]

Create Bookmark[Bearbeiten]

Create a bookmark at the current position

 hg bookmark <name>

Delete Bookmark...[Bearbeiten]

Delete a bookmark

 hg bookmark -d <name>

Move Bookmark...[Bearbeiten]

Move a bookmark to the current position

 hg bookmark -f %1

Push Bookmark...[Bearbeiten]

The specified bookmarked revision, its ancestors, and the bookmark will be pushed to the remote repository.

 hg push -B <name>

Checkout Bookmark...[Bearbeiten]

Update the repository's working directory to the bookmark

 hg checkout -r <name>

Show Bookmarks[Bearbeiten]

List existing bookmarks

 hg bookmarks

Heads[Bearbeiten]

Checkout Head...[Bearbeiten]

Show Heads[Bearbeiten]

Push / Update[Bearbeiten]

Push[Bearbeiten]

Update[Bearbeiten]

Pull / Merge[Bearbeiten]

Pull[Bearbeiten]

Merge[Bearbeiten]

Merge Branch...[Bearbeiten]

Merge Commit[Bearbeiten]

Merge Abort after Conflict[Bearbeiten]

Informations[Bearbeiten]

Show Commit Log[Bearbeiten]

Show Log Tree[Bearbeiten]

Show Status[Bearbeiten]



Copyright © 2014-2024 eXept Software AG