I edited few files in my workspace and did p4 change. Then I remembered that I have to make some more edits to additional files not in the changelist. I opened those files with p4 edit but how to add these files to existing changelist. Is there a way to do it? CLN may be default to dissociate the specified files from any numbered changelist. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow.
Learn more. Add a file to existing changelist Ask Question. Asked 7 years, 11 months ago. Active 1 year, 7 months ago. Viewed 31k times. Improve this question. Since you use the command line, I'd be tempted to say that you p4 help command would show the help for the specified command right away. Add a comment. Active Oldest Votes.
Improve this answer. How moveout the file from Changelist — Alok Prasad. I've updated my answer to mention that. Maybe p4 has changed since this answer was given, but I get file s not opened on this client when a file was not open. As I stated, you would use p4 reopen to move open files into the specified changelist, which is the scenario described by the original question. I thought it included also the not open at all case.
You can say: p4 edit -c changelist file Repeat step 3 for all the files that you want added you can also multi-select files and then mark them for add. Once you've got everything marked for add in a pending changelist, right click that changelist and pick "Submit" to commit the files to the depot. Improve this answer. I am getting this warning at step 3: file s not in client view.
What am i missing here? Ah, I think I know what's going on. I added a new first step, and made an adjustment to what's now the second step. Try again from the beginning. Note that you must have submit permissions in order to create the branch in the new location. Thanks George.
I tried it, but i am getting the same message as before: "No target file s in both client and branch view". Can you please tell me what this means and how to resolve this? That message means that you do not have the new branch location in your workspace view. Bryan Pendleton Bryan Pendleton I have found once you have some basic understanding of how P4 manages your files, the documentation is usually very helpful in showing you how to achieve what you want within the command framework.
I'd also add that I like to display the log window and review the commands that are shown. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses.
Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related 3. Hot Network Questions. Question feed.
0コメント