monotone

monotone Commit Details

Date:2012-02-19 23:36:58 (4 years 6 months ago)
Author:Richard Hopkins
Branch:net.venge.monotone.flush-output-experiment
Commit:a1a5d04967e65feaa20872c9dd0eefdb6f4f4c10
Parents: 872cbbe65c64dd0e036dca178ea2e62242cf126c
Message:Append extra newline to the output of "mtn au inventory"

Using "cmd.exe" on Windows XP SP3, "mtn au inventory" output (and some
other automate commands) is blank; linux systems are fine, and apparently
Windows 7 is as well.

Other automate commands run on Windows, such as "mtn au leaves" are fine. A
quick glance at the code shows that "leaves" outputs a separate '\n', which
may be causing the output to be flushed.

This is done here 1st as an experiment to see if it's the cause for missing
output on Windows, and if it is, then more revisions will follow for
remaining commands.
Changes:
Msrc/automate.cc (1 diff)

File differences

src/automate.cc
11721172
11731173
11741174
1175
11751176
11761177
11771178
}
output.write(pr.buf.data(), pr.buf.size());
output << '\n';
}
// Name: get_revision

Archive Download the corresponding diff file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status