excludeBranches is removing too many branches

  1. SVN REPO CONTENT
    svn ls svn://rfssvn.misys.global.ad/cmf
    branches/
    shelves/
    tags/
    trunk/
    views/

svn ls svn://rfssvn.misys.global.ad/cmf/branches
GFX1.2.1-POC/
MMTWS-03/
Platform-0.5.0.r4384/
analytic-branch/
assignments/
cmf-product-alpha/
cmf-product-analytic/
cmf-product-collateral/
cmf-product-crossassetdepo/
cmf-product-lifecycle/
cmf-product-marketdata/
cmf-product-opics/
cmf-product-packaging/
cmf-product-staticdata/
cmf-product-staticdata-cut5/
cmf-product-trade/
cmf-product-ui-M2014I2/
cmf-product-uic/
cmf1.1.1/
cmf1.2/
cmf1.2-mass-pricing/
cmf1.2.1/
cmf1.3/
cmf2.0-analytic/
cmf2.0-cut4/
cmf2.0-infra-integration/
cmf_ui_temp8/
cut4/
feature.pricingmodel/
fusion_cut5/
gera/
gfx1.3-calc-params/
integration-summit-trades/
integration-summit-vault/
kondor_integration2.0/
maf_demo/
migrSDO112/
misysboard_0.5.0/
mktdata_branch/
staticdata-warnings/
structured-team-rules/
summitnative_cut9/

svn ls svn://rfssvn.misys.global.ad/cmf/shelves/
—NO SHELVES—

svn ls svn://rfssvn.misys.global.ad/cmf/trunk
functional-module/
infrastructure/
integration/
pom.xml
product/
ui/

svn ls svn://rfssvn.misys.global.ad/cmf/views/
TraderWorkstation/

  1. COMMANDS I USED TO START MIGRATION
    ./subgit-3.3.9/bin/subgit configure svn://rfssvn.misys.global.ad/cmf cmf2.git
    I have eddited manially:
    cmf2.git/subgit/config
    cmf2.git/subgit/passwd
    cmf2.git/subgit/authors.txt
    ./subgit-3.3.9/bin/subgit install cmf2.git

  2. I DO NOT WANT TO MIGRATE
    All cmf* branches from svn
    I have used inside config:
    trunk = trunk:refs/heads/master
    branches = branches/:refs/heads/
    tags = tags/:refs/tags/
    shelves = shelves/:refs/shelves/
    excludeBranches = branches/cmf*

  3. AFTER MIGRATION I GOT ONLY
    git branch -a
    MMTWS-03
    maf_demo

  • master
    mktdata_branch

I am missing a lot of branches.
svn ls svn://rfssvn.misys.global.ad/cmf/branches
GFX1.2.1-POC/
MMTWS-03/ (migrated)
Platform-0.5.0.r4384/
analytic-branch/
assignments/
cut4/
feature.pricingmodel/
fusion_cut5/
gera/
gfx1.3-calc-params/
integration-summit-trades/
integration-summit-vault/
kondor_integration2.0/
maf_demo/ (migrated)
migrSDO112/
misysboard_0.5.0/
mktdata_branch/ (migrated)
staticdata-warnings/
structured-team-rules/
summitnative_cut9/

The rest of the branches are not migrated.

Hello Michal

could you please upload SubGit logs from the affected repository?

Hello Ildar,

I just attached full content (withour authors.txt and passwd file) of subgit directory which contains logs.
It is available with the name cmf2_subgit_config_full.zip.

Regards,
Michal

Hello Michal

thank you for the logs.

I haven’t found any mentions of the missing branches in the log, which means that SubGit didn’t receive this information from the SVN side. Could it happen that the SVN user that is used for import has no permissions in SVN to access those branches? It looks to be the most probable cause of the issue.