Skip to content

Conversation

@mattyork
Copy link

@mattyork mattyork commented May 9, 2012

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!

@ericmartel
Copy link
Owner

Hi Matt!

Thanks a bunch for this submit! I will integrate it tomorrow as I have other tasks planned on this plug in as well.

I'll look into your dictionary usage!

Cheers

Eric

@mattyork
Copy link
Author

mattyork commented Aug 2, 2012

Bump!

@ericmartel
Copy link
Owner

Oops, I guess "tomorrow" wasn't exactly true :/ I'll look into it again in the following days

Thanks

@mattyork
Copy link
Author

bump

@ghost
Copy link

ghost commented May 9, 2013

Ping, are you going to integrate this change?

ptekchand added a commit to ptekchand/Sublime-Text-2-Perforce-Plugin that referenced this pull request Jun 20, 2014
Pull request ericmartel#13: p4v commands added to context menu
@ptekchand ptekchand mentioned this pull request Jun 20, 2014
@ptekchand
Copy link

I've submit pull request #36 which fixes the merge conflicts and fixed a bug in the p4port value of the generated p4v command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants