我正在评估 git-svn 并试图确定它在特定 svn 存储库中的表现如何。我最关心的是让 git-svn 执行合并,以使 svn:mergeinfo 属性在 subversion repo 中正确设置。这可能吗?
这是我到目前为止所做的:
# Checkout the SVN repo.
$ git svn clone svn://server/project1 -T trunk -b branches -t tags
# Make sure we are working on trunk.
$ git reset --hard remotes/trunk
# Modify the working copy.
$ vim file.txt
# Commit locally to the git repo.
$ git commit -a
# Push the commits back to the SVN server.
$ git svn dcommit
Committing to svn://server/project1/trunk ...
M file.txt
Committed r178
M file.txt
r178 = b6e4a3a0c28e7b9aa71d8058d96dcfe7c8a2b349 (trunk)
现在我将如何着手将该特定提交合并到一个颠覆分支中?同样,对我来说,git 在提交更改时正确设置 svn:mergeinfo 属性非常重要。