subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Krey <a.k...@gmx.de>
Subject Re: upgrading source code in local repository
Date Mon, 01 Aug 2011 14:47:50 GMT
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

Mime
View raw message