Closed Bug 1520309 Opened 7 years ago Closed 6 years ago

mach try fuzzy has a weird interaction with more under MozillaBuild on Windows

Categories

(Developer Infrastructure :: Try, defect, P1)

Unspecified
Windows
defect

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

References

Details

Attachments

(1 file)

STR:

start a MozillaBuild terminal and switch to your local source dir
./mach try fuzzy
select your jobs and press enter

Expected:
We can see something going on and the command eventually returns to the command prompt

Actual:
The terminal goes blank. Running process explorer shows that work is happening (and in fact my job is correctly submitted), but hg.exe has spawned more.com and appears to be blocked on that.

Once it looks like hg has entered a quiescent state, I can kill more.com and then I am finally returned to my command prompt.

Priority: -- → P3

(In reply to Ted Mielczarek [:ted] [:ted.mielczarek] from comment #2)

What version of Mercurial are you using?
4.8.2

Do you have the pager extension explicitly enabled in your ~/.hgrc or ~/Mercurial.ini?
Negative.

I reproduced this again today, and using Process Explorer I examined the environment for hg. HGPLAIN is not present in its environment.

(In reply to Aaron Klotz [:aklotz] from comment #4)

I reproduced this again today, and using Process Explorer I examined the environment for hg. HGPLAIN is not present in its environment.

Interesting! Did you catch the commandline of the process? Is it running hg status?

c:\Users\dblohm7\mozilla-build\python\Scripts\hg.exe push-to-try -m "FuzzyPushed via mach try fuzzy"

If there are a large number of untracked files in the working directory, hg
will attempt to print them all out with the default pager. This does not
interact very will with commands that are built atop this functionality. We
set HGPLAIN=1 so that the underlying hg will not attempt to use a pager.

Assignee: nobody → aklotz
Status: NEW → ASSIGNED
Priority: P3 → P1
Pushed by aklotz@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4002fa5fe7bd Set HGPLAIN env var when running hg push-to-try; r=ahal
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: