Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
irker
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iDB
irker
Commits
fa0c06d9
Commit
fa0c06d9
authored
4 years ago
by
Cédric Krier
Browse files
Options
Downloads
Patches
Plain Diff
Remove usage of changectx
This method was removed in Mercurial 4.8, see
https://phab.mercurial-scm.org/D3037
parent
6e9372a2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
irkerhook.py
+1
-1
1 addition, 1 deletion
irkerhook.py
with
1 addition
and
1 deletion
irkerhook.py
+
1
−
1
View file @
fa0c06d9
...
@@ -428,7 +428,7 @@ class HgExtractor(GenericExtractor):
...
@@ -428,7 +428,7 @@ class HgExtractor(GenericExtractor):
ctx
=
self
.
repository
[
commit_id
]
ctx
=
self
.
repository
[
commit_id
]
commit
=
Commit
(
self
,
unifromlocal
(
short
(
ctx
.
hex
())))
commit
=
Commit
(
self
,
unifromlocal
(
short
(
ctx
.
hex
())))
# Extract commit-specific values from a "context" object
# Extract commit-specific values from a "context" object
ctx
=
self
.
repository
.
changectx
(
node
)
ctx
=
self
.
repository
[
node
]
commit
.
rev
=
'
%d:%s
'
%
(
ctx
.
rev
(),
commit
.
commit
)
commit
.
rev
=
'
%d:%s
'
%
(
ctx
.
rev
(),
commit
.
commit
)
commit
.
branch
=
unifromlocal
(
ctx
.
branch
())
commit
.
branch
=
unifromlocal
(
ctx
.
branch
())
commit
.
author
=
unifromlocal
(
person
(
ctx
.
user
()))
commit
.
author
=
unifromlocal
(
person
(
ctx
.
user
()))
...
...
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