Package: svn2git
Version: 2.4.0-3
Severity: normal
Tags: l10n patch

Dear Maintainer,

I stumbled upon the bug #893997 and found your fix with svn2git 2.4.0-3.
Unfortunately the fixed version did'nt solved the problem for me either,
because of an errornous starting single qoute in the regexp.

The following patch worked for me for the de_DE.UTF-8 language setting
and might do also for all other languages.

--- /usr/lib/ruby/vendor_ruby/svn2git/migration.rb      2019-09-11
17:14:52.000000000 +0200
+++ /workspace/migration.rb     2020-11-13 09:09:13.285789000 +0100
@@ -357,7 +357,7 @@
# Our --rebase option obviates the need for read-only tracked remotes, however. So, we'll # deprecate the old option, informing those relying on the old behavior that they should
           # use the newer --rebase otion.
-          if status =~ /fatal:.+'#{branch}'.+/
+          if status =~ /fatal:.+remotes\/svn\/#{branch}'.+/
             @cannot_setup_tracking_information = true
             run_command(Svn2Git::Migration.checkout_svn_branch(branch))
           else

best regards,
Sven

-- System Information:
Debian Release: 10.6
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.39-linuxkit (SMP w/2 CPU cores)
Kernel taint flags: TAINT_RANDSTRUCT
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8), LANGUAGE=de_DE:de (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages svn2git depends on:
ii  git-svn  1:2.20.1-2+deb10u3
ii  ruby     1:2.5.1

svn2git recommends no packages.

svn2git suggests no packages.

-- no debconf information

Reply via email to