History not retained for moved files when using svn-import.

Bug #367646 reported by amicitas
This bug report is a duplicate of:  Bug #53837: On the fly rename inference. Edit Remove
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
New
Undecided
Unassigned

Bug Description

When importing an SVN branch/repository using svn-import, files that have been moved lose all history prior to the move.
I expect history to be retained for files even after a move (so long as svn knows about the move.)

windows
bzr v1.13

Here is what I did:

==========
>bzr svn-import --all https://hystrixaudio.svn.sourceforge.net/svnroot/hystrixaudio svn_import
==========
Now if I look at a file that was moved in svn revision 36:

==========
>cd svn_import
>bzr co
>bzr log hystrix_util
------------------------------------------------------------
revno: 37
svn revno: 36 (on /)
committer: amicitas
timestamp: Tue 2009-02-24 10:43:15 +0000
message:
  Moved util to hystrix_util

==========

Now if I do the same thing in an svn check out of the repository:

==========
>svn checkout https://hystrixaudio.svn.sourceforge.net/svnroot/hystrixaudio svn_checkout
. . .
>cd svn_checkout
>$ svn log hystrix_util/
------------------------------------------------------------------------
r36 | amicitas | 2009-02-24 02:43:15 -0800 (Tue, 24 Feb 2009) | 1 line

Moved util to hystrix_util
------------------------------------------------------------------------
r33 | amicitas | 2009-02-10 02:25:45 -0800 (Tue, 10 Feb 2009) | 1 line

Added an install dialog.
------------------------------------------------------------------------
r29 | amicitas | 2008-11-03 19:08:38 -0800 (Mon, 03 Nov 2008) | 1 line

Changed the way that updates are done. Much faster.
------------------------------------------------------------------------
r26 | amicitas | 2008-10-30 17:41:44 -0700 (Thu, 30 Oct 2008) | 1 line

Rewrote the way that hystrix gets/saves tags. Now supports Ogg.
------------------------------------------------------------------------
r10 | amicitas | 2008-10-15 13:13:24 -0700 (Wed, 15 Oct 2008) | 1 line

Now stores all file paths as relative paths. Now uses albumsort. Other bug fixes.
------------------------------------------------------------------------
r9 | amicitas | 2008-10-14 20:03:11 -0700 (Tue, 14 Oct 2008) | 1 line

A number of updates: APSW now used for all SQLite stuff. Automatic guessing of albumartist. more.
------------------------------------------------------------------------
r3 | amicitas | 2008-10-07 17:01:09 -0700 (Tue, 07 Oct 2008) | 1 line

Properly handles unicode characters. Search string parsing corrected.
------------------------------------------------------------------------
r1 | amicitas | 2008-10-02 12:42:50 -0700 (Thu, 02 Oct 2008) | 1 line

Initial add. Hystrix Audio - Like a spine to the eardrum.
------------------------------------------------------------------------

==========

--amicitas

Revision history for this message
amicitas (mir-amicitas) wrote :

I want to add that this loss of history happens for files as well as for directories (and this is what is more important.)

svn2bzr seems to handle this correctly, so I will use that tool for importing for the time being.

Using the same directories as above:

>
> cd svn_import/hystrix_util/
> bzr log error.py
------------------------------------------------------------
revno: 37
svn revno: 36 (on /)
committer: amicitas
timestamp: Tue 2009-02-24 10:43:15 +0000
message:
  Moved util to hystrix_util

>
> cd svn_checkout/hystrix_util/
> svn log error.py
------------------------------------------------------------------------
r36 | amicitas | 2009-02-24 02:43:15 -0800 (Tue, 24 Feb 2009) | 1 line

Moved util to hystrix_util
------------------------------------------------------------------------
r35 | amicitas | 2009-02-24 02:36:34 -0800 (Tue, 24 Feb 2009) | 1 line

Set svn:eol-style native on all files.
------------------------------------------------------------------------
r29 | amicitas | 2008-11-03 19:08:38 -0800 (Mon, 03 Nov 2008) | 1 line

Changed the way that updates are done. Much faster.
------------------------------------------------------------------------

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.