[ Index ] |
PHP Cross Reference of Phabricator |
[Source view] [Print] [Project Stats]
Update the ref cursors for a repository, which track the positions of branches, bookmarks, and tags.
File Size: | 423 lines (13 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
updateRefs() X-Ref |
No description |
markRefNew(PhabricatorRepositoryRefCursor $cursor) X-Ref |
No description |
markRefDead(PhabricatorRepositoryRefCursor $cursor) X-Ref |
No description |
markCloseCommits(array $identifiers) X-Ref |
No description |
removeMissingCommits(array $identifiers) X-Ref |
Remove commits which no longer exist in the repository from a list. After a force push and garbage collection, we may have branch cursors which point at commits which no longer exist. This can make commands issued later fail. See T5839 for discussion. param: list<string> List of commit identifiers. return: list<string> List with nonexistent identifiers removed. |
updateCursors(array $cursors,array $new_refs,$ref_type,array $all_closing_heads) X-Ref |
No description |
shouldCloseRef($ref_type, $ref_name) X-Ref |
No description |
loadNewCommitIdentifiers($new_head,array $all_closing_heads) X-Ref |
Find all ancestors of a new closing branch head which are not ancestors of any old closing branch head. |
setCloseFlagOnCommits(array $identifiers) X-Ref |
Mark a list of commits as closeable, and queue workers for those commits which don't already have the flag. |
loadGitBranchPositions(PhabricatorRepository $repository) X-Ref |
loadGitTagPositions(PhabricatorRepository $repository) X-Ref |
loadMercurialBranchPositions(PhabricatorRepository $repository) X-Ref |
loadMercurialBookmarkPositions(PhabricatorRepository $repository) X-Ref |
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |