SVN 添加文件提交时出错

发布于 2024-11-15 18:29:01 字数 255 浏览 3 评论 0原文

我正在尝试将文件添加到颠覆存储库。我添加该文件以使其处于修订状态,然后尝试提交并收到此错误。我知道它不存在,我想添加它!任何帮助或 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

2024-11-22 18:29:01

当您尝试在存储库而不是工作目录中添加文件时,我看到了该错误。

  • 您是否检查了存储库本身外部的工作目录?
  • 您是否能够成功运行 svn add 命令?
  • 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.

  • Did you do a checkout of the working directory outside of the repository itself?
  • Were you able to run the svn add command successfully?
  • What does the svn status command show you?

In fact, are you using the command line or some GUI client to do this task?

悸初 2024-11-22 18:29:01

在初次签出和尝试添加文件之间,我更改了 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文