ericmartel/Sublime-Text-2-Perforce-Plugin — pull request #13 by mattyork (2012-05-09 22:32:45+00:00)
Title: p4v integration

Heyo,

Thanks for starting out this Perforce plugin. Makes life much easier.

This pull adds three commands to the interface: `History`, `Time Lapse`, and `Revision Graph`. All three use p4v to load a single window for the current file. The new command that all three of these use accepts an argument for which p4v window to load, so one could easily add another command that loads a different p4v window by invoking a different argument (e.g. "properties"). I limited the addition to these three because I've found them to be the only useful ones.

It also extracts all values in `p4 info` into a dictionary. This could replace other functions such as GetUserFromClientspec() and GetClientRoot(), but I did not modify those in order to keep this pull request solely as an addition to existing code instead of a modification.

Let me know if there are any changes I should make. Thanks!