Difference between revisions of "User:Osai/SVN Update"

From #openttdcoop wiki

Jump to: navigation, search
(svn suggestions)
 
(No difference)

Latest revision as of 16:19, 26 February 2008

Handling of #openttdcoop NewGrf Package with SVN.


Working with Trunk

Installing a new working copy:
$ svn co -r 56 http://svn.openttdcoop.org/grfpack/trunk ottdc_grfpack

If you already have a working copy, you have to update it:
$ cd ottdc_grfpack
$ svn up -r 56 .

Working with Tags

Installing a new tag:
$ mkdir ottdc_grfpack
$ cd ottdc_grfpack
$ svn co http://svn.openttdcoop.org/grfpack/tags/ottdc_grfpack_7-beta-20080226-r56 .

Updating an existing tag:
$ cd ottdc_grfpack
$ svn sw http://svn.openttdcoop.org/grfpack/tags/ottdc_grfpack_7-20100101-r100

Export

If you export a revision, you won't retrieve .svn files. Instead it is just the same data as in the package:
$ svn export http://svn.openttdcoop.org/grfpack/tags/ottdc_grfpack_7-beta-20080226-r56 ottdc_grfpack

Powered by MediaWiki
  • This page was last modified on 26 February 2008, at 16:19.