1

I need to find out what is the last revision Synced to my workspace but using the P4JAVA API, Any help??

DevOops
  • 276
  • 2
  • 8
  • 20

1 Answers1

2

According to the documentation for FileSpecBuilder you can include a rev specifier with the path, so if you change this:

makeFileSpecList("//depotname/path/...")

to this:

makeFileSpecList("@workspace")

it seems like that ought to do the trick.

Samwise
  • 68,105
  • 3
  • 30
  • 44