comparison hgext/releasenotes.py @ 33263:ed61189763ef

phabricator: check associated Differential Revision from commit message Previously, only tags can "associate" a changeset to a Differential Revision. But the usual pattern (arc patch or hg phabread) is to put the Differential Revision URL in commit message. This patch makes the code read commit message to find associated Differential Revision if associated tags are not found. This makes some workflows possible. For example, if the author loses their repo, or switch to another computer, they can continue download their own patches from Phabricator and update them without needing to manually create tags.
author Jun Wu <quark@fb.com>
date Tue, 04 Jul 2017 16:16:37 -0700
parents 5814db57941c
children 9a944e908ecf
comparison
equal deleted inserted replaced
33262:8e6f4939a69a 33263:ed61189763ef