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 7073683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:57:31+00:00 2026-05-28T05:57:31+00:00

I am trying to clone a Subversion repository to git, but it keeps giving

  • 0

I am trying to clone a Subversion repository to git, but it keeps giving me an error that I don’t really understand:

error: there are still refs under 'refs/remotes/tags'
fatal: Cannot lock the ref 'refs/remotes/tags'.
update-ref -m r1649 refs/remotes/tags 16630eb01aa7abb331cdaa7ca07c1736656a058e: command returned error: 128

The subversion project has a lot of tags and about 15 branches. It seems to fail at a different point each time. I have cloned a number of other projects just fine, just seems to get stuck at this one.

Any ideas what this error means and how I might fix the issue?

Update:

I have found what is probably the cause of the problem, now I just need a solution. First of all it is not a different point each time it fails, it is failing at a particular revision each time. And I have checked the subversion logs at that revision and I have found that I mistakenly create a tag in branches/tags rather than in tags. This was fixed immediately, but it seems to be causing problems in git-svn.

Any ideas what I can do to get around this?

  • 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-28T05:57:32+00:00Added an answer on May 28, 2026 at 5:57 am

    As I said in my comments, the solution was to perform the clone in two steps by specifying a range of commits from the start to the one before the problem commit, then from the one after the problem to the end.

    I was able to find out the problem commit by looking at the log of the failed attempts. You can see from my error message in the question that it was revision 1649.

    You can specify the range of commits to use by specifying -r start:end Then for the rest of the commits you can specify the range as -r start:HEAD which will fetch everything from the ‘start’ revision number to the most recent.

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

Sidebar

Related Questions

i am trying to clone a project from git bash, but receive an error.
I'm trying to use git on windows to clone a remote repository. I can
When trying to clone a repository through the newest version of Git Extensions a
I'm trying to use git to clone an svn repository with std layout (using
I am trying to clone a TFS repository using git-tfs. It works great with
I am trying to understand if I really have any case for using git/mercurial.
I am trying to clone big svn repository to my git repository. The problem
I am trying to clone a git repo that I forked in my GitHub
I have a local Git repository on my computer that I am trying to
When trying to clone ANY repository via https from github, we get: git clone

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.