I need equivalent for p4 describe #cl
, in p4 python.
However, running the same command p4.run_describe("#cl")
using p4python. I get dict:
[{'client': 'NonDev1408-Dev', 'digest': ['E41FFB100C73F7B443EE8DE7A0DD966C'], 'desc': 'Merging //ATTE/1507_SWP122 to OCX Main (//ATTE/1408-Dev)\n', 'type': ['text'], 'fileSize': ['33067'], 'status': 'submitted', 'rev': ['49'], 'depotFile': ['//ATTE/1408-Dev/cust/oms/bb/cord9src/src/main/java/amdocs/oms/cust/osact/foundation/NegotiateServiceConnection.java'], 'action': ['integrate'], 'user': 'mohitc', 'change': '243446', 'time': '1432731112', 'path': '//ATTE/1408-Dev/cust/oms/bb/cord9src/src/main/java/amdocs/oms/cust/osact/foundation/*', 'changeType': 'public'}]
Instead I want output like given by p4 describe 243446
that is, I want diff changes between the affected files:
Change 243446 by mohitc@NonDev1408-Dev on 2015/05/27 15:51:52
Merging //ATTE/1507_SWP122 to OCX Main (//ATTE/1408-Dev)
Affected files ...
... //ATTE/1408-Dev/cust/oms/bb/cord9src/src/main/java/amdocs/oms/cust/osact/foundation/NegotiateServiceConnection.java#49 integrate
Differences ...
==== //ATTE/1408-Dev/cust/oms/bb/cord9src/src/main/java/amdocs/oms/cust/osact/foundation/NegotiateServiceConnection.java#49 (text) ====
Is there any other way to produce the same output using p4python?
Try this:
Hope this helps, Jen.