Jump to content


Dashboard (in Python)

Dashboard command

  • Please log in to reply
2 replies to this topic

#1 Holgerm

Holgerm

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 09 July 2019 - 01:02 PM

When I sync something from the Dashboard it remembers the list and clears the synced items from the list (makes the list in Dashboard empty).

How can I achieve the same result using the p4 commands?

I am working currently on a python tool and would like to have something similar to Dashboard build in.

Using the command p4 changes -m 100 //data/... shows me always the last 100 results (I think Dashboard is also showing only the 100 items).

But the difference to dashboard is that my tool is always showing these 100 results, no matter if I sync the files from p4 or my tool itself.

Thanks

#2 p4rfong

p4rfong

    Advanced Member

  • Staff Moderators
  • 330 posts

Posted 16 July 2019 - 01:02 AM

Please post this under the APIs category, thanks.

#3 Sambwise

Sambwise

    Advanced Member

  • Members
  • PipPipPip
  • 846 posts

Posted 16 July 2019 - 06:11 AM

I think you want the "cstat" command:

https://www.perforce...f/p4_cstat.html




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users