1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 05:12:41 +01:00
phorge-phorge/resources
Ricky Elrod 95d6e0a3c4 Store parents of forked pastes, and list child pastes if there are any.
Summary:
Added a 'parent' field which stores a PHID of another paste. If it is not NULL show a list of children pastes on view.
Also did some misc. refactoring to clean up the code a bit, specifically in the Create controller.

Test Plan:
- Checked old pastes, they were not affected.
- Added a paste, successfully.
- Forked it, successfully.
- Went to the original paste, saw the child paste listed.
- Forked it again, saw the new one added to the list.

Reviewers:
epriestley

CC:

Differential Revision: 672
2011-07-15 18:42:08 -04:00
..
git differential.parsecommitmessage 2011-02-06 13:46:39 -08:00
ircbot Add PhabricatorIRCObjectNameHandler to the default bot config. 2011-06-26 23:34:35 -04:00
sql Store parents of forked pastes, and list child pastes if there are any. 2011-07-15 18:42:08 -04:00