Hi, I triy to migrate an (ancient) svn repos to git. One of the first steps is git svn clone ..... Doing that gives some initial clone. Now, inspecting the revision history in the new cloned repository shows a history dating back till 2010, while doing svn log on the checked out svn work directory shows a history dating back to the last century (yes, it's an ancient repos). Anyhow: I checked the git "history" via gitk and via commands like git log --before="2009-01-01" but I don't find a trace of the "pre-history", Now, inspecting the svn history, I observe the following facts: - while doing the git svn clone, all svn revisions "r1" till "r50000" are reported to be part of the clone, nothing seems to be forgotten (there's some warnings though). - Now: the crucial observation: r1 (the ``first'' revision'') is not the "oldest one". It's from 2010, which is when the git history seems to start. I suspect the latter observation causes the fact that after conversion, the history dates back just to 2010, but not earlier. I should say that the svn repos is a ``merge'' of different reposes (each with their own revision history) That may account for the fact that revision r1 is not temporally the oldest revision. Anyway: is the older history still preserved in the migrated GIT repos? I am worried it's truncated, especially since the "git log --before "2009-01-01" is empty which it should not be. If the reason for the missing history is the anomaly that revision r1 is not the oldest, what can I do to change that, can one ``recalculate'' the revision numbers to reflect the temporal ordering? Thanks, Martin
Last updated