* * *

Author Topic: [Solved] Set up TortoiseSVN on Windows7?  (Read 2669 times)

Avishai

  • Sr. Member
  • ****
  • Posts: 360
Re: Set up TortoiseSVN on Windows7?
« Reply #15 on: December 17, 2011, 02:41:43 pm »
This is some stupid game from you Avishai. I am out of this game now. You can play it with someone else.

You got instructions to create a directory and do "SVN Checkout" there. I told it, "typo" told it, you even got a screenshot about how to do it with Windows Exprorer + TortoiseSVN.
Even the dummiest person would have understood!
Still you keep on asking the same question about checkout path like you had no idea.
And then became a big surprise that you need FPC to compile Lazarus. Is that right?

I would understand this from a complete newbie but you have been here for some time and you have even provided valid code to Lazarus project!

Juha

I am glad you are out but it was not a game for me.  I gave in to pressure from you to use SVN and now I pay the price.  I do not understand your comment.  It sounds that you are angry with me.  That is absurd.  How did I cause you injury???  By not succeeding?  You like SVN and push it all the time.  I do not like it.  So let us agree to disagree.
Lazarus-1.1-37100-fpc-2.6.1-win64

BlueIcaro

  • Sr. Member
  • ****
  • Posts: 301
Re: Set up TortoiseSVN on Windows7?
« Reply #16 on: December 17, 2011, 03:28:28 pm »

This is some stupid game from you Avishai. I am out of this game now. You can play it with someone else.


Juha, in my country we say: "When you are between two donkeys, you got all kicks".

A read this post, but I didn't wrote, because I think the person who writing has not interest in Lazarus. It's a nonsense post.

If we read carefully, he say: "My boss knows nothing about programing", so why are you trying to install from svn?, please install the release version.
It's like who can't drive, but wants drive a Formula 1 car race.

Also, said: "She is only judging how it effects the system". She can judging the effects in a system and she hasn't a few knowledge about windows, and computers, to install the tortoise using a widzard, and solve the problems of use SVN with a very good help from people of this forum...

I don't know Avishai, what happen with your "boss". But may be you have to think about she wants and talk with her, before start to work and lunch nosense questions, you have problem in your job, no with Lazarus Project or People of this forum.

/BlueIcaro
P.D. I'm sorry if I make a offtopic answer
« Last Edit: December 17, 2011, 03:30:54 pm by BlueIcaro »

Avishai

  • Sr. Member
  • ****
  • Posts: 360
Re: Set up TortoiseSVN on Windows7?
« Reply #17 on: December 17, 2011, 03:34:39 pm »
I am not the only one.
Here is an Email quote from somebody I hope you respect:

""On 17/12/2011 14:18, Felipe Monteiro de Carvalho wrote:
Hello,

I just had a very strange issue which is driving me crazy o.O I
installed the IDE in this computer months ago and I came back and
worked on it a bit and everything went fine. It could build projects,
run them, etc.

So I did svn update and launched my standard build file (unmodified)
to make bigide and get a newer IDE.

