Android Studio中的错误:错误提交的修订版本号:-1 [英] Android Studio Error:Wrong committed revision number: -1

查看:245
本文介绍了Android Studio中的错误:错误提交的修订版本号:-1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我突然巨大的SVN问题,Android的工作室。

I have suddenly huge SVN problems with Android Studio.

I'm获得

错误:错误提交的修订版本号:-1

Error:Wrong committed revision number: -1

每次提交的尝试。使用龟正常工作。

every commit attempt. Using Tortoise works fine.

据occures新鲜的项目和之前

It occures on fresh projects and also fresh checked out projects which were committed by Tortoise before

我该如何解决这个问题?

How can I solve this problem??

推荐答案

svn命令行客户端返回不可解析输出到Android工作室(的IntelliJ)如果语言环境是其他然后英语。所以对我来说以下正常工作:

The svn command line client returns unparseable output to Android Studio (IntelliJ) if the locale is other then english. So for me the following works fine:

创建一个shellscript里,例如。它命名为在/ usr / local / bin目录/ SVN-带以下内容:

create a shellscript, eg. name it /usr/local/bin/svn-en with the following content:

export LC_MESSAGES=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
svn $@

然后Android Studio中转到项目设置 - >版本控制 - >颠覆。
在常规标签中的使用命令行客户端字段中输入:/ usr / local / bin目录/ SVN-ZH

Then in Android Studio goto Project Settings -> Version Control -> Subversion. In the tab "General" enter in the "use command line client" field: /usr/local/bin/svn-en

这篇关于Android Studio中的错误:错误提交的修订版本号:-1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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