topic: drop the old way to handle topic changes on amends
- Sep 03, 2021
-
-
Anton Shestakov authored
This block of code was introduced in 13313d0cab71, but the commit description doesn't explain the exact intent of this code. The fact that the result of other.commitctx() was discarded makes me think that this block only existed to deal with amends, and it was only useful for code that was removed earlier in this series. The only code that's left in commitctx() is adding current topic to workingcommitctx, and I don't think we need to adjust repo filter for that.
-
- Aug 30, 2021
-
-
Anton Shestakov authored
We don't need to have this workaround because amends are handled differently now. See previous commits, where the old code for handling amends in topic extension gets removed. Various commits now preserve amend_source when going through the _changetopics function (used when changing a topic via the hg topics command).
-
Anton Shestakov authored
-
Anton Shestakov authored
This seems to be a very old way of making sure topics can be cleared by amending. See 565f057bdc08 and ec28b6c3414a, both of which are from 2015 (around the time of hg 3.6). For the current take on handling amending in topic extension see 6275808e89ef.
-