To my surprise ever since I haven't been able to get the IDE to work
again =( The basic error is this one:

http://img804.imageshack.us/img804/5927/lazerror1.jpg

Cannot find fpc.cfg which is non-sense, because the file is there in
the same directory as the fpc.exe is ...

If I ignore that I will get tons of errors. It cannot find the basic
lpk files
, but they are all there in their normal positions. My paths
have no spaces and I didn't change anything, not even the start
compiter.

The computer is running Windows Vista so I think it could be one of
the crippy new "features" from Vista which is blocking Lazarus from
being able to read the files or something, although I cannot rule out
some kind of regression ... I already tried to specify the --pcp and
reconfigure everything to no help. Also tried to delete the
configuration directory (I use --pcp=C:\programas\lazarussvn now) ...

Any ideas what could be the problems?

thanks,
"

Sound familiar?  Maybe it has nothing to do with SVN.  Maybe something is wrong with the code.  But it is natural to think that when everything worked before and you make a big change and it brakes, that the change caused the problem.
« Last Edit: December 17, 2011, 03:44:30 pm by Avishai »
Lazarus-1.1-37100-fpc-2.6.1-win64

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 623
Re: Set up TortoiseSVN on Windows7?
« Reply #18 on: December 17, 2011, 04:08:45 pm »
I am not the only one.
Here is an Email quote from somebody I hope you respect:
""On 17/12/2011 14:18, Felipe Monteiro de Carvalho wrote:
...

That seems to be a temporary hiccup in Lazarus trunk. It happens sometimes. I just tested on Windows updating (with TortoiseSVN !) and building Lazarus. No problems whatsoever.

I respect Felipe, yes, but I also respect you. My harsh words may give a different impression.
Do you remember why I recommended an SVN client for you originally? It was because you have participated in Lazarus development and using the SVN connection is almost a necessity then, for many reasons.
You have studied existing code in LCL and made changes that actually work. I know how much it takes. It means you surely are not stupid.
Compared to that, it felt strange you refused to understand very clear instructions for using TortoiseSVN.
You clearly had decided that SVN is difficult and nothing could change your mind. Maybe you are under pressure by other people and it makes such things happen subconsciously.

Your situation is a little peculiar: you must ask from your boss about your hobby-project. Anyways, it is not my business...

I should have a ghost-writer to make my text smoother. Yet, the facts still remain.

Juha

Avishai

  • Sr. Member
  • ****
  • Posts: 360
Re: Set up TortoiseSVN on Windows7?
« Reply #19 on: December 17, 2011, 04:32:32 pm »
Yes, the facts still remain.

1. I installed SVN and set it up.

2. I did Checkout.

3. I tried to compile Lazarus.

4. Lazarus (that worked before) became unusable.

5. Logical conclusion, SVN caused the problem.  Maybe the conclusion was wrong, but logical.

6. I did NOT refuse to follow "clear" instruction.  I followed them to a broken Lazarus.  You still do not understand that I did what you said and I got bad result.  I will try again someday and hopefully the result will be better.

7. My manager is a "control freak", but she is a good manager.  And you are right.  It's not your business.

8. You do not need a ghost writer.  You said what you thought based on your refusal to understand that I did what you said and ended up with a broken Lazarus.  I am convinced now because of Mr. Carvalho's Email that the problem was caused by Lazarus code, and not by SVN.

Everything worked.  I installed SVN per your instruction.  Nothing worked.  These are the facts.

I hope Mr. BlueIcaro is following this as well.  His remarks are even more offensive.

Lazarus-1.1-37100-fpc-2.6.1-win64

Bart

  • Hero Member
  • *****
  • Posts: 791
    • Bart en Mariska's Webstek
Re: Set up TortoiseSVN on Windows7?
« Reply #20 on: December 17, 2011, 05:02:48 pm »
My manager has judged against SVN.  I do not disagree.

I do no disagree because trying to use SVN, now I can not compile Lazarus anymore.  It can not find ANY .lpk files,

You have bad luck and your svn copy had a bug in that particular revision.
Fortunately, these errors in svn have already been fixed (most errors that break the IDE will get fixe very fast), so just do an update and build Lazarus again.
The problem should be gone.

When using svn, every now and then such a thing is going to happen to you.
It all comes with the territory.

The beauty of it all is that at any time you can "update" to a previous revision that did work and then wait until the bug gets fixed.
If you build Lazarus from within the IDE it copies your old lazarus to lazarus.old.exe, so if the new lazarus.exe won't start, you can also simply launch the old one.

Bart

Avishai

  • Sr. Member
  • ****
  • Posts: 360
Re: Set up TortoiseSVN on Windows7?
« Reply #21 on: December 17, 2011, 05:27:37 pm »
Thank you Mr. Bart.  I see what happened now but I think it is too late.  My manager saw what happened so I think she will not agree to try again after I lost half a day of work.  It is unfortunate that I picked such a bad time to install SVN.  I know it was not SVN, but it looked like it.  I know about Lazarus.old.exe but it did not run either.  I had a old version in a zip file and was able to get it running.  Then add some Daily Snapshot updates and get it to compile.  So now I am almost back where I was.  "Some days it just doesn't pay to get out of bed" :)  Anyway, I am back to work and that is good.
Lazarus-1.1-37100-fpc-2.6.1-win64

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 623
Re: Set up TortoiseSVN on Windows7?
« Reply #22 on: December 17, 2011, 05:35:30 pm »
I am convinced now because of Mr. Carvalho's Email that the problem was caused by Lazarus code, and not by SVN.

