diff --git a/hgext/largefiles/overrides.py b/hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py +++ b/hgext/largefiles/overrides.py @@ -1028,7 +1028,7 @@ def getoutgoinglfiles(ui, repo, dest=Non files.add(f) toupload = toupload.union( set([f for f in files if lfutil.isstandin(f) and f in ctx])) - return toupload + return sorted(toupload) def overrideoutgoing(orig, ui, repo, dest=None, **opts): result = orig(ui, repo, dest, **opts) diff --git a/tests/test-largefiles.t b/tests/test-largefiles.t --- a/tests/test-largefiles.t +++ b/tests/test-largefiles.t @@ -705,9 +705,9 @@ Test that outgoing --large works (with r searching for changes largefiles to upload: - large8 + foo large - foo + large8 $ cd ../a