##// END OF EJS Templates
progress: stop excessive clearing (issue4801)...
Matt Mackall -
r29089:222b8170 stable
parent child Browse files
Show More
@@ -163,7 +163,7 b' class progbar(object):'
163 sys.stderr.flush()
163 sys.stderr.flush()
164
164
165 def clear(self):
165 def clear(self):
166 if not shouldprint(self.ui):
166 if not self.printed or not self.lastprint or not shouldprint(self.ui):
167 return
167 return
168 sys.stderr.write('\r%s\r' % (' ' * self.width()))
168 sys.stderr.write('\r%s\r' % (' ' * self.width()))
169 if self.printed:
169 if self.printed:
@@ -322,8 +322,6 b' dir, options none'
322 \r (no-eol) (esc)
322 \r (no-eol) (esc)
323 deleting [===========================================>] 2/2\r (no-eol) (esc)
323 deleting [===========================================>] 2/2\r (no-eol) (esc)
324 \r (no-eol) (esc)
324 \r (no-eol) (esc)
325 \r (no-eol) (esc)
326 \r (no-eol) (esc)
327 removing test/bar (glob)
325 removing test/bar (glob)
328 removing test/foo (glob)
326 removing test/foo (glob)
329 exit code: 0
327 exit code: 0
@@ -348,8 +346,6 b' dir, options -f'
348 \r (no-eol) (esc)
346 \r (no-eol) (esc)
349 deleting [===========================================>] 2/2\r (no-eol) (esc)
347 deleting [===========================================>] 2/2\r (no-eol) (esc)
350 \r (no-eol) (esc)
348 \r (no-eol) (esc)
351 \r (no-eol) (esc)
352 \r (no-eol) (esc)
353 removing test/bar (glob)
349 removing test/bar (glob)
354 removing test/foo (glob)
350 removing test/foo (glob)
355 exit code: 0
351 exit code: 0
@@ -374,8 +370,6 b' dir, options -A'
374 \r (no-eol) (esc)
370 \r (no-eol) (esc)
375 deleting [===========================================>] 1/1\r (no-eol) (esc)
371 deleting [===========================================>] 1/1\r (no-eol) (esc)
376 \r (no-eol) (esc)
372 \r (no-eol) (esc)
377 \r (no-eol) (esc)
378 \r (no-eol) (esc)
379 removing test/bar (glob)
373 removing test/bar (glob)
380 not removing test/foo: file still exists (glob)
374 not removing test/foo: file still exists (glob)
381 exit code: 1
375 exit code: 1
@@ -400,8 +394,6 b' dir, options -Af'
400 \r (no-eol) (esc)
394 \r (no-eol) (esc)
401 deleting [===========================================>] 2/2\r (no-eol) (esc)
395 deleting [===========================================>] 2/2\r (no-eol) (esc)
402 \r (no-eol) (esc)
396 \r (no-eol) (esc)
403 \r (no-eol) (esc)
404 \r (no-eol) (esc)
405 removing test/bar (glob)
397 removing test/bar (glob)
406 removing test/foo (glob)
398 removing test/foo (glob)
407 exit code: 0
399 exit code: 0
@@ -429,8 +421,6 b' test remove dropping empty trees (issue1'
429 \r (no-eol) (esc)
421 \r (no-eol) (esc)
430 deleting [===========================================>] 1/1\r (no-eol) (esc)
422 deleting [===========================================>] 1/1\r (no-eol) (esc)
431 \r (no-eol) (esc)
423 \r (no-eol) (esc)
432 \r (no-eol) (esc)
433 \r (no-eol) (esc)
434 removing issue1861/b/c/y (glob)
424 removing issue1861/b/c/y (glob)
435 $ hg ci -m remove
425 $ hg ci -m remove
436 $ ls issue1861
426 $ ls issue1861
@@ -465,8 +455,6 b' handling of untracked directories and mi'
465 \r (no-eol) (esc)
455 \r (no-eol) (esc)
466 deleting [===========================================>] 1/1\r (no-eol) (esc)
456 deleting [===========================================>] 1/1\r (no-eol) (esc)
467 \r (no-eol) (esc)
457 \r (no-eol) (esc)
468 \r (no-eol) (esc)
469 \r (no-eol) (esc)
470 removing d1/a (glob)
458 removing d1/a (glob)
471
459
472 $ hg rm --after nosuch
460 $ hg rm --after nosuch
@@ -214,8 +214,6 b' Check that deep archiving works'
214 \r (no-eol) (esc)
214 \r (no-eol) (esc)
215 deleting [===========================================>] 2/2\r (no-eol) (esc)
215 deleting [===========================================>] 2/2\r (no-eol) (esc)
216 \r (no-eol) (esc)
216 \r (no-eol) (esc)
217 \r (no-eol) (esc)
218 \r (no-eol) (esc)
219 removing sub1/sub2/folder/test.txt (glob)
217 removing sub1/sub2/folder/test.txt (glob)
220 removing sub1/sub2/test.txt (glob)
218 removing sub1/sub2/test.txt (glob)
221 $ hg status -S
219 $ hg status -S
General Comments 0
You need to be logged in to leave comments. Login now