Perforce 性能错误-无法从非流客户端提交
来自GIT和SVN的背景,我在windows中设置了P4V,设法以某种方式将存储库的内容放入本地文件夹,但一旦我在本地文件夹中进行了修改并创建了新文件,我就无法将其提交回Performance。它给出了错误: //depot/main/p4config.txt-警告:无法从非流式客户端提交 没有要提交的文件。 提交失败-修复上述问题,然后使用“p4提交-c 6” 我的仓库层次结构:Perforce 性能错误-无法从非流客户端提交,perforce,Perforce,来自GIT和SVN的背景,我在windows中设置了P4V,设法以某种方式将存储库的内容放入本地文件夹,但一旦我在本地文件夹中进行了修改并创建了新文件,我就无法将其提交回Performance。它给出了错误: //depot/main/p4config.txt-警告:无法从非流式客户端提交 没有要提交的文件。 提交失败-修复上述问题,然后使用“p4提交-c 6” 我的仓库层次结构: C:\Perforce\kernelpanic\main>p4 client -S //depot/main
C:\Perforce\kernelpanic\main>p4 client -S //depot/main -o
# A Perforce Client Specification.
#
# Client: The client name.
# Update: The date this specification was last modified.
# Access: The date this client was last used in any way.
# Owner: The user who created this client.
# Host: If set, restricts access to the named host.
# Description: A short description of the client (optional).
# Root: The base directory of the client workspace.
# AltRoots: Up to two alternate client workspace roots.
# Options: Client options:
# [no]allwrite [no]clobber [no]compress
# [un]locked [no]modtime [no]rmdir
# SubmitOptions:
# submitunchanged/submitunchanged+reopen
# revertunchanged/revertunchanged+reopen
# leaveunchanged/leaveunchanged+reopen
# LineEnd: Text file line endings on client: local/unix/mac/win/share.
# ServerID: If set, restricts access to the named server.
# View: Lines to map depot files into the client workspace.
# Stream: The stream to which this client's view will be dedicated.
# (Files in stream paths can be submitted only by dedicated
# stream clients.) When this optional field is set, the
# View field will be automatically replaced by a stream
# view as the client spec is saved.
#
# Use 'p4 help client' to see more about client views and options.
Client: kernelpanic
Update: 2012/10/04 15:35:16
Access: 2012/10/04 15:59:39
Owner: me.kernelpanic
Host: kernelpanic
Description:
Created by me.kernelpanic.
Root: C:/Perforce/kernelpanic
Options: noallwrite noclobber nocompress unlocked nomodtime normdir
SubmitOptions: submitunchanged
LineEnd: local
View:
//depot/... //kernelpanic/...
//depot/main/doc/... //kernelpanic/main/doc/...
//depot/* //kernelpanic/*
//depot/main/* //kernelpanic/main/*
如果可能的话,我还想添加C:\Perforce\kernelpanic\main\src中的文件。。。
请帮忙,我完全听不懂。我在修改之前或之后都尝试过签出,但两种方法都未能将更改提交到服务器。我很想坚持使用GIT,但我们的客户正在使用Performance,因此我们必须与他们友好相处。非常感谢你的帮助 可能是P4V引导您创建了一个stream depot和一条主线,但不知何故为您创建了一个非stream工作区。据我所知,由于设置中的某些原因,首次使用P4V的用户可能会遇到这种情况
要查看这是否是问题所在,请转到连接/编辑工作区并查看“流”字段。是空的吗?如果是,请使用“浏览”选择流。这将使您当前的工作区变成流式工作区。您如何提交?从P4V还是从命令行?您的本地文件在哪里?您尝试提交的变更列表中似乎没有文件。顺便说一句,Perforce刚刚发布了“Git Fusion”,这是一款新产品,允许您克隆Git repo以处理存储在Perforce服务器中的文件。还有git-p4。这两种方法中的任何一种都可以让你坚持使用git,至少在你的领域是如此。@ChrisF:我已经尝试了P4V和命令行,但都不起作用。我的问题类似于user1054341提供的答案。可悲的是,我不懂性能,无法理解事情out@useruser1054341:非常感谢!我要试试看!谢谢!这就解决了问题,现在我所有的变更单都可以提交了!我真的不知道这些工作区和流的东西,也不知道如何解决问题。。。谷歌也提供了很少的帮助。。真的非常感谢你的帮助。这几乎是另一个问题,但为什么第一次使用的用户会这么多?我真的很讨厌这个功能。我已经使用P4多年没有流了,流只造成了一些像这样的小问题,但也有一些大问题