hg convert: loosing the history of files which were moved in Subversion

Florian Brunner fbrunner at gmx.ch
Sun Nov 14 18:33:51 CST 2010


Hi,
I want to migrate my project (https://softsmithy.svn.sourceforge.net/svnroot/softsmithy) from Subversion to Mercurial. 

I'm working on a local mirror (svnsync; as described at http://panospace.wordpress.com/2010/05/19/svn2hg_part1/ ). 
I'm using the following command to convert the subversion Repository to a Mercurial repository: 
hg convert --branchsort --authors svn_users.txt softsmithy-mirror softsmithy-mercurial-all

I seem to loose the history of files which were moved in Subversion.

E.g. with:
cd lib/lib-core/src/main/java/org/softsmithy/lib/swing
hg log --follow JCustomizer.java
I get:
---
Änderung:        486:64e550990a76
Nutzer:          puce <puce at users.sourceforge.net>
Datum:           Mon Oct 18 21:12:24 2010 +0000
Zusammenfassung: lib/lib -> lib/lib-core \n Localizable Framework: unit tests \n small fixes
---

while on the subversion with:
cd lib/lib-core/src/main/java/org/softsmithy/lib/swing
svn log JCustomizer.java 

I get:
------------------------------------------------------------------------                                                     
r520 | puce | 2010-10-18 22:12:24 +0100 (Mon, 18. Okt 2010) | 1 Zeile                                                        

lib/lib -> lib/lib-core \n Localizable Framework: unit tests \n small fixes
------------------------------------------------------------------------   
r505 | puce | 2010-09-03 21:41:09 +0100 (Fre, 03. Sep 2010) | 1 Zeile      

License upgraded: SPL -> CDDL
------------------------------------------------------------------------
r502 | puce | 2010-09-03 00:05:11 +0100 (Fre, 03. Sep 2010) | 1 Zeile   

Maven migration: restructuring
------------------------------------------------------------------------
r501 | puce | 2010-09-03 00:03:46 +0100 (Fre, 03. Sep 2010) | 1 Zeile   

Maven migration: restructuring
------------------------------------------------------------------------
r478 | puce | 2010-06-29 01:31:31 +0100 (Die, 29. Jun 2010) | 1 Zeile   

- Initial Maven migration
------------------------------------------------------------------------
r398 | puce | 2008-12-31 11:14:46 +0000 (Mit, 31. Dez 2008) | 1 Zeile   

Removed Warnings
------------------------------------------------------------------------
r297 | puce | 2006-11-26 23:19:21 +0000 (Son, 26. Nov 2006) | 1 Zeile   

Javadoc
------------------------------------------------------------------------
r296 | puce | 2006-11-26 22:28:25 +0000 (Son, 26. Nov 2006) | 1 Zeile   

Newline problem (windows <-> linux)
------------------------------------------------------------------------
r233 | puce | 2006-06-18 22:59:09 +0100 (Son, 18. Jun 2006) | 2 Zeilen  

no message

------------------------------------------------------------------------
r217 | puce | 2006-02-12 18:45:54 +0000 (Son, 12. Feb 2006) | 2 Zeilen  

Javadoc: multi-selection note

------------------------------------------------------------------------
r191 | puce | 2004-07-26 15:02:20 +0100 (Mon, 26. Jul 2004) | 2 Zeilen  

*** empty log message ***

------------------------------------------------------------------------
r187 | puce | 2004-07-16 13:41:16 +0100 (Fre, 16. Jul 2004) | 2 Zeilen  

*** empty log message ***

------------------------------------------------------------------------
r149 | puce | 2004-04-10 16:56:00 +0100 (Sam, 10. Apr 2004) | 2 Zeilen  

internal componentContainer added

------------------------------------------------------------------------
r146 | puce | 2003-12-13 14:49:31 +0000 (Sam, 13. Dez 2003) | 2 Zeilen  

*** empty log message ***

------------------------------------------------------------------------
r141 | puce | 2003-10-23 15:20:37 +0100 (Don, 23. Okt 2003) | 2 Zeilen  

*** empty log message ***

------------------------------------------------------------------------
r139 | puce | 2003-10-16 18:11:08 +0100 (Don, 16. Okt 2003) | 3 Zeilen  

The way how changes to "x", "y", "width", "height", "background", "foreground" and "font" are
handled has been fixd.                                                                       

------------------------------------------------------------------------
r138 | puce | 2003-10-16 15:56:06 +0100 (Don, 16. Okt 2003) | 2 Zeilen  

*** empty log message ***

------------------------------------------------------------------------
r135 | puce | 2003-10-09 18:43:07 +0100 (Don, 09. Okt 2003) | 5 Zeilen  

CustomizerNoneStyle didn't work (see how setBackground, setForground and setFont
are implemented in JComponent and Component). This class wasn't really necessary
though. Alternative: PropertyChangeListeners have to listen on the enclosed component
instead of the JCustomizer!                                                          

