如何使用git-svn设置Subversion属性 [英] How to set Subversion properties with git-svn

查看:130
本文介绍了如何使用git-svn设置Subversion属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在由git-svn创建的git存储库上设置subversion属性?



在我的情况下,我想编辑 svn:external svn:ignore
svn:executable

但是,唯一的办法是使用subversion客户端进行签出。有没有一种方法来编辑svn属性,而无需两次检查存储库(一次为git,一次使用svn为属性)?

解决方案

git-svn 不支持Subversion属性。当我遇到这个问题时,通常最终会有两次结帐。



这在 git-svn BUG下的文档:


我们忽略了除svn:executable之外的所有SVN属性。任何未处理的属性记录到 $ GIT_DIR / svn /< refname> /unhandled.log



Is there a way to set subversion properties on a git repository that was created by git-svn?

In my case, I want to edit the version of svn:external, svn:ignore and svn:executable.

However, the only way to do so seems to involve a check-out with the subversion client. Is there a way to edit svn properties without having to check out the repository twice (one time for git and one time with svn for the properties)?

解决方案

git-svn does not support Subversion properties. When I run into this problem, I usually end up having two checkouts.

This is mentioned in the git-svn documentation under BUGS:

We ignore all SVN properties except svn:executable. Any unhandled properties are logged to $GIT_DIR/svn/<refname>/unhandled.log

这篇关于如何使用git-svn设置Subversion属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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