Bugfix for the path to link conversion: Added a path for the link.
authorOrtwin Escher <hurz@oe-extern.plan.vfnet.de>
Thu, 28 Jan 2010 13:29:47 +0000 (28 14:29 +0100)
committerLove Hörnquist Åstrand <lha@kth.se>
Thu, 28 Jan 2010 22:10:13 +0000 (28 14:10 -0800)
Signed-off-by: Love Hörnquist Åstrand <lha@kth.se>
git2svn

diff --git a/git2svn b/git2svn
index 23278a8..acad69b 100755 (executable)
--- a/git2svn
+++ b/git2svn
@@ -349,6 +349,8 @@ COMMAND: while (!eof(IN)) {
                            foreach ( keys( %paths ) ) {
                        delete $paths{$_} if ( /^$path/ );
                                }
+                               # This is now a file and not a path anymore
+                               $paths{$path} = 2;
                                printf OUT "Node-path: $path\nNode-action: delete\n\n";
                    } else {
                      $action = "change";