diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:31:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 10:31:26 +0000 |
commit | f686102cc3129b62339e3166afdf492015deee07 (patch) | |
tree | d0f5387a7b3c5b218b921f58a70db6067bc93e28 /debian/patches/0008-Update-irkerhook-to-recent-mercurial-changes.patch | |
parent | Adding upstream version 2.19+dfsg. (diff) | |
download | irker-f686102cc3129b62339e3166afdf492015deee07.tar.xz irker-f686102cc3129b62339e3166afdf492015deee07.zip |
Adding debian version 2.19+dfsg-1.debian/2.19+dfsg-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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())) |