Author Topic: Perforce project diff  (Read 1369 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1825
  • Hero Points: 177
  • Text
Perforce project diff
« on: September 16, 2014, 09:44:42 pm »
When I use "Diff project with source control", then in the "Perforce Update Directory" dialog, I double-click on some binary, generated file. This file is not in the project, workspace, or source control (So *why* doesn't it show up at all?) I get a series of *5* error dialogs from slick. 1 dialog for couldn't get the current local version 3 dialogs for couldn't get the current version of the file. There isn't a version, because it isn't in source control. Slick shouldn't try this 3 times. 1 complaining about unicode / non-unicode But since there is only the local file, there shouldn't be a file to compare to, so there couldn't possibly be a character type mismatch. Also, I don't have the file open in Slick, so it shouldn't be complaining that I do, and that I have modified it.
--------------------------- SlickEdit ---------------------------
Could not get current local version for file 'E:\src\p1\product\branch\.built\android_debug\bin\assets\things\thing.android.binaryFile' E:\src\p1\product\branch\.built\android_debug\bin\assets\things\thing.android.binaryFile - no such file(s).
--------------------------- OK --------------------------- --------------------------- SlickEdit ---------------------------
Could not get current version for file 'E:\src\p1\product\branch\.built\android_debug\bin\assets\things\thing.android.binaryFile' E:\src\p1\product\branch\.built\android_debug\bin\assets\things\thing.android.binaryFile - no such file(s). --------------------------- OK --------------------------- --------------------------- SlickEdit ---------------------------
Could not get current version for file 'E:\src\p1\product\branch\.built\android_debug\bin\assets\things\thing.android.binaryFile' E:\src\p1\product\branch\.built\android_debug\bin\assets\things\thing.android.binaryFile - file(s) not opened on this client.
--------------------------- OK --------------------------- --------------------------- SlickEdit ---------------------------
Could not get current version for file 'E:\src\p1\product\branch\.built\android_debug\bin\assets\things\thing.android.binaryFile' E:\src\p1\product\branch\.built\android_debug\bin\assets\things\thing.android.binaryFile - file(s) not opened on this client.
--------------------------- OK --------------------------- --------------------------- SlickEdit ---------------------------
You are attempting to diff a unicode file with a non-unicode file.  '(HEAD)' cannot temporarily be converted to unicode because the buffer is modified.  Please close the file first.
--------------------------- OK ---------------------------
« Last Edit: September 16, 2014, 10:14:30 pm by Clark »

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2367
  • Hero Points: 132
Re: Perforce project diff
« Reply #1 on: September 17, 2014, 12:31:30 pm »
What icon is the file showing up with?

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2367
  • Hero Points: 132
Re: Perforce project diff
« Reply #2 on: September 17, 2014, 02:19:41 pm »
It definitely should give fewer error messages.  I'm just wondering why it allowed a diff at all.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2367
  • Hero Points: 132
Re: Perforce project diff
« Reply #3 on: September 17, 2014, 02:31:31 pm »
Fixed for next beta.  One error message for a bad diff, and double clicking will not allow a diff if the button is not enabled.  Thanks for the report!