Has anyone gotten PBSCC to work successfully with SVN 1.7?

440 views
Skip to first unread message

JD

unread,
Jan 11, 2013, 12:11:08 PM1/11/13
to pb...@googlegroups.com
I am working on a project that is being required to move to SVN 1.7. I know the meta layout was completely re-written in SVN 1.7, but it looks like there have been releases of PBSCC since then. Is anyone using this combination successfully? If so, can you please share the configuration requirements? I haven't been able to get it to work correctly.

Chris Tillman

unread,
Jan 13, 2013, 11:24:20 PM1/13/13
to pb...@googlegroups.com
It works, with a couple of caveats. We've been using it for several months with PB 12.5.

First, you must use the "lock" strategy in scc.ini.
Next, when you check out your source objects in e.g. TortoiseSVN, check out at the same level as the PB workspace will be using. The new SVN db is created at your checkout level, and it doesn't work well if that is above your workspace level.
Finally, install WinMerge and use it for your SVN diff program. The standard Tortoise diff program has an issue with timing, and will report no changes when there really are changes.

Sébastien Kirche

unread,
Jan 14, 2013, 5:04:47 AM1/14/13
to pb...@googlegroups.com


2013/1/14 Chris Tillman <toff.t...@gmail.com>

Finally, install WinMerge and use it for your SVN diff program. The standard Tortoise diff program has an issue with timing, and will report no changes when there really are changes.

Actually, the issue is not entirely in Tortoise diff, but in way PBSCC is calling it.
PBSCC is exporting the object from the pbl and is making a temporary copy of the file to compare from the svn. It launches Tortoise diff then it deletes the temporary files.
The recent problem is that Tortoise diff is no more blocking PBSCC during file visualization so PBSCC is destroying the file during Tortoise diff initialization thus there is nothing left to compare.

We made a local patch to PBSCC to work around this issue and are still happy users of genuine Tortoisesvn and Tortoise diff.
--
Sébastien Kirche

Chris Tillman

unread,
Jan 14, 2013, 10:54:01 PM1/14/13
to pb...@googlegroups.com
Can the patch be contributed back to the project here?

Sébastien Kirche

unread,
Jan 15, 2013, 9:21:21 AM1/15/13
to pb...@googlegroups.com

2013/1/15 Chris Tillman <toff.t...@gmail.com>

Can the patch be contributed back to the project here?

I am quite sure that the patch has not been contributed to the project, but it was just published through github by my colleague:


Regards.
S. Kirche


--
Sébastien Kirche

Ben

unread,
Oct 6, 2014, 6:14:59 PM10/6/14
to pb...@googlegroups.com
Thanks Sébastien!

I've just recently discovered this discussion after having similar problems with my PBSCC+Tortoise setup:  Intermittent confusion as to the status of specific objects in powerbuilder.. and your explanation makes perfect sense :)  I hope you guys are still monitoring this thread.

So we are trying the patched PBSCC.. but having a few problems I hope you or someone else can help with.

1) Since we are not really windows developers (C/C++ programmers yes, but not on Windows) here, we are not experts at building Windows C++ code.  I currently have Visual C++ 2010 installed.. and if necessary I can get Visual Studio 2012.  If someone has successfully compiled this, please help us do the same!  Any hints as to how to go about it would be much appreciated.  We are on Powerbuilder 10.5, 32 bit.. so although I am running Windows 7 64 bit, I assume I need a 32 bit pbscc.dll

2) There are prebuilt dll's in github.. so I tried just dropping these in place of the ones installed by PBSCC that were exhibiting the problem.  This did not work, all kinds of intermittent complaints from powerbuilder.  Should this have worked???

If anyone has gotten this patched code working in your setup, any hints on how you did it would be much appreciated.  Thanks!

Ben

Sébastien Kirche

unread,
Oct 9, 2014, 9:43:54 AM10/9/14
to pb...@googlegroups.com
Hi Ben,

I am still receiving notifications from the google group. :o)

You are talking of "intermittent problems" with object statuses and also "complaints from powerbuilder". 
Could you be more specific? Does the PB IDE display some messages in the "default" output pane? What kind of problems: some objects do not show the correct status?

Regards.

2014-10-07 0:14 GMT+02:00 Ben <light...@gmail.com>:
Thanks Sébastien!

I've just recently discovered this discussion after having similar problems with my PBSCC+Tortoise setup:  Intermittent confusion as to the status of specific objects in powerbuilder.. and your explanation makes perfect sense :)  I hope you guys are still monitoring this thread.

So we are trying the patched PBSCC.. but having a few problems I hope you or someone else can help with.

1) Since we are not really windows developers (C/C++ programmers yes, but not on Windows) here, we are not experts at building Windows C++ code.  I currently have Visual C++ 2010 installed.. and if necessary I can get Visual Studio 2012.  If someone has successfully compiled this, please help us do the same!  Any hints as to how to go about it would be much appreciated.  We are on Powerbuilder 10.5, 32 bit.. so although I am running Windows 7 64 bit, I assume I need a 32 bit pbscc.dll

2) There are prebuilt dll's in github.. so I tried just dropping these in place of the ones installed by PBSCC that were exhibiting the problem.  This did not work, all kinds of intermittent complaints from powerbuilder.  Should this have worked???

If anyone has gotten this patched code working in your setup, any hints on how you did it would be much appreciated.  Thanks!

Ben

--
Sébastien Kirche
Reply all
Reply to author
Forward
0 new messages