Jump to content


Dashboard (in Python)

Dashboard command

  • Please log in to reply
3 replies to this topic

#1 Holgerm

Holgerm

    Newbie

  • Members
  • Pip
  • 2 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
  • 343 posts

Posted 16 July 2019 - 01:02 AM

Please post this under the APIs category, thanks.

#3 Sambwise

Sambwise

    Advanced Member

  • Members
  • PipPipPip
  • 959 posts

Posted 16 July 2019 - 06:11 AM

I think you want the "cstat" command:

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

#4 Holgerm

Holgerm

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 01 August 2019 - 12:49 PM

View PostSambwise, on 16 July 2019 - 06:11 AM, said:

I think you want the "cstat" command:

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

Thank you, it worked.

Just a small question, it looks like the cstat has a "fixed" amount, while changes can be set to -m 100, or do I see this wrong?
Would be nice if cstat can also be set.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users