I get the below message that the conversion is compleate but when I try and pull the Repo it is empty.
Import to Git repository MyCompany CORE / keystone1 from Subversion repository at svn://ci.mycompanysvn.com/Keystone has been completed; 23498 revisions have been processed.
Hello Sagar,
I'm one of SVN Importer developers.
What version of Stash do you use? And what's the version of the plugin?
After the import is done, does Stash show any files or commits for your repository?
There's a chance that the default branch now refers to non-existing Git ref; try to fix that:
Does that help?
Thanks,
Semyon
Update for further references:
The problem was caused by misconfiguration of trunk, branches & tags options. See my comment below — https://answers.atlassian.com/questions/114983/after-import-of-svn-to-git-the-repo-is-only-11-93-kb/115024
Stash version is 2.0.0 (just downloaded it this week)
SVN Importer for Atlassian Stash version is 1.0.1 (Just installed it this week)
Stash does not show any files or commits in the repository
There are no options under the default branch.
for a little more info the svn structure looks like the below if that might have something to do with it.
svn://ci.mycompanysvn.com/Keystone/Branches
svn://ci.mycompanysvn.com/Keystone/Trunk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The size of the repo after the convertion is only 11.93 kB.
The link that you have provided to upload the data ( this issue) does not work I get an access denied.
But the subgit.0.log is empty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have access to the machine that runs Stash?
If so, please provide us the debug log of the importing process. You can find it at
/path/to/stash.home/data/repositories/<repository_id>/subgit/subgit-import-XYZ.zip
Note: you can find path to Git repository (/path/to/stash.home/data/repositories/<repository_id> in the example above) using Repository SysInfo Plugin; it adds a special tab to the repository page that shows the absolute path to Git repository at the server. This plugin shows the size of the imported repository as well, does it look like empty?
Pleases submit the debug log archive to this issue at our tracker.
Thanks you in advance,
Semyon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, right. You had to specify proper "Trunk", "Branches" and "Tags" (if you actually use "Tags").
Otherwise SVN Importer can't find any branches and tags as it looks into "trunk", "branches" and "tags" locations by default.
So, try to do the following now:
Cheers,
Semyon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Default Subversion repository layout expected by SVN Importer is /trunk, /branches and /tags directories, not that these names are case-sensitive. In your case you most probably had to set the following import options:
SVN URL: svn://ci.mycompanysvn.com/KeyStone
Trunk: Trunk
Branches: Branches/*
Tags: Tags/*
In case you use default "trunk" and "branches/*", then import will work, but will not actually import anything as your source repository contains Trunk directory, not trunk.
Could this be the reason of the problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please try the following options:
Subversion URL: https://host/svn/root
Trunk: Project
Branches: Branches/*
Tags: Tags/*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same problem. I don't have a "trunk" defined. We use the repository url as the trunk and a separate "Branches" at the same level as the main repo. What should I enter in the trunk field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Alan,
AFAIU, you have the following layout:
trunk: http://host/svn/root/project
branches: http://host/svn/root/branch1, http://host/svn/root/branch2, ..., http://host/svn/root/branchN
Is that correct? Could you specify layout of your repository explicitly?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.