How to get history of changes between two changelists for current client (workspace)?

perforce

Solution

If you have access to the workspace directly, you can just use

p4 changes ...@1,5 -s submitted

from the top of the workspace.

Problem

We have a Perforce workspace with complex view: `//depot/aaa/... //myclient/1/...` `//depot/bbb/... //myclient/2/555/...` `//depot/ccc/... //myclient/300/...` How (using p4 command line) I can get history of changes between two specific changelists restricted by the workspace view spec? I know how to do this for all depot (with no restriction by workspace): `p4 changes //...@1,5 -s submitted` And I know how to get all changes for specific client: `p4 changes //...@myclient -s submitted` How can I join two these commands? BTW, If I use key `-c myclient` in `p4 changes` command, it shows only changelist which submited from the client (and not filter by client view like I need): `p4 changes -c myclient //...@myclient -s submitted`

Original source