svn2git失败说作者:VisualSVN服务器没有在./authors.txt文件中定义 [英] svn2git failing saying Author: VisualSVN Server not defined in ./authors.txt file

查看:1174
本文介绍了svn2git失败说作者:VisualSVN服务器没有在./authors.txt文件中定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试从svn迁移到git,并通过抛出下面的错误失败:

  sethu @ csmartserver:〜 / csmart / git / csmart $ sudo /var/lib/gems/1.8/bin/svn2git http:// localhost / svn / csmart --authors ./authors.txt --verbose 
运行命令:git svn init --prefix = svn / --no-metadata --trunk = trunk --tags = tags --branches =分支http:// localhost / svn / csmart
perl:warning:设置区域设置失败。
perl:warning:请检查您的区域设置:
LANGUAGE =en_IN:zh,
LC_ALL =(unset),
LC_CTYPE =UTF-8,
LANG =en_IN
被支持并安装在您的系统上。
perl:警告:回落到标准区域设置(C)。
运行命令:git config --local svn.authorsfile ./authors.txt
运行命令:git svn fetch
perl:warning:设置区域设置失败。
perl:warning:请检查您的区域设置:
LANGUAGE =en_IN:zh,
LC_ALL =(unset),
LC_CTYPE =UTF-8,
LANG =en_IN
被支持并安装在您的系统上。
perl:警告:回落到标准区域设置(C)。
作者:VisualSVN Server未在./authors.txt文件中定义

命令失败:
2>& 1 git svn fetch

我的authors.txt文件格式如下:

  jdoe = John Doe< joh.doe@gmail.com> 

任何人都可以帮忙理解如何解决这个问题吗?


I am trying to migrate to git from svn and it fails by throwing the below error:

sethu@csmartserver:~/csmart/git/csmart$ sudo /var/lib/gems/1.8/bin/svn2git http://localhost/svn/csmart --authors ./authors.txt --verbose
Running command: git svn init --prefix=svn/ --no-metadata --trunk=trunk --tags=tags --branches=branches http://localhost/svn/csmart
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = "en_IN:en",
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_IN"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Running command: git config --local svn.authorsfile ./authors.txt
Running command: git svn fetch 
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = "en_IN:en",
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_IN"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Author: VisualSVN Server not defined in ./authors.txt file

command failed:
2>&1 git svn fetch 

My authors.txt file is of the below format:

jdoe = John Doe <joh.doe@gmail.com>

Could anyone help understand how to fix this issue please?

解决方案

You could use SmartGit to check out your SVN repository and push that clone to you Git server.

这篇关于svn2git失败说作者:VisualSVN服务器没有在./authors.txt文件中定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