English 中文(简体)
Git svn fetch retrieving only one revision at a time
原标题:

I m using Git-1.6.5.1-preview20091022.exe.

I ve cloned a SubVersion repository using:

git svn clone -s https://xxxxx:8443/svn/project/SubProjectA

The SubProjectA has the standard layout (trunk, branches, tags). SubProjectA is a copy of another project. It has only 60 revisions if it own. After the command, a folder is created with the name SubProjectA and has only remotes/trunk as the branch. Even the master branch does not exists.

I then have to run

git svn fetch

multiple times to get all revisions from the SubVersion. Every time the fetch command is ran, it fetches only one revision at a time.

I ve tried:

git svn fetch -r2400:HEAD
git svn fetch -r2400:2450

without success (SubProjectA is copied at revision 2390, there are one branch of SubProjectA created at revision 2420, the latest revision is 2450).

What did I do that caused the fetch command to fetch only one revision at a time? How do I tell fetch to get all revisions?

问题回答

To do a full update, use

git svn rebase

You should read this article about working using svn-git.





相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签