Development > Newbie Coding
Switch from svn to git without redownloading everything?
Mattn:
i've checked in a c::b project file that works with the makefiles in the background - just make sure your sdl-config is returning the correct path for sdl-config --cflags - in the c::b package we offer for download it points to dave's home dir - which will of course fail for everyone else. If you get a SDL_opengl.h not found error, this is due to the wrong path in sdl-config
Duke:
Please read this:
http://ufoai.ninex.info/forum/index.php?topic=5435.msg43566#msg43566
O01eg:
--- Quote from: Mattn on September 27, 2010, 01:55:19 pm ---use rsync:
--- Code: ---rsync -av ufoai.git.sourceforge.net::gitroot/ufoai/* $DIR_TO_PLACE_THE_REPO_IN
--- End code ---
rename the directory into .git and move it into ufoai/.git
edit ufoai/.git/config and change the bare boolean to false
go into ufoai and checkout your working copy
--- Code: ---git remote set-url --push origin ssh://USER@ufoai.git.sourceforge.net/gitroot/ufoai/ufoai
git remote set-url origin git://ufoai.git.sourceforge.net/gitroot/ufoai/ufoai
--- End code ---
i have to admit that i've never ever tested this - but it should work, as it is a repository clone, too.
but the advantage is, that rsync can get continued
--- End quote ---
--- Code: ---receiving incremental file list
rsync: send_files failed to open "/ufoai/ufoai/objects/pack/pack-cc998cb5595939311e254e994c9f6edf4317a739.keep" (in gitroot): Permission denied (13)
--- End code ---
Is it normal and I can exclude this file?
Also, after `git remote set-url origin git://ufoai.git.sourceforge.net/gitroot/ufoai/ufoai` I got "fatal: No such remote 'origin'"
Navigation
[0] Message Index
[*] Previous page
Go to full version