# HG changeset patch # User mpm@selenic.com # Date 2005-05-21 01:31:55 # Node ID 1918852a67a816b0d923117beaeaba8150ad8e15 # Parent aea6562add6cc7e5311d1c84db506e8cda10ebc7 Sort files on check-in for good I/O patterns diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -310,6 +310,7 @@ class localrepository: # check in files new = {} linkrev = self.changelog.count() + update.sort() for f in update: self.ui.note(f + "\n") try: