jueyunqi / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

repo/editor.py doesn't understand editors with spaces properly #83

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Affected Version:
Environment:

What steps will reproduce the problem?
1. Create multiple branches with changes in.
2. EDITOR='pico -w' repo upload .
3. # Oh noes!  An empty editor!

What is the expected output? What do you see instead?

I should be seeing a text file listing branches (and changes) to allow me to 
pick one to upload.  Instead, I see an empty editor.

Please provide any additional information below.

This is migrated from http://code.google.com/p/android/issues/detail?id=10796, 
and then http://code.google.com/p/gerrit/issues/detail?id=824.

I've attached a patch which fixes this.

Original issue reported on code.google.com by h...@google.com on 5 Apr 2011 at 9:24

Attachments: