using SVN to download a stable version

General feedback and discussion of the game.

Moderator: Forum Moderators

Post Reply
vvb
Posts: 33
Joined: July 1st, 2007, 6:28 pm
Location: Russia, Nijniy Novgorod
Contact:

using SVN to download a stable version

Post by vvb »

Is it possible to use a SVN to download a stable version?
For example, last stable version is 1.6.4. Changelog is http:// svn.gna.org/viewcvs/wesnoth/tags/1.6.4/players_changelog?rev=36631&view=download
Is rev=36631 means that SVN version 36631 is 1.6.4 version?
If I give

Code: Select all

 svn update -r 36631 http://svn.gna.org/svn/wesnoth/trunk wesnoth
It says that is 1.7... version...
silene
Posts: 1109
Joined: August 28th, 2004, 10:02 pm

Re: using SVN to download a stable version

Post by silene »

vvb wrote:Is it possible to use a SVN to download a stable version?
Yes it is. But you have to keep in mind that SVN is a strange system that copies older versions elsewhere in the tree. So if you download the "trunk" part of the tree, you will necessarily get the trunk version. If you want 1.6, you should point svn to "branches/1.6" or "tags/1.6.4" instead. No need to use a revision number by the way.
Soliton
Site Administrator
Posts: 1686
Joined: April 5th, 2005, 3:25 pm
Location: #wesnoth-mp

Re: using SVN to download a stable version

Post by Soliton »

Well, don't use trunk if you really want tags/1.6.4.

Code: Select all

svn checkout http://svn.gna.org/svn/wesnoth/tags/1.6.4
or if you want to switch from a trunk checkout for example:

Code: Select all

svn switch http://svn.gna.org/svn/wesnoth/tags/1.6.4
"If gameplay requires it, they can be made to live on Venus." -- scott
vvb
Posts: 33
Joined: July 1st, 2007, 6:28 pm
Location: Russia, Nijniy Novgorod
Contact:

Re: using SVN to download a stable version

Post by vvb »

The main idea is to decrease traffic.
If I keep updating trunk SVN and use "svn switch" everytime stable release is come out, will it be efficient?
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: using SVN to download a stable version

Post by zookeeper »

vvb wrote:The main idea is to decrease traffic.
If I keep updating trunk SVN and use "svn switch" everytime stable release is come out, will it be efficient?
Yes. It'll only download/update the files which differ between those two branches. When you switch your trunk checkout to for example 1.8 after 1.8 has been released, there's going to be very few changes.
vvb
Posts: 33
Joined: July 1st, 2007, 6:28 pm
Location: Russia, Nijniy Novgorod
Contact:

Re: using SVN to download a stable version

Post by vvb »

zookeeper wrote:Yes. It'll only download/update the files which differ between those two branches.

The main idea was to decrease traffic.
I've give command:

Code: Select all

svn switch http://svn.gna.org/svn/wesnoth/tags/1.6.4 wesnoth
to SVN 36631 version. I thought that 36631 was closest revision to 1.6.4... but it still updating and updating... keeps downloading more and more...
Soliton
Site Administrator
Posts: 1686
Joined: April 5th, 2005, 3:25 pm
Location: #wesnoth-mp

Re: using SVN to download a stable version

Post by Soliton »

vvb wrote:I thought that 36631 was closest revision to 1.6.4... but it still updating and updating... keeps downloading more and more...
That revision does not exist on trunk so you weren't on it if you're switching from trunk. By now I guess there are quite some differences between 1.6 and 1.7 so if you want to follow both with minimal traffic you need to have checkouts for both.
"If gameplay requires it, they can be made to live on Venus." -- scott
vvb
Posts: 33
Joined: July 1st, 2007, 6:28 pm
Location: Russia, Nijniy Novgorod
Contact:

Re: using SVN to download a stable version

Post by vvb »

Soliton wrote:... if you want to follow both with minimal traffic you need to have checkouts for both.

Well... I had trunk SVN (36631). After command

Code: Select all

svn switch http://svn.gna.org/svn/wesnoth/tags/1.6.4 wesnoth
I have 1.6.4 (revision 37875).
If next stable release will come out (say, 1.6.5). Which command should I use to update 1.6.4 to 1.6.5?
Soliton
Site Administrator
Posts: 1686
Joined: April 5th, 2005, 3:25 pm
Location: #wesnoth-mp

Re: using SVN to download a stable version

Post by Soliton »

vvb wrote: If next stable release will come out (say, 1.6.5). Which command should I use to update 1.6.4 to 1.6.5?

Code: Select all

svn switch http://svn.gna.org/svn/wesnoth/tags/1.6.5
"If gameplay requires it, they can be made to live on Venus." -- scott
User avatar
pauxlo
Posts: 1047
Joined: September 19th, 2006, 8:54 pm

Re: using SVN to download a stable version

Post by pauxlo »

Soliton wrote:
vvb wrote:I thought that 36631 was closest revision to 1.6.4... but it still updating and updating... keeps downloading more and more...
That revision does not exist on trunk so you weren't on it if you're switching from trunk.
Every revision "exists on trunk" ... or, better said, there is a trunk directory tree in every revision.
It may be the same as the revision before, when this revision did not change anything on trunk, but it exits.
Post Reply