Notes:
- You must have the subversion package installed under Cygwin. Run Setup.exe and fetch the package from a Cygwin mirror, usually the same one which you used to install Cygwin earlier on.
- Subversion is installed in the bin directory. You should be able to see the binary svn.exe in there.
- It is assumed that you are starting in your Cygwin user home.
- Take note that Cygwin Subversion works the same way as its counter part on Linux.
Cygwin and Subversion commands:
Launch Cygwin, of course.
Getting help:
Preparation and Compiling Athena
Create Athena source repository on Cygwin:
Change directory:
Get Athena source code:
where URL is the target repository
$ svn co URL
|
Update Athena source code:
Note that URL is not required
$ svn up
|
Check contents:
Note that the directory name is different on the image.
Create export directory, e.g. C:\Athena, using Cygwin:
$ mkdir /cygdrive/c/Athena
|
This command is seldom used in Cygwin. Note the use of cygdrive to denote a FAT32 or NTFS partition and the use of slash instead of back slash.
If this directory is created, you must use the --force switch when exporting versioned contents from one directory to another, i.e. adding --force after "svn export".
Export source codes:
The above command will do svn export and make directory in one go
$ svn export stable/* /cygdrive/c/Athena
|
If Athena directory already exists, use the following command:
$ svn export --force stable/* /cygdrive/c/Athena
|
To obtain revision number:
|