project-navigation
Personal tools

Author Topic: Information for SVN users (Version 2.x)  (Read 5122 times)

Hoehrer

  • Guest
Information for SVN users (Version 2.x)
« on: June 17, 2006, 06:37:19 pm »
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: [Select]
svn checkout https://svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_2

Don't worry if you think you need to re-download all the stuff if you already have trunk checked out. Just run
Code: [Select]
svn switch https://svn.sourceforge.net/svnroot/ufoai/ufoai/branches/ufoai_2
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

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Information for SVN users (Version 2.x)
« Reply #1 on: June 17, 2006, 07:12:11 pm »
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

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Information for SVN users (Version 2.x)
« Reply #2 on: June 17, 2006, 07:17:21 pm »
Oh, you mean "svn switch" and not "svn co"! Now it works, thanks. :)

Virtul

  • Guest
Information for SVN users (Version 2.x)
« Reply #3 on: June 18, 2006, 11:11:19 pm »
what if somebody will accidentally delete .svn folder in main svn checkout directory? :roll:...

Hoehrer

  • Guest
Information for SVN users (Version 2.x)
« Reply #4 on: June 18, 2006, 11:43:14 pm »
Quote from: "Virtul"
what if somebody will accidentally delete .svn folder in main svn checkout directory? :roll:...

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: [Select]

$ 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


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

EDIT: Also maybe a
Code: [Select]
svnadmin recover could help here.

Werner