# coding: utf8
from atlassian import Bitbucket

bitbucket = Bitbucket(
    url='http://localhost:7990',
    username='******',
    password='******')


data = bitbucket.fork_repository(
    project='DEMO',
    repository='example-repository',
    new_repository='forked-repository')



print(data)
Ejemplo n.º 2
0
# coding=utf-8
from atlassian import Bitbucket

bitbucket = Bitbucket(url="http://localhost:7990",
                      username="******",
                      password="******")

data = bitbucket.fork_repository(
    project_key="DEMO",
    repository_slug="example-repository",
    new_repository_slug="forked-repository",
)

print(data)
# coding=utf-8
from atlassian import Bitbucket

bitbucket = Bitbucket(url='http://localhost:7990',
                      username='******',
                      password='******')

data = bitbucket.fork_repository(project='DEMO',
                                 repository='example-repository',
                                 new_repository='forked-repository')

print(data)