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

Aus expecco Wiki (Version 25.x)
Zur Navigation springen Zur Suche springen
Inhalt gelöscht Inhalt hinzugefügt
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 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

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

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



Copyright © 2014-2024 eXept Software AG