local file access protocol setup

Hi BitBucket support,

Our svn system was just migrated to BitBucket using plugin technology by someone (not me).

The above 2 vcs systems are on the same server as Teamcity(a build tool). We want to stick to using file access protocol for vcs in Teamcity. Wondering what the local file path is to map to below url.

http://lin989@devctlstosdtl02.iteclientsys.local:7990/scm/tos/tos-common.git

(vcs connection test in Teamcity to the above url using http protocol is successful.

Before migration, we use  “file:///app/svn/tos-common/“ to reach svn repo. Not sure what path to put there after “file:/// “for the current git system.

In current git repo (location is/app/ztosdevtools/atlassian-bitbucket/application-data/bitbucket/shared/data/repositories/…)

we see files such as:

/app/ztosdevtools/atlassian-bitbucket/application-data/bitbucket/shared/data/repositories/25/subgit

/app/ztosdevtools/atlassian-bitbucket/application-data/bitbucket/shared/data/repositories/23/svn/.svngit

23 is for tos-common while 25 for some other.

Wondering if you can easily tell me the file path to put after “file:/// “. If not, you may just let me know the rationale to figure it out.

Thanks,

Jueli

1 answer

If I understand your question correctly, your Teamcity server was accessing SVN repository via URL: file:///app/svn/tos-common/

Then you have used SVN Mirror Add-on to migrate your SVN repository to Bitbucket Server and now you're going to use file:/// protocol in order to access Git repositories hosted by Bitbucket.

In this case you can use:

file:///app/ztosdevtools/atlassian-bitbucket/application-data/bitbucket/shared/data/repositories/23

file:///app/ztosdevtools/atlassian-bitbucket/application-data/bitbucket/shared/data/repositories/25

Those subgit/ and svn/.svngit directories keep Git-SVN metadata used by SVN Mirror add-on and they reside in the Git repository directory.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

24,531 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you