Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing revisions after "git svn clone"

Tags:

git

svn

git-svn

After running:

git svn clone https://svn.mycompany.eu/project/trunk

There are some missing revisions (for exemaple 500 from 4700 of total revisions). It's a problem, because we have joined a number of commits with a number of tasks in Trac. Can anybody help, please?

like image 678
Clary Aldringen Avatar asked Feb 03 '26 08:02

Clary Aldringen


1 Answers

You cloned the trunk only, so git-svn didn't detect any branches. Try:

git svn clone -s https://svn.mycompany.eu/project

Odds are that's where those missing revisions are. If your project does not adhere to SVN conventions, you will need to tell git svn where to find those branches.

like image 192
Peter Bratton Avatar answered Feb 06 '26 00:02

Peter Bratton



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!