Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3676490
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:06:18+00:00 2026-05-19T03:06:18+00:00

I need to fetch revisions from SVN into GIT. I have two types of

  • 0

I need to fetch revisions from SVN into GIT.
I have two types of branches under SVN:

  1. Standard branches located in /branches folder under SVN
  2. Some specific branches located under /branches/devs/ folders

To fetch both types of branches i have specified the following configuration in svn-remote section:

[svn-remote "svn"]
    url = https://somecompany.com/product

    fetch = trunk:refs/remotes/trunk
    fetch = tools:refs/remotes/root/tools

    branches = branches/*:refs/remotes/*
    branches = branches/devs/*/*:refs/remotes/devs/*/*

    tags = tags/*:refs/remotes/tags/*

Unfortunately, for the second type of branches fetch is executed twice.
Once treating devs as an ordinary branch and second time in a right way: working with individual branches of developers.

So far, I manually comment either first or second “branches” and specify what revisions to fetch based on what branches were affected by commits.

Could anybody suggest a way to automate (fix) the above somehow?

Thanks,

Serhiy Y

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T03:06:19+00:00Added an answer on May 19, 2026 at 3:06 am

    You should put the more specific one first because some of the code (including git-svn branch) searches them in order. The problem you’re hitting is that internally fetch_all just combines them all. There’s no way to write this at the moment that would avoid the double fetch.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to fetch data from two tables For example: I have tables test1,
Im using vb.net and I need to fetch data from two different tables and
I have a small requirement like . i need to fetch all record from
I need to fetch everything from a few different, distinct repositories (all remote branches
I have a image URL from which I need to fetch the images. But
I have a big problem with git-svn: I need to just push my git
Here's what I need to fetch: - posts that have comments - number of
I have Core Data setup in my app and need to fetch a bunch
I need to fetch cached cover art from iTunes. Currently I'm working with the
I have an app in which I need to fetch my friends gmail id

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.