HG Plugin (Mercurial)/en: Unterschied zwischen den Versionen
Alkurz (Diskussion | Beiträge) |
Alkurz (Diskussion | Beiträge) |
||
| 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 |
|||
| ⚫ | |||
hg checkout -r <name> |
|||
| ⚫ | |||
List existing bookmarks |
|||
hg bookmarks |
|||
== Heads == |
== Heads == |
||
Version vom 17. März 2022, 15:35 Uhr
Introduction
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
Clone
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
Add File
Adds the test-suite to the next version
hg add
Commit...
Commit the test-suite
hg commit
Commit (amend)...
Amend the parent of the working directory
hg commit --amend
Rollback Last Commit
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
Restore Testsuite to its checkout state
hg revert
Branches
Create Local Branch...
Delete Local Branch...
Checkout Branch...
Bookmarks
Create Bookmark
Create a bookmark at the current position
hg bookmark <name>
Delete Bookmark...
Delete a bookmark
hg bookmark -d <name>
Move Bookmark...
Move a bookmark to the current position
hg bookmark -f %1
Push Bookmark...
The specified bookmarked revision, its ancestors, and the bookmark will be pushed to the remote repository.
hg push -B <name>
Checkout Bookmark...
Update the repository's working directory to the bookmark
hg checkout -r <name>
Show Bookmarks
List existing bookmarks
hg bookmarks