anzen516 Posted July 7, 2013 Report Share Posted July 7, 2013 Hi,I am new to these forums. I hope I am posting this topic in the right place. Do tell me if I need to correct anything. I am trying to build the 0AD source code for Ubuntu 12.04 (64-bit). So far, I have not even been able to download the code.I tried cloning from git, but the 'remote hung unexpectedly'. There are about 219055 objects in all. After about some 2000 objects were downloaded, the clone failed. So I tried with depth = 1. The clone failed after almost an equal number of objects were received.I tried git svn, cloning directly from the svn repo. But in this case, after creating a .git directory partially, the command terminates prematurely without any errors. git log informs : 'fatal: bad default revision 'HEAD''. This is the command that I used : git svn clone http://svn.wildfireg...ublic/ps/trunk/ 0ad -s.(The reason I used git svn is that it is said to be resumable in case an update is interrupted, as my connection is unstable.)I also tried : git svn clone -r13536:HEAD http://svn.wildfireg...ublic/ps/trunk/ 0ad -sSame problem. The clone stops abruptly without any error messages. git svn fetch : also does not resume or complete the clone.I have not yet tried cloning from svn directly as I am not used to svn. Is there any way around this problem? Or will I have to start with subversion. I am not sure, but I have read that downloading from subversion can be huge when compared to git. I am afraid I don't have an unlimited (internet) plan. Quote Link to comment Share on other sites More sharing options...
caesarinf Posted July 7, 2013 Report Share Posted July 7, 2013 (edited) Take a look at the Build Instructions page, it should give you the information you need:http://trac.wildfire...ildInstructionssvn co http://svn.wildfiregames.com/public/ps/trunk/ 0adgit clone https://github.com/0ad/0ad.gitI hope that you can get the code now. Edited July 8, 2013 by caesarinf Quote Link to comment Share on other sites More sharing options...
anzen516 Posted July 8, 2013 Author Report Share Posted July 8, 2013 Of course I followed the Build Instructions. What I meant from the above post is that the git clone does not complete. I also tried git svn. But it does not work either. I wanted to know if at all the code can be cloned using git.I have now started cloning from svn. It is working. Quote Link to comment Share on other sites More sharing options...
Pureon Posted July 8, 2013 Report Share Posted July 8, 2013 Let us know if you experience any more issues. Both GIT and SVN should be working.The GIT mirror may be a few revisions behind the SVN repo as it's updated manually. Quote Link to comment Share on other sites More sharing options...
caesarinf Posted July 8, 2013 Report Share Posted July 8, 2013 Of course I followed the Build Instructions. What I meant from the above post is that the git clone does not complete. I also tried git svn. But it does not work either. I wanted to know if at all the code can be cloned using git.I have now started cloning from svn. It is working.I just finished downloading it all using git clone, so it is working fine. Maybe you should check for connection issues since it could be what is interrupting your downloading. Quote Link to comment Share on other sites More sharing options...
anzen516 Posted July 8, 2013 Author Report Share Posted July 8, 2013 Thanks for confirming it. It must be some connection-oriented issue. Git simply does not work. I am downloading from svn. I've so far downloaded about 700mb, thanks to resume-like support in svn. Quote Link to comment Share on other sites More sharing options...
feneur Posted July 8, 2013 Report Share Posted July 8, 2013 If the SVN checkout fails it should be possible to just use SVN update to get it all. It's fairly common that there will be some error when trying to checkout everything, but in that case it's usually just to update and you'll eventually get everything. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.