comparison mercurial/ui.py @ 10425:f8a9de664a1c

ui.progress: clarify termination requirement
author Augie Fackler <durin42@gmail.com>
date Sun, 07 Feb 2010 10:25:18 -0600
parents f83291e5643e
children 5a3a916aad58
comparison
equal deleted inserted replaced
10424:93b5abcf5101 10425:f8a9de664a1c
381 non-numeric marker of the current position (ie the currently 381 non-numeric marker of the current position (ie the currently
382 in-process file), 'pos' is the current numeric position (ie 382 in-process file), 'pos' is the current numeric position (ie
383 revision, bytes, etc.), unit is a corresponding unit label, 383 revision, bytes, etc.), unit is a corresponding unit label,
384 and total is the highest expected pos. 384 and total is the highest expected pos.
385 385
386 Multiple nested topics may be active at a time. All topics 386 Multiple nested topics may be active at a time.
387 should be marked closed by setting pos to None at termination. 387
388 All topics should be marked closed by setting pos to None at
389 termination.
388 ''' 390 '''
389 391
390 if pos == None or not self.debugflag: 392 if pos == None or not self.debugflag:
391 return 393 return
392 394