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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

660 views 0 4
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot