Will subversion upgrade CF from 1.60.0 to 1.70.0?
Moderator: Board moderators
-
- Junior member
- Posts: 165
- Joined: Mon Jun 25, 2012 5:33 pm
- Location: Planet Earth
Will subversion upgrade CF from 1.60.0 to 1.70.0?
I noticed that version 1.70.0 has been released, and was wondering if I could use subversion to upgrade to the newer version without having to redownload all the files, since my internet connection is mediocre at best.
That SilverNexus guy? You needn't worry about him.
He is level negative 4 in oratory, and his singing is worse.
He is level negative 4 in oratory, and his singing is worse.
-
- Forum Aficionado
- Posts: 1994
- Joined: Tue Apr 29, 2003 5:55 pm
- Location: Minnesota, USA
- Contact:
How did you download v 1.60.0 ?
Was it from the tags direcory?
(.e., svn co https://crossfire.svn.sourceforge.net/s ... ags/1.60.0 )
If so, then you'll need to use the command svn --relocate to change that URL to 1.70.0 or to change it to trunk if you want the latest (almost daily) changes.
More info can be found at:
http://wiki.metalforge.net/doku.php/cro ... e#download
EDIT: if you use the --relocate command, you will only download the changes; not all the files.
Was it from the tags direcory?
(.e., svn co https://crossfire.svn.sourceforge.net/s ... ags/1.60.0 )
If so, then you'll need to use the command svn --relocate to change that URL to 1.70.0 or to change it to trunk if you want the latest (almost daily) changes.
More info can be found at:
http://wiki.metalforge.net/doku.php/cro ... e#download
EDIT: if you use the --relocate command, you will only download the changes; not all the files.
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Eric Meyer
-
- Junior member
- Posts: 165
- Joined: Mon Jun 25, 2012 5:33 pm
- Location: Planet Earth
According to svn, I am using tags/1.60.0.
When I usedand checked the info again, it still said the URL was tags/1.60.0.
Was I doing something wrong? Or was my computer diabolically planning to drive me insane?
When I used
Code: Select all
svn switch --relocate tags/1.60.0 trunk
Was I doing something wrong? Or was my computer diabolically planning to drive me insane?
That SilverNexus guy? You needn't worry about him.
He is level negative 4 in oratory, and his singing is worse.
He is level negative 4 in oratory, and his singing is worse.
-
- Forum Aficionado
- Posts: 1994
- Joined: Tue Apr 29, 2003 5:55 pm
- Location: Minnesota, USA
- Contact:
Need to use the entire URL with the switch command.
Code: Select all
svn switch --relocate https://crossfire.svn.sourceforge.net/svnroot/crossfire/server/tags/1.70.0
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Eric Meyer
-
- Junior member
- Posts: 165
- Joined: Mon Jun 25, 2012 5:33 pm
- Location: Planet Earth
Okay, I tried that command directly, and svn told me
Then, I triedsince the usage (according to my svn) is
Svn came back withI think I'm still doing something wrong...
EDIT: I triedutilizing the usage information above.
In turn, svn replied:
Then, I tried
Svn replied with no information, but when I checked the info, it told me
Then, in a last ditch effort to try to get this to work, I tried
Svn said nothing, but when I checked info again, it gave me the exact same information as two code boxes above.
I just don't know any more. Could I be on trunk somehow, but my svn thinks I'm not? Or could trunk somehow still have the version number as 1.60.0?
Or, perhaps the most likely, is my svn repository messed up (it once ran on my computer when a fan was installed backward)?
Code: Select all
svn: Try 'svn help' for more info
svn: Not enough arguments provided
Code: Select all
svn switch --relocate https://crossfire.svn.sourceforge.net/svnroot/crossfire/server/tags/1.60.0 https://crossfire.svn.sourceforge.net/svnroot/crossfire/server/tags/1.70.0
Code: Select all
usage: 1. switch URL[@PEGREV] [PATH]
2. switch --relocate FROM TO [PATH...]
Code: Select all
svn: Relocate can only change the repository part of an URL
EDIT: I tried
Code: Select all
svn switch --relocate tags/1.60.0 trunk https://crossfire.svn.sourceforge.net/svnroot/crossfire/server
In turn, svn replied:
Code: Select all
svn: 'https://crossfire.svn.sourceforge.net/svnroot/crossfire' is not a working copy
Code: Select all
svn switch --relocate tags/1.60.0 trunk server
Code: Select all
Path: .
URL: https://crossfire.svn.sourceforge.net/svnroot/crossfire/server/tags/1.60.0
Repository Root: https://crossfire.svn.sourceforge.net/svnroot/crossfire
Repository UUID: 282e977c-c81d-0410-88c4-b93c2d0d6712
Revision: 18309
Node Kind: directory
Schedule: normal
Last Changed Author: mwedel
Last Changed Rev: 14266
Last Changed Date: 2011-01-30 00:04:46 -0500 (Sun, 30 Jan 2011)
Code: Select all
svn switch --relocate server/tags/1.60.0 server/trunk
I just don't know any more. Could I be on trunk somehow, but my svn thinks I'm not? Or could trunk somehow still have the version number as 1.60.0?
Or, perhaps the most likely, is my svn repository messed up (it once ran on my computer when a fan was installed backward)?
Last edited by SilverNexus on Fri Jun 29, 2012 11:20 pm, edited 1 time in total.
That SilverNexus guy? You needn't worry about him.
He is level negative 4 in oratory, and his singing is worse.
He is level negative 4 in oratory, and his singing is worse.
-
- Forum Aficionado
- Posts: 1994
- Joined: Tue Apr 29, 2003 5:55 pm
- Location: Minnesota, USA
- Contact:
Need to update the URL for each directory (archetypes, server, client, maps) one at a time.
cd to your server directory and then enter:
cd to your archetype directory and then enter:
For maps, cd to that directory and enter:
And so on.
cd to your server directory and then enter:
Code: Select all
svn switch https://crossfire.svn.sourceforge.net/svnroot/crossfire/server/tags/1.70.0 .
Code: Select all
svn switch https://crossfire.svn.sourceforge.net/svnroot/crossfire/arch/tags/1.70.0 .
Code: Select all
svn switch https://crossfire.svn.sourceforge.net/svnroot/crossfire/maps/tags/1.70.0 .
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Eric Meyer
-
- Junior member
- Posts: 165
- Joined: Mon Jun 25, 2012 5:33 pm
- Location: Planet Earth
Thank you. It finally worked.
And, on top of that, it gave the me information I so described it not giving in another post (about time...).
Another question, more related to other stuff I've had happen that others have not been able to recreate: since I was on r18309 in tags/1.60.0, should I have had easily over a hundred changes when I switched to trunk, which has r18310?
And, on top of that, it gave the me information I so described it not giving in another post (about time...).
Another question, more related to other stuff I've had happen that others have not been able to recreate: since I was on r18309 in tags/1.60.0, should I have had easily over a hundred changes when I switched to trunk, which has r18310?
That SilverNexus guy? You needn't worry about him.
He is level negative 4 in oratory, and his singing is worse.
He is level negative 4 in oratory, and his singing is worse.
Hello.
Unless I'm mistaking, relocating will get all changes, so it should be the latest commit you're using.
If you're planning on contributing (instead of "merely" playing), I would suggest to use the trunk instead of 1.70 branch. Trunk is where most commits happen, 1.70 only gets some bugfixes.
The code to switch (server) is probably:
and you need to switch arch/maps/client too.
Unless I'm mistaking, relocating will get all changes, so it should be the latest commit you're using.
If you're planning on contributing (instead of "merely" playing), I would suggest to use the trunk instead of 1.70 branch. Trunk is where most commits happen, 1.70 only gets some bugfixes.
The code to switch (server) is probably:
Code: Select all
svn switch https://crossfire.svn.sourceforge.net/svnroot/crossfire/server/trunk .
-
- Junior member
- Posts: 165
- Joined: Mon Jun 25, 2012 5:33 pm
- Location: Planet Earth
Yeah, I noticed some bugs I had encountered were old and fixed bugs, so I did do trunk, since the only difference is the end file as far as syntax is concerned, I just changed the tags/1.70.0 folder to trunk in what I tried.
And I did switch all four pieces, but its good that you made sure.
And I did switch all four pieces, but its good that you made sure.
That SilverNexus guy? You needn't worry about him.
He is level negative 4 in oratory, and his singing is worse.
He is level negative 4 in oratory, and his singing is worse.