Issue 515 in rietveld: upload.py: set HGPLAIN when calling hg

1 view
Skip to first unread message

riet...@googlecode.com

unread,
Jan 25, 2015, 8:12:37 PM1/25/15
to coderev...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 515 by ben.darn...@gmail.com: upload.py: set HGPLAIN when calling
hg
https://code.google.com/p/rietveld/issues/detail?id=515

What steps will reproduce the problem?
1. Configure a non-default ui.style setting in ~./hgrc
2. Run upload.py

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

It should work, but I get an error like
"Got error status from ['hg', 'status', '--rev', '59 -0500 Victor Stinner
<victor....@gmail.com>\x1b[0m\n\n\tTulip issue #219', '-u', '.']:"

If I run "HGPLAIN= upload.py" it works as expected.

What browser are you using? What version? On what operating system?

Browser n/a; OSX 10.10

At what URL are you accessing Rietveld? codereview.appspot.com

Please provide any additional information below.

If the HGPLAIN environment variable is set (to any value including empty),
hg will ignore any settings that change output formats; scripts that parse
hg's output should generally set this variable to be robust against
non-default configurations.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages