Differences between revisions 109 and 110
Revision 109 as of 2008-10-25 10:20:57
Size: 2605
Editor: hk29kj1
Comment:
Revision 110 as of 2008-10-25 11:11:20
Size: 7046
Editor: tonfa
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
'''[http://29kj.com >>>> 香港六合彩曾道人白小姐提供六合彩资料和六合彩开奖结果]''' ## page was renamed from Extensions
= Using Mercurial extensions =
Mercurial features an extension mechanism for adding new commands.
Line 3: Line 5:
'''[http://29kj.com >>>> 香港六合彩专业网站,香港赛马会连结,提供香港六合彩特]''' Extensions allow the creation of new features and using them directly from the main hg command line as if they were builtin commands.
Line 5: Line 7:
'''[http://29kj.com >>>> 香港六合彩官方网站曾道人内幕玄香港六合 彩大公开]''' == Extensions Bundled with Mercurial ==
Line 7: Line 9:
'''[http://1878.cc >>>> 香港六合彩天线宝宝公开内幕玄香港六合 彩]''' || ''Name'' || ''Page'' || ''Description'' ||
|| '''acl''' || AclExtension || Manage commit access to parts of a repo using control lists ||
|| '''alias''' || AliasExtension || user-defined command aliases ||
|| '''bisect''' || BisectExtension || Quickly find the revision that introduces a bug or feature bisecting the history tree (O(log(n)). '''Built-in for Mercurial 1.0''' ||
|| '''bookmarks''' || BookmarksExtension || Markers on commits that move on commit ||
|| '''bugzilla''' || BugzillaExtension || Update Bugzilla entries when a bug id is referenced in a changeset ||
|| '''children''' || ChildrenExtension || Display children revisions ||
|| '''churn''' || ChurnExtension || Show change statistics for mercurial operations per author ||
|| '''convert''' || ConvertExtension || Convert repositories from other SCMs into Mercurial ||
|| '''color''' || ColorExtension || Color output for the status and qseries commands ||
|| '''extdiff''' || ExtdiffExtension || Compare changes using external programs ||
|| '''fetch''' || FetchExtension || Conveniently pull, merge and update in one step ||
|| '''gpg''' || GpgExtension || Sign changesets and check signatures using GPG ||
|| '''graphlog''' || GraphlogExtension || Show revision history alongside an ASCII revision graph ||
|| '''hgk''' || HgkExtension || Graphical repository and history browser based on gitk ||
|| '''highlight''' || HighlightExtension || Highlight syntax in the file revision view of hgweb ||
|| '''imerge''' || ImergeExtension || Perform interactive, interruptible merges ||
|| '''inotify''' || InotifyExtension || Use linux 2.6 inotify API for instantaneous status updates ||
|| '''interhg''' || InterhgExtension || This extension allows you to change changelog and summary text just like InterWiki way ||
|| '''keyword''' || KeywordExtension || use CVS like keyword expansion in tracked files ||
|| '''mq''' || MqExtension || Mercurial Patch Queues - manage changes as series of patches ||
|| '''notify''' || NotifyExtension || Send email to subscribed addresses to notify repository changes ||
|| '''pager''' || PagerExtension || Allows you to choose a pager ||
|| '''parentrevspec''' || ParentrevspecExtension || use `foo^` to refer to the parent of revision `foo` ||
|| '''patchbomb''' || PatchbombExtension || Send a collection of changesets as a series of patch emails ||
|| '''purge''' || PurgeExtension || Purge all files and dirs in the repository that are not being tracked by Mercurial ||
|| '''rebase''' || RebaseExtension || move revisions from a point to another ||
|| '''record''' || RecordExtension || Select working directory changes to commit by hunk à la darcs record ||
|| '''transplant''' || TransplantExtension || Cherry-picking, rebasing and changeset rewriting ||
|| '''win32mbcs''' || Win32mbcsExtension || Allow to use shift_jis/big5 filenames on Windows. ||
|| '''win32text''' || Win32TextExtension || Manage line ending conversion for Windows repositories ||
Line 9: Line 41:
'''[http://29kj.com >>>> 香港六合彩曾道人特码主论坛六合彩图库白小姐liuhecai]'''
Line 11: Line 42:
'''[http://1878.cc >>>> 香港六合彩内幕玄香港六合 彩大公开]''' == Extensions provided by others ==
Line 13: Line 44:
'''[http://29kj.com >>>> 香港六合彩开奖结果预测、特码、图库、单双、大小、头数、尾数、平码、特围等开奖综合信息]''' || ''Name'' || ''Page'' || ''Description'' ||
|| '''cvscommit''' || CvscommitExtension || Push changesets to CVS ||
|| '''config''' || ConfigExtension || Manage hgrc files via dialogs and command line ||
|| '''commits''' || CommitsExtension || Commit modified files as multiple changesets at once ||
|| '''defpasswd''' || DefpasswdExtension || Automatically provide credentials (username/passwords) read from a file. ||
|| '''deps''' || DepsExtension || Create and manage versioned repository dependencies ||
|| '''digest''' || DigestExtension || Create and use small digest files for outgoing/bundle ||
|| '''diffstat''' || DiffstatExtension || Shortcut commands for displaying diffstat ||
|| '''dotlog''' || DotLogExtension || Yet Another DOT grapher ||
|| '''easycommit''' || EasycommitExtension || Command-line GUI for committing changes ||
|| '''easymerge''' || EasymergeExtension || Command-line GUI for merging ||
|| '''fixcase''' || FixcaseExtension || Fix problems where an external tool has changed the case of a filename ||
|| '''foreign''' || ForeignExtension || Interactively register or delete foreign/unknown files ||
|| '''forest''' || ForestExtension || Manage a bunch of mercurial repos as a meta repository, with snapshot support [http://www.selenic.com/pipermail/mercurial/2006-July/009336.html thread] ||
|| '''graphviz''' || GraphvizExtension || Generate DOT language source to visualize changeset tree ||
|| '''group''' || GroupExtension || Allow to ''visually'' regroup a set of changeset ||
|| '''hgcia''' || HgciaExtension || Send notifications to [http://cia.navi.cx CIA] ||
|| '''hgsubversion''' || HgSubversion || Use Mercurial as a [http://subversion.tigris.org/ Subversion] client ||
|| '''histpush''' || HistpushExtension || Record locally which revisions have been pushed ||
|| '''info''' || InfoExtension || Display basic information about a repository ||
|| '''kerberos''' || KerberosExtension || Kerberos Authentication over HTTP support ||
|| '''localbranch''' || LocalbranchExtension || Create clones inside your working directory ||
|| '''postreview''' || ReviewboardExtension || Post changesets for review to a [http://www.review-board.org/ Review Board] server ||
|| '''qct''' || QctExtension || Provide access to the Qct commit tool ||
|| '''qtimes''' || QtimesExtension || Save or restore modification times of files affected by patch queue ||
|| '''qup''' || QupExtension || Move MQ patches to top of unapplied part of series ||
|| '''rdiff''' || RdiffExtension || Allow diff to work against remote repositories ||
|| '''send''' || SendExtension || Automatic send of bundle containing changesets missing on remote, like darcs send ||
|| '''shelve''' || ShelveExtension || Interactively select changes to set aside ||
Line 15: Line 74:
'''[http://1878.cc >>>> 香港六合彩特码白小姐网站:六合彩开奖结果最快现场直播网站]''' == Enabling an extension ==
Line 17: Line 76:
'''[http://1878.cc >>>> 香港六合彩开奖现场 香港六合彩官方网 香港六合彩开奖记录 香港六合彩开奖结果 香港六合彩图库]''' To load an extension, you add it to the "extensions" section of your [http://www.selenic.com/mercurial/hgrc.5.html .hgrc] file.
Line 19: Line 78:
'''[http://1878.cc >>>> 香港六合彩公司 香港六合彩开奖 香港六合彩网站 香港六合彩总公司 香港六合彩特码 ]''' Mercurial will scan the default python library path for a file named {{{hgk.py}}} if you set {{{hgk}}} empty:
Line 21: Line 80:
'''[http://29kj.com >>>> 香港六合彩开奖现场 香港六合彩官方网 香港六合彩开奖记录 香港六合彩 六合彩开奖结果]''' {{{
[extensions]
hgk=
}}}
Line 23: Line 85:
'''[http://29kj.com >>>> 香港六合彩-六合彩图库/六合彩网站/偷偷暗示每期内幕特码资料]''' Extensions are usually located in the hgext directory, and that is the recommended directory to place them. In this case you can load them like:
Line 25: Line 87:
'''[http://29kj.com >>>> 香港六合彩开奖结果:香港六合彩图库-六合彩曾道人特码-六合彩开奖结果]''' {{{
[extensions]
hgext.hgk=
}}}
Line 27: Line 92:
'''[http://29kj.com >>>> 香港六合彩曾道人公开内幕资料— 香港六合彩-特码搜索]''' You can also specify an absolute path:
Line 29: Line 94:
'''[http://29kj.com >>>> 六合彩|香港六合彩|六合彩公司|曾道人六合彩|六合彩最快开奖结果]''' {{{
[extensions]
hgk=/usr/local/lib/hgk.py
}}}
Line 31: Line 99:
'''[http://29kj.com >>>> 香港六合彩/曾道人特码主论坛/六合彩特码主论坛/黄大仙老牌主论坛..]''' Extensions can often be configured further in an extension specific section in the same configuration file.
Line 33: Line 101:
'''[http://29kj.com >>>> 香港六合彩图库,特码,平码,六合彩开奖结果,六合彩开奖历史记录]'''
Line 35: Line 102:
'''[http://29kj.com >>>> 香港六合彩资料|香港六合彩:香港六合彩曾道人特码|香港六合彩开奖结果...]'''
Line 37: Line 103:
'''[http://29kj.com >>>> 六合彩香港六合彩香港六合彩总公司六合彩官方网六合彩图库美香港六合 彩六肖图]'''

'''[http://29kj.com >>>> 香港六合彩公司|六合彩网|香港六合彩网|一字解特码|六合彩518222总公司]'''

'''[http://29kj.com >>>> 香港六合彩网站,香港赛马会资料,香港六合彩玄香港六合 彩at 今天最新资料]'''
See CategoryExtension for a more complete list and WritingExtensions for more information about the installation and writing of new extensions.
----
CategoryExtension

Using Mercurial extensions

Mercurial features an extension mechanism for adding new commands.

Extensions allow the creation of new features and using them directly from the main hg command line as if they were builtin commands.

1. Extensions Bundled with Mercurial

Name

Page

Description

acl

AclExtension

Manage commit access to parts of a repo using control lists

alias

AliasExtension

user-defined command aliases

bisect

BisectExtension

Quickly find the revision that introduces a bug or feature bisecting the history tree (O(log(n)). Built-in for Mercurial 1.0

bookmarks

BookmarksExtension

Markers on commits that move on commit

bugzilla

BugzillaExtension

Update Bugzilla entries when a bug id is referenced in a changeset

children

ChildrenExtension

Display children revisions

churn

ChurnExtension

Show change statistics for mercurial operations per author

convert

ConvertExtension

Convert repositories from other SCMs into Mercurial

color

ColorExtension

Color output for the status and qseries commands

extdiff

ExtdiffExtension

Compare changes using external programs

fetch

FetchExtension

Conveniently pull, merge and update in one step

gpg

GpgExtension

Sign changesets and check signatures using GPG

graphlog

GraphlogExtension

Show revision history alongside an ASCII revision graph

hgk

HgkExtension

Graphical repository and history browser based on gitk

highlight

HighlightExtension

Highlight syntax in the file revision view of hgweb

imerge

ImergeExtension

Perform interactive, interruptible merges

inotify

InotifyExtension

Use linux 2.6 inotify API for instantaneous status updates

interhg

InterhgExtension

This extension allows you to change changelog and summary text just like InterWiki way

keyword

KeywordExtension

use CVS like keyword expansion in tracked files

mq

MqExtension

Mercurial Patch Queues - manage changes as series of patches

notify

NotifyExtension

Send email to subscribed addresses to notify repository changes

pager

PagerExtension

Allows you to choose a pager

parentrevspec

ParentrevspecExtension

use foo^ to refer to the parent of revision foo

patchbomb

PatchbombExtension

Send a collection of changesets as a series of patch emails

purge

PurgeExtension

Purge all files and dirs in the repository that are not being tracked by Mercurial

rebase

RebaseExtension

move revisions from a point to another

record

RecordExtension

Select working directory changes to commit by hunk à la darcs record

transplant

TransplantExtension

Cherry-picking, rebasing and changeset rewriting

win32mbcs

Win32mbcsExtension

Allow to use shift_jis/big5 filenames on Windows.

win32text

Win32TextExtension

Manage line ending conversion for Windows repositories

2. Extensions provided by others

Name

Page

Description

cvscommit

CvscommitExtension

Push changesets to CVS

config

ConfigExtension

Manage hgrc files via dialogs and command line

commits

CommitsExtension

Commit modified files as multiple changesets at once

defpasswd

DefpasswdExtension

Automatically provide credentials (username/passwords) read from a file.

deps

DepsExtension

Create and manage versioned repository dependencies

digest

DigestExtension

Create and use small digest files for outgoing/bundle

diffstat

DiffstatExtension

Shortcut commands for displaying diffstat

dotlog

DotLogExtension

Yet Another DOT grapher

easycommit

EasycommitExtension

Command-line GUI for committing changes

easymerge

EasymergeExtension

Command-line GUI for merging

fixcase

FixcaseExtension

Fix problems where an external tool has changed the case of a filename

foreign

ForeignExtension

Interactively register or delete foreign/unknown files

forest

ForestExtension

Manage a bunch of mercurial repos as a meta repository, with snapshot support [http://www.selenic.com/pipermail/mercurial/2006-July/009336.html thread]

graphviz

GraphvizExtension

Generate DOT language source to visualize changeset tree

group

GroupExtension

Allow to visually regroup a set of changeset

hgcia

HgciaExtension

Send notifications to [http://cia.navi.cx CIA]

hgsubversion

HgSubversion

Use Mercurial as a [http://subversion.tigris.org/ Subversion] client

histpush

HistpushExtension

Record locally which revisions have been pushed

info

InfoExtension

Display basic information about a repository

kerberos

KerberosExtension

Kerberos Authentication over HTTP support

localbranch

LocalbranchExtension

Create clones inside your working directory

postreview

ReviewboardExtension

Post changesets for review to a [http://www.review-board.org/ Review Board] server

qct

QctExtension

Provide access to the Qct commit tool

qtimes

QtimesExtension

Save or restore modification times of files affected by patch queue

qup

QupExtension

Move MQ patches to top of unapplied part of series

rdiff

RdiffExtension

Allow diff to work against remote repositories

send

SendExtension

Automatic send of bundle containing changesets missing on remote, like darcs send

shelve

ShelveExtension

Interactively select changes to set aside

3. Enabling an extension

To load an extension, you add it to the "extensions" section of your [http://www.selenic.com/mercurial/hgrc.5.html .hgrc] file.

Mercurial will scan the default python library path for a file named hgk.py if you set hgk empty:

[extensions]
hgk=

Extensions are usually located in the hgext directory, and that is the recommended directory to place them. In this case you can load them like:

[extensions]
hgext.hgk=

You can also specify an absolute path:

[extensions]
hgk=/usr/local/lib/hgk.py

Extensions can often be configured further in an extension specific section in the same configuration file.

See CategoryExtension for a more complete list and WritingExtensions for more information about the installation and writing of new extensions.


CategoryExtension

UsingExtensions (last edited 2022-06-28 16:47:05 by ArneBab)