Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
get externals (svn, cvs, tgz) based on external type 

        def get_externals(repo, external_type):
    """ get externals (svn, cvs, tgz) based on external type """

    svn = SVN(repo)

    if external_type == 'svn':
        return svn.externals()

    return svn.readlines('propget', 'externalator:' + external_type, repo)
        


src/e/x/externalator-0.7.0/externalator/tests/tests.py   externalator(Download)
assert svn_co.is_repository()
 
assert not externalator.get_externals(checkout_name, 'svn')
 
###