SVN 添加文件提交时出错
我正在尝试将文件添加到颠覆存储库。我添加该文件以使其处于修订状态,然后尝试提交并收到此错误。我知道它不存在,我想添加它!任何帮助或 1-1 交易是什么都会很棒。
添加 samflag.pl
传输文件数据.svn:提交失败(详情如下):
svn:找不到文件:事务“1-1”,路径“/mnt/disk2/users/nstong/repo/Scripts/samflag.pl”
I'm trying to add a file to a subversion repository. I add the file so that it's under revision, and then I try to commit and get this error. I know it's not there, I want to add it! Any help or what transaction 1-1 is would be great.
Adding samflag.pl
Transmitting file data .svn: Commit failed (details follow):
svn: File not found: transaction '1-1', path '/mnt/disk2/users/nstong/repo/Scripts/samflag.pl'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当您尝试在存储库而不是工作目录中添加文件时,我看到了该错误。
svn status
命令显示什么?事实上,您是否使用命令行或某些 GUI 客户端来执行此任务?
I've seen that error when you're trying to add a file in the repository and not in a working directory.
svn add
command successfully?svn status
command show you?In fact, are you using the command line or some GUI client to do this task?
在初次签出和尝试添加文件之间,我更改了 Subversion 主机设置,这样在隧道传输时就不必提供存储库的完整路径。只需删除文件夹并查看所有内容的新副本,我就可以毫无问题地添加文件。
In between the initial checkout and trying to add the file I had changed my subversion host settings so that I didn't have to provide the full path to the repository when tunneling. Just deleting the folder and checking out a new copy of everything allowed me to add the file with no problem.