git hash到svn数字生成方案 [英] git hash to svn number generation scheme

查看:118
本文介绍了git hash到svn数字生成方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我发现TortoiseSVN(惊喜,惊喜)支持git。
所以你可以使用TortoiseSVN来检出git仓库,甚至可以引用外部的git仓库。在互联网上存在着大量的问题和问题。讨论如何从git hash中获得好的编号方案,这种方法被发现很多时候太神秘而难以使用。



例如:

按照以下链接:是否有git -svn windows客户端类似TortoiseSVN?,我发现很久以前git支持已经在svn中有线:



你能告诉我TortoiseSVN用什么样的方案显示svn数字吗?


  • 如果提交是从git完成的,那么se数字是唯一的?

  • 如果从TortoiseSvn完成提交,这些数字是否是唯一的?

  • $ b

    TortoiseSVN用于将git散列映射到svn修订版本号的方案是什么?

    解决方案

    TortoiseSVN不支持Git 。



    我猜你尝试过使用TortoiseSVN的GitHub存储库。是的,它一般工作,也应该与任何其他SVN客户端合作。 GitHub允许SVN客户端通过一个特殊的透明代理对其存储库执行简单操作(我可能是错的,但这就是我读的)。因此,不是TortoiseSVN使用特殊的映射模式,而是GitHub以客户端可以消化的形式向SVN客户端报告Git修订。 :)

    还有另一个Tortoise *客户端--TortoiseGit。它需要Windows Shell集成想法,而 try 将其映射到Git命令。


    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 ?

    解决方案

    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.

    这篇关于git hash到svn数字生成方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