p4 shelve after editing the shelved files along with other files

perforce

Solution

You should gotten a change number when you did the `p4 shelve`. If you can't remember it, `p4 opened ...` will tell you. You need to re-open d.txt and give it that change number using `p4 reopen -c <change#> d.txt`. Then run `p4 shelve -r -c <change#>` to update the shelved files.

Problem

I have shelved files `a.txt, b.txt, c.txt`. Now I want to make some changes to a.txt and b.txt and shelve along with a new file `d.txt` So, - As First step unshelve the shelved a.txt, b.txt and c.txt by using `p4 unshelve -s <changelist>` - Make changes to the a.txt, b.txt and c.txt - Now what to ????? (Till here I am good, now what should be next step to shelve the a.txt ,b.txt, c.txt with changes along with d.txt) Note: As after the step 2 , as a step 3,if I try to just give `p4 shelve` again , it just shows d.txt to shelve but not a.txt b.txt and c.txt. Is there any easy way to do it?

Original source