If that is true then you had a bad luck. Trunk may have many bugs but most of them don't prevent building or using the IDE.
It is almost like some "invisible evil forces" are against your SVN experiments. :)
... but no worries, we will beat those evil forces in the end and make your SVN connection work.

I understood you actually got the Lazarus sources from SVN. Then you need to have a proper compiler. Run "fpc -version" to verify it works.
Then, if you have a working SVN version, there is ALMOST nothing that can go wrong.
One possible problem still comes to mind: if you installed Delphi, or updated its installation after installing FPC,
typing "make" finds the Borland's "make" which is not compatible. It can safely be removed or renamed, you will not need it with Delphi GUI apps.

I honestly don't know anything else that could go wrong...

Juha

ludob

  • Hero Member
  • *****
  • Posts: 623
Re: Set up TortoiseSVN on Windows7?
« Reply #23 on: December 17, 2011, 05:45:53 pm »
Quote
I honestly don't know anything else that could go wrong...
If you want to run snapshot and svn side by side you better separate the config files: http://wiki.lazarus.freepascal.org/Multiple_Lazarus

Avishai

  • Sr. Member
  • ****
  • Posts: 360
Re: Set up TortoiseSVN on Windows7?
« Reply #24 on: December 18, 2011, 12:06:11 pm »
The never ending sage of installing SVN.  I installed TortoiseSVN again after uninstalling it yesterday.  But now I do not have "Checkout".  I tried cleaning the Registry and re-installing again but that did not help.  How can I get "Checkout" back?
Lazarus-1.1-37100-fpc-2.6.1-win64

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 623
Re: Set up TortoiseSVN on Windows7?
« Reply #25 on: December 18, 2011, 12:36:14 pm »
The never ending sage of installing SVN.  I installed TortoiseSVN again after uninstalling it yesterday.  But now I do not have "Checkout".  I tried cleaning the Registry and re-installing again but that did not help.  How can I get "Checkout" back?

"SVN Checkout ..." is shown for directories which don't have a repository inside them yet.
If there is a repository then "SVN Update" is shown. You can use it if you already once got the files successfully.
If you want to start from beginning, you can delete the directory and create a new one.

Juha

Avishai

  • Sr. Member
  • ****
  • Posts: 360
Re: Set up TortoiseSVN on Windows7?
« Reply #26 on: December 18, 2011, 01:01:21 pm »
Thank you Mr. JuhaManninen.  "Checkout" magically reappeared and I was able to do checkout. :) But when I un-installed SVN and cleaned things up yesterday, I also deleted the Repository.  I do not have "Set up Repository" as a menu choice now.  But SVN "appears" to be working without it.  I did Checkout and SVN Update without a problem.  Do I need "Set up Repository"?
Lazarus-1.1-37100-fpc-2.6.1-win64

Bart

  • Hero Member
  • *****
  • Posts: 791
    • Bart en Mariska's Webstek
Re: Set up TortoiseSVN on Windows7?
« Reply #27 on: December 18, 2011, 01:22:44 pm »
Do I need "Set up Repository"?

AFAIK no.

Bart

Avishai

  • Sr. Member
  • ****
  • Posts: 360
Re: Set up TortoiseSVN on Windows7?
« Reply #28 on: December 18, 2011, 01:30:05 pm »
Thank you Mr. Bart.  :D  I think a big Hurrah is in order.  It looks like with the help of some very good (and very patient) friends, I now have a working SVN.  What a difference a day makes.  I guess sometimes timing is everything.  If I didn't happen to get a broken Lazarus the very first time, all would have been much different.

A very big Thank You to all those that helped me.
Lazarus-1.1-37100-fpc-2.6.1-win64

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads