Author Topic: Auto check-out on edit broken with Perforce on 64 bit  (Read 5865 times)

sndom

  • Community Member
  • Posts: 70
  • Hero Points: 1
Auto check-out on edit broken with Perforce on 64 bit
« on: April 25, 2013, 01:36:19 PM »
I have version control configured to use the Perforce command line system on 64 bit (in the absence of the 64 bit SCC provider DLL), with "Auto check-out on edit" enabled.

When I edit a read-only file that will need to be checkout out, I get the dialog with the option to "Check out the latest version", but when I click "OK", VS runs a "p4 sync <my file>" command rather than the "p4 edit <my file>" required to do a checkout.

Checking out the file manually from the "Version control->Checkout..." context menu runs a different set of commands and succeeds ("p4 -ztag fstat ..." twice, followed by "p4 edit").

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2896
  • Hero Points: 153
Re: Auto check-out on edit broken with Perforce on 64 bit
« Reply #1 on: April 25, 2013, 02:25:13 PM »
Right, the first dialog was apparently never updated, it should use edit.

Does the edit command work correctly when you right click?

It gets the status to be able to update the bitmap status.

sndom

  • Community Member
  • Posts: 70
  • Hero Points: 1
Re: Auto check-out on edit broken with Perforce on 64 bit
« Reply #2 on: April 25, 2013, 02:35:30 PM »
Quote
Does the edit command work correctly when you right click?

Yes.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2896
  • Hero Points: 153
Re: Auto check-out on edit broken with Perforce on 64 bit
« Reply #3 on: April 25, 2013, 02:44:37 PM »
OK.  If you PM me an email address I'll send you the fix.