Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
mercurial-devel
Commits
6904a9f3
Commit
6904a9f3
authored
3 years ago
by
Aay Jay Chan
Browse files
Options
Downloads
Patches
Plain Diff
help: clarify when `$HG_URL` and `$HG_SOURCE` are added in hooks
Differential Revision:
https://phab.mercurial-scm.org/D10400
parent
a3720569
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mercurial/helptext/config.txt
+6
-6
6 additions, 6 deletions
mercurial/helptext/config.txt
with
6 additions
and
6 deletions
mercurial/helptext/config.txt
+
6
−
6
View file @
6904a9f3
...
...
@@ -1161,12 +1161,12 @@
status will cause the transaction to be rolled back. The reason for the
transaction opening will be in ``$HG_TXNNAME``, and a unique identifier for
the transaction will be in ``$HG_TXNID``. The rest of the available data will
vary according the transaction type.
New c
hanges
ets will add ``$HG_NODE``
(the ID of the first added changeset),
``$HG_NODE
_LAST
`` (the
ID of the last
added changeset), ``$HG_
URL`` and ``$HG_SOURCE`` variables. Bookmark an
d
phase changes will set ``$HG_BOOKMARK_MOVED`` and
``$HG_PHASES_MOVED`` to
``1`` respectively. The number of new obsmarkers, if
any, will be in
``$HG_NEW_OBSMARKERS``, etc.
vary according the transaction type.
C
hanges
unbundled to the repository will
add ``$HG_URL`` and ``$HG_SOURCE``. New changesets will add
``$HG_NODE`` (the
ID of the first
added changeset), ``$HG_
NODE_LAST`` (the ID of the last adde
d
changeset). Bookmark and
phase changes will set ``$HG_BOOKMARK_MOVED`` and
``$HG_PHASES_MOVED`` to
``1`` respectively. The number of new obsmarkers, if
any, will be in
``$HG_NEW_OBSMARKERS``, etc.
``pretxnclose-bookmark``
Run right before a bookmark change is actually finalized. Any repository
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment