* * *

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

Avishai

  • Sr. Member
  • ****
  • Posts: 360
[Solved] Set up TortoiseSVN on Windows7?
« on: December 16, 2011, 07:42:27 am »
OK, My manager has finally agreed to look at TortoiseSVN and to judge if I can use it :)  But she wants me to write how to install and set up for Lazarus on Windows7.  She will set up Lazarus on C:\Lazarus.  I have not used  TortoiseSVN  and I read the Wiki.  It is not clear what to do.  Can somebody please explain for me the steps?  I think I can understand to get TortoiseSVN and install, but what to do with checkout?  Where is the best place for it?  After she does checkout, what does she do with latest files?  Does she copy to C:\Lazarus and recompile Lazarus?  I do not find anything that tells how to use it, only to install it.  If she has problems I am sure she will judge not to allow it on my computer so I must give good instructions.
« Last Edit: December 18, 2011, 01:44:14 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 #1 on: December 16, 2011, 10:53:25 am »
You make it sound so difficult :)
TortoiseSVN has a standard Windows installer. Installing it is easy.

Then just create a directory C:\Lazarus using Windows Explorer (= file manager) and checkout Lazarus sources there.
It is documented :
 http://wiki.lazarus.freepascal.org/TortoiseSvn

Juha

P.S.
Can you please ask your boss why she is so careful with TortoiseSVN but she had no problem with Lazarus snapshots which are downloaded from some unknown servers in Hungary.
Source code downloaded with TortoiseSVN can NOT harm your computer (before compiling it) because it is only text and some images.
On the other hand, a snapshot program, not tested by anyone, could in theory eat all files in your computer or make it explode or whatever.
« Last Edit: December 16, 2011, 11:01:59 am by JuhaManninen »

Avishai

  • Sr. Member
  • ****
  • Posts: 360
Re: Set up TortoiseSVN on Windows7?
« Reply #2 on: December 16, 2011, 10:59:53 am »
Thank you Mr. Juha :)

She got Lazarus from SourceForge. She does not use Lazarus and does not know programming.  She is only judging how it effects the system.  The tech will do actual testing I think and what must happen with the firewall.
Lazarus-1.1-37100-fpc-2.6.1-win64

Avishai

  • Sr. Member
  • ****
  • Posts: 360
Re: Set up TortoiseSVN on Windows7?
« Reply #3 on: December 16, 2011, 12:26:52 pm »
"Set up repository".  Where???  What is good practice?  Should it be separate from Lazarus?  In the end, I want "C:\Lazarus" for working directory.
Lazarus-1.1-37100-fpc-2.6.1-win64

typo

  • Hero Member
  • *****
  • Posts: 1368
Re: Set up TortoiseSVN on Windows7?
« Reply #4 on: December 16, 2011, 12:58:31 pm »
Create a new folder for that.

Avishai

  • Sr. Member
  • ****
  • Posts: 360
Re: Set up TortoiseSVN on Windows7?
« Reply #5 on: December 16, 2011, 01:06:30 pm »
OK. I have Repository in "C:\LazSVN" and I have "C:\Lazarus" and did SVN Checkout and SVN Update in C:\Lazarus.  I have some of the file now but I do not have Lazarus.exe or ppcx64.exe???  I do not have C:\Lazarus\FPC and other files/directories and some files/directories I do have.  Maybe not so simple after all.  The Wiki is not clear at all.
« Last Edit: December 16, 2011, 01:36:40 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 #6 on: December 16, 2011, 02:02:49 pm »
http://wiki.lazarus.freepascal.org/Getting_Lazarus#Using_the_command-line

The page explains the command to run: "make"

Of course you need FPC installed before you can compile Lazarus. That should be clear for you based on our earlier discussions.
The wiki page also explains how to install FPC trunk but you don't need it. You can use the released FPC 2.4.4 or 2.6.0 RC1 if you like.

Easy!

Juha

Avishai

  • Sr. Member
  • ****
  • Posts: 360
Re: Set up TortoiseSVN on Windows7?
« Reply #7 on: December 16, 2011, 02:06:45 pm »
Easy!  Of Course!!  Going to the moon is easy once you know how.  Getting SVN set up by following the Wiki NOT easy, unless you already know how. I am beginning to regret ever asking for it.
Lazarus-1.1-37100-fpc-2.6.1-win64

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 623
Re: Set up TortoiseSVN on Windows7?
« Reply #8 on: December 16, 2011, 02:19:42 pm »
Easy!  Of Course!!  Going to the moon is easy once you know how.  Getting SVN set up by following the Wiki NOT easy, unless you already know how. I am beginning to regret ever asking for it.

:)

The Getting Lazarus wiki page has much more stuff than is necessary.
You really just need to install FPC and then run "make" (or "make all") in Lazarus dir.

FPC has nice installation binaries here:
http://freepascal.org/download.var

You have a Windows machine so you can go directly to the mirror link here:
http://freepascal.org/down/i386/win32-hungary.var

... and there click the link "fpc-2.4.4.i386-win32.exe".
Run the installer and that's it.

[Edit] You can also use directly the FPC already installed with one of your snapshots, as has been written on this forum earlier.

Juha
« Last Edit: December 16, 2011, 02:38:36 pm by JuhaManninen »

Avishai

  • Sr. Member
  • ****
  • Posts: 360
Re: Set up TortoiseSVN on Windows7?
« Reply #9 on: December 16, 2011, 05:37:19 pm »
So what should my directory structure look like? 
"C:\Lazarus" (with Checkout here)
or
"C:\Lazarus" + "C:\Lazarus\SVN (with checkout here)"?
Lazarus-1.1-37100-fpc-2.6.1-win64

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 623
Re: Set up TortoiseSVN on Windows7?
« Reply #10 on: December 16, 2011, 05:49:15 pm »
So what should my directory structure look like? 
"C:\Lazarus" (with Checkout here)
or
"C:\Lazarus" + "C:\Lazarus\SVN (with checkout here)"?

You can checkout to any directory you want.

Avishai

  • Sr. Member
  • ****
  • Posts: 360
Re: Set up TortoiseSVN on Windows7?
« Reply #11 on: December 17, 2011, 08:40:58 am »
My manager has judged against SVN.  I do not disagree. 
Lazarus-1.1-37100-fpc-2.6.1-win64

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 623
Re: Set up TortoiseSVN on Windows7?
« Reply #12 on: December 17, 2011, 12:07:24 pm »
My manager has judged against SVN.  I do not disagree.

What about getting your own computer, so you don't need to ask from your boss?
I don't know the situation in your country but at least here some 7+ year old used computers with 521 MB memory are almost free. People carry them to recycling centers because new Windows versions don't run on them.
When you install Linux to such machine it is good for Lazarus development and for many other things.

Juha

Avishai

  • Sr. Member
  • ****
  • Posts: 360
Re: Set up TortoiseSVN on Windows7?
« Reply #13 on: December 17, 2011, 12:42:37 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,  "This is not member of That"...  All I get is ERRORS ERRORS ERRORS.  When I am not angry anymore I will find a way to fix it.  But now I must use old version of Lazarus that I saved.  Daily Snapshots worked without many problems.  I tried to use SVN and now everything is broken.  You can say I did something wrong but setting up SVN is NOT "Easy" and it makes many problems.  And for what???  What is in SVN will be in Daily Snapshots in 2 or 3 days.  I will use Daily Snapshots. It really IS "Easy".
Lazarus-1.1-37100-fpc-2.6.1-win64

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 623
Re: Set up TortoiseSVN on Windows7?
« Reply #14 on: December 17, 2011, 02:21:06 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!

[Edit] ... or maybe the female boss got you under her spell and makes you look more stupid than you are ... sorry :)

Juha
« Last Edit: December 17, 2011, 02:33:36 pm by JuhaManninen »

 

Recent

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