Technical support > Feature Requests

Information for SVN users (Version 2.x)

(1/1)

Hoehrer:
This information is outdated

Everybody using the current trunk will not get a very stable code and most of the bugfixes that have been reported for 2.0-RC2 are not yet merged into the trunk.

If you want to test the most recent code for 2.x from svn please checkout the ufoai_2 brachn:

--- Code: ---svn checkout https://svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_2
--- End code ---


Don't worry if you think you need to re-download all the stuff if you already have trunk checked out. Just run

--- Code: ---svn switch https://svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_2
--- End code ---

inside the trunk directory to switch to the ufoai_2 branch. The same thing works the other way around as well (branch->trunk)

Read more about the svn structure here:
Coding/Create Release -> Access releases in SVN


Werner

Bandobras:
Under my linux this makes a subdirectory ufoai_2 and dowloads everything anew. :( And when I move up one directory and do

svn co https://svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_2 trunk

it says

svn: 'trunk' is already a working copy for a different URL

Bandobras:
Oh, you mean "svn switch" and not "svn co"! Now it works, thanks. :)

Virtul:
what if somebody will accidentally delete .svn folder in main svn checkout directory? :roll:...

Hoehrer:

--- Quote from: "Virtul" ---what if somebody will accidentally delete .svn folder in main svn checkout directory? :roll:...
--- End quote ---

That''s a good question to which i do not have an answer .. and this would _never_ happen to me anyway ;)

Nah, seriously, i had the same problem and i don't know another answer to that but to checkout the whole thing again :( ...
... but maybe one can save the whole directory, and try checking out only the top files lijke this:


--- Code: ---
$ svn co http://....../ufoai_2  # <-----break it after the first few files, so the .svn dir is back.
# copy the saved directory over ufoai_2
$ svn cleanup
$ svn up

--- End code ---


But i don't know if this works at all.

EDIT: Also maybe a
--- Code: ---svnadmin recover
--- End code ---
could help here.

Werner

Navigation

[0] Message Index

Go to full version