[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: upgrading source code in local repository

From: Andreas Krey <a.krey_at_gmx.de>
Date: Mon, 1 Aug 2011 16:47:50 +0200

On Fri, 29 Jul 2011 19:17:36 +0000, Brecht Ameije wrote:
...
> But when I try it, I doesn't work as flawless as I thought it would:
> It dumps a list with all added/deleted files and gives each of them a
> number.
> Than you have to manually connect the correct numbers to say which ones
> are actually renamed files. A very tedious job, as there are +100 different
> files and the lists aren't even sorted alphabetically :(

git-svn may be of help here. (git does not track renames but instead
infers them from content afterwards.) It looks like when you do

git svn clone $your_svn_url workdir
cd workdir
(remove everyting except .git dir)
(unpack new tar file)
git add --all .
git svn dcommit

it will put the proper rename infos into svn.

Your mileage may vary, have backups, and git-svn isn't or weren't quite
easy to install (the libsvn perl stubs (make swig-pl-lib), that is).

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
Received on 2011-08-01 16:48:24 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.