- Dec 17, 2015
- Dec 13, 2015
-
-
Yuya Nishihara authored
It made output order unpredictable because two separate buffers are flushed individually. Let's use a thin wrapper that just sends close() to black hole.
-
Yuya Nishihara authored
There's no need to dynamically create wrappedfileobj class and define close() as lambda. Also, __iter__() was missing.
-
Yuya Nishihara authored
It was introduced at 31aa2e5b0750, where "template" argument could be a file object. After that, a306837f8c87 added "len(template)", so "template" must be a string now. Therefore, "fp != template" should always be True. It seems 31aa2e5b0750 was intended to work around a bug in TortoiseHg, and I'm sure I've fixed it completely in TortoiseHg source. https://selenic.com/pipermail/mercurial-devel/2011-February/028467.html
-
Yuya Nishihara authored
Because makefileobj() duplicates or wraps stdout, "fp != sys.stdout" didn't work correctly. Python doc states that special file objects are named in the form '<...>', and absolute filenames should never start with '<', we can ignore names start with '<'. We can't test fp.fileno() because fp may be a command-server channel. https://docs.python.org/2.7/library/stdtypes.html#file.name In the test output, "exporting patch:" line is printed after patch content. This is caused by fdopen() and will be fixed by the subsequent patch.
-
Yuya Nishihara authored
Because unknown attributes are delegated to the underlying file object, commandserver channels said they were '<stdout>' or '<stdin>' even though they weren't. This patch makes them say '<X-channel>'.
-
- Dec 15, 2015
-
-
Mateusz Kwapich authored
The default behaviour to forbid this makes a lot of sense for novice users because it's safeguarding them from dangerous behavior but making it configurable will be apprieciated by power users in at least one big organization. It allows an user to look an histedit rules from declarative perspective and make the rules reflect the state after histedit. If we can move lines t move commits why can't we drop lines to drop commits? Let's put this behind config knob and inform users about this feature the very moment they are trying to use it so they can choose desired behaviour.
-
- Dec 16, 2015
-
-
Mathias De Maré authored
-
- Dec 17, 2015
-
-
timeless authored
-
timeless authored
Always try to give diff context when doing an interactive record
-
Bryan O'Sullivan authored
Suggested by Yuya.
-
Thu Trang Pham authored
-
Matt Mackall authored
-
- Dec 14, 2015
-
-
timeless authored
specifically: 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-
timeless authored
specifically: 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-
timeless authored
specifically: 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-
timeless authored
if called with quietempty=True, suppress: 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-
timeless authored
specifically: 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-
timeless authored
if called with quietempty=True, suppress: 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-
- Dec 17, 2015
-
-
Mateusz Kwapich authored
The diff output without binaries is definitely great for interactive users - a binary patch is not meaningful for them. Although setting diff.nobinary flag can break the automation. Let's force full output for automation.
-
Yuya Nishihara authored
Caught by test-gendoc.t.
-
Matt Mackall authored
Rather than sleep for 2 seconds, we sleep until the next even-numbered second, which has the same effect, but makes tests faster. This removes test-largefiles-update as the long pole of the test suite.
-
Matt Mackall authored
This avoids a significant amount of sleeping in some of our longest tests.
-
Matt Mackall authored
This will allow us to be smarter in upcoming patches.
-
- Dec 07, 2015
-
-
Matt Mackall authored
This gives one line of output per second with one column per -j level that allows analyzing test scheduling problems. First 24 seconds of output at -j 30 looks like this: 0 . 1 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = s. 2 c c o c r l g r s s = c p = c h c a h c g c h c b c c l l c ss 3 h o b o e a e u u u c o a h o e o c g o l h g h u o = a o = s 4 e n s n b r n n b b m t g n l n l w n o e w e n n e r g i . 5 c t o = a g d - r r = m c w v p v . e v g c e c d v x g . m 6 k r l r s e o t e e b a h e e . e . b e . k b k l e t e . p 7 - i e e e f c e p p u n b b r . r . - r . - - - e r e f . o . 8 p b t v - i . s o o n d o d t . t . c t . c s = 2 t n i . r 9 y - e s c l . t - . d - m i - . - . o - . o y r - - s l . t 10 3 p - e h e . s s . l t b r s . s . m s . d m e f s i e . . 11 - e c t e s . . v . e e . . v . v . m v . e r n o v o s . . 12 c r h . c - . . n . 2 m . . n . n . a n . . e a r n n . . . 13 o f e . k u . . . . - p . . - . - . n - . . v m m - . . . . 14 m . c . - p . . . . e l . . s . m . d s . . . e a e . . . . 15 p . k . r d . . . . x a . . i . o . s o . . . - t n . . . . 16 a . h . e a . . . . c t . . n . v . . u . . . m . c . . . . 17 t . e . s t . . . . h e . . k . e . . r . . . e . o . . . . 18 . . a . t e . . . . a . . . . . . . . c . . . r . d . . . . 19 . . d . o . . . . . n . . . . . . . . e . . . g . i . . . . 20 . . s . r . . . . . g . . . . . . . . . . . . e . n . . . . 21 . . . . e . . . . . e . . . . . . . . . . . . 2 . g . . . . 22 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 . . . . . . . . . . . . . . . . . . . . . . . . . = . . . . ^C Test names read off vertically, beginning with '='. Idle time (not shown) appears as blank space.
-
- Dec 06, 2015
-
-
Matt Mackall authored
At several seconds each, this is significantly slowing down the test.
-
- Dec 04, 2015
-
-
Matt Mackall authored
The scheduler would like to order test execution by expected run-time, but doesn't know much about how long a test will run. It thus uses test size as a proxy for run-time. By tweaking these weights we can keep CPUs more evenly busy and thus finish sooner. In particular, this change pushes the three currently longest-running tests closer to the beginning: test-largefiles-update.t test-run-tests.t test-gendoc.t As the largefiles test is currently the long pole of the test suite with higher -j factors, the sooner it's started, the sooner the tests can end. We also up the weight on some shorter but long-running tests that could have previously delayed completion with low -j factors by running very close to the end.
-
Matt Mackall authored
Rather than report timed-out tests like this: ERROR: test-convert-svn-sink.t output changed ! ..simply put a 't' rather than a '.' in the stream.
-
- Nov 30, 2015
-
-
Matt Mackall authored
-
- Dec 16, 2015
-
-
Matt Mackall authored
-
- Dec 15, 2015
- Dec 14, 2015
-
-
timeless authored
-
timeless authored
Help should output section headings, but no debug commands
-
Laurent Charignon authored
This patch adds troubles information to the output of hg summary. Example line displayed in hg summary: unstable: 1 changeset
-
- Dec 16, 2015
-
-
Matt Mackall authored
-