<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git/editor.py, branch v1.12.28</title>
<subtitle>Mirror of gerrit.googlesource.com/git-repo</subtitle>
<id>https://git.enea.com/cgit/tools/git-repo.git/atom?h=v1.12.28</id>
<link rel='self' href='https://git.enea.com/cgit/tools/git-repo.git/atom?h=v1.12.28'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/'/>
<updated>2012-11-14T01:33:56+00:00</updated>
<entry>
<title>Change print statements to work in python3</title>
<updated>2012-11-14T01:33:56+00:00</updated>
<author>
<name>Sarah Owens</name>
<email>sarato@inkylabs.com</email>
</author>
<published>2012-11-02T05:59:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=cecd1d864fc3cf02cf50d367111e0d0e173c5dc6'/>
<id>urn:sha1:cecd1d864fc3cf02cf50d367111e0d0e173c5dc6</id>
<content type='text'>
This is part of a series of changes to introduce Python3 support.

Change-Id: I373be5de7141aa127d7debdbce1df39148dbec32
</content>
</entry>
<entry>
<title>Use modern Python exception syntax</title>
<updated>2012-10-24T04:35:59+00:00</updated>
<author>
<name>Sarah Owens</name>
<email>sarato@inkylabs.com</email>
</author>
<published>2012-09-09T22:37:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=a5be53f9c809009e67f217c00b8f30246aacc237'/>
<id>urn:sha1:a5be53f9c809009e67f217c00b8f30246aacc237</id>
<content type='text'>
"except Exception as e" instead of "except Exception, e"

This is part of a transition to supporting Python 3.  Python &gt;= 2.6
support "as" syntax.

Note: this removes Python 2.5 support.

Change-Id: I309599f3981bba2b46111c43102bee38ff132803
</content>
</entry>
<entry>
<title>Fix for handling values of EDITOR which contain a space.</title>
<updated>2010-08-07T00:05:04+00:00</updated>
<author>
<name>Patrick Dubroy</name>
<email>dubroy@google.com</email>
</author>
<published>2010-07-30T00:10:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=b715b148076ef589e806a98a183c8f4468f75cf6'/>
<id>urn:sha1:b715b148076ef589e806a98a183c8f4468f75cf6</id>
<content type='text'>
The shell swallows the 0th arg, which was the filename. Simple fix
is to pass in an extra arg for the shell to swallow.

Change-Id: Iad6304ba9ccea6e7262ee06ef87d3dac57dbde81
</content>
</entry>
<entry>
<title>Support GIT_EDITOR='vim -c "set textwidth=80"'</title>
<updated>2009-07-02T19:45:47+00:00</updated>
<author>
<name>Shawn O. Pearce</name>
<email>sop@google.com</email>
</author>
<published>2009-07-02T19:45:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=1dcb58a7d0f07bf358ba485733580413ebe2478b'/>
<id>urn:sha1:1dcb58a7d0f07bf358ba485733580413ebe2478b</id>
<content type='text'>
If there are shell special characters in the editor string, we must
use /bin/sh to parse and execute it, rather than trying to rely on
a simple split(' ').  This avoids vim starting up with two empty
buffers, due to a misparsed command line.

Signed-off-by: Shawn O. Pearce &lt;sop@google.com&gt;
</content>
</entry>
<entry>
<title>Document any crashes from the user's text editor</title>
<updated>2009-06-24T14:15:21+00:00</updated>
<author>
<name>Shawn O. Pearce</name>
<email>sop@google.com</email>
</author>
<published>2009-06-24T14:09:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=54fccd71fbdc60adf99b9a9bf4712c121d4312ba'/>
<id>urn:sha1:54fccd71fbdc60adf99b9a9bf4712c121d4312ba</id>
<content type='text'>
Rather than failing with no information, display the child exit
status and the command line we tried to use to edit a text file.
There may be some useful information to help understand the crash.

Signed-off-by: Shawn O. Pearce &lt;sop@google.com&gt;
</content>
</entry>
<entry>
<title>Fix launching of editor under 'repo upload --replace'</title>
<updated>2009-04-18T23:57:46+00:00</updated>
<author>
<name>Shawn O. Pearce</name>
<email>sop@google.com</email>
</author>
<published>2009-04-18T23:57:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=a8421a128a2f0a5e6dcca7e37e36ceb63c9291c4'/>
<id>urn:sha1:a8421a128a2f0a5e6dcca7e37e36ceb63c9291c4</id>
<content type='text'>
Signed-off-by: Shawn O. Pearce &lt;sop@google.com&gt;
</content>
</entry>
<entry>
<title>Make usage of open safer by setting binary mode and closing fds</title>
<updated>2009-04-18T21:48:03+00:00</updated>
<author>
<name>Shawn O. Pearce</name>
<email>sop@google.com</email>
</author>
<published>2009-04-18T21:48:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=76ca9f8145f367f83df19981da4dd934fdda471b'/>
<id>urn:sha1:76ca9f8145f367f83df19981da4dd934fdda471b</id>
<content type='text'>
Signed-off-by: Shawn O. Pearce &lt;sop@google.com&gt;
</content>
</entry>
<entry>
<title>Make repo's editor work when the editor is a commandline with</title>
<updated>2008-11-15T02:12:44+00:00</updated>
<author>
<name>Joe Onorato</name>
<email>joeo@android.com</email>
</author>
<published>2008-11-15T02:12:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=8c6eef4713db36a2063dd5a68b3d37a5e4276508'/>
<id>urn:sha1:8c6eef4713db36a2063dd5a68b3d37a5e4276508</id>
<content type='text'>
multiple args.
</content>
</entry>
<entry>
<title>Initial Contribution</title>
<updated>2008-10-21T14:00:00+00:00</updated>
<author>
<name>The Android Open Source Project</name>
<email>initial-contribution@android.com</email>
</author>
<published>2008-10-21T14:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=cf31fe9b4fb650b27e19f5d7ee7297e383660caf'/>
<id>urn:sha1:cf31fe9b4fb650b27e19f5d7ee7297e383660caf</id>
<content type='text'>
</content>
</entry>
</feed>
