Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I checkout files under Perforce from within Emacs?

I use Perforce for source control at work and I want to 'open for edit' files that under source control from within Emacs.

How can that be done? What do I need to setup in Emacs? Is there a plug in? I also want to perform other p4 operations such as submitting my changes, etc.

like image 866
Ray Avatar asked Dec 23 '22 14:12

Ray


1 Answers

Perforce/Emacs Integration http://p4el.sourceforge.net/p4.el.html

Once you have p4.el installed and ready to go you can use emacs' built-in help to review p4.el's functions: C-x p ? will bring up the list. C-h f p4-xyz provides defun information for p4-xyz. Each Perforce command has a corresponding p4.el command. The vc model is not followed. Use 'C-x p help commands' for Perforce help...

like image 90
Hristo Deshev Avatar answered Dec 27 '22 10:12

Hristo Deshev