diff options
Diffstat (limited to 'debian/patches/0008-Update-irkerhook-to-recent-mercurial-changes.patch')
-rw-r--r-- | debian/patches/0008-Update-irkerhook-to-recent-mercurial-changes.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/0008-Update-irkerhook-to-recent-mercurial-changes.patch b/debian/patches/0008-Update-irkerhook-to-recent-mercurial-changes.patch new file mode 100644 index 0000000..884e915 --- /dev/null +++ b/debian/patches/0008-Update-irkerhook-to-recent-mercurial-changes.patch @@ -0,0 +1,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())) |