获取编辑器:在git中使用repg上传时出错,正在使用cygwin编辑器

时间:2012-10-12 10:52:55

标签: git cygwin repository

我在尝试重新上传时遇到错误

命令运行如下 -

git add <merged Files>
git commit -a -m ""
repo sync
**repo upload** - here I got the error

http://git-scm.com/downloads下载git

Traceback (most recent call last):
  File "/home/choudhar/Dev/.repo/repo/main.py", line 385, in <module>
    _Main(sys.argv[1:])
  File "/home/choudhar/Dev/.repo/repo/main.py", line 365, in _Main
    result = repo._Run(argv) or 0
  File "/home/choudhar/Dev/.repo/repo/main.py", line 137, in _Run
    result = cmd.Execute(copts, cargs)
  File "/home/choudhar/Dev/.repo/repo/subcmds/upload.py", line 399, in Execute
    self._MultipleBranches(opt, pending, people)
  File "/home/choudhar/Dev/.repo/repo/subcmds/upload.py", line 235, in _MultipleBranches
    script = Editor.EditString("\n".join(script)).split("\n")
  File "/home/choudhar/Dev/.repo/repo/editor.py", line 96, in EditString
    % (str(e), editor, path))
error.EditorError: editor failed, [Errno 2] No such file or directory: vi /tmp/tmp9S5ZRI

我只是git add,commit -a -m,repo sync然后尝试repo sync。 我是git的新用户

0 个答案:

没有答案