------------------------------------------------------------------------
r121 | puce | 2003-08-21 09:49:02 +0100 (Don, 21. Aug 2003) | 2 Zeilen  

*** empty log message ***

------------------------------------------------------------------------
r120 | puce | 2003-07-11 19:56:15 +0100 (Fre, 11. Jul 2003) | 2 Zeilen  

*** empty log message ***

------------------------------------------------------------------------
r118 | puce | 2003-07-11 15:39:48 +0100 (Fre, 11. Jul 2003) | 2 Zeilen  

*** empty log message ***

------------------------------------------------------------------------
r117 | puce | 2003-07-11 15:07:17 +0100 (Fre, 11. Jul 2003) | 2 Zeilen  

*** empty log message ***

------------------------------------------------------------------------
r104 | puce | 2003-05-14 15:05:42 +0100 (Mit, 14. Mai 2003) | 2 Zeilen  

v20030514

------------------------------------------------------------------------
r90 | puce | 2003-03-10 10:13:40 +0000 (Mon, 10. Mär 2003) | 2 Zeilen   

*** empty log message ***

------------------------------------------------------------------------
r77 | puce | 2003-02-14 18:49:05 +0000 (Fre, 14. Feb 2003) | 2 Zeilen   

*** empty log message ***

------------------------------------------------------------------------
r76 | puce | 2003-02-14 16:05:16 +0000 (Fre, 14. Feb 2003) | 2 Zeilen   

*** empty log message ***

------------------------------------------------------------------------
r72 | puce | 2003-01-29 10:48:28 +0000 (Mit, 29. Jan 2003) | 2 Zeilen   

JCustomizers are double clickable

------------------------------------------------------------------------
r66 | puce | 2002-12-18 19:13:57 +0000 (Mit, 18. Dez 2002) | 2 Zeilen   

*** empty log message ***

------------------------------------------------------------------------
r58 | puce | 2002-10-28 09:36:37 +0000 (Mon, 28. Okt 2002) | 2 Zeilen   

Sun Public License Notice added.

------------------------------------------------------------------------
r56 | puce | 2002-10-24 14:50:44 +0100 (Don, 24. Okt 2002) | 2 Zeilen   

Meeting-23_10_2002

------------------------------------------------------------------------
r54 | puce | 2002-10-21 18:00:49 +0100 (Mon, 21. Okt 2002) | 2 Zeilen   

Package change: puce -> org.softsmithy.lib

------------------------------------------------------------------------
r47 | puce | 2002-10-10 11:58:51 +0100 (Don, 10. Okt 2002) | 2 Zeilen   

Meeting-9_10_2002

------------------------------------------------------------------------
r44 | puce | 2002-09-25 16:05:05 +0100 (Mit, 25. Sep 2002) | 2 Zeilen   

property editing support added

------------------------------------------------------------------------
r35 | puce | 2002-09-13 19:09:04 +0100 (Fre, 13. Sep 2002) | 2 Zeilen   

CustomizerBar feature added

------------------------------------------------------------------------
r32 | puce | 2002-09-11 15:04:48 +0100 (Mit, 11. Sep 2002) | 2 Zeilen   

Meeting-11_9_2002

------------------------------------------------------------------------
r23 | puce | 2002-08-30 18:00:13 +0100 (Fre, 30. Aug 2002) | 2 Zeilen

Mulit-selection support added

------------------------------------------------------------------------
r17 | puce | 2002-08-29 10:46:14 +0100 (Don, 29. Aug 2002) | 2 Zeilen

*** empty log message ***

------------------------------------------------------------------------
r15 | puce | 2002-08-27 19:13:40 +0100 (Die, 27. Aug 2002) | 2 Zeilen

initial import into CVS

------------------------------------------------------------------------



How can I convert the complete history?

Regards,
Florian


More information about the Mercurial mailing list