Jump to content


Reconcile adds something strange

p4 reconcile

  • Please log in to reply
5 replies to this topic

#1 DaveCh

DaveCh

    Advanced Member

  • Members
  • PipPipPip
  • 44 posts

Posted 07 May 2020 - 03:34 PM

When we get a new version of Unreal we drop it into our mirror directory and do a reconcile. This time it's doing something unusual. After 'p4 reconcile' I use 'p4 opened' to see what the result is and get:

//Project/unreal-engine-mirror/100#1 - add default change (text)
//Project/unreal-engine-mirror/10002#1 - add default change (text)
//Project/unreal-engine-mirror/10008#1 - add default change (text)
...
//Project/unreal-engine-mirror/997#1 - add default change (text)
//Project/unreal-engine-mirror/998#1 - add default change (text)
//Project/unreal-engine-mirror/9993#1 - add default change (text)
//Project/unreal-engine-mirror/Engine/Binaries/DotNET/CsvTools/ReportGraphs.xml#1 - edit default change (text+l) *exclusive*
//Project/unreal-engine-mirror/Engine/Binaries/DotNET/CsvTools/ReportTypes.xml#2 - edit default change (text+l) *exclusive*

There are 4400 numbered 'things' in the 45066 file changelist in a slightly random order due to the sorting before the actual files that exist are listed. What are they?? They're not in the depot. They don't exist on disk. If I try to open them in from P4V with Notepad it opens an empty file.

It's possible this always happens and eventually sorts itself out and I've just never noticed before.

Using the 2020 P4/P4V on Windows: P4V/NTX64/2020.1/1946989
Server is a litle older at P4D/LINUX26X86_64/2017.2/1579154

Cheers,

Dave

#2 Sambwise

Sambwise

    Advanced Member

  • Members
  • PipPipPip
  • 1192 posts

Posted 07 May 2020 - 03:56 PM

View PostDaveCh, on 07 May 2020 - 03:34 PM, said:

They don't exist on disk. If I try to open them in from P4V with Notepad it opens an empty file.

Are you positive that they don't exist on disk (and didn't exist on disk at the time you ran the reconcile)?

When you open them in Notepad, do you get the "does not exist, do you want to create it?" prompt from Notepad that it gives on a nonexistent file, or does it open silently to show you an (existing) empty file?

#3 DaveCh

DaveCh

    Advanced Member

  • Members
  • PipPipPip
  • 44 posts

Posted 07 May 2020 - 04:57 PM

Yes, 100% certain they don't exist - the root directory contains 12 files and 6 directories, certainly not 4400 of anything.

Opening in Notepad silently opens in the same way as it does when no parameters are passed to it, just "Untitled" as the title.

If I right-click on the file in P4V and "Show in Explorer" it just opens an Explorer window in the Mirror directory which the workspace is mapped to. Same if I use "Open Command Window Here".

There are no hidden or system files here either.

I might try something in P4API to see exactly what data is available for these files.

#4 DaveCh

DaveCh

    Advanced Member

  • Members
  • PipPipPip
  • 44 posts

Posted 07 May 2020 - 06:18 PM

So instead, I uninstalled 2020.1 and reinstalled 2019.2 and repeated the process - it all worked perfectly. The changelist is correct and no sign of those numbered entries.

Either 2020.1 has some incompatibility with our 2017.2 server, or there's a new bug in 2020.1. The release notes for 2020.1 mention "This version of Helix P4V officially supports Helix Core 2018.2" so maybe it was an update too far and I should stay on 2019.2 until we update the server.

#5 Sambwise

Sambwise

    Advanced Member

  • Members
  • PipPipPip
  • 1192 posts

Posted 07 May 2020 - 08:43 PM

View PostDaveCh, on 07 May 2020 - 06:18 PM, said:

Either 2020.1 has some incompatibility with our 2017.2 server, or there's a new bug in 2020.1. The release notes for 2020.1 mention "This version of Helix P4V officially supports Helix Core 2018.2" so maybe it was an update too far and I should stay on 2019.2 until we update the server.

Oh that's annoying.  Unfortunately the latest version of the client code is no longer being updated on the Workshop (https://swarm.worksh...rce_software/p4) so I can't actually go looking for a potential 2020.1 client bug and knock out a fix for it.  Seems likely the problem would be in this function: https://swarm.worksh...servicer.cc#615

#6 DaveCh

DaveCh

    Advanced Member

  • Members
  • PipPipPip
  • 44 posts

Posted 08 May 2020 - 09:12 AM

Based on the file counts involved, it looks like the reconcile ended up with batches of 10 files each with some sort of ID and one end (client or server) misinterpreted the ID and added it to the changelist. So I had 44000 files + 4400 IDs in the changelist. Anyway, I'll stick with 2019.2.





Also tagged with one or more of these keywords: p4 reconcile

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users