混帐SVN:密码SVN不存储 [英] git svn: password for svn is not stored

查看:312
本文介绍了混帐SVN:密码SVN不存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的混帐对中央远程svn库'混帐svn的。该SVN仓库使用HTTPS使用自签名证书。一切工作正常,一个讨厌的例外。只要我有SVN直接使用,密码记住,所以它必须通过的第一个命令只键入

I'm using git against a central remote svn repository using 'git-svn'. The SVN repository uses https with a self-signed certificate. Everything works fine, with one nasty exception. As long as I use directly with svn, the password is remembered, so it has to by typed only on the first command.

在使用Git svn的操作(例如dcommit,变基),密码不再怀念和需要人工输入。一个混帐svn的oparation后,直接SVN命令就不再记得密码也一样,每次还提示。

When using git-svn operations (e.g. dcommit, rebase), the password is no longer remembered and manual input is required. After a git-svn oparation, direct svn commands do no longer remember the password too, also prompting each time.

这是怎么回事?任何提示?

What's going on here? Any hints?

我的环境:Ubuntu的10.04 64位,git的核心和git - svn的1.7.0.4-1

My environment: Ubuntu 10.04 64 bit, git-core and git-svn 1.7.0.4-1

推荐答案

我有一个类似的使用场景(SVN通过https,密码,用git的本地仓库和推/拉的svn服务器),但是我的避风港' ŧ遇到过这个问题你提。

I have a similar usage scenario (svn over https, password, using git for a local repository and push/pull to the svn server), however I haven't encountered this issue you are mentioning.

一个区别我看到的是,我将颠覆保存我的密码,而不是每次都问吧。你可以试试,看看它是否工作。

One difference I see is that I set subversion to save my password and not to ask it every time. You could try that to see if it works.

和我在这里看到类似的问题,似乎擦着整个〜/目录的.subversion帮助(请确保您有目录的备份,如果你尝试)

And I see a similar question here, it seems that wiping the whole ~/.subversion directory helped (make sure you have a backup of the directory if you try that)

这篇关于混帐SVN:密码SVN不存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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