Debian Patches

Status for svn2git/2.4.0-3

Patch Description Author Forwarded Bugs Origin Last update
0001-Support-different-localized-git-messages.patch Support different localized git messages
git2svn sometimes parses the stdout of git commands but if the locale is
not set to something like en_US it can't and fails with the following
error:

Running command: git branch --track "<branch>" "remotes/svn/<branch>"
partida 'remotes/svn/1.0' no es una rama.
********************************************************************
svn2git warning: Tracking remote SVN branches is deprecated.
In a future release local branches will be created without tracking.
If you must resync your branches, run: svn2git --rebase
********************************************************************
Running command: git checkout "<branch>"
command failed:
...

A comparable error for 'git config' happened if a older version of
git (< 1.7.4) will be used.

It's never a good idea to parse messages from stdout in a special
language but this simple fix parse the messages in the same manner and
should support different languages.
Sascha Girrulat <sascha@girrulat.de> no 2019-09-11
0002-Use-global-stdin-instead-of-local-variable.patch Use global stdin instead of local variable
The stdin bypass will use a local variable stdin instead of $stdin and
it will result in the following error:

Traceback (most recent call last):
2: from /usr/lib/ruby/vendor_ruby/svn2git/migration.rb:432:in `block (2 levels) in run_command'
1: from /usr/lib/ruby/vendor_ruby/svn2git/migration.rb:432:in `loop'
/usr/lib/ruby/vendor_ruby/svn2git/migration.rb:438:in `block (3 levels) in run_command': undefined local variable or method `stdin' for #<Svn2Git::Migration:0x0000555b7c945cc8> (NameError)
Did you mean? String

This fix should handle the error and uses the global stdin
Sascha Girrulat <sascha@girrulat.de> no 2019-09-11

All known versions for source package 'svn2git'

Links