⇤ ← Revision 1 as of 2009-12-01 22:01:05
12539
Comment: German translation, provided extensions still incomplete :/
|
12493
|
Deletions are marked like this. | Additions are marked like this. |
Line 160: | Line 160: |
CategoryExtension CategoryExtensionsByOthers |
Mercurial Erweiterungen verwenden
(Andere Übersetzungen: Englisch Französisch, Japanisch)
Mercurial wurde entwickelt einen kleinen und einfachen Befehlssatz anzubieten. Mit dem mächtigen Erweiterungsmechanismus ist es in der Lage, fortgeschrittenen Anwendern erweiterte Befehle zur Verfügung zu stellen. Erweiterungen ermöglichen die Entwicklung neuer Funktionalitäten, sowie diese in der Kommandozeile wie eingebaute Befehle zu verwenden.`
Verwenden Sie auch "hg help extensions" (in Mercurial 1.3+) für mehr Informationen zu den Erweiterungen.
Unter CategoryExtension gibt es Kategorien zu den Erweiterungen und unter WritingExtensions gibt es weiteführende Informationen zur Installation und Entwicklung neuer Erweiterungen
Contents
1. Aktivieren einer Erweiterung
Um die Erweiterung "foo" zu aktivieren, die entweder mit Mercurial ausgeliefert wurde oder sich im Python-Suchpfad befindet, erzeugen Sie einen Eintrag in der hgrc. Beispielsweise:
[extensions] foo =
Sie können auch einen direkten Pfad zur Erweiterung angeben. Das sieht so aus:
[extensions] myfeature = ~/.hgext/myfeature.py
Um eine Erweiterung, welche globaler aktiviert wurde wieder explizit zu deaktivieren stellen Sie ihrem Pfad ein ! vor:
[extensions] # deaktiviere Erweiterung bar in /pfad/zur/erweiterung/bar.py hgext.bar = !/pfad/zur/erweiterung/bar.py # ditto, aber ohne spezifischen Pfad zur Erweiterung baz hgext.baz = !
Erweiterungen haben häufig weitere Konfigurationsoptionen die in der selben Konfigurationsdatei eingestellt werden können.
2. Erweiterungen die mit Mercurial ausgeliefert werden
Name |
Page |
Description |
acl |
Zur Verwaltung von commit-Rechten zu Teilen eines Repositorys mittels ACLs |
|
alias |
Nutzer-definierte Befehls-Aliase (eingebaut seit Mercurial 1.3) |
|
bisect |
Schnell durch Bisektion (O(log(n))) die Revision finden die einen Bug oder ein Feature eingeführt hat. (eingebaut seit Mercurial 1.0) |
|
bookmarks |
Commit-Markierungen die sich mit den commits bewegen |
|
bugzilla |
Aktualisiere Bugzilla Einträge wenn eine Bug-Id im changeset referenziert wird |
|
children |
Zeige Kind-Revisionen |
|
churn |
Zeige Änderungsstatistiken für Mercurial Operationen pro Author |
|
convert |
Konvertiert Repositories aus anderen SCMs nach Mercurial |
|
color |
Farbige Ausgabe für Diff-, Status- und Qseries-Befehle |
|
extdiff |
Vergleiche Änderungen mit externen Programmen |
|
fetch |
Bequem pull, merge und update in einem Schritt ausführen |
|
gpg |
Signiere Changesets und überprüfe Signaturen mittels GPG |
|
graphlog |
Zeige Revisionsgeschichte neben einem ASCII Revisions-Graph |
|
hgcia |
Sende Benachrichtigungen zu CIA |
|
hgk |
Graphischer Repository- und Geschichts-Browser, basierend auf gitk |
|
highlight |
Syntax hilighting in der Dateirevisions und Web-Ansicht |
|
imerge |
Führe interaktive, unterbrechbare Merges durch |
|
inotify |
Benutze Linux 2.6 inotify API für sofortige Statusänderungen |
|
interhg |
Diese Erweiterung ermöglicht es changelog und Zusammenfassungstext wie im InterWiki zu editieren |
|
keyword |
Benutze CVS-ähnliche Schlüsselwörter in verfolgten Dateien |
|
mq |
Mercurial Patch Queues - verwalte Änderungen als Serien von Patches |
|
notify |
Sende Änderungsmeldungen per eMail an abonnierte Adressen |
|
pager |
Ermöglicht das Benutzen eines Pagers |
|
parentrevspec |
Verwende foo^ um die übergeordnete Revision von foo zu referenzieren |
|
patchbomb |
Sende eine Sammlung von Änderungen als Patch-Mails |
|
purge |
Lösche alle Dateien und Verzeichnisse die nicht zum Repository gehören |
|
rebase |
Bewege Revisionen von einem Punkt zum Anderen |
|
record |
Verwende Arbeitsverzeichniss-Änderungen zum Commit in großen Stücken - wie darcs record |
|
relink |
Stellt harte Links zwischen Repository-Klonen wieder her |
|
schemes |
Verwende definierte Schemata als Abkürzungen für URLS |
|
share |
Benutze eine Repository-Geschichte für mehrere Repositories |
|
transplant |
Cherry-picking, Rebasing und Changesets von anderen Repositories transplantieren |
|
win32mbcs |
Ermöglicht die Verwendungen von shift_jis/big5 Dateinamen unter Windows |
|
win32text |
Verwalte die Umwandlung von Zeilenendmarkierung in Windows Repositories |
|
zeroconf |
Announcen und Browsen in Respositories via zeroconf/bonjour |
3. Bereitgestellte Erweiterungen von anderen Entwicklern
Name |
Page |
Description |
activity |
Create an image representing the activity of the repository |
|
artemis |
Simple and light-weight issue tracker |
|
attic |
Easily deal with individual patches |
|
autopager |
Invoke pager when output is longer than one screen |
|
autosync |
Automated duplex synchronization with another repository |
|
bfiles |
Handle large binary files |
|
bigfiles |
Support versions of big files with storage outside hg repo |
|
boundmode |
Enables a bound mode (commit command auto-pushes) |
|
branchhead |
Show head(s) of the branch the working directory or given revision is on |
|
branchident |
Allows renaming and removing of branch names (requires Mercurial >=1.4) |
|
casefold |
Successful unjams case-folding conflicts |
|
casestop |
Stops case-folding conflicts on commit |
|
changelog |
Auto-generate commit message from changelog entry |
|
chart |
Display activity graphs (see also ActivityExtension and ChurnExtension) |
|
cifiles |
Print the names of all checked-in files |
|
codesmell |
Ask before committing "smelly" changes |
|
commits |
Commit modified files as multiple changesets at once |
|
compass |
Find your way in repositories with multiple heads, branches and bookmarks. |
|
collapse |
Collapse consecutive changesets into one |
|
config |
Manage config files via command line only |
|
config |
Manage hgrc files via dialogs and command line |
|
contains |
Test whether a changset is contained in a branch |
|
crecord |
Select graphically which files/hunk/lines to commit |
|
cutehg |
A growing set of easy to install and use dialogs for mercurial commands |
|
cvscommit |
Push changesets to CVS |
|
defpasswd |
Automatically provide credentials (username/passwords) read from a file. |
|
deps |
Create and manage versioned repository dependencies |
|
digest |
Create and use small digest files for outgoing/bundle |
|
dotlog |
Yet Another DOT grapher |
|
easycommit |
Command-line GUI for committing changes |
|
easymerge |
Command-line GUI for merging |
|
fastimport |
Read a git "fast import" stream and turn it into changesets in a Mercurial repository |
|
filereview |
Perform code review for any project using mercurial |
|
fixcase |
Fix problems where an external tool has changed the case of a filename |
|
fixutf8 |
Fix problems on non-utf8 systems with filenames (Windows never supports utf8 filenames) |
|
foreign |
Interactively register or delete foreign/unknown files |
|
forest |
Manage a bunch of mercurial repos as a meta repository, with snapshot support thread |
|
ftp |
Manage uploaded snapshots on FTP server |
|
graphviz |
Generate DOT language source to visualize changeset tree |
|
group |
Allow to visually regroup a set of changesets |
|
hg-git |
Push to and pull from a Git server |
|
hgsubversion |
Use Mercurial as a Subversion client |
|
hgtrac |
Mercurial/Trac Integration Hook (pre/post hooks for Trac/Mercurial) |
|
histedit |
Edit, fold, drop changesets in the style of git rebase --interactive |
|
histpush |
Record locally which revisions have been pushed |
|
info |
Display basic information about a repository |
|
kerberos |
Kerberos Authentication over HTTP support |
|
keyring |
Securely save HTTP passwords in os-specific keyring (Gnome Keyring, KWallet, OSXKeyChain, encrypted file) |
|
localbranch |
Create clones inside your working directory |
|
makewritable |
Interactively removes read-only flags from files |
|
mbox |
Import patches from unix mailboxes in MQ |
|
nearest |
Display the nearest tag from a given changeset |
|
paste |
Paste changes to pastebin |
|
pbranch |
Collaborative and/or long-term patch development and maintenance |
|
prompt |
Put information about the current repository into a shell prompt |
|
publishall |
Publish to all your set repositories (ie: paths) |
|
reviewboard |
Post changesets for review to a Review Board server |
|
qct |
Provide access to the Qct commit tool |
|
qtimes |
Save or restore modification times of files affected by patch queue |
|
qup |
Move MQ patches to top of unapplied part of series |
|
rcpath |
Displays Mercurial configuration file paths and names |
|
rdiff |
Allow diff to work against remote repositories |
|
reposettings |
Allow repo specific configuration from central configuration files |
|
send |
Automatic send of bundle containing changesets missing on remote, like darcs send |
|
sharedrepo |
Let multiple working directories share the same repository |
|
shelve |
Interactively select changes to set aside |
|
sonichg |
Record pushlog data, web interfaces to view pushlog & shortlog with slider, advanced search for pushlog, new file log page, full side-by-side diffs, regex filter, commit syntax warning and more! |
|
tasks |
Manage tasks as collections of contiguous changesets |
|
timestamp |
Saves and restores file timestamps |
4. Siehe auch