heeyeonwiz / pbscc-proxy

Automatically exported from code.google.com/p/pbscc-proxy
0 stars 0 forks source link

svn update repeated many times during get latest version #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
With the latest build of pbcc (2.0.50 - built on 2010-08-07) I notice that a 
"get latest version" of my project is performing many "svn update".

The exact command is "svn update --non-interactive --trust-server-cert 
"C:\svn\my_project_svn_root" 

I have tried several times, and each time there is a loop on "svn update".

I did not get that behavior with the previous version (before the introduction 
of the proper svn lockin).
I am still using the previous svn locking using the lockby propety.

FWIW, I am using PB 11.5 and svn 1.6.0, and my PB project is containing about 
121 pbl's.

Regards.

Original issue reported on code.google.com by sebastie...@gmail.com on 10 Aug 2010 at 10:35

GoogleCodeExporter commented 8 years ago
could you attach  pbscc log file.

Original comment by daggett....@gmail.com on 11 Aug 2010 at 4:08

GoogleCodeExporter commented 8 years ago
Done.

We have since switched to the 'lock' strategy (as you can see in the log), but 
I have still other projects in lockby mode if you need some more info.

Maybe I could suggest to add a timestamp to the pbscc log file, because it was 
a bit hard to retrieve the relevant  of the log (since I did not disabled for a 
while, it was ~70 MB big).

Regards.

Original comment by sebastie...@gmail.com on 12 Aug 2010 at 11:13

Attachments:

GoogleCodeExporter commented 8 years ago
pbscc maps svn commands to SCC functions that PB calls.
This map you can check here:
http://code.google.com/p/pbscc-proxy/wiki/SccSvnMap

On get latest version (SccGet) the "svn update" 
is forced to execute to get real last versions.

The only thing I can suggest is to configure PB.

PB limits all scc operations by 25 files, so if 
you call "Get Latest Version" on 100 files 
you will get 4 calls of SccGet - "svn update".

You can change 25 to 100 for example 
in the [Library] section of the PB.INI file 
by adding the following instruction:
SccMaxArraySize=100

Original comment by daggett....@gmail.com on 17 Aug 2010 at 5:20

GoogleCodeExporter commented 8 years ago
i've added new logic for SccGet function:
if time between end of previous SccGet 
and start of next SccGet less then 2 sec then skip "svn update" command

done in revision #52

i think we can close this issue

Original comment by daggett....@gmail.com on 17 Aug 2010 at 5:40

GoogleCodeExporter commented 8 years ago
We took the time to play a little with that release : it is far more usable :o)

Seems ok to me to close the issue.
Thanks.

Original comment by sebastie...@gmail.com on 26 Aug 2010 at 11:06

GoogleCodeExporter commented 8 years ago

Original comment by daggett....@gmail.com on 26 Aug 2010 at 4:40