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

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen
(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…“)
 
K
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 hht
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 File-Changes in Working Directory
=== Revert Changes ===
Restore Testsuite to its checkout state
Restore Testsuite to its checkout state
hg revert
hg revert
-
Create Local Branch...
Delete Local Branch...
Checkout Branch...
-
Create Bookmark
Delete Bookmark...
Move Bookmark...
Push Bookmark...
Checkout Bookmark...
Show Bookmarks
-
Show Heads
Checkout Head...
-
Push
Update
-
Pull
Merge
Merge Branch...
Merge Commit
Merge Abort after Conflict
-
Show Commit Log
Show Log Tree
Show Status
-
Clone Repository...


== Branches ==
Translated with www.DeepL.com/Translator (free version)
=== Create Local Branch... ===
=== Delete Local Branch... ===
=== Checkout Branch... ===

== Bookmarks ==
=== Create Bookmark ===
=== Delete Bookmark... ===
=== Move Bookmark... ===
=== Push Bookmark... ===
=== Checkout Bookmark... ===
=== Show Bookmarks ===

== Heads ==
=== Checkout Head... ===
=== Show Heads ===

== Push / Update ==
=== Push ===
=== Update ===

== Pull / Merge ==
=== Pull ===
=== Merge ===
=== Merge Branch... ===
=== Merge Commit ===
=== Merge Abort after Conflict ===

== Informations ==
=== Show Commit Log ===
=== Show Log Tree ===
=== Show Status ===

Version vom 17. März 2022, 15:26 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]

Delete Bookmark...[Bearbeiten]

Move Bookmark...[Bearbeiten]

Push Bookmark...[Bearbeiten]

Checkout Bookmark...[Bearbeiten]

Show Bookmarks[Bearbeiten]

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