Re: [PATCH 6/6] Add git-remote-svn
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Oct 5, 2010, 02:26 UTC
- Message-ID
- <20101005022623.GE10818@burratino>
- In-Reply-To
- <1286108511-55876-6-git-send-email-tom@dbservice.com>
Tomas Carnecky wrote:
> This is an experimental git remote helper for svn repositories. It uses > the new git fast-import-helper.
Not sure how to review this without some sense of how the fast-import-helper works.
> It uses notes to save the git commit -> svn revision > mapping (refs/notes/svn).
Good. :)
Caching the mapping back in the other direction would be very simple. A simple array of commit hashes indexed by svn revision number would not take up much space in memory and could easily be randomly accessed on disk.