Re: git-cl under Windows

2012-07-04 Thread Trevor Daniels
Trevor Daniels wrote Tuesday, July 03, 2012 11:49 PM > But some changes to git-cl were necessary to run under > Windows, even with 2.7. I'll document these more clearly > tomorrow. Here's what I found necessary, or at least the easiest way, to run git-cl under Windows. S

Re: git-cl under Windows

2012-07-04 Thread Trevor Daniels
David Kastrup wrote Tuesday, July 03, 2012 9:26 PM > "Trevor Daniels" writes: > >>> $ git cl upload master >>> WARNING: terminal is not fully functional >>> Documentation/notation/input.itely | 56 + >>> 1 files changed, 56 insertions(+), 0 deletions(-) >>> 'vi' is not recogni

Re: git-cl under Windows

2012-07-03 Thread Trevor Daniels
Graham Percival wrote Tuesday, July 03, 2012 2:36 PM > On Tue, Jul 03, 2012 at 11:40:58AM +0100, Trevor Daniels wrote: >> The version from github.com/gperciva/git-cl.git ships without >> the readline module. It is not required for Unixes as it is >> included with Unix python, I believe. > > Hmm.

Re: git-cl under Windows

2012-07-03 Thread Trevor Daniels
David Kastrup wrote Tuesday, July 03, 2012 10:46 PM > Graham Percival writes: > >> On Tue, Jul 03, 2012 at 10:26:18PM +0200, David Kastrup wrote: >>> "Trevor Daniels" writes: >>> >>> >> Description empty; aborting. >>> >>> That just means that git-cl called what it considered an editor, and

Re: git-cl under Windows

2012-07-03 Thread David Kastrup
Graham Percival writes: > On Tue, Jul 03, 2012 at 10:26:18PM +0200, David Kastrup wrote: >> "Trevor Daniels" writes: >> >> >> Description empty; aborting. >> >> That just means that git-cl called what it considered an editor, and the >> file for editing did not change, so git-cl aborted. > > A

Re: git-cl under Windows

2012-07-03 Thread Graham Percival
On Tue, Jul 03, 2012 at 10:26:18PM +0200, David Kastrup wrote: > "Trevor Daniels" writes: > > >> Description empty; aborting. > > That just means that git-cl called what it considered an editor, and the > file for editing did not change, so git-cl aborted. Another option would be to change git-

Re: git-cl under Windows

2012-07-03 Thread David Kastrup
"Trevor Daniels" writes: >> $ git cl upload master >> WARNING: terminal is not fully functional >> Documentation/notation/input.itely | 56 + >> 1 files changed, 56 insertions(+), 0 deletions(-) >> 'vi' is not recognized as an internal or external command, >> operable program or

Re: git-cl under Windows

2012-07-03 Thread Trevor Daniels
David Kastrup wrote Tuesday, July 03, 2012 4:34 PM > Namely, git-cl first tries importing readline unconditionally, then it > tries importing it again conditionally. > > That does not look all too clever. Perhaps removing the unconditional > import is all that is needed? Yes, this seems to byp

Re: git-cl under Windows

2012-07-03 Thread David Kastrup
David Kastrup writes: > Graham Percival writes: > >> On Tue, Jul 03, 2012 at 04:50:13PM +0200, David Kastrup wrote: >>> Graham Percival writes: >>> >>> > Good luck. >>> >>> My personal take on this is not to bother but disable use of the >>> readline module if unavailable. git cl does not as

Re: git-cl under Windows

2012-07-03 Thread David Kastrup
Graham Percival writes: > On Tue, Jul 03, 2012 at 04:50:13PM +0200, David Kastrup wrote: >> Graham Percival writes: >> >> > Good luck. >> >> My personal take on this is not to bother but disable use of the >> readline module if unavailable. git cl does not ask for interactive >> input often e

Re: git-cl under Windows

2012-07-03 Thread Graham Percival
On Tue, Jul 03, 2012 at 04:50:13PM +0200, David Kastrup wrote: > Graham Percival writes: > > > Good luck. > > My personal take on this is not to bother but disable use of the > readline module if unavailable. git cl does not ask for interactive > input often enough to make that worth the troubl

Re: git-cl under Windows

2012-07-03 Thread David Kastrup
Graham Percival writes: > On Tue, Jul 03, 2012 at 11:40:58AM +0100, Trevor Daniels wrote: >> The version from github.com/gperciva/git-cl.git ships without >> the readline module. It is not required for Unixes as it is >> included with Unix python, I believe. > > Hmm. If it's as simple as includ

Re: git-cl under Windows

2012-07-03 Thread Graham Percival
On Tue, Jul 03, 2012 at 11:40:58AM +0100, Trevor Daniels wrote: > The version from github.com/gperciva/git-cl.git ships without > the readline module. It is not required for Unixes as it is > included with Unix python, I believe. Hmm. If it's as simple as including a bunch of extra .py files, th

git-cl under Windows

2012-07-03 Thread Trevor Daniels
Has anyone managed to run git-cl under Windows successfully? The version from github.com/gperciva/git-cl.git ships without the readline module. It is not required for Unixes as it is included with Unix python, I believe. But it is not included with the Windows version of python. There is a