I knew there was a better way!
EDIT: As long as the old answer is working ... this is not how to do it. Instead, do the following:
- Go to the configuration section and select the differential group.
- Find the differ.allow-reopen option
- Set Enable Reopen and save the entry in config.
- Go to the closed differential view.
- Scroll to the bottom and find the Leap Into Action section.
- Select action re-open and add comment
- Click Clowncopterize and presto! Resumed!
No need to hack into the database.
Also, see the repository settings to configure auto-closing as you want.
- Go to the Storage Administration section.
- Click edit for the repository you want to manage.
- Select Tracking Tab
- In the "Application Configuration" section, you see two settings: Auto-lock and Auto-lock of branches .
I set AutoKey to Enabled and AutoKey branches to master. Thus, only pushing to the starting position / the master will autocline the differential view.
--------- OLD Answer --------
What sberry offers for SSH on your server and open the MySql prompt:
mysql> USE phabricator_differential; mysql> select status from differential_revision where id=5; (If your revision is D5 for example)
Please note that your status is not 0. This is most likely 3 for closed ones.
mysql> update differential_revision set status=0 where id=5;
Now your revision is open again.
I feel that it is rather cumbersome, but nonetheless it reaches the goal. I hope there is someone who can suggest a better way to do this.
Jay pete
source share