Author Topic: Getting the Code  (Read 2659 times)

discodowney

  • Guest
Getting the Code
« on: 15 June 2010, 12:25:34 »
Hi,

Im considering using MegaGlest for my masters thesis. But i need to look at the code first to be sure it fits.
I have Tortoise SVN on the laptop but when i put svn co https://megaglest.svn.sourceforge.net/svnroot/megaglest megaglest into a command window it doesnt work. Im pretty new with SVN and rarely, rarely use the command line for anything, so can someone tell me what im doing wrong. The error i get is:

svn is not recognised as an internal or external command, operable program or batch file.

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Re: Getting the Code
« Reply #1 on: 15 June 2010, 12:38:36 »
I'm a complete newbie to svn, but I think the "svn co" command is for Linux users....... :look:
Egypt Remastered!

Proof: Owner of glest@mail.com

discodowney

  • Guest
Re: Getting the Code
« Reply #2 on: 15 June 2010, 12:43:16 »
Okay, Cheers. Any idea how to get it for windows?

claymore

  • Guest
Re: Getting the Code
« Reply #3 on: 15 June 2010, 13:21:35 »
Tortoisesvn is implemented as a shell extension on windows, so create a directory for it (say C:\glest-compile), right-click on the folder and choose "SVN checkout", which should be there if you've installed it correctly. Then enter  https://megaglest.svn.sourceforge.net/svnroot/megaglest/  for the repository URL.

discodowney

  • Guest
Re: Getting the Code
« Reply #4 on: 15 June 2010, 13:30:32 »
Grand. That works. Thanks.

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
Re: Getting the Code
« Reply #5 on: 15 June 2010, 20:36:17 »
I suggest you go here for developer instructions:

https://forum.megaglest.org/index.php?topic=5303.msg45908#msg45908

Thanks

discodowney

  • Guest
Re: Getting the Code
« Reply #6 on: 24 August 2010, 11:26:54 »
So got a new laptop and need to download the code again. Ive got Tortoise SVN installed and i have a folder that im doing SVN checkout on. It starts to download the code but after a few minutes i get an error saying:

Error: Can't move  
Error: 'C:\Users\Downey\Documents\College\Masters\MegaGlest\trunk\data\glest_game\techs\megapack\factions\egypt\upgrades\spear_weapons\images\.svn\tmp\entries'  
Error: to  
Error: 'C:\Users\Downey\Documents\College\Masters\MegaGlest\trunk\data\glest_game\techs\megapack\factions\egypt\upgrades\spear_weapons\images\.svn\entries':  
Error: The file or directory is corrupted and unreadable.  
Finished!:  

Then i right click on the folder and do SVN Update and it starts off again but stops with the same error just on a different file.
Anyone who works with SVN get this problem or know how to fix it?
EDIT: Actually the problem only seems to come up when im moving files to the .svn folder, as above. And i dont think they are downloading when i Update after the download fails.

Cheers
« Last Edit: 24 August 2010, 11:32:14 by discodowney »

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
Re: Getting the Code
« Reply #7 on: 24 August 2010, 15:24:24 »
Just delete the folder:

C:\Users\Downey\Documents\College\Masters\MegaGlest\trunk\data\glest_game\techs\megapack\factions\egypt\upgrades\spear_weapons\images

and do an svn update on the spear_weapons folder and it should re-get the contents underneath.

discodowney

  • Guest
Re: Getting the Code
« Reply #8 on: 24 August 2010, 17:00:43 »
its happening every time something gets put into a .svn folder.
Ill be here all night if i have to sit in front of the laptop and do that every time. ill do it if i have to but anyone know how to fix the problem completely?

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Getting the Code
« Reply #9 on: 24 August 2010, 17:34:19 »
It's a bug in your operating system.

Its vendor decided to introduce a new bug feature in its newest OS version which, in combination with such rare applications like subversion repositories (and possibly other applications), nicely corrupts the newest version of its file system. This vendor binds file systems and file system versions to operating system and kernel versions for whatever reason - possibly to prevent bugs?  :look:

Anyway, there is a patch available, download access to which can be requested in exchange for your email address since it's a "not fully-tested" patch for this pretty serious issue which is known to the general public since at least late last year and to the OS vendor since at least February this year.
« Last Edit: 24 August 2010, 17:43:44 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

discodowney

  • Guest
Re: Getting the Code
« Reply #10 on: 24 August 2010, 18:02:14 »
Cheers. A "not fully-tested" patch. Sounds very risky. Have you downloaded it yourself?

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Getting the Code
« Reply #11 on: 24 August 2010, 19:00:45 »
I haven't tried myself, I run Linux.

I guess the fact that the knowledge base article hasn't been edited for a while could possibly be considered as some indication what the patch hasn't broken too many installations. The first link I posted does provide a possible (no-patch) workaround if you prefer this, though.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

discodowney

  • Guest
Re: Getting the Code
« Reply #12 on: 24 August 2010, 19:02:16 »
Okay. cheers for the help. Ill give both a shot

discodowney

  • Guest
Re: Getting the Code
« Reply #13 on: 25 August 2010, 11:50:57 »
The link above says the following is the crux of the problem:

This is a known regression in Windows 7 in the NTFS file system.  It occurs when doing a superseding rename over a file that has an atomic oplock on it (atomic oplocks are a new feature in Windows 7).  The indexer uses atomic oplocks which is why it helped when you disabled the indexer.  Explorer also uses atomic oplocks which is why you are still seeing the issue.  When this occurs STATUS_FILE_CORRUPT is incorrectly returned and the volume is marked "dirty" which is a signal to the system that chkdsk needs to be run.  No actual corruption has occurred.

Then it says to disable the indexing service.

anyone know how to do this?

silnarm

  • GAE Team
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Getting the Code
« Reply #14 on: 25 August 2010, 13:51:58 »
Glest Advanced Engine - Code Monkey

Timeline | Downloads