以下是我配置的相关部分:
$ cat .git/config
[svn-remote "svn"]
ignore-paths = ^(?:Releases|Projects|Scripts|Games|)/|^Programs/(?:Nif S\
canner|Nif Viewer|Raziel23x's Oblivion Toolset|Shader Disasm|Shader Editor)/
url = svn://svn.code.sf.net/p/oblivionworks/code
fetch = Programs/Wrye Bash:refs/remotes/svn/trunk
branches = Branches/Wrye Bash/*:refs/remotes/svn/*
tags = Tags/Wrye Bash/*:refs/remotes/svn/tags/*
[svn]
authorsfile = authors_with_emails.txt
尝试:
MrD@MRSD /c/dropbox/eclipse_workspaces/python/git_svn_WB (master)
$ git svn dcommit --username MYUSERNAME
Committing to svn://svn.code.sf.net/p/oblivionworks/code/Programs/Wrye%20Bash ...
ERROR from SVN:
Authorization failed: Authorization failed
W: 083f21d9aa799b62e325b5bb348f1ee82f9d7085 and refs/remotes/svn/trunk differ, u
sing rebase:
:040000 040000 f8e70f1f4670274788def25b32bd5d7246206b7b f05b3db6f8d2ea5ff54cd040
c4ef685cdd453233 M Mopy
Current branch master is up to date.
ERROR: Not all changes have been committed into SVN, however the committed
ones (if any) seem to be successfully integrated into the working tree.
Please see the above messages for details.
如你所见,我是大师(我刚刚从git分支中挑选了一个提交 - 没有花哨的合并和东西)
我有两个问题:
<URL>
传递给--commit-url <URL>
标记?我不想弄乱任何东西并最终提交错误的分支(因为你看到svn布局是非标准的)实际上我正在做出另一个改变。我编辑了提交消息以添加:
Subject
Body
Signed-off-by: AUTHOR <EMAIL> # added
其中AUTHOR
与SVN配置中的名称匹配,但EMAIL
不匹配。这是否足以让作者正确录制?我相信电子邮件不会对SVN方面产生影响
我只是想要更加确定因为我不想弄乱SVN回购。我宁愿推翻https
。