0

I have an ongoing product with p4 version control. I have the need to edit same files every time. (different version of the product)

I want to be able to check out and open same files without using scripts.

Is there any way I can do it in some p4 plugin or p4 configuration?

Example:

/version_50/user/eng/fileExample.cpp

/version_51/user/eng/fileExample.cpp

/version_52/user/eng/fileExample.cpp

I want a simple button to check out same file.

Zoe
  • 27,060
  • 21
  • 118
  • 148
Nir B
  • 75
  • 2
  • 6
  • Button where? Do you mean in p4v? If you want the same files perpetually open, you can use `p4 submit -r` when submitting to re-open the submitted files. – jamesdlin Apr 05 '16 at 08:40
  • What IDE are you using? Is there an option to automatically check the file out when editing? There is in Visual Studio for example. – ChrisF Apr 05 '16 at 08:52

1 Answers1

1

Instead of opening files for edit (checking them out) you could work on them, then use:

p4 reconcile

to keep track of the changes.

More information about this command is available here:

https://www.perforce.com/perforce/r15.2/manuals/cmdref/p4_reconcile.html

Hope this helps, Jen.

P4Jen
  • 1,003
  • 6
  • 6