Tremulous Forum

Mods => Modding Center => Topic started by: rotacak on May 14, 2011, 11:03:48 am

Title: SVN revisions after import
Post by: rotacak on May 14, 2011, 11:03:48 am
Is possible to import svn sources with current revisions? I cant achieve it, still have everywhere revision 1 after import. Using TortioiseSVN.
Title: Re: SVN revisions after import
Post by: gimhael on May 15, 2011, 06:41:12 am
svn has no command to clone a whole repository. If you have direct access to the repository on the server, you can just copy the whole tree or you could write a script that reads the log, checks out every revision and commits them to a new repository.

If you just want to keep a repository of your own patches which can be synced with the master svn server, I found that git-svn is a good solution. It can "clone" a svn repository into git and later you can later fetch updates from the svn master.
Title: Re: SVN revisions after import
Post by: Thorn on May 20, 2011, 02:12:01 pm
svn has no command to clone a whole repository.

svnsync