gpt4 book ai didi

svn - 使用 git-svn 而不附加 git-svn-id

转载 作者:太空狗 更新时间:2023-10-29 13:41:57 25 4
gpt4 key购买 nike

我可以在不将 git-svn-id: 条目附加到我的提交消息的情况下使用 git-svn 吗?

我发现 svn.noMetadata 选项带有警告(强调我的):

This gets rid of the git-svn-id: lines at the end of every commit.

If you lose your .git/svn/git-svn/.rev_db file, git svn will not be able to rebuild it and you won't be able to fetch again, either. This is fine for one-shot imports.

The git svn log command will not work on repositories using this, either. Using this conflicts with the useSvmProps option for (hopefully) obvious reasons.

仅依赖 .rev_db 文件是否存在数据损坏的危险,或者只是发出警告以表示存在丢失映射的危险?

最佳答案

Is there a danger of data corruption by just relying on the .rev_db file or is the warning just placed to signal that there is the danger of losing the mapping?

后者:只要你有数据库,一切都很好。

关于svn - 使用 git-svn 而不附加 git-svn-id,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3932306/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com