Page 1 of 1

Agent SVN and PowerBuilder

Posted: Thu Feb 16, 2012 11:52 pm
by jussij
I have create a detailed set of instructions as to how integrate Agent SVN with PowerBuilder.

These instructions can be found here.

Cheers Jussi

Posted: Wed Oct 31, 2012 9:05 pm
by jesus soto
hello...

i follow yours instructions for powerbuilder 12.5 and they work fine. i need instructions on how to use or import a new repository created with collabnet subversion edge (latest version). i can find clear instructions on this subject. i need to be able to run or view reports of changes on the source code for compliance purposes....

i purchased agent svn installed subversion but i can not get it to work outside the local repository....

thanks
jsoto

Posted: Wed Oct 31, 2012 11:10 pm
by jussij
Hi jsoto,
i can not get it to work outside the local repository....
I am happy to help you with this. You will need to give me the following details:

The SVN protocol you are planning to use.

The URL of your remote repository

The URL is the location of the SVN repository and I will look something like this:

https://your_svn_repository/

or this:

svn://your_svn_repository/

Also do this:

(1) Start the Agent SVN Configuration utility and turn on the 'Help debug SVN..' option.

(2) Click on the ... button to find the log file location. It will be something like this:

Code: Select all

C:\Documents and Settings\<Your User ID>\Local Settings\Application Data\Xidicone\Agent SVN\AgentSVN.log
(3) Start Power Builder and open a project.

(4) Send me the Agent SVN log file that is produced.

Cheers Jussi

AgentSVN slow when processing target level operations.

Posted: Mon Nov 04, 2013 3:45 pm
by shipo
Hey All,

I've just moved to a new company and am using SVN for the first time. Prior to changing jobs I'd been using Perforce SCC with PowerBuilder 12.5, and now I'm leading the effort at my new company to hook their PowerBuilder 12.5 developers into their corporate SVN repository.

I just downloaded an evaluation copy of AgentSVN and am attempting to use it, unfortunately it seems very-very slow when performing target level operations. Our app has roughly 2,000 objects spread out across 50+ PBLs, and as a test I changed two objects, selected "Check In" from the target level context menu and I waited, and waited, and waited. It took over ten minutes before the "Check In" dialog box came up, not exactly acceptable performance.

While I haven't tried PushOK yet, one of my new co-workers claims this isn't an issue with that interface.

Is there a configuration setting which will speed things up, or is this as good as it gets with AgentSVN?

Regards,
Dale

Posted: Mon Nov 04, 2013 11:05 pm
by jussij
Hi Dale,
I just downloaded an evaluation copy of AgentSVN and am attempting to use it, unfortunately it seems very-very slow when performing target level operations.
EDIT UPDATE: Agent SVN can run very slowly if there is a mismatch between the versions of the SVN client and the SVN server.

For details on how to fix this refer to this link: http://www.zeusedit.com/zforum/viewtopic.php?t=7167

If the above fix does not work then start the Agent SVN configuration utility and look for the debugging option.

Could you turn on that debugging, peform the operation that is running slowly and send me the resulting file as an e-mail attachment. You can use the e-mail button below.

You can find the location of the log file using the ... button.
It took over ten minutes before the "Check In" dialog box came up
That definitely sound like something is not right, but the log file should hopefully show where and why the slowdown is happening.

Cheers Jussi

Posted: Thu Nov 14, 2013 7:32 am
by jussij
It appears this slowdown was caused by the fact Agent SVN uses the --show-updates option when running the Subversion status command.

That option forces the Subversion client (which Agent SVN uses) to connect to the remote Subversion server to get the latest status information.

It is this connection back to the server that is taking such a long time to return and as such it looks like this is in fact an issue with Subversion itself :?

But a new Agent SVN beta version has been created that tries to work around this issue in two ways.

1) The SccQueryInfoEx function that PowerBuilder calls to get information about the objects contained in the PB project now uses the Subversion info command to get the required revision information.

2) In the Agent SVN configuration utility there is new option disable the use of the --show-updates option whenever the status Subversion command is run.

The new beta version can be found here: http://www.zeusedit.com/agent/bin/asvn-beta.zip

Cheers Jussi

Posted: Thu Mar 27, 2014 12:07 pm
by jussij
This latest Agent SVN beta adds status caching so be more responsive when getting the status of objects in the project.

Just make sure the cache option is turned on in the configuration dialog.

There latest Agent SVN beta can be found here: http://www.zeusedit.com/agent/bin/asvn-beta.zip

Cheers Jussi

Posted: Fri Jun 27, 2014 12:42 am
by jussij
Agent SVN can run very slow if there is a mismatch between the SVN client and the SVN server.

For details on how to fix this refer to this link: http://www.zeusedit.com/zforum/viewtopic.php?t=7167

Cheers Jussi