--- a/contrib/phabricator.py Sat Jun 16 19:31:07 2018 +0900
+++ b/contrib/phabricator.py Thu Jun 14 12:35:04 2018 -0400
@@ -579,7 +579,11 @@
new = context.metadataonlyctx(
repo, old, parents=parents, text=newdesc,
user=old.user(), date=old.date(), extra=old.extra())
- newnode = new.commit()
+
+ overrides = {('phases', 'new-commit'): old.phase()}
+ with ui.configoverride(overrides, 'phabsend'):
+ newnode = new.commit()
+
mapping[old.node()] = [newnode]
# Update diff property
writediffproperties(unfi[newnode], diffmap[old.node()])