LGTM Out of curiosity, when do we have problems with colored output? I'm using colored ...
14 years, 4 months ago
(2012-02-01 20:34:30 UTC)
#2
LGTM
Out of curiosity, when do we have problems with colored output? I'm using
colored output for hg and git on my machines, but this causes no problems when
uploading patch sets.
http://codereview.appspot.com/5619043/diff/1/upload.py
File upload.py (right):
http://codereview.appspot.com/5619043/diff/1/upload.py#newcode1456
upload.py:1456: "hg", "diff", "--color", "never", "--git", "-r", self.base_rev
If --color is an issue with "hg", could the pager extension cause problems too?
On 2012/02/01 20:34:30, Andi Albrecht wrote: > LGTM > > Out of curiosity, when do ...
14 years, 4 months ago
(2012-02-01 21:00:45 UTC)
#3
On 2012/02/01 20:34:30, Andi Albrecht wrote:
> LGTM
>
> Out of curiosity, when do we have problems with colored output? I'm using
> colored output for hg and git on my machines, but this causes no problems when
> uploading patch sets.
msysgit + cygwin breaks tty detection so some people use --color=always.
http://codereview.appspot.com/5619043/diff/1/upload.py
File upload.py (right):
http://codereview.appspot.com/5619043/diff/1/upload.py#newcode1456
upload.py:1456: "hg", "diff", "--color", "never", "--git", "-r", self.base_rev
On 2012/02/01 20:34:30, Andi Albrecht wrote:
> If --color is an issue with "hg", could the pager extension cause problems
too?
Right. I'll leave that for a follow up change.
On 2012/02/01 21:00:45, M-A wrote: > On 2012/02/01 20:34:30, Andi Albrecht wrote: > > LGTM ...
14 years, 4 months ago
(2012-02-06 10:47:24 UTC)
#4
On 2012/02/01 21:00:45, M-A wrote:
> On 2012/02/01 20:34:30, Andi Albrecht wrote:
> > LGTM
> >
> > Out of curiosity, when do we have problems with colored output? I'm using
> > colored output for hg and git on my machines, but this causes no problems
when
> > uploading patch sets.
>
> msysgit + cygwin breaks tty detection so some people use --color=always.
ah, ok! Thanks!
>
> http://codereview.appspot.com/5619043/diff/1/upload.py
> File upload.py (right):
>
> http://codereview.appspot.com/5619043/diff/1/upload.py#newcode1456
> upload.py:1456: "hg", "diff", "--color", "never", "--git", "-r", self.base_rev
> On 2012/02/01 20:34:30, Andi Albrecht wrote:
> > If --color is an issue with "hg", could the pager extension cause problems
> too?
>
> Right. I'll leave that for a follow up change.
Issue 5619043: Make sure color is not used in git diff or hg diff
(Closed)
Created 14 years, 4 months ago by M-A
Modified 13 years, 3 months ago
Reviewers: Andi Albrecht, techtonik
Base URL:
Comments: 2