Questions: how set up slug for teamspace?

Issue #13 new
Артём Шимановский created an issue

Hello!

I tried to use the tool to move the team repository from mercurial to git.

But I faced the strange issue: the tools can’t find my repository in a team workspace.

Question: How should I set the slug to work with the repository in a team workspace?

work example to clone the repo from team workspace:

...$ hg clone https://myuser@bitbucket.org/myteam/my-repository
...$ apppassword

but when I try:

../bitbucket-hg-to-git$ python3 src/bbhg2git.py -u myuser -p apppassword my-repository (+- --https)
[2020-03-02T22:24:40.532822] getURL [https://api.bitbucket.org/2.0/repositories/myuser?fields=-%2A.owner.%2A] response code:200
[2020-03-02T22:24:40.533083] Read 1/1 results beginning at page 1; lastPage=True
WARNING: repository identified by 'my-repository' not found.
[2020-03-02T22:24:40.533130] Converted 0 repositories.

for both examples:

myuser: user with admin full administrator of team)
myteam: Workspace ID
my-team: team name
repository name: my-repository
apppassword: app password (for myuser)

Comments (4)

  1. Log in to comment