Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

Re: migrating to git: keep subversion revision numbers (as tags?)

From: Jon Seymour <hidden>
Date: 2016-06-15 22:48:08

On Sun, Jan 31, 2010 at 10:08 AM, fkater@googlemail.com
[off-list ref] wrote:
Hi,

I would like to completely migrate from subversion to git
(and NOT have subversion enabled anymore). However, I need
to be able to lookup the old subversion revision numbers
later from the git repository. The default seems to be
though, that they are replaced by git sha-1 keys.

It would be completely o.k. here to use git tags for all
those subversion revision numbers (if possible), so, to
create a tag for each subversion revision. However, I have
neither seen any option in git nor found a script which does
that upon cloning (converting) a subversion repo into a git
repo.

Is there a way to do so?
As I understand it, git-svn stores the SVN revision number in the git
commit message and git-svn log allows queries based on the SVN
revision number. I think you will find having one tag for each SVN
revision number is an abuse of the git tag facility - it makes it much
harder to use for its intended function in git.

jon.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help