Open GoogleCodeExporter opened 9 years ago
Just few words about how it's working:
PB calls method SccGet in scc interface
SccGet(LPVOID pContext, HWND hWnd, LONG nFiles, LPCSTR* lpFileNames, LONG
dwFlags,LPCMDOPTS pvOptions)
and requests which objects it want to import.
PB calls this function for each 25 objets.
In old versions of pbscc there was a problem: for each SccGet call, pbscc calls
svn update.
But it was solved.
So, I don't see how idea with additional file could help.
To find a root of the problem, please activate pbscc logging through registry,
click "Get Lastest Version" and attach log file here.
--
Dmitry
Original comment by daggett....@gmail.com
on 28 May 2011 at 6:46
Hi Dmitry,
Thanks for your reply!
Do you mean that we cannot do a diff to avoid PB import the objects? just
because PB calls the method SccGet, and you just return the objects which PB
required, and we cannot control whether PB import the objects or not, is it
right?
By the way, the attached is my log file when I click "Get Lastest Version", any
thing please just let me know.
- Harry
Original comment by liuhx1...@gmail.com
on 28 May 2011 at 3:07
Attachments:
one more thing, there is no change in my svn server, but when I clicked "Get
Lastest Version" on a target, PB imported all of the objects in this target,
see log file which I attached in previous comment for detail.
Original comment by liuhx1...@gmail.com
on 28 May 2011 at 3:17
Try to disable option "Perform diff on status update"
in source control configuration of your workspace.
And then recreate the log file for "get latest version"
Thanks,
Dmitry
Original comment by daggett....@gmail.com
on 28 May 2011 at 5:44
The attached is newer log file as you required.
Original comment by liuhx1...@gmail.com
on 29 May 2011 at 1:35
Attachments:
Normally PB should check which objects to import by revision number.
If it's different in PBL's and in SVN then only those objects must be marked
for import in PB.
Do you want to say that all objects are marked for import in your case?
Original comment by daggett....@gmail.com
on 29 May 2011 at 6:01
Actually, the PB doesn't mark any object for import even some objects have
different revision with PBL's, I must select the objects by clicked "Select
All" button for marking objects to import.
For example, look at the attached screenshot, there is no object is marked for
import by default even the second object has been updated by other member.(the
second object should be marked for import by default, how do you think?)
- Harry
Original comment by liuhx1...@gmail.com
on 29 May 2011 at 8:30
Attachments:
PB by default refreshes status of objects every 5 min.
Pb will mark only changed objects after it refresh status.
You can set the refresh rate in source control config to 1 min.
So in ~1min after object has been changed, you have to see this by new icons
(round arrow) near by remotely changed objects.
And PB will mark those objects for import during "get latest version" operation.
--
Dmitry
Original comment by daggett....@gmail.com
on 29 May 2011 at 9:22
Thank you, Dmitry!
but it seems that it doesn't work for me, I changed the refresh rate to 1 min,
I found the file in svn folder have changed to lastest version after 1 min, but
the object in PB has no change( both the content & icons of the object ).
I also try to click the "Refresh Status" menu on the context menu on the
object, but the result is same.
So, is it a PB's bug(my PB version is 8.0.3)? or PBSCC's bug( my PBSCC's
version is 2.01.78 )?
I just suppose a case, maybe you overwrited some code related "Refresh Status",
and it didn't return correct result to PB, so...
- Harry
Original comment by liuhx1...@gmail.com
on 29 May 2011 at 10:49
Hi Dmitry,
Could you please give me any suggestion on my question?
Thanks
Harry
Original comment by liuhx1...@gmail.com
on 1 Jun 2011 at 9:21
Original issue reported on code.google.com by
liuhx1...@gmail.com
on 28 May 2011 at 3:16