subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nico Kadel-Garcia <nka...@gmail.com>
Subject Re: How to move folder from one path to another along with all revisions
Date Sat, 21 Feb 2015 18:29:37 GMT
On Fri, Feb 20, 2015 at 2:07 PM, Mohsin <mohsinchandia@gmail.com> wrote:
> Thanks all for your reply i'll try with svn mv command and get back to you if
> face any issue.
>
>
> Mohsin

There are a number of underlying reasons for this. It's partly that
the "mv" command isn't really a "mv", it's a "copy, then delete the
old one", and subversion does not discard history of deleted content.
This can actually cause fascinating problems trying to trace the
history of things.

If I may suggest, for bulky changes such as re-arranging a source
tree? Don't use "svn mv". Do it as several distinct transactions, one
an "svn tag" to record the old layout, then an "svn copy", then "svn
rm", then "svn tag" aagin to record the new layout for reference. This
can help reflect the transaction, and allow much easier historical
analysis.

Mime
View raw message