[Bug 1403767] [NEW] Use of uninitialized value $u in substitution (s///) at /usr/share/perl5/Git/SVN.pm line 106.

Amedee Van Gasse amedee-launchpad at amedee.be
Thu Dec 18 08:25:35 UTC 2014


Public bug reported:

I am running git-svn to convert a large repository on Sourceforge. I
often get this error:


Use of uninitialized value $u in substitution (s///) at /usr/share/perl5/Git/SVN.pm line 106.
Use of uninitialized value $u in concatenation (.) or string at /usr/share/perl5/Git/SVN.pm line 106.

Workaround is editing .git/config and deleting all lines with branches
and tags in the [svn-remote] section, but I have to do this very often.

The error occurs while using the svn2git wrapper
(https://github.com/nirvdrum/svn2git) and also while using git svn
directly. The error is reported more than once on the svn2git issue
tracker on github, on different lines, but I did not find any reference
of anyone reporting this upstream to get it fixed, so that is why I am
filing this bug.


$ lsb_release -rd
Description:	Ubuntu 14.10
Release:	14.10

$ apt-cache policy git-svn
git-svn:
  Installed: 1:2.1.3-1
  Candidate: 1:2.1.3-1
  Version table:
 *** 1:2.1.3-1 0
        500 http://be.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
        100 /var/lib/dpkg/status
     1:2.1.0-1 0
        990 http://be.archive.ubuntu.com/ubuntu/ utopic/universe amd64 Packages
     1:1.9.1-1 0
        500 http://be.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
     1:1.8.3.2-1 0
        500 http://be.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages


What I expect to happen: git-svn initalizes value $u before it gets used.

I searched for "Use of uninitialized value $u in substitution (s///) at
/usr/share/perl5/Git/SVN.pm line 106." on Launchpad and Askubuntu, but
did not find any previous reports of this issue.

** Affects: git (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1403767

Title:
  Use of uninitialized value $u in substitution (s///) at
  /usr/share/perl5/Git/SVN.pm line 106.

Status in git package in Ubuntu:
  New

Bug description:
  I am running git-svn to convert a large repository on Sourceforge. I
  often get this error:

  
  Use of uninitialized value $u in substitution (s///) at /usr/share/perl5/Git/SVN.pm line 106.
  Use of uninitialized value $u in concatenation (.) or string at /usr/share/perl5/Git/SVN.pm line 106.

  Workaround is editing .git/config and deleting all lines with branches
  and tags in the [svn-remote] section, but I have to do this very
  often.

  The error occurs while using the svn2git wrapper
  (https://github.com/nirvdrum/svn2git) and also while using git svn
  directly. The error is reported more than once on the svn2git issue
  tracker on github, on different lines, but I did not find any
  reference of anyone reporting this upstream to get it fixed, so that
  is why I am filing this bug.

  
  $ lsb_release -rd
  Description:	Ubuntu 14.10
  Release:	14.10

  $ apt-cache policy git-svn
  git-svn:
    Installed: 1:2.1.3-1
    Candidate: 1:2.1.3-1
    Version table:
   *** 1:2.1.3-1 0
          500 http://be.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
          100 /var/lib/dpkg/status
       1:2.1.0-1 0
          990 http://be.archive.ubuntu.com/ubuntu/ utopic/universe amd64 Packages
       1:1.9.1-1 0
          500 http://be.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
       1:1.8.3.2-1 0
          500 http://be.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages

  
  What I expect to happen: git-svn initalizes value $u before it gets used.

  I searched for "Use of uninitialized value $u in substitution (s///)
  at /usr/share/perl5/Git/SVN.pm line 106." on Launchpad and Askubuntu,
  but did not find any previous reports of this issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1403767/+subscriptions



More information about the foundations-bugs mailing list