blob: 884e915820ccbba9069174a9a4f79da9c7579a78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From: Neil Muller <drnlmuller+debian@gmail.com>
Date: Mon, 8 Feb 2021 17:06:55 +0200
Subject: Update irkerhook to recent mercurial changes
Drop call to deprecated / removed mercurial internal method.
From upstream commits: ad8f8552bc8bb7ff31848ccdc729f79aa63e88aa
Forwarded: not-needed
---
irkerhook.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/irkerhook.py b/irkerhook.py
index e6b8f04..0f66a64 100755
--- a/irkerhook.py
+++ b/irkerhook.py
@@ -429,7 +429,6 @@ class HgExtractor(GenericExtractor):
ctx = self.repository[commit_id]
commit = Commit(self, unifromlocal(short(ctx.hex())))
# Extract commit-specific values from a "context" object
- ctx = self.repository.changectx(node)
commit.rev = '%d:%s' % (ctx.rev(), commit.commit)
commit.branch = unifromlocal(ctx.branch())
commit.author = unifromlocal(person(ctx.user()))
|