Search code examples
perforcep4vperforce-stream

P4V not showing edited stream mappings in workspace view


This has been a constant frustration when transitioning from git. Sometimes when scoping my stream I import a folder then find that I will need to edit it. So after removing the folder path from my mapping it disappears but when I try to re-add it as a share, the mappings are correct but the folder will not populate in my workspace. I have combed through Perforce terrible documentation to come up with no solution. After I add a mapping what am I missing to get that to populate? I suspect it is not branching the files I have added but don't really know. How can I get the added folders to show up?

Summary: changing import //dev/root_fld/fld_A to share //dev/root_fld/fld_A in stream mapping updates the workspace but no folder appears.


Solution

  • Do a merge from the parent stream. This will pick up all changes from the parent that aren't yet reflected in the current stream, including the files that exist in the parent but haven't yet been branched. (Do an "automatic resolve" to automatically accept all the branched files -- when you do a merge you have the option to "ignore" them also but you probably don't want to do that!)