Mercurial Update Breaks HG_URL Variable Usage During Push
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mercurial (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In the updates between version 3.7.3-1ubuntu1 and 3.7.3-1ubuntu1.1, the one word changed in the file exchange.py (installed for me at /usr/lib/
In fact this change more or less explicitly reverses the fix made upstream by mercurial when I reported this very same bug some years ago in 2014. Details can be found here: https:/
In the current update as packaged by Ubuntu, line 861 of the file has been changed from
reply = pushop.
to
reply = pushop.
The HG_URL variable is supposed to contain the url as given by pushop.repo.url(). The keyword 'push' is supposed to go into the HG_SOURCE variable.
This is currently running on this OS version (although I expect it's independent of most of it)
LSB Version: core-9.
(dee xenial):/root> lsb_release -a
LSB Version: core-9.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
For reproduction and verification of this, download the example repos (in eg.tar.bz2) which are the first attachment to the previously fixed mercurial bug report liked to above and follow the instructions I posted there.
Thank you,
~D~