代码之家  ›  专栏  ›  技术社区  ›  nurabha

SVN使用新文件夹和新文件提交变更列表失败:E155011文件过期E160013:找不到文件:

  •  0
  • nurabha  · 技术社区  · 3 年前

    我在Linux上使用的是SVN 1.7.14版本。

    我将修改过的文件和带有新文件的新文件夹添加到更改列表中。

    --- Changelist 'my-changelist':
    A       trunk/new_folder/new_file.txt
    M       trunk/existing_file0.txt
    M       trunk/existing_file1.txt
    M       trunk/existing_file2.txt
    M       trunk/existing_file3.txt
    M       trunk/existing_file4.txt
    M       trunk/existing_file5.txt
    M       trunk/existing_file6.txt
    M       trunk/existing_file7.txt
    M       trunk/existing_file8.txt
    

    我已经跑了 svn更新 并且没有挂起的冲突,但是在尝试将此更改列表提交到我的远程SVN存储库时,我仍然会收到以下错误:

    svn commit -m "Updates" --changelist my-changelist
    Adding         trunk/new_folder/new_file.txt
    Sending        trunk/existing_file0.txt
    Sending        trunk/existing_file1.txt
    Sending        trunk/existing_file2.txt
    Sending        trunk/existing_file3.txt
    Sending        trunk/existing_file4.txt
    Sending        trunk/existing_file5.txt
    Sending        trunk/existing_file6.txt
    Sending        trunk/existing_file7.txt
    Sending        trunk/existing_file8.txt
    Transmitting file data .svn: E155011: Commit failed (details follow):
    svn: E155011: File '/home/username/svn/project/trunk/new_folder/new_file.txt' is out of date
    svn: E160013: File not found: transaction '14544-bjr', path '/X2/project/trunk/new_folder/new_file.txt'
    

    由于在远程存储库中找不到新文件,提交新文件夹和文件时似乎遇到问题。有人知道如何解决这个问题吗?

    0 回复  |  直到 3 年前