<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 09/02/2019 23:34, Pulkit Goyal
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJ-kjL-xh85kKRsy-gUH5CCEuZsBy=d_bTZYaujVy55C0tBS_w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Feb 10, 2019 at 3:54
AM Boris Feld <<a href="mailto:boris.feld@octobus.net"
moz-do-not-send="true">boris.feld@octobus.net</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"># HG changeset patch<br>
# User Boris Feld <<a
href="mailto:boris.feld@octobus.net" target="_blank"
moz-do-not-send="true">boris.feld@octobus.net</a>><br>
# Date 1549749690 -3600<br>
# Sat Feb 09 23:01:30 2019 +0100<br>
# Node ID f4936120d74a81199068bed14a04ac65f24f6109<br>
# Parent 62d13ee8373ad4a7c97192680a4781fe5818a1df<br>
# EXP-Topic hook.txname<br>
# Available At <a
href="https://bitbucket.org/octobus/mercurial-devel/"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://bitbucket.org/octobus/mercurial-devel/</a><br>
# hg pull <a
href="https://bitbucket.org/octobus/mercurial-devel/"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://bitbucket.org/octobus/mercurial-devel/</a>
-r f4936120d74a<br>
transaction: include txnname in the hookargs dictionary<br>
<br>
There is no reason to not include the txnname alongside the
txnid in all case.<br>
So let's do that. If the transaction name is useful to
internal code, it can<br>
be useful for hooks.<br>
</blockquote>
<div><br>
</div>
<div style="font-family:arial,helvetica,sans-serif"
class="gmail_default">What are the cases when we have
transaction name and source different?<br>
</div>
</div>
</div>
</blockquote>
<br>
I don't remember anything specific about the rationale for this
patch. It has been laying around for a long while (first version
date back from May 2015). At that point, I think the point is mostly
to make the shell hook consistent with the python one. (Because the
Python one take this argument already). <br>
</body>
</html>