Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1003
stubs.php
Active
Public
Actions
Authored by
epriestley
on Nov 25 2013, 10:15 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F84913: stubs.php
Nov 25 2013, 10:15 PM
2013-11-25 22:15:09 (UTC+0)
Subscribers
None
<?php
require_once
'scripts/__init_script__.php'
;
$commit_table
=
new
PhabricatorRepositoryCommit
();
foreach
(
new
LiskMigrationIterator
(
$commit_table
)
as
$commit
)
{
$data
=
$commit
->
loadCommitData
();
if
(
$data
)
{
if
(
$data
->
getCommitDetail
(
'foreign-svn-stub'
))
{
$repository
=
id
(
new
PhabricatorRepository
())->
load
(
$commit
->
getRepositoryID
());
if
(
$repository
)
{
echo
'r'
.
$repository
->
getCallsign
().
$commit
->
getCommitIdentifier
().
"
\n
"
;
}
}
}
}
Event Timeline
Log In to Comment