Alexis Bauchu - On est pas des machines

Coders are also human beings

lundi, août 10 2009

And Perforce failed me yet again...

I guess that software can smell when you're afraid of them. So they get nervous and do nasty stuff to you. I don't see any other explanation! I'm not in good terms with Perforce, and it knows it...

At work we had a bug, a big crash, and there was no way to find out what was wrong. It wasn't a problem in the game executable, so it had to be something with the data, but data change faster than the executable do. In order to locate the bug, I started to test older revisions of the whole data set. Re-synching, reconstructing, testing, getting a less old revision, re-test, and so on. I was resynching using the date and time. But noticed I would be able to go faster by resynching on changelists rather than dates. Boy was I wrong.

Don't try to get a specific changelist, EVER! Perforce started to delete the content of my workspace! And it goes pretty fast, believe me. By the time I noticed I was wrong, like 30 seconds, it had deleted so much, that resynching and reconstructing the lost data took about an hour. A 30 seconds error cost me an hour of work! And I still didn't know where the bug was!

Thank You for Nothing Perforce! I'll have you!

jeudi, novembre 27 2008

It happens more often that you may think...

As I arrived at school this morning, I synced my computer with Perforce. I know there would be conflicts, but in like 3 or 4 files. It appeared that a dozen files had conflicts. There were files I didn't even touch, so it was easy to 'revert' my 'non-modifications' so Perforce feels ok, or to tell it to accept 'their' modifications over 'mine'. But it also happened in a file I knew could have been modified. So I ran the resolve tool to check what lines were conflicting. Here it is:

No Conflict

So it actually knows I didn't do anything AND/SO there's no conflict of any kind. What kind of resolver is that? That's one of the things I don't really get when I use Perforce, things that make me regret a bit SVN or Bazaar.