Page 1 of 1

Getting plus symbol on binding source control

Posted: Thu Jan 07, 2016 7:23 pm
by Sreeram
I have an existing PowerBuilder 12.5 project that I am evaluating binding to the source control. I was able to get the latest from svn using Agent svn. I added the PowerBuilder target to a new workspace and bound the source control to svn using Agent svn. All I am seeing is, there is a + symbol next to each of the PB objects. Please let me know what is the reason for this. I assume, this means, it is not recognizing the files are bound to the version control while i pulled the files from svn. Please provide some lead so i can see if I am doing some mistake.

Thanks in advance.

Re: Getting plus symbol on binding source control

Posted: Fri Jan 08, 2016 2:43 am
by jussij
All I am seeing is, there is a + symbol next to each of the PB objects.

The plus symbol means the as far as PB is concerned the files ARE NOT in source control and need to be added.

There can be at least four reasons for this:

1. The item are in fact new and as such are not in in the SVN source control repository.

2. The case of the items on the disk is different to the case of the items in source control. SVN is case sensitive whereas the Windows files system is not case sensitive and this can cause problems. To fix this you must make sure the case of the file names and the file folders are the same in the repository and on the local disk. Or you can install a SVN server check in hook that can fix this.

3. The local working folder does not contain a proper Subversion working copy. You can use TortoiseSVN to check this.

4. Your bindings in the PowerBuilder workspace are not correct.
I assume, this means, it is not recognizing the files are bound to the version control while i pulled the files from svn.

I do suspect this is the case as this is normally what happens to first time users of AgentSVN.

More details about how the bindings work can be found here: http://www.zeusedit.com/agent/com/binding.html

Also if you turn on the debugging option and take look at the log file it will tell you much more about what is going on under the hoods.

Also to better understand how the bindings work I strongly recommend working through this three minute tutorial: http://www.zeusedit.com/agent/pb/classic.html

That tutorial will not touch your Subversion repository, but it will give you an idea on how things work.

Finally, if you can't get these bindings to work, turn on the debug option, start PB, open your workspace and send me the Agent SVN log file produced as an e-mail attachment. My e-mail details are found in my user details at the top left corner of this post.

Cheers Jussi

Re: Getting plus symbol on binding source control

Posted: Tue Jan 12, 2016 8:38 pm
by Sreeram
Hi Jussij,
Thank you for your response. I tried the below options, but still cant seem to get it working.
Tried to get your email and not able to pick the email from your profile. The contact page shows blank.
Tried adding the log below but the post does not allow me to complete.
Also, the links that you provided for binding help does not talk about what happens if it is svn:// . Is it the same as the http and file protocols. Please let me know.

Re: Getting plus symbol on binding source control

Posted: Wed Jan 13, 2016 2:56 am
by jussij
Tried to get your email and not able to pick the email from your profile. The contact page shows blank.
There is an e-mail address in the Agent SVN About box and in the Agent SVN help file. Just send the log to one of those addresses.
Also, the links that you provided for binding help does not talk about what happens if it is svn:// . Is it the same as the http and file protocols.
Yes it is exactly the same.

As you point out these are just different protocols, but as far as Agent SVN is concerned the are all the same and need to be configured in an identical manor. Agent SVN works the same way for all protocols.

Cheers Jussi