0

Recently I have find out that TortoiseSVN (surprise, surprise) supports git. So you can just checkout git repository using TortoiseSVN, and even to reference external git repositories. On internet there exists huge amount of questions & threads on how to get good numbering scheme from git hash, which is found many times as too cryptic and difficult to use.

For example: How to get the git commit count?.

By following this link: Is there a git-svn windows client something like TortoiseSVN?, I find out that git support was wired under svn long time ago:

Can you tell me what kind of scheme TortoiseSVN uses to display svn numbers?

  • Are those numbers unique if commit is done from git ?
  • Are those numbers unique if commit is done from TortoiseSvn ?

What kind of scheme TortoiseSVN uses to map git hash to svn revision number ?

Yue Lin Ho
  • 2,945
  • 26
  • 36
TarmoPikaro
  • 4,723
  • 2
  • 50
  • 62

1 Answers1

1

TortoiseSVN does not support Git.

I guess that you tried GitHub repositories with TortoiseSVN. Yes, it works in general and should also work with any other SVN client. GitHub allows SVN clients perform simple operations with its repositories through a special transparent proxy (I may be wrong, but that's what I read). So it is not TortoiseSVN that uses a special mapping schema, it's GitHub that reports Git revisions to SVN client in a form that the client can digest. :)

There is another Tortoise* client -- TortoiseGit. It takes Windows Shell integration idea and tries to map it to Git commands.

bahrep
  • 29,961
  • 12
  • 103
  • 150