HG Plugin (Mercurial)/en: Unterschied zwischen den Versionen
Alkurz (Diskussion | Beiträge) Die Seite wurde neu angelegt: „The plugin provides Mercurial functionality for test suites. A general description of the functionality and commands of HG / Mercurial can be found for examp…“ |
Alkurz (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
== Introduction == |
|||
The plugin provides Mercurial functionality for test suites. |
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 |
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. |
To see which HG commands are sent, they can be output on the Transcript window. |
||
| Zeile 9: | Zeile 10: | ||
Below is a brief description of each command: |
Below is a brief description of each command: |
||
Initialization |
== Initialization == |
||
Clone |
=== Clone === |
||
Clone a repository to a new local directory. |
Clone a repository to a new local directory. |
||
The URL of the repository and the location of the local directory are requested. |
The URL of the repository and the location of the local directory are requested. |
||
Add and Commit |
== Add and Commit == |
||
Add File |
=== Add File === |
||
Adds the test-suite to the next version |
Adds the test-suite to the next version |
||
hg add |
hg add |
||
Commit... |
=== Commit... === |
||
Commit the test-suite |
Commit the test-suite |
||
hg commit |
hg commit |
||
Commit (amend)... |
=== Commit (amend)... === |
||
Amend the parent of the working directory |
Amend the parent of the working directory |
||
hg commit --amend |
hg commit --amend |
||
Rollback Last Commit |
=== 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. |
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 |
hg rollback |
||
Revert |
=== Revert Changes === |
||
Restore Testsuite to its checkout state |
Restore Testsuite to its checkout state |
||
hg revert |
hg revert |
||
- |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
- |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
- |
|||
| ⚫ | |||
| ⚫ | |||
- |
|||
Push |
|||
Update |
|||
- |
|||
Pull |
|||
Merge |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
- |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
- |
|||
Clone Repository... |
|||
== Branches == |
|||
Translated with www.DeepL.com/Translator (free version) |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
== Bookmarks == |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
== Heads == |
|||
| ⚫ | |||
| ⚫ | |||
== Push / Update == |
|||
=== Push === |
|||
=== Update === |
|||
== Pull / Merge == |
|||
=== Pull === |
|||
=== Merge === |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
== Informations == |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
Version vom 17. März 2022, 15:26 